@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/
/* Poppinsフォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Poppinsをサイト全体に適用 */
body {
  font-family: 'Poppins', sans-serif;
}

/* ボタン調整*/
.wp-block-button__link {
  background-color: #A5D600 !important;
  color: #FFFFFF !important;
  border-radius: 24px;
  padding: 12px 24px;
}

.wp-block-button__link:hover {
  background-color: #8CC400 !important;
}
/* カード全体 */
.p-postList__item {
  padding: 20px;
  border-radius: 16px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  justify-content: space-between;
  position: relative;
  min-height: 420px; /* 最低高さで安定 */
}

/* 商品名・投稿日 */
.p-postList__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.p-postList__title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.p-postList__meta {
  font-size: 0.85rem;
  color: #888;
}

/* 画像エリア（高さ固定） */
.c-postThumb__figure {
  width: 100%;
  max-width: 220px;
  height: 220px; /* 画像の高さを固定 */
  overflow: hidden;
  border-radius: 12px;
  background-color: #f5f5f5;
  margin: 12px 0;
}

.c-postThumb__figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 口コミボタンエリア */
.p-postList__button {
  margin-top: auto;
  width: 100%;
  text-align: center;
}

.p-postList__button a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #A5D600;
  color: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-top: 16px;
}

.p-postList__button a:hover {
  background-color: #8CC400;
}


/* ログイン・会員ページのフォーム全体のスタイル */
.um-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
}

/* 入力フィールド */
.um-form input[type="text"],
.um-form input[type="email"],
.um-form input[type="password"] {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* ボタン */
.um-form input[type="submit"],
.um-button {
  background: #A5D600;
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.um-form input[type="submit"]:hover,
.um-button:hover {
  background: #8CC400;
}

/* エラー・メッセージ */
.um-notice {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

/* ラベル（任意で調整） */
.um-field-label {
  font-weight: bold;
  margin-bottom: 0.3rem;
  display: block;
}


/* 口コミ一覧リスト */
.p-review-archive__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0;
  list-style: none;
}

.p-review-archive__item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  transition: box-shadow 0.3s ease;
}

.p-review-archive__item:hover {
}

.p-review-archive__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 8px;
}

.p-review-archive__meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}

.p-review-archive__item p {
  font-size: 0.9rem;
  margin: 4px 0;
}


.p-review {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  max-width: 700px;
  margin: 40px auto;
}

.p-review__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.p-review__meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
}

.p-review__content p {
  margin: 8px 0;
  font-size: 1rem;
}

.p-review__body {
  margin-top: 16px;
  line-height: 1.6;
	
}
	
.p-review__rating-box {
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
  padding: 12px 0;
  margin: 16px 0;
}

.p-review__rating-box p {
  margin: 4px 0;
  font-size: 1rem;
}

.p-review__body {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.6;
}

.p-review__product {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #333;
}

.p-review__product a {
  color: #0073aa;
}


.p-review__rating-box p {
  font-size: 1.2rem;
  color: #ffcc00;
}


/*口コミカードデザイン*/
.review-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  background-color: #f9f9f9;

}

.review-card h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
}

.review-card .review-meta {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 8px;
}

.review-card .stars {
  color: #f5a623; /* 星の色をゴールド */
  font-size: 1.1em;
}

.review-card .related-product {
  margin-top: 12px;
  font-weight: bold;
  color: #2b7a78;
}

.review-card .review-content {
  margin-top: 10px;
  font-size: 1em;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .review-card {
    padding: 12px;
  }
}


/*商品ページ*/
.product-reviews-list {
  list-style: none;
  padding: 0;
}

.product-review-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
}

.product-review-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}


