@charset "euc-jp";

/* =====================================
   レビュー画面 CSS
   modern card style
   ===================================== */

/* ---------- base ---------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  color: #666;
  font-family: 'Open Sans', 'Hiragino Kaku Gothic ProN', Meiryo, 'MS PGothic', sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(222, 164, 82, 0.16), transparent 32%),
    linear-gradient(180deg, #fffaf1 0%, #f7f1e8 100%);
  margin: 0 auto;
  -webkit-text-size-adjust: 100%;
}

a:link,
a:visited,
a:active {
  color: #333;
}

a:hover {
  color: #3579bf;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

input,
select,
textarea {
  border: 1px solid #d6d0c8;
  border-radius: 6px;
  background: #fff;
}

/* ---------- layout ---------- */

.base01 {
  width: min(100%, 920px) !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  text-align: left !important;
}

.base02 {
  width: 100% !important;
  margin: 0 auto 32px !important;
  padding: 0 !important;
  text-align: left !important;
  border: none;
  background: transparent;
}

.p-page__body-inner {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(156, 115, 61, 0.16);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(80, 48, 18, 0.10);
  padding: 28px;
}

.sub,
.copyright,
.secure_seal {
  width: 100% !important;
  max-width: 100% !important;
}

/* ---------- header ---------- */

.title_area {
  padding: 34px 0 24px !important;
  text-align: center !important;
}

.p-shop__logo {
  max-width: min(100%, 420px);
  height: auto;
}

/* ---------- title ---------- */

.p-page__title {
  margin: 22px 0 20px;
  padding-bottom: 16px;
  color: #2d2118;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #eadfce;
}

.p-page__title::before {
  content: "レビュー";
  display: inline-block;
  margin-right: 10px;
  padding: 4px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #9b1c1f, #c68b32);
  border-radius: 999px;
  vertical-align: middle;
}

/* ---------- product ---------- */

.product_box {
  width: 100%;
  margin: 24px auto;
  text-align: center;
}

.p-review-product__img,
.product_box img {
  width: min(100%, 360px);
  height: auto;
  padding: 14px;
  background: #fff;
  border: 1px solid #eee2d2;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(80, 48, 18, 0.12);
}

/* ---------- buttons ---------- */

.c-button__group,
.c-button__group--sub {
  width: 100%;
  margin: 18px 0;
  text-align: center;
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  color: #3a2a1c !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid #d9c8ae;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(80, 48, 18, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.c-button:hover {
  color: #3a2a1c !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(80, 48, 18, 0.14);
  opacity: 0.92;
}

.c-button--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #9b1c1f 0%, #c66a24 100%);
  border: none;
}

.c-button--primary:hover,
.c-button--primary:visited {
  color: #fff !important;
}

.c-button-sm {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.88);
}

/* ---------- message ---------- */

.c-msg,
.info,
.errorbox {
  width: 100%;
  margin: 18px 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.7;
  border-radius: 12px;
}

.c-msg,
.info {
  color: #5c4a3b;
  background: #fff7e8;
  border: 1px solid #f0dcc0;
}

.errorbox {
  color: #4a2a00;
  background: #fff0b8;
  border: 1px solid #e6c45c;
  text-align: center;
}

/* ---------- review list ---------- */

#searchVal {
  margin-top: 32px;
}

.p-review-list {
  display: grid;
  gap: 22px;
}

.record,
.p-review-list__unit {
  width: 100%;
  margin: 0 auto;
  padding: 22px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(80, 48, 18, 0.08);
}

.p-review-list__star {
  margin-bottom: 12px;
}

.p-review-list__info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 16px;
  padding: 0 0 14px;
  color: #766454;
  font-size: 13px;
  list-style: none;
  border-bottom: 1px dashed #e3d3bd;
}

.p-review-list__info li {
  list-style: none;
}

.p-review-list__info b {
  color: #2d2118;
  font-size: 14px;
}

.p-review-list__content {
  color: #3a2a1c;
}

