/*********************************************マイページ***********************/
.mypage-wrap {
  max-width: 700px;
  margin: 2em auto;
  padding: 1em;
  font-family: "Noto Sans JP", sans-serif;
}

.mypage-title {
  font-size: 1.8em;
  border-bottom: 2px solid #00a6a6;
  padding-bottom: .3em;
  margin-bottom: 1em;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1.2em;
  margin-bottom: 1.5em;
}
article.mypage-profile.card2{
  display: flex;
  justify-content: space-between;
}
.gear_icon{
  height: 40px;
}
.profile-info{
  display: block;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 1em;
}

.profile-header .avatar img {
  border-radius: 50%;
  height: 80px !important;
  width: 80px !important;
}

.profile-info h3 {
  margin: 0;
  font-size: 1.3em;
}

.bio {
  margin-top: .5em;
  color: #555;
}

.mypage-list {
  list-style: none;
  padding: 0;
}

.mypage-list li {
  padding: .5em 0;
  border-bottom: 1px solid #eee;
}

.mypage-list a {
  color: #007cba;
  text-decoration: none;
}

.mypage-list a:hover {
  text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: bold;
}

.badge-active {
    background-color: #d6a65a; /* 和風の金茶 */
    color: #fff;
}

.badge-complete {
    background-color: #507255; /* 落ち着いた深緑 */
    color: #fff;
}


.mypage-actions {
  text-align: center;
  margin-top: 2em;
}

.mypage-actions .btn {
  display: inline-block;
  background: #00a6a6;
  color: #fff;
  padding: .6em 1.4em;
  margin: .3em;
  border-radius: 6px;
  text-decoration: none;
}

.mypage-actions .logout {
  background: #666;
}

.mypage-guest {
  text-align: center;
  margin: 2em auto;
}

.mypage-guest .btn {
  display: inline-block;
  margin: .5em;
  padding: .6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  background: #007cba;
  color: #fff;
}

.mypage-guest .sub {
  background: #555;
}

.chat-btn {
    display: inline-block;
    margin-left: 10px;
    background: #8b6b4f;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.2s ease;
}
.chat-btn:hover {
    background: #a57c58;
}
@media (max-width: 480px){
  .gear_icon{
    height: 10vw;
  }
}





/*********************************************商品一覧***********************/
/* ==== 商品一覧 共通 ==== */
body {
  background-color: #f6f1e7; /* 和紙っぽい生成り */
}

.product-list-wrap {
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 1em;
}

/* ==== グリッドレイアウト ==== */
.product-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-item {
  background: #fffdf8;
  height: fit-content;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid #d2b48c; /* ほんのり茶枠 */
}

.product-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.product-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ==== サムネイル ==== */
.product-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #f0ebe3;
  overflow: hidden;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-item:hover .product-thumb img {
  transform: scale(1.05);
}

/* ==== 商品情報 ==== */
.product-info {
  padding: .8em 1em 1em;
  font-family: "Noto Serif JP", serif;
}

.product-title {
  font-size: 1em;
  font-weight: 600;
  color: #3e2723;
  border-bottom: 1px solid #e0c097;
  padding-bottom: .3em;
  margin-bottom: .5em;
}

.product-price {
  font-weight: bold;
  color: #b45309;
  font-size: 1.1em;
  margin-bottom: .3em;
}

.product-seller {
  color: #5d4037;
  font-size: .9em;
  text-decoration: none;
}

/* ==== ページネーション ==== */
.pagination {
  text-align: center;
  margin: 2em 0;
}

.pagination a, .pagination span {
  display: inline-block;
  margin: 0 .3em;
  padding: .5em .9em;
  background: #d7ccc8;
  color: #3e2723;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.pagination a:hover {
  background: #a1887f;
  color: #fff;
}