.product-filter-form {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.product-filter-form select,
.product-filter-form input[type="text"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 4px;
}

.product-filter-form button {
  background-color: #A5D600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.product-filter-form button:hover {
  background-color: #8CC400;
}

/*見出し*/
.wp-block-heading {
  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  padding-left: 12px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #A5D600 0%, #D9ED92 100%);
  border-radius: 4px;
  padding: 12px 16px;
  color: #fff;
}

h2{  position: relative;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  padding-left: 12px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #A5D600 0%, #D9ED92 100%);
  border-radius: 4px;
  padding: 12px
}



.review-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

.review-icon {
  font-size: 2rem;
  color: #6a4fbf;
}

.review-content h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.review-content .review-brand,
.review-content .review-rating,
.review-content .review-author {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 4px;
}

.review-content .review-rating {
  color: #f4b400;
}
/* PC用 */
.product-filter-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.product-filter-form form > div:not(.keyword-wrap) {
  flex: 1 1 calc(25% - 12px);
  min-width: 150px;
  box-sizing: border-box;
}

.product-filter-form .keyword-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.product-filter-form .keyword-wrap label {
  flex: 0 0 80px;
  margin-bottom: 0;
  align-self: center;
  font-weight: bold;
}

.product-filter-form .keyword-wrap input[type="text"] {
  flex: 0 0 200px;
  max-width: 200px;
  height: 36px;
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
}

.product-filter-form .keyword-wrap button[type="submit"] {
  flex: 0 0 120px;
  height: 36px;
  background-color: #c6e21f;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.product-filter-form .keyword-wrap button[type="submit"]:hover {
  background-color: #b5d617;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .product-filter-form form {
    flex-direction: column;
  }
.product-filter-form .keyword-wrap input[type="text"] {
    height: 36px !important;
  }
  .product-filter-form form > div,
  .product-filter-form .keyword-wrap {
    width: 100%;
    flex-wrap: wrap;
  }

  .product-filter-form .keyword-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .product-filter-form .keyword-wrap label {
    margin-bottom: 4px;
  }

  .product-filter-form .keyword-wrap input[type="text"],
  .product-filter-form .keyword-wrap button[type="submit"] {
    width: 100%;
    max-width: 100%;
  }

  .product-filter-form .keyword-wrap button[type="submit"] {
    margin-top: 8px;
  }
}


.beginner-guide {
  padding: 0; /* 背景もなし */
}

.beginner-guide h2 {
  color: #ffffff /* 普通の黒文字 */
  font-size: 1.5em;
  margin-bottom: 15px;
}

.beginner-guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.beginner-guide-item {
  background: none; /* 背景色なし */
  border: none; /* 枠なし */
  padding: 0; /* 内側余白なし */
  width: calc(33.333% - 20px);
  box-sizing: border-box
		
}


.product-ranking ol {
  list-style: none;
  padding-left: 0;
}

.product-ranking-item {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ranking-badge img {
  width: 50px;
  height: auto;
}

.product-ranking-item .thumbnail img {
  width: 100px;
  height: auto;
}

.product-ranking-item h3 a {
  text-decoration: none;
  color: #333;
}

.product-ranking-item .rating {
  font-size: 0.9em;
  color: #666;
}



.latest-reviews ul {
  list-style: none;
  padding-left: 0;
}

.review-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.review-item .avatar img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.review-meta {
  line-height: 1.2;
}

.nickname {
  font-weight: bold;
  color: #333;
}

.age-gender {
  font-size: 0.8em;
  color: #666;
}

.review-comment {
  font-size: 0.9em;
  color: #555;
}



.latest-reviews ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* カード同士の隙間 */
}

.review-item {
  flex: 1 1 calc(33.333% - 20px); /* 3列配置 */
  box-sizing: border-box;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
}

.review-item .avatar img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.review-meta {
  margin-top: 5px;
}

.nickname {
  font-weight: bold;
  color: #333;
}

.age-gender {
  font-size: 0.8em;
  color: #666;
}

.latest-reviews {
  /* グラデ削除して背景なし or 白背景 */
  background: none; /* もしくは background: #fff; */
}

.review-item {
  background: #fff;  /* 白背景 */
  border-radius: 8px;

  padding: 15px;
  margin-bottom: 20px;
}


.review-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.review-box .avatar img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.review-content {
  flex: 1;
}

.review-content .product-name a {
  font-weight: bold;
  color: #4CAF50; /* 商品名の色（緑系） */
  text-decoration: none;
}

.review-content .review-comment {
  margin: 5px 0;
  font-size: 0.95em;
}