.p-review-list__title,
.review_title {
  margin-bottom: 10px;
  color: #2d2118;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.p-review-list__comment,
.review_contents .comment {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

.p-review-list__reply {
  margin-top: 18px;
  padding: 16px;
  background: #fbf6ed;
  border: 1px solid #eee0cd;
  border-radius: 14px;
}

.p-review-list__reply-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 10px;
  padding: 0;
  color: #7b6754;
  font-size: 13px;
  list-style: none;
}

.p-review-list__reply-info li {
  list-style: none;
}

.p-review-list__reply-info b {
  color: #9b1c1f;
}

.p-review-list__reply-comment {
  color: #4c3b2c;
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- old review classes fallback ---------- */

.pro_img,
.right_box {
  float: none;
  width: 100%;
}

.pro_img {
  margin-bottom: 16px;
  text-align: center;
  background: transparent;
}

.pro_img img {
  width: 120px;
  height: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 12px;
}

.pro_title {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 18px;
}

.pro_title a {
  font-size: 18px;
}

.navi_btn,
.navi_btn p {
  width: 100%;
}

.navi_btn p a {
  display: block;
  padding: 12px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: #666666;
  border-radius: 999px;
}

.navi_btn a:hover {
  color: #fff;
  background: #999999;
}

.data,
.contents,
.reply {
  margin: 0;
}

.data {
  padding: 10px;
  border-bottom: 1px dotted #eadfce;
}

.data li {
  float: none;
  display: inline-block;
  list-style-type: none;
}

.review_contents {
  padding: 14px;
}

.review_contents .img_contents {
  float: none;
  width: 100%;
  margin-top: 12px;
}

.img_box {
  margin-bottom: 6px;
  text-align: center;
}

.img_box img {
  padding: 4px;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 10px;
}

.txt_link {
  display: block;
  text-align: center;
}

.reply {
  margin-top: 16px;
  border-top: 1px solid #eadfce;
}

.res_top,
.res_comment {
  padding: 12px;
}

.res_title {
  float: none;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- pager ---------- */

#searchNavi,
.p-review-list__pager {
  margin: 28px 0 0;
  color: #6f5a45;
  font-size: 14px;
  text-align: center;
  clear: both;
}

#searchValMore {
  width: 100%;
  max-width: 360px;
  margin: 16px auto 0;
  text-align: center;
  background: transparent;
}

#searchValMore a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  color: #fff !important;
  text-decoration: none;
}

#searchValMore a:hover {
  width: 100%;
  padding-left: 18px;
}

/* ---------- table fallback ---------- */

.table1 {
  width: 100%;
  border: 1px solid #CCC;
  font-size: 12px;
  text-align: center;
  margin: 20px auto !important;
}

.CELL_1_L,
.CELL_1_C,
.CELL_1_R {
  background: #f5f5f5;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font-weight: 700;
}

.CELL_1_L {
  text-align: right;
}

.CELL_1_C {
  text-align: center;
}

.CELL_1_R {
  text-align: right;
}

.CELL_2 {
  background: #FFF;
  text-align: left;
  padding: 10px;
}

.CELL_2 input,
.input_ime {
  font-size: 14px;
  padding: 8px;
  border: 1px solid #ccc;
}

/* ---------- footer ---------- */

.p-page__footer {
  margin-top: 36px;
}

.p-page__copyright {
  padding: 18px 20px;
  color: #7b6a59;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.p-page__secure {
  display: flex;
  gap: 18px;
  align-items: center;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 20px;
  color: #7b6a59;
  font-size: 12px;
  line-height: 1.7;
}

.p-secure__image {
  flex: 0 0 auto;
}

.p-secure__msg {
  flex: 1;
}

/* ---------- clearfix ---------- */

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/* ---------- mobile ---------- */

@media screen and (max-width: 767px) {

  .base01 {
    padding: 0 12px !important;
  }

  .title_area {
    padding: 24px 10px 18px !important;
  }

  .p-shop__logo {
    max-width: 100%;
  }

  .p-page__body-inner {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .p-page__title {
    margin: 18px 0 16px;
    font-size: 19px;
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .p-page__title::before {
    margin: 0 0 8px;
    display: table;
  }

  .product_box {
    margin: 18px auto;
  }

  .p-review-product__img,
  .product_box img {
    width: 100%;
    max-width: 320px;
    padding: 10px;
    border-radius: 16px;
  }

  .c-button {
    display: flex;
    width: 100%;
    max-width: 360px;
    min-height: 46px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .c-button-sm {
    max-width: 240px;
    min-height: 40px;
    font-size: 13px;
  }

  .record,
  .p-review-list__unit {
    padding: 18px 15px;
    border-radius: 16px;
  }

  .p-review-list__info {
    display: block;
    padding-bottom: 12px;
  }

  .p-review-list__info li {
    display: inline;
    margin-right: 6px;
    font-size: 12px;
  }

  .p-review-list__title,
  .review_title {
    font-size: 17px;
  }

  .p-review-list__comment,
  .review_contents .comment {
    font-size: 14px;
    line-height: 1.85;
  }

  .p-review-list__reply {
    padding: 14px;
    border-radius: 13px;
  }

  .p-review-list__reply-info {
    display: block;
  }

  .p-review-list__reply-info li {
    display: inline;
    margin-right: 6px;
    font-size: 12px;
  }

  .p-review-list__reply-comment {
    font-size: 13px;
    line-height: 1.8;
  }

  #searchValMore {
    max-width: 100%;
  }

  .p-page__secure {
    display: block;
    padding: 16px 12px;
    text-align: center;
  }

  .p-secure__image {
    margin: 0 auto 12px;
  }

  .p-secure__msg {
    text-align: left;
  }
}