.p-photoPreview {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 8px;

  margin-top: 10px;
}

.p-photoPreview img {
  width: 100%;

  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 10px;

  border: 1px solid #ddd;

  display: block;
}

.p-uploadBtn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  padding: 14px;

  border: 2px dashed #66bb6a;
  border-radius: 12px;

  background: #f7fff7;

  color: #2e7d32;
  font-weight: bold;

  cursor: pointer;
}

#your-photo {
  display: none;
}

.p-confirm {
padding: 24px;
}

.p-confirm__title {
font-size: 24px;
font-weight: bold;

margin-bottom: 24px;
}


/* =========================
確認テーブル
========================= */

.p-confirmList {
display: grid;

grid-template-columns: 140px 1fr;

border-top: 1px solid #ddd;
border-left: 1px solid #ddd;

background: #fff;

margin-bottom: 32px;
}

.p-confirmList dt,
.p-confirmList dd {
padding: 16px;

border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}

.p-confirmList dt {
background: #f7f7f7;

font-weight: bold;
}

.p-confirmList dd {
background: #fff;

word-break: break-word;
}

/* =========================
画像
========================= */

.p-confirmPhotos {
display: grid;

grid-template-columns: repeat(3, 1fr);

gap: 10px;

margin-bottom: 32px;
}

.p-confirmPhotos img {
width: 100%;

aspect-ratio: 1 / 1;

object-fit: cover;

border-radius: 12px;

border: 1px solid #ddd;

display: block;
}

.p-product__main--form img{
  width:100%;
  max-width:320px;

  margin:0 auto;

  display:block;
}

/* =========================
送信エリア
========================= */

.cf7-submit {
position: relative;

z-index: 10;

margin-top: 32px;
}

/* =========================
送信ボタン
========================= */

.p-submitBtn,
.p-btnBack,
.p-btnSend {
width: 90%;
margin:0 auto;
display: flex;
align-items: center;
justify-content: center;

padding: 16px 24px;

border: none;
border-radius: 12px;

font-size: 16px;
font-weight: bold;

cursor: pointer;

transition:
opacity 0.3s ease,
transform 0.3s ease;
}

/* hover */

.p-submitBtn:hover,
.p-btnBack:hover,
.p-btnSend:hover {
opacity: 0.85;

transform: translateY(-2px);
}

/* submit */

.p-submitBtn {
position: relative;

z-index: 11;

pointer-events: auto;

background: #ffc60b;

color: #fff;
}

/* back */

.p-btnBack {
background: #f3f3f3;

margin-bottom: 12px;
}

/* send */

.p-btnSend {
background: #43a047;

color: #fff;
}

.p-contactForm textarea {
width: 100%;

min-height: 180px;

padding: 16px;

border: 1px solid #ddd;
border-radius: 12px;

font-size: 16px;
line-height: 1.8;

resize: vertical;

appearance: none;
}




/* =========================
   CF7 フォーム用
========================= */
.p-formTitle {
  text-align: center;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
}

.p-formProductImg {
  text-align: center;
  margin-bottom: 20px;
}

.p-formProductImg img {
  width: 100%;
  max-width: 300px;
  border-radius: 8px;
}

.p-formWrap {
  margin-top: 10px;
}

/* 全体 */
.cf7-form {
  max-width: 600px;
  margin: 0 auto;
}

/* セクション */
.cf7-step {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* 見出し */
.cf7-step h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

/* ラベル */
.cf7-step label {
  display: block;
  font-size: 12px;
  margin-top: 10px;
}

/* 入力 */
.cf7-step input,
.cf7-step textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* 送信ボタン */
.cf7-submit input {
  width: 100%;
  background: #ff9800;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
}

/* =========================
SP
========================= */

@media (max-width: 767px) {

.p-confirmList {
grid-template-columns: 1fr;
}

.p-confirmList dt {
border-bottom: none;
}

}

/* =========================
PC見た目調整
========================= */

@media (min-width: 768px) {

  .cf7-step input,
  .cf7-step textarea{

    padding:18px 20px;

    border:2px solid #cfe8d1;
    border-radius:14px;

    background:#f7fff7;

    font-size:16px;

    transition:
      border-color .2s,
      box-shadow .2s,
      background .2s;

  }

  .cf7-step input:focus,
  .cf7-step textarea:focus{

    outline:none;

    border-color:#66bb6a;

    background:#fff;

    box-shadow:
      0 0 0 4px
      rgba(102,187,106,.15);

  }

  .cf7-step textarea{

    min-height:220px;

  }

}