.review-content .age-gender {
  font-size: 0.85em;
  color: #666;
}


.review-box .avatar img {
  border-radius: 50%;
  width: 70px; /* 幅を60pxに */
  height: auto; /* 高さは自動調整で比率維持 */
  object-fit: cover; /* 中央で切り抜き */
}


.review-list-link {
  text-align: center;
  margin: 40px 0; /* 新着プロテインとの間の余白も含む */
}

.btn-review-list {
  display: inline-block;
  padding: 12px 24px;
  background: #4CAF50;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn-review-list:hover {
  background: #388e3c;
}


.new-protein-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.new-protein-item {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  width: calc(33.333% - 20px); /* 3列レイアウト */
  text-align: center;
}

.new-protein-item h3 {
  font-size: 1em;
  margin-top: 10px;
}

.new-protein-item a {
  text-decoration: none;
  color: #4CAF50;
  font-weight: bold;
}

.new-protein-item img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* 商品一覧ボタン */
.btn-product-list {
  display: inline-block;
  background: #70c542;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
}

.btn-product-list:hover {
  opacity: 0.7;
}

/* ボタン下の余白 */
.product-list-link {
  text-align: center;
  margin-top: 20px; /* 上のコンテンツとの余白 */
  margin-bottom: 40px; /* 下のコンテンツとの余白 */
}


.product-ranking ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-ranking-item {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  flex: 1 1 calc(33.33% - 20px); /* 3列表示（PC） */
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-ranking-item .ranking-badge img {
  width: 40px;
  height: 40px;
}

.product-ranking-item .thumbnail img {
  width: 100px;
  height: auto;
}

.product-ranking-item h3 {
  margin: 0 0 5px;
  font-size: 1.1rem;
}

.product-ranking-item .rating {
  font-size: 0.9rem;
  color: #666;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .product-ranking ol {
    flex-direction: column;
  }

  .product-ranking-item {
    flex: 1 1 100%;
  }

  .product-ranking-item .thumbnail img {
    width: 80px;
  }
}

/* お得情報 / クーポンセクション */
.coupon-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.coupon-section h2 {
  font-size: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}


.coupon-list {
  list-style: none;
  padding-left: 0;
}

.coupon-item {
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  border-left: 4px solid #4CAF50;
  border-radius: 6px;
}

.coupon-item p {
  margin: 4px 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.coupon-item p strong {
  color: #4CAF50;
  font-weight: bold;
}

@media (max-width: 768px) {
  .coupon-section h2 {
    font-size: 1.3rem;
  }

  .coupon-item {
    padding: 10px;
  }
}

/* 新着プロテイン画像サイズ調整 */
.new-protein-item .thumbnail img {
  width: 120px;   /* 人気ランキングと同じ幅に合わせて調整 */
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.product-single {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;

}

.product-title {
  text-align: center;
  color: #4CAF50;
  margin-bottom: 1.5rem;
}

.product-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-thumbnail img {
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.product-details {
  width: 100%;
}

.product-description {
  margin-bottom: 1.5rem;
}

.product-meta {
  list-style: none;
  padding: 0;
}

.product-meta li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.product-meta strong {
  color: #333;
}

.product-option.active {
  background-color: #f0f8ff;
  border-color: #00aaff;
}

.product-option {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 5px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.product-option.active {
  background-color: #e0ffe0;
  border-color: green;
}
.product-option img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}




/* 商品リストの画像とテキストの位置を整える */
.new-protein-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.new-protein-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; /* 画像を下揃え */
  width: 30%; /* 必要に応じて調整 */
  min-height: 420px; /* アイテムの高さを固定 */
  box-sizing: border-box;
  text-align: center;
}

.new-protein-item .thumbnail img {
  max-height: 250px;
  object-fit: contain;
}

.new-protein-item h3 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.new-protein-item p {
  margin: 2px 0;
}


.review-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.avatar img {
  border-radius: 50%;
}
.review-content {
  flex: 1;
}
.review-rating {
  color: #f5b301;
  font-size: 16px;
  margin: 5px 0;
}
.product-img img {
  border-radius: 8px;
  max-width: 80px;
}