/* ==== 空状態 ==== */
.empty {
  text-align: center;
  color: #6d4c41;
  background: #f8f5f0;
  padding: 2em;
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

/*********************************************商品詳細***********************/
/* =======================
   商品ページ 全体
======================= */
body {
  background-color: #f6f1e7;
  color: #3e2723;
  font-family: "Noto Serif JP", serif;
}
.notes{
  font-size: 0.9em;
  color: #6d4c41;
  text-align: center;
}
.product-page {
  max-width: 1100px;
  margin: 3em auto;
  padding: 0 1.5em;
}

/* =======================
   見出し
======================= */
.product-header {
  margin-bottom: 2em;
  border-bottom: 2px solid #d2b48c;
  padding-bottom: .5em;
}

.product-title {
  font-size: 1.8em;
  margin: 0;
  color: #3e2723;
}

.product-seller {
  font-size: .95em;
  color: #6d4c41;
  margin-top: .3em;
  text-decoration: none;
}

/* =======================
   本体レイアウト
======================= */
.product-body {
  display: flex;
  gap: 2em;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .product-body {
    flex-direction: column;
  }
}

/* =======================
   ギャラリー
======================= */
.product-gallery {
  flex: 1 1 55%;
  background-color: #fffdf8;
  border: 1px solid #d7ccc8;
  border-radius: 10px;
  padding: 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-item {
  flex: 1 1 calc(50% - 10px);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  transition: transform .3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* =======================
   商品情報
======================= */
.product-info {
  flex: 1 1 45%;
  background: #fffdf8;
  border: 1px solid #d2b48c;
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-price {
  font-size: 1.6em;
  font-weight: bold;
  color: #b45309;
  margin-bottom: .5em;
}

.product-info p {
  margin: .4em 0;
  font-size: 1em;
}

.product-content {
  margin-top: 1em;
  padding-top: .5em;
  border-top: 1px solid #e0c097;
  color: #4e342e;
  line-height: 1.8;
}

/* =======================
   購入ボタン
======================= */
.purchase-btn {
  background: #b45309;
  color: #fff;
  font-size: 1.1em;
  border: none;
  border-radius: 6px;
  padding: .7em 1.5em;
  cursor: pointer;
  margin-top: 1em;
  transition: background .3s ease;
}

.purchase-btn:hover {
  background: #8d3c06;
}

.login-notice {
  background: #f8f5f0;
  color: #5d4037;
  padding: 1em;
  border-radius: 6px;
  border: 1px solid #d7ccc8;
}

/* =======================
   スマホ調整
======================= */
@media (max-width: 600px) {
  .product-title {
    font-size: 1.4em;
  }

  .product-price {
    font-size: 1.3em;
  }

  .gallery-item {
    flex: 1 1 100%;
  }
}

/*********************************************出品管理***********************/
/* ===========================
   出品フォーム（和風デザイン）
=========================== */
body {
  background-color: #f6f1e7;
  font-family: "Noto Serif JP", serif;
  color: #3e2723;
}

.product-form-wrap {
  max-width: 700px;
  margin: 3em auto;
  padding: 2em;
  background: #fffdf8;
  border: 1px solid #d2b48c;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-title {
  text-align: center;
  font-size: 1.6em;
  border-bottom: 2px solid #d2b48c;
  padding-bottom: .5em;
  margin-bottom: 1.5em;
}

.form-group {
  margin-bottom: 1.2em;
}

.form-group label {
  display: block;
  font-weight: bold;
  color: #4e342e;
  margin-bottom: .4em;
}

.form-group label span {
  color: #b45309;
  font-weight: normal;
  margin-left: .2em;
}

.product-form input[type="text"],
.product-form input[type="number"],
.product-form select,
.product-form textarea,
.product-form input[type="file"] {
  width: 100%;
  padding: .6em 0em;
  border: 1px solid #d7ccc8;
  border-radius: 6px;
  font-size: 1em;
  background: #fff;
  font-family: inherit;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.product-form input:focus,
.product-form select:focus,
.product-form textarea:focus {
  border-color: #b45309;
  box-shadow: 0 0 4px rgba(180,83,9,0.3);
  outline: none;
}

.product-form textarea {
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 2em;
}

.btn-submit {
  background: #b45309;
  color: #fff;
  padding: .8em 2em;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background .3s ease;
  letter-spacing: .05em;
}

.btn-submit:hover {
  background: #8d3c06;
}

/* ===========================
   ログイン促しエリア
=========================== */
.login-wrapper {
    max-width: 400px;
    margin: 3em auto;
    padding: 2em;
    background: #f8f5f2;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.login-actions {
    text-align: center;
    margin-top: 1.2em;
}
.register-btn {
    display: inline-block;
    padding: 0.6em 1.2em;
    background: #8b5e3c; /* 和風ブラウン */
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.register-btn:hover {
    background: #a4724e;
}

/* ===========================
   スマホ対応
=========================== */
@media (max-width: 768px) {
  .product-form-wrap {
    padding: 1.5em;
    margin: 2em 1em;
  }

  .form-title {
    font-size: 1.3em;
  }

  .btn-submit {
    width: 100%;
    padding: 1em;
  }
}

/*********************************************チャットルーム***********************/
.chat-room {
    max-width: 800px;
    margin:5em auto 2em auto;
    background: #f8f3ef;
    border: 1px solid #c5a880;
    border-radius: 10px;
    padding: 1.5em;
}

.chat-messages {
    background: #fffaf3;
    border: 1px solid #e0c8a0;
    border-radius: 8px;
    padding: 1em;
    height: 400px;
    overflow-y: auto;
    margin-bottom: 1em;
}

.chat-message {
  display: flex;
  align-items: flex-end;
  margin-bottom: 15px;
  padding: .8em .2em .8em .8em;
  border-radius: 10px;
}

.chat-message.me {
    justify-content: flex-end;
}

.chat-message.me .chat-text {
    background: #c7f3c1; /* LINE の自分側っぽい緑 */
    color: #000;
    margin:0px 10px;
}

.chat-message.you {
    justify-content: flex-start;
}

.chat-message.you .chat-text {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #333;
    margin: 0px 10px;
}

.chat-form textarea {
    width: 100%;
    padding: .6em;
    border: 1px solid #b2966d;
    border-radius: 6px;
}

.chat-form button,
.trade-complete button {
    background: #8b6b4f;
    color: white;
    border: none;
    padding: .6em 1.2em;
    border-radius: 6px;
    cursor: pointer;
}

.chat-form button:hover,
.trade-complete button:hover {
    background: #a57c58;
}

/* 吹き出し本体 */
.chat-text {
    max-width: 45%;
    padding: 10px 15px;
    border-radius: 14px;
    position: relative;
    font-size: 20px;
    line-height: 1.5;
}

/* アイコン */
.avatar-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

/* ユーザー名＋時間の行（上） */
.chat-user {
    font-size: 12px;
    margin-bottom: 3px;
    color: #666;
}

@media (max-width: 600px) {
  .chat-text{
    font-size: 13px;
  }
  .chat-time{
    font-size: 8px;
  }
  .avatar-img{
    width: 30px;
    height: 30px;
  }
  .profile-header .avatar img {
  height: 50px !important;
  width: 50px !important;
}
}

/*********************************************取引詳細***********************/
.trade-detail-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #f8f4ef;
    border: 1px solid #d2b48c;
    border-radius: 10px;
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}

.trade-title {
    text-align: center;
    color: #4a3b2b;
    margin-bottom: 20px;
    border-bottom: 2px solid #c4a77d;
    padding-bottom: 10px;
}

.trade-card {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trade-thumb img {
    width: 200px;
    border-radius: 6px;
    border: 1px solid #c4a77d;
}

.trade-info p {
    margin: 8px 0;
    color: #4a3b2b;
    line-height: 1.6;
}

.trade-actions {
    text-align: center;
    margin-top: 30px;
}

.trade-actions .btn {
    display: inline-block;
    background: #8b4513;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.trade-actions .btn:hover {
    background: #a0522d;
}

/*********************************************会員登録フォーム***********************/
/* ===== 会員登録フォーム全体 ===== */
.user-register-wrap {
  max-width: 520px;
  margin: 3em auto;
  padding: 2em 2.5em;
  background: #fffdf8 url('https://www.transparenttextures.com/patterns/paper-fibers.png'); /* 和紙風背景 */
  border: 1px solid #d6c7a1;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #3a2c1a;
  position: relative;
}

/* タイトル装飾（縦書きワンポイント） */
.user-register-wrap::before {
  content: "登録";
  writing-mode: vertical-rl;
  position: absolute;
  left: -1.5em;
  top: 1.5em;
  font-size: 0.9em;
  color: #b28b52;
  opacity: 0.6;
  letter-spacing: 0.1em;
}

/* ===== ラベルとテキスト ===== */
.user-register-wrap label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4em;
  color: #46361f;
}


.user-register-wrap p {
  margin-bottom: 1.5em;
}
.user-register-wrap p .sex_label{
  display: flex;
}
.sex_label{
  display: flex;
  font-size: 1em;
}
.sex_choices{
  font-weight: normal !important;
}
.text-b{
  font-weight: 100;
}
/* ===== 入力フォーム ===== */
.user-register-wrap input[type="text"],
.user-register-wrap input[type="email"],
.user-register-wrap input[type="password"],
.user-register-wrap select,
.user-register-wrap textarea {
  width: 90%;
  padding: 0.7em;
  font-size: 1em;
  border: 1px solid #cbbfa3;
  border-radius: 6px;
  background: rgba(255,255,255,0.9);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.user-register-wrap input:focus,
.user-register-wrap textarea:focus,
.user-register-wrap select:focus {
  border-color: #b38b59;
  box-shadow: 0 0 0 3px rgba(179,139,89,0.15);
  outline: none;
}

/* ===== ボタン ===== */
.user-register-wrap button {
  display: block;
  width: 100%;
  padding: 0.9em;
  font-size: 1.1em;
  background: linear-gradient(135deg, #b38b59, #a07742);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.3s, transform 0.2s;
}

.user-register-wrap button:hover {
  background: linear-gradient(135deg, #a07742, #8f6530);
  transform: translateY(-2px);
}

/* ===== プレースホルダ ===== */
.user-register-wrap ::placeholder {
  color: #a28f73;
}

/* ===== スマホ対応 ===== */
@media (max-width: 600px) {
  .user-register-wrap {
    margin: 1.5em;
    padding: 1.5em;
    font-size: 0.95em;
  }
  .user-register-wrap::before {
    display: none; /* モバイルでは縦文字を省略して見やすく */
  }
  .user-register-wrap button {
    font-size: 1em;
  }
  .sex_label{
  display: flex;
  font-size: 4vw;
}
}

/* ===== ログインフォーム全体 ===== */
.login-wrapper {
  max-width: 420px;
  margin: 3em auto;
  padding: 2em 2.5em;
  background: #fffdf8 url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  border: 1px solid #d6c7a1;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #3a2c1a;
  position: relative;
}

/* タイトル装飾 */
.login-wrapper::before {
  content: "ログイン";
  writing-mode: vertical-rl;
  position: absolute;
  left: -1.8em;
  top: 1.2em;
  font-size: 0.9em;
  color: #b28b52;
  opacity: 0.6;
  letter-spacing: 0.1em;
}

/* ===== wp_login_form() のフィールド ===== */
.login-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 1.3em;
}
p.login-username{
  margin: 0;
}
p.login-password{
  margin: 0;
}
.login-text{
  font-weight: bold;
}


.login-wrapper label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.3em;
  color: #46361f;
}

.login-wrapper input[type="text"],
.login-wrapper input[type="password"] {
  width: 90%;
  padding: 0.7em;
  border: 1px solid #cbbfa3;
  border-radius: 6px;
  font-size: 1em;
  background: rgba(255,255,255,0.9);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-wrapper input:focus {
  border-color: #b38b59;
  box-shadow: 0 0 0 3px rgba(179,139,89,0.15);
  outline: none;
}

/* ===== ログインボタン ===== */
.login-wrapper input[type="submit"] {
  background: linear-gradient(135deg, #b38b59, #a07742);
  color: white;
  font-weight: bold;
  display: block;
  margin: 0 auto;
  padding: 0.8em;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.login-wrapper input[type="submit"]:hover {
  background: linear-gradient(135deg, #a07742, #8f6530);
  transform: translateY(-2px);
}

/* ===== ログイン情報保存チェックボックス ===== */
.login-wrapper .forgetmenot {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9em;
  color: #5a4b36;
}

.login-wrapper .forgetmenot input {
  transform: scale(1.2);
}

/* ===== 新規登録リンク ===== */
.login-actions {
  text-align: center;
  margin-top: 1.8em;
}

.login-actions .register-btn {
  display: inline-block;
  padding: 0.6em 1.4em;
  background: none;
  border: 1px solid #b38b59;
  color: #b38b59;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}

.login-actions .register-btn:hover {
  background: #b38b59;
  color: #fff;
}


/* ===== スマホ対応 ===== */
@media (max-width: 600px) {
  .login-wrapper {
    margin: 1.5em;
    padding: 1.5em;
    font-size: 0.95em;
  }
  .login-wrapper::before {
    display: none;
  }
  .login-wrapper input[type="submit"] {
    font-size: 1em;
  }
}

/* ======== フィルターフォーム全体 ======== */
.product-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  background: #fffdf8 url('https://www.transparenttextures.com/patterns/paper-fibers.png');
  border: 1px solid #d6c7a1;
  border-radius: 12px;
  padding: 1.2em 1.5em;
  margin: 2em auto;
  max-width: 900px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #3a2c1a;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* ======== 各入力欄 ======== */
.product-filter input[type="text"],
.product-filter select {
  padding: 0.6em 0.8em;
  border: 1px solid #cbbfa3;
  border-radius: 6px;
  font-size: 0.95em;
  background: rgba(255,255,255,0.9);
  min-width: 140px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.product-filter input:focus,
.product-filter select:focus {
  border-color: #b38b59;
  box-shadow: 0 0 0 3px rgba(179,139,89,0.15);
  outline: none;
}
.filter-checkbox{
  display: none;
}

/* ======== 検索ボタン ======== */
.product-filter button {
  padding: 0.65em 1.5em;
  background: linear-gradient(135deg, #b38b59, #a07742);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 0.05em;
}

.product-filter button:hover {
  background: linear-gradient(135deg, #a07742, #8f6530);
  transform: translateY(-2px);
}

/* ======== placeholder色 ======== */
.product-filter input::placeholder {
  color: #a28f73;
}

/* ======== PCでの見た目調整 ======== */
@media (min-width: 768px) {
  .product-filter input[type="text"] {
    flex: 1;
    max-width: 220px;
  }

  .product-filter select {
    min-width: 150px;
  }

  .product-filter button {
    min-width: 100px;
  }
}

/* ======== スマホ用レイアウト ======== */
@media (max-width: 767px) {
  .product-filter {
    flex-direction: column;
    align-items: stretch;
    padding: 1em;
  }

  .product-filter input[type="text"],
  .product-filter select,
  .product-filter button {
    width: 100%;
  }

  .product-filter button {
    margin-top: 0.5em;
  }
}

/* ======== 和風アクセントライン ======== */
.product-filter::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  top: -8px;
  left: 25%;
  background: linear-gradient(90deg, transparent, #b38b59, transparent);
  border-radius: 2px;
  opacity: 0.7;
}

/*********************************************設定フォーム***********************/
/* 全体ラッパー（ページ全体のトーン） */
/* 全体ラッパー（ページ全体のトーン） */
.profile-settings-wrap {
    max-width: 520px;
    margin: 40px auto;
    padding: 25px 28px;
    background: #faf7f1; /* 和紙寄りのアイボリー */
    border: 1px solid #e0d9c8;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    color: #333;
}

/* 見出し */
.profile-settings-wrap h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border-bottom: 1px solid #dcd3c3;
    letter-spacing: 0.05em;
    color: #2a2a2a;
}

/* ラベル */
.profile-settings-wrap label {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
    color: #444;
    letter-spacing: 0.04em;
}

/* 入力フォーム共通 */
.profile-settings-wrap input[type="text"],
.profile-settings-wrap select,
.profile-settings-wrap input[type="file"] {
    width: 90%;
    padding: 10px 12px;
    border: 1px solid #d8d2c4;
    background: #fdfcf9;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    transition: 0.2s;
}

.profile-settings-wrap input[type="text"]:focus,
.profile-settings-wrap select:focus {
    border-color: #b8ad99;
    background: #fffef8;
    box-shadow: 0 0 0 3px rgba(200, 190, 160, 0.25);
}

/* プロフィール画像プレビュー */
.profile-settings-wrap img {
    display: block;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #d6cebd;
}

/* 保存ボタン */
.profile-settings-wrap button[name="save_profile"] {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #d7c8a3;       /* 金箔寄りの色 */
    color: #2d2d2d;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.profile-settings-wrap button[name="save_profile"]:hover {
    background: #ccb889;
    color: #000;
}

/* 退会 */
.profile-settings-wrap h3 {
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e3dac8;
    padding-bottom: 4px;
}

.profile-settings-wrap button[name="delete_account"] {
    padding: 10px 0;
    width: 100%;
    background: #fdf4f4;
    border: 1px solid #e5bcbc;
    color: #c44;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.profile-settings-wrap button[name="delete_account"]:hover {
    background: #fceaea;
    border-color: #d7a7a7;
    color: #a00;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .profile-settings-wrap {
        margin: 20px;
        padding: 20px;
    }
}
