@charset "UTF-8";

/* -----------------------------
  全体
----------------------------- */
html {
  font-family: "Noto Sans JP", sans-serif;
  /*letter-spacing: 0.1em;*/
  color: #7F5539;
  font-size: 16px;
  text-align: justify;
  scroll-behavior: smooth;
}



/* -----------------------------
  ヘッダー
----------------------------- */
/* ヘッダー全体 */
header {
  background-color: #EDE0D4;
}

/* topNav全体 */
.topNav {
  height: 77px;
  position: relative;
  height: 85px;
  display: flex;
  justify-content: center; /* ロゴを中央寄せ */
  align-items: center;
  width: 100%;
  padding: 0 12px; /* 画面端の余白 */
  box-sizing: border-box;
}

/* ロゴ画像 */
.topNavLogo img {
  width: 62px;
}

/* 右側：ログイン＆カート */
.topNavRight {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;      /* 横並び */
  gap: 8px;
  align-items: center;
}

.topNavLogin,
.topNavCart,
.topNavFav {
  text-align: center;
  font-size: 8px;
}

.topNavLogin img,
.topNavCart img,
.topNavFav img {
  width: 24px;
  height: auto;
  margin-bottom: 4px;
}


@media (min-width: 768px) {

  .topNav {
    height: 118px;
    max-width: 1200px;  /* 横幅最大1200px */
    margin: 0 auto;     /* 画面中央寄せ */
    padding: 0 24px;    /* 左右余白 */
  }

  .topNavLogo img {
    width: 87px;
  }

  /* 右側：ログイン＆カート */
  .topNavRight {
    gap: 40px; /* ログインとカートの間隔 */
    padding-right: 12px;
  }
  .topNavLogin,
  .topNavCart,
  .topNavFav {
    font-size: 12px;
    font-weight: bold;
  }

  .topNavLogin img,
  .topNavCart img,
  .topNavFav img {
    width: 36px;
  }
}

/* サイト内検索 */
.topNavSerchWrap {
  background-color: #EDE0D4;
  width: 100%;              /* 横幅いっぱい */
}
.topNavSerch {
  background-color: #EDE0D4;
  padding: 8px 0;
}

/* 検索フォーム全体 */
.searchForm {
  display: flex;             /* 横並びにする */
  align-items: center;       /* 高さを揃える（縦方向中央揃え） */
  width: 351px;
  height: 37px;
  background-color: #FFFFFF;
  border: 1px solid #7F5539;
  box-sizing: border-box;
  overflow: hidden;          /* ボタンや入力欄がはみ出さないように */
  margin: 0 auto;
}

/* 検索ボタン */
.searchForm button {
  display: flex;             /* ボタン内もflexで中央揃え */
  justify-content: center;   /* 横中央 */
  align-items: center;       /* 縦中央 */
  width: 34px;
  height: 100%;
  background-color: #D9D9D9;
  border: none;              /* デフォルトボーダーを消す */
  border-right: 1px solid #7F5539;
  padding: 0;                /* デフォルト余白をリセット */
  box-sizing: border-box;
  cursor: pointer;
}

/* ボタン内画像 */
.searchForm button img {
  width: 18px;
  height: 18px;
  display: block;            /* inlineの影響を消す */
}

/* テキスト入力欄 */
.searchForm input[type="text"] {
  flex: 1;                   /* 残りの幅をすべて使う */
  height: 100%;
  border: none;              /* デフォルトボーダーを消す */
  padding: 0 8px;            /* 左右に少し余白 */
  font-size: 14px;
  box-sizing: border-box;
  outline: none;             /* フォーカス時の枠を消す */
}

/* プレースホルダーの文字色 */
.searchForm input[type="text"]::placeholder {
  color: #B392AC;
  opacity: 1;                /* 透明度を確実に1に */
}

/* フォーカス時の入力欄の枠 */
.searchForm input[type="text"]:focus {
  outline: none;            /* デフォルトでは青い枠が出るので、それを消す */
}

/* サイト内検索PC版 */
@media (min-width: 768px) {
  .topNavSerchWrap {
  background-color: #B392AC;
  width: 100%;              /* 横幅いっぱい */
}

  .topNavSerch {
    background-color: #B392AC;
    padding: 12px 12px 12px 0;
    max-width: 1200px;
    margin: 0 auto; /* 中央寄せ */
  }

  .topNavSerch .searchForm {
    margin: 0;               /* autoを解除 */
    margin-left: auto;       /* 右寄せ */
  }

  /* 検索フォームx */
  /* 検索フォーム全体 */
  .searchForm {
    width: 360px;
    height: 40px;

  }
  /* 検索ボタン */
  .searchForm button {
    width: 40px;
    height: 100%;
  }
  /* ボタン内画像 */
  .searchForm button img {
    width: 24px;
    height: 24px;
  }
}



/* ハンバーガーボタン */
.hamburger {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 900;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #7F5539;
  transition: all 0.2s;
}

.hamburger span:nth-child(1) { top: 1px; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 21px; }

/* ハンバーガー開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 11px;
}

/* 左上ハンバーガー非表示 */
.hamburger.hidden {
  visibility: hidden;
}

/* サイドメニュー */
/* 閉じるボタン */
.closeBtn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1001;
}

.closeBtn span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #FFFFFF;
  top: 50%;
  left: 0;
  transform-origin: center;
  transition: all 0.3s;
}

/* Xの形にする */
.closeBtn span:first-child {
  transform: rotate(45deg);
}
.closeBtn span:last-child {
  transform: rotate(-45deg);
}

/* サイドメニュー全体 */
.sideMenu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  color: #FFFFFF;
  background: rgba(127, 85, 57, 0.75);
  transition: left 0.4s;
  box-sizing: border-box;
  z-index: 1000;
  backdrop-filter: blur(4px); /* 対応ブラウザなら背景をぼかして高級感UP */
}

.sideMenu.active {
  left: 0;
}

/* ロゴ画像 */
.sideMenu > a img {
  display: block;
  width: 59px;   /* ロゴサイズは調整 */
  height: auto;
  margin: 12px 0 0 12px;
}

/* メニューリスト */
.sideMenu ul {
  list-style: none;
  padding: 0;
  margin: 60px 0 0;  /* ロゴと×の下に余白 */
}

.sideMenu ul li {
  margin: 16px 0;
  padding-left: 12px;
}

.sideMenu ul li a {
  text-decoration: none;
  font-size: 16px;
  color: #FFFFFF;
}

/* 区切り線 */
.sideMenuLine {
  height: 1px;
  width: 100%;
  background-color: #FFFFFF;
}


/* ハンバーガーPC版 */
@media (min-width: 768px) {

  /* ハンバーガーボタン */
  .hamburger {
    width: 50px;
    height: 50px;
    left: 12px; /* 左の余白も必要なら維持 */
  }

  .hamburger span:nth-child(1) { top: 3px; }
  .hamburger span:nth-child(2) { top: 23px; }
  .hamburger span:nth-child(3) { top: 43px; }

  /* 開閉アニメーションも再調整 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 23px;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 23px;
  }

  /* 閉じるボタン */
  .closeBtn {
    width: 54px;
    height: 54px;
    top: 12px;   /* メニュー上端からの位置 */
    right: 12px; /* 右端からの位置 */
  }
  /* Xの線 */
  .closeBtn span {
    top: 50%;      /* 中央に配置 */
    left: 0;
  }
  /* Xの回転位置 */
  .closeBtn span:first-child {
    transform: rotate(45deg);
  }
  .closeBtn span:last-child {
    transform: rotate(-45deg);
  }

   /* サイドメニュー */
  .sideMenu {
    width: 583px;
    left: -583px;
    padding-left: 103px;
  }

  .sideMenu > a img {
    width: 87px;
    margin: 20px 0 0 0;
  }

  /* メニューリスト */
  .sideMenu ul {
    margin: 100px 0 0;  /* ロゴと×の下に余白 */
  }

  .sideMenu ul li {
    margin: 20px 0;
    padding-left: 0;
  }

  .sideMenu ul li a {
    font-size: 24px;
  }

  /* 区切り線 */
  .sideMenuLine {
    height: 1px;
    width: 400px;
    background-color: #FFFFFF;
  }
}


/* -----------------------------
  フッター
----------------------------- */
footer {
  background-color: #EDE0D4;
}

.footerNav {
  display: block;
  height: 269px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 12px 8px;
}
.footerLink ul li {
  font-size: 12px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid #B392AC;
  height: 20px;
  margin-bottom: 20px;
  display:flex;
  align-items: center;
}

.footerSns {
  display: flex;
  width: 135px;
  height: 32px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footerNavLogo  {
  display: flex;
  justify-content: flex-end;
}
.footerNavLogo img {
  width: 72px;
  height: auto;
}

.footerBorder {
  width: 100%;
  border-top: 1px solid #7F5539;
}

.footerCopy {
  display: flex;
  justify-content: center;
  height: 34px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 0;
  background-color: #EDE0D4;
}

.footerCopy div {
  display: flex;
  justify-content: center;
  font-size: 10px;
  line-height: 10px;
}


@media (min-width: 768px) {
  .footerNav {
    display: flex;           /* ← flexboxにする */
    flex-direction: column;  /* 子要素を縦に積む */
    align-items: center;
    height: 396px;
    padding: 20px 20px 0;
    max-width: 1200px;
  }
  
  /* footerLink だけ左寄せ */
  .footerLink {
    align-self: flex-start;  /* ← 個別に左寄せ */
  }

  .footerLink ul {
    display: flex;
    margin-bottom: 64px;
  }
  .footerLink ul li {
    font-size: 16px;
    padding: 12px 0 12px 12px;
    height: 40px;
    width: 170px;
    margin-bottom: 0;
  }

  .footerSns {
    width: 175px;
    margin: 0 auto 40px;
    order: 2;   /* ← SNSを後ろにする */
  }

  .footerNavLogo  {
    display: flex;
    justify-content: center;
    margin-bottom: 72px;
    order: 1;   /* ← ロゴを前にする */
  }
  .footerNavLogo img {
    width: 144px;
    height: auto;
  }

  .footerCopy {
    height: 52px;
    max-width: 1366px;
    padding: 20px 0;
  }

  .footerCopy div {
    font-size: 12px;
    line-height: 12px;
  }
}

/* -----------------------------
  トップページ
----------------------------- */

/* ゲストネーム */
.guestNameWrap {
  background-color: #FFFFFF;
  border-bottom: 1px solid #7F5539;
  width: 100%;              /* 横幅いっぱい */
}

.guestName {
  font-size: 12px;
  padding: 12px 0 12px 20px;
  background-color: #FFFFFF;
}

@media (min-width: 768px) {

  .guestName {
    font-size: 12px;
    padding: 12px 0 12px 20px;
    max-width: 1200px;
    margin: 0 auto; /* 中央寄せ */
  }
}

/* トップ画像セクション */
.topImgSec {
  text-align: center;
}

.topImgSec img {
  height: 200px;
  width: 375px;
  margin: 0 auto;
}

@media (min-width: 768px) {

  /* トップ画像セクション */
  .topImgSec img {
    height: auto;
    width: 1366px;
    max-width: 100%;
    margin: 0 auto;
  }
}


/* 商品リンクセクション */
.itemLinkSec {
  padding: 20px;
  max-width: 375px; /* 最大幅を決める */
  margin: 0 auto;    /* 左右中央寄せ */
}

.itemLinkCon {
  width: 335px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* 新商品 */
.itemLinkNewItem {
  width: 157px;
  height: 157px;
  background-size: cover;
  background-position: center; /* 画像を中央に表示 */
  position: relative;
}
.itemLinkNewItem > div {
  color: #FFFFFF;
  font-size: 12px;
  background-color: #FF8877;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 4px;  /* 左上に配置 */
  left: 4px;
}
.itemLinkNewItem > p {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  bottom: 4px; /* 右下に配置 */
  right: 4px;
}

/* コラム */
.itemLinkColumn {
  width: 157px;
  height: 157px;
  background: url(../images/imgColumn.png) no-repeat;
  background-size: cover;
  position: relative;
}
.itemLinkColumn > p {
  color: #FFFFFF;
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  bottom: 16px;   /* 下から16px */
  left: 50%;
  transform: translateX(-50%); /* 水平中央に配置 */
  text-align: center;
  white-space: nowrap; /* 折り返さない */
}

/* 商品一覧 */
.itemLinkCatalog {
  width: 335px;
  height: 83px;
  background: url(../images/imgCatalog.png) no-repeat;
  background-size: cover;
  position: relative;
}

.itemLinkCatalog > p {
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  bottom: 4px; /* 右下に配置 */
  right: 4px;
}

@media (min-width: 768px) {
  .itemLinkSec {
    padding: 80px;
    max-width: 1200px; /* 最大幅を決める */
    margin: 0 auto;    /* 左右中央寄せ */
  }
  .itemLinkCon {
    width: 1050px;
    margin-bottom: 80px;
  }

  /* 新商品 */
  .itemLinkNewItem {
    width: 480px;
    height: 480px;
  }
  .itemLinkNewItem > div {
    font-size: 32px;
    width: 140px;
    height: 140px;
    top: 8px;  /* 左上に配置 */
    left: 8px;
  }
  .itemLinkNewItem > p {
    font-size: 36px;
    bottom: 12px; /* 右下に配置 */
    right: 12px;
  }

  /* コラム */
  .itemLinkColumn {
    width: 480px;
    height: 480px;
  }
  .itemLinkColumn > p {
    font-size: 36px;
    bottom: 40px;   /* 下から40px */
  }

  /* 商品一覧 */
  .itemLinkCatalog {
    width: 1040px;
    height: 257px;
  }

  .itemLinkCatalog > p {
    font-size: 36px;
    font-weight: bold;
    bottom: 24px; /* 右下に配置 */
    right: 24px;
  }

}



/* 信念セクション */
.philoSec {
  margin: 0 auto;
}

/* スマホ版の背景は philoSecCon 側に持たせる */
.philoSecCon {
  height: 568px;
  width: 375px;
  background: url(../images/imgOur.jpg) no-repeat center center;
  background-size: cover;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  text-align: center;
  margin: 0 auto 20px;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.philoSecCon > p {
  font-size: 16px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  /* 背景はセクションに移す */
  .philoSec {
    background: url(../images/imgOur.jpg) no-repeat center center;
    background-size: cover;
    max-width: 1366px;
    margin: 0 auto;
  }

  /* 中身のコンテナ */
  .philoSecCon {
    background: none;   /* 背景は親に任せる */
    width: 1200px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 80px;
    padding-top: 0;
  }

  h2 {
    margin-top: 200px;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .philoSecCon > p {
    font-size: 20px;
    margin-bottom: 40px;
  }
  .philoSecCon h3 + p {
    font-size: 24px;
    margin-bottom: 280px;
  }

}


/* ランキング */

.rankSec {
  text-align: center; /* 子要素を中央に寄せる */
  max-width: 375px;
  margin: 0 auto;
}

h1 {
  color: #000000;
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 2px solid #FFD233;
  display: inline-block;  /* テキストの長さと同じライン */
  margin: 20px auto;        /* 中央寄せ */
}

.rankSec > ol {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* モバイルは2列 */
  gap: 40px 20px; /* 行間・列間の余白 */
  margin: 80px 20px;
  max-width: 360px; /* モバイル時の中央寄せ用 */
  padding: 0;
  list-style: none;
}

/* li全体 */
.rankSec > ol > li {
  text-align: center;
  width: 157px;
}


/* 順位番号は中央配置 */
.rankNo1, .rankNo2, .rankNo3, .rankNo4, .rankNo5, .rankNo6 {
  width: 35px;
  height: 35px;
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px; /* 横中央＆下に余白 */
}

.rankNo1 { background-color: #FFD233; }

.rankNo2 { background-color: #CCCCCC; }

.rankNo3 { background-color: #D27C2C; }

.rankNo4, .rankNo5, .rankNo6 { background-color: #E8C2CA; }

.rankSec > ol > li > a > img {
  width: 157px;
  height: 157px;
  margin: 20px 0;
}

/* 商品名と価格は左寄せ */
.rankItemName {
  font-size: 16px;
  text-align: left;
  margin: 0 0 20px;

   /* 高さ固定して2行分に揃える */
  height: 3em;        /* line-height 1.5em × 2行 */
  line-height: 1.5em;
  }



.rankItemPrice {
  font-size: 16px;
  color: #BF0000;
  text-align: left;
  margin: 0 0 20px;
}

/* カートボタンは中央寄せ */
.rankSec > ol > li > form > input {
  background-color: #7F5539;
  color: #FFFFFF;
  font-size: 12px;
  width: 100%;
  max-width: 148px;
  height: 36px;
  margin: 0 auto; /* 中央寄せ */
  display: block; /* 横幅を持たせて margin auto が効くように */
  border: none;
  cursor: pointer;
}


@media (min-width: 768px) {
  .rankSec {
    max-width: 1366px;
    margin: 0 auto;
  }

    .rankSec h1 {
    font-size: 32px;
    padding: 20px 0;
    border-bottom: 2px solid #FFD233;
  }


    .rankSec > ol {
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 60px 40px;
    max-width: 1200px;
    margin: 120px auto;
  }

  /* li全体 */
.rankSec > ol > li {
  text-align: center;
  width: 320px;
}

  


  /* 順位番号は中央配置 */
  .rankNo1, .rankNo2, .rankNo3, .rankNo4, .rankNo5, .rankNo6 {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin: 0 auto 20px; /* 横中央＆下に余白 */
  }

  .rankSec > ol > li > a > img {
    width: 320px;
    height: 320px;
    margin: 20px 0;
  }

  /* 商品名と価格は左寄せ */
  .rankItemName {
    font-size: 24px;
  }

  .rankItemPrice {
    font-size: 24px;
  }

  /* カートボタンは中央寄せ */
  .rankSec > ol > li > form > input {
    font-size: 20px;
    width: 100%;
    max-width: 260px;
    height: 52px;
  }
  
}




/* -----------------------------
  商品一覧ページ
----------------------------- */

/* パンくずリスト */
.panWrap {
  background-color: #FFFFFF;
  border-bottom: 1px solid #7F5539;
  width: 100%;              /* 横幅いっぱい */
}

.pan {
  font-size: 12px;
  padding: 12px 0 12px 20px;
}

@media (min-width: 768px) {

  .pan {
    font-size: 12px;
    padding: 12px 0 12px 20px;
    max-width: 1200px;
    margin: 0 auto; /* 中央寄せ */
  }
}


/*商品一覧*/
.proMainewrap > h1 {
  color: #000000;
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 2px solid #FFD233;
  display: inline-block;  /* テキストの長さと同じライン */
  margin: 20px auto;        /* 中央寄せ */
}

/* 商品一覧：メインメニュー */
h4 {
  font-size: 16px;
  margin: 20px 0 80px;
}

.proMainewrap {
  text-align: center;
}

.proMaine {
  margin-bottom: 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* モバイル: 2列 */
  gap: 20px; /* アイテム間の余白 */
  max-width: 335px; /* モバイル幅に収めたい場合 */
  margin: 0 auto;
}

.proMaine > li > a > img {
  width: 157px;
  height: 157px;
  margin: 20px 0;
}

.proMaine >  li {
  width: 158px;
  margin-bottom: 80px;
  text-align: center; /* 子要素のデフォルトを中央寄せに */
}

/* カートボタンは中央寄せ */
.proMaine > li > form > input[type="submit"] {
  background-color: #7F5539;
  color: #FFFFFF;
  font-size: 12px;
  width: 148px;
  height: 36px;
  margin: 0 auto; /* 中央寄せ */
  display: block; /* 横幅を持たせて margin auto が効くように */
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {

  .proMainewrap > h1 {
    font-size: 32px;
    padding: 20px 0;
    margin: 80px auto;
  }

  /* 商品一覧：メインメニュー */
  h4 {
    font-size: 24px;
    margin: 80px 0 120px;
}

  .proMaine {
    margin-bottom: 120px;
    grid-template-columns: repeat(3, 1fr); /* PC: 3列 */
    max-width: 1080px; /* PC幅の制御 */
  }

  .proMaine > li > a > img {
    width: 320px;
    height: 320px;
  }

  .proMaine >  li {
    width: 320px;
    margin-bottom: 120px;
  }

  /* カートボタン（PC用） */
  .proMaine > li > form > input[type="submit"] {
    font-size: 20px;
    width: 260px;
    height: 52px;
    margin: 0 auto;
    display: block;
  }


}


/* -----------------------------
  商品詳細ページ
----------------------------- */

.itemaMainewrap  {
  text-align: center; /* 子要素を中央に寄せる */ 
  max-width: 375px;
  margin: 20px auto 80px;
}

.itemaMainewrap img {
  width: 335px;
  height: 335px;
  margin: 0 auto;
}

.itemLine {
  height: 1px;
  width: 335px;
  background-color: #E6CCB2;
  margin: 0 auto;
}

.itemName {
  font-size: 16px;
  font-weight: bold;
  margin: 20px 0 20px 20px;
  text-align: left;
}

.itemEx {
  width: 335px;
  margin: 20px auto;
  text-align: justify;
  line-height: 1.5;
}

.itemPrice {
  color: #BF0000;
  font-size: 16px;
  margin: 20px 0 40px 20px;
  text-align: left;
}

/* 個数・カートに入れる・お気に入り */
.itemBuy {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-left: 20px;
  flex-wrap: wrap;
}

/* 数量エリア（入力欄 + 単位） */
.addCartForm {
  display: flex;
  align-items: flex-end; /* 下ぞろえ */
  gap: 12px;
  flex-wrap: wrap; /* スマホで窮屈なら折り返し可 */
}

/* 数量エリア */
.qty {
  margin: 0; /* デフォルトの余白を消す */
}

.qtyControl {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

/* 数字入力 */
.itemPiece {
  box-sizing: border-box;
  border: 1px solid #7F5539;
  width: 56px;
  height: 36px;
  padding: 0 8px;
  font-size: 16px;
  line-height: 1;
}

/* 単位（個） */
.unit {
  display: inline-block;
  line-height: 1;
  font-size: 16px;
  margin-bottom: 2px; /* 微調整で下端を合わせる */
}

/* カートボタン */
.itemSubmit {
  background-color: #7F5539;
  color: #FFFFFF;
  font-size: 12px;
  width: 160px;
  height: 36px;
  border: none;
  cursor: pointer;
  align-self: flex-end;
}


/*お気に入りボタン*/
.favoriteBtn {
  width: 36px;
  height: 36px;
  border: 1px solid #7F5539; /* 縁取り色 */
  background: none;
  cursor: pointer;
  position: relative;
}

/* ハートアイコン */
.favoriteBtn::before {
  content: "♡"; /* 白抜きのハート */
  font-size: 20px;
  color: #BF0000; /* 縁取りと同じ色 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: color 0.3s;
}

/* 押したときに塗りつぶし */
.favoriteBtn.active::before {
  content: "♥"; /* 塗りつぶしハート */
  color: #BF0000; /* 縁取りと同じ色で塗る */
}

/* 個数の中のスピンボタンを非表示にChrome, Safari, Edge (WebKit系) */
.itemPiece::-webkit-inner-spin-button,
.itemPiece::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 個数の中のスピンボタンを非表示にFirefox */
.itemPiece[type=number] {
  -moz-appearance: textfield;
}

/* 商品詳細のエラー */
.errorBackLink a {
  font-size: 12px;
  color: #7F5539;
}

@media (min-width: 768px) {
  .itemaMainewrap  {
    max-width: 1200px;
    margin: 80px auto 120px;
    display: flex;
    gap: 40px;
  }
  .itemaMainewrap img {
    width: 540px;
    height: 540px;
  }
  .itemLine {
    width: 460px;
  }
  .itemName {
    font-size: 24px;
    margin: 4px 0 20px 4px;
  }
  .itemEx {
    width: 435px;
    margin: 40px auto;
    font-size: 24px;
  }
  .itemPrice {
    font-size: 24px;
    margin: 40px 0 40px 4px;
    text-align: left;
  }

  /* 個数・カートに入れる・お気に入り */
  .itemBuy {
    gap: 8px;
    margin-left: 0;
  }

  .itemPiece {
    width: 80px;
    height: 52px;
    font-size: 18px;
  }

  .unit {
    font-size: 24px;   /* PCでは大きく */
    margin-bottom: 4px;
  }

  .itemSubmit {
    font-size: 20px;
    width: 260px;
    height: 52px;
  }



  /*お気に入りボタン*/
  .favoriteBtn {
    width: 52px;
    height: 52px;
  }

  /* ハートアイコン */
  .favoriteBtn::before {
    font-size: 28px;
  }
}


/* -----------------------------
  カートページ
----------------------------- */
.cartwrap {
  text-align: center;
  max-width: 375px;
  margin: 20px auto 80px;
}

.cartBuy {
  width: 335px;
  padding: 20px 0;
  font-size: 16px;
  color: #7F5539;
  border: 2px solid #FFD233;
  display: block;
  margin: 0 auto 20px;
}

.cartBuy div {
  margin-bottom: 20px;
}

.cartBuy div span {
  color: #BF0000;
}

.cartBuy input {
  background-color: #BF0000;
  color: #FFFFFF;
  font-size: 12px;
  width: 148px;
  height: 36px;
  padding: 12px 32px;
  margin: 0 auto;
  display: block;
  border: none;
  cursor: pointer;
}

.cartItemTop > .cartItem {
  margin-bottom: 40px;
}

.cartItemImg img {
  width: 335px;
  height: 335px;
  display: block;
  margin: 0 auto;
}

.cartItemRight {
  display: flex;
  flex-direction: column;
  align-items: center; /* 子要素を中央寄せ */
  text-align: center;  /* テキストも中央寄せ */
}

.cartItemBottom {
  display: flex;
  flex-direction: column; /* 上下に積む */
  align-items: center;    /* 左右中央寄せ */
  gap: 12px;              /* 上下の隙間 */
}

.cartItemBottomLeft,
.cartItemBottomRight {
  text-align: center;
}

.cartItem > .itemName {
  text-align: center;
}
.cartItemTop > .itemName {
  margin: 20px 0;
}

.cartItemBottomLeft > .itemPrice {
  margin: 0 0 12px;
}
.cartItemLine {
  display: none;
}

/* 個数・再計算・削除 */
.cart {
  margin-bottom: 40px;
}

.cart p {
  font-size: 16px;
  color: #000000;
}

.cartItemPiece {
  border: 1px solid #7F5539;
  width: 56px;
  height: 24px;
  margin: 0 4px 0 16px;
}

.cartRecalculation {
  background-color: #CCCCCC;
  color: #000000;
  font-size: 12px;
  width: 140px;
  height: 28px;
  padding: 8px 52px;
  margin: 20px auto;
  display: block;
  border: none;
  cursor: pointer;
}

.cartItemDelete {
  color: #000000;
  font-size: 12px;
  border-bottom: 1px solid #000000;
  display: inline-block;
  margin: 0 auto 40px;
}

.cartBuyMore {
  background-color: #7F5539;
  color: #ffffff;
  font-size: 12px;
  width: 160px;
  height: 36px;
  padding: 12px 38px;
  margin: 40px auto 0;
  display: block;
  border: none;
  cursor: pointer;
}


@media (min-width: 768px) {
  .cartwrap {
    max-width: 1200px;
    margin: 80px auto 120px;
  }

  .cartBuy {
    width: 1040px;
    padding: 40px 0;
    font-size: 24px;
    margin: 0 auto 120px;
  }

  .cartBuy input {
    font-size: 20px;
    width: 260px;
    height: 52px;
    padding: 16px 60px;
    margin: 40px auto 0;
  }

  /* cartItem: 画像と右エリア横並び */
  .cartItem {
    display: flex;
    gap: 40px;
    max-width: 1040px;
    margin: 0 auto 80px;
  }

  .cartItemImg img {
    width: 335px;
    height: 335px;
  }

  .cartItemRight {
    align-items: center;
    text-align: center;
    max-width: 665px;
  }
  .cartItemTop > .itemName {
    margin: 0 0 16px;
  }

  .cartItemLine {
    display: block;
    height: 1px;
    width: 100%;
    background-color: #E6CCB2;
  }


  .cartItemTop {
    margin-bottom: 20px;
    width: 665px;
  }

  .cartItemBottom {
    display: flex;
    flex-direction: row;        /* 横並びに変更 */
    justify-content: space-between; /* 左右に広げる */
    align-items: flex-start;        /* 上揃え */
    gap: 0;                     /* 横並びなのでgap不要 */
    width: 665px;
  }

  .cartItemBottomLeft,
  .cartItemBottomRight {
    text-align: right;  /* 左右で揃える場合 */
  }

  .cart {
    margin-bottom: 20px;
    text-align: right;
  }

  .cart p {
    font-size: 24px;
  }

  .cartItemPiece {
    border: 1px solid #7F5539;
    width: 80px;
    height: 52px;
    margin: 0 8px 0 12px;
  }

  .cartRecalculation {
    font-size: 20px;
    width: 160px;
    height: 36px;
    padding: 8px 50px;
    margin: 24px 0 100px;
  }

  .cartItemDelete {
    font-size: 20px;
  }

  .cartBuyMore {
    font-size: 20px;
    width: 260px;
    height: 52px;
    padding: 16px 60px;
    margin: 80px auto 0;
  }

}





/* -----------------------------
  ログイン・会員登録ページ
----------------------------- */
.loginWrap {
  text-align: center;
  padding: 0 40px;
}

.loginCon {
  width: auto;
  border: 2px solid #F7D1CD;
  padding: 20px 0;
  margin: 40px auto 0;
  box-sizing: border-box;

  /* 入力欄を中央寄せ */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loginCon > div {
  font-size: 12px;
  color: #7F5539;
  margin-bottom: 12px;

  /* ラベルと入力を縦に並べる */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ラベルは左寄せ */
}

.loginCon label {
  margin-bottom: 8px; /* ラベルと入力欄の間 */
}

input[type="email"],
input[type="password"] {
  border: 1px solid #7F5539;
  width: 271px;
  height: 20px;
  text-align: left;
}

.loginCon > button {
  background-color: #7F5539;
  color: #FFFFFF;
  width: 160px;
  height: 48px;
  font-size: 16px;
  margin: 40px 0 20px;
}

.signUp {
  font-size: 12px;
  color: #7F5539;
  text-align: right;
  margin: 20px 0 80px; 
}

@media screen and (min-width: 768px) {
  .loginWrap {
    text-align: center;
    padding: 0 40px;

    /* 横幅の最大値を制限し、中央寄せ */
    max-width: 1200px;
    margin: 0 auto;
  }
  .loginCon {
    width: 500px; /* 枠を広めに */
    padding: 40px;
  }

  .loginCon label {
    width: 150px;              /* ラベルの固定幅 */
    text-align: left;
  }

  input[type="email"],
  input[type="password"] {
    width: 300px;
  }

  .loginCon > button {
    margin-top: 40px;
  }

  .signUp {
    font-size: 12px;
    color: #7F5539;
    text-align: right;

    /* フォームと同じ幅にして右端をそろえる */
    width: 500px;   /* PC版の .loginCon と同じ幅 */
    margin: 20px auto 120px;
  }
}

/* -----------------------------
  ログイン完了ページ
----------------------------- */
.loginMessage {
  font-size: 12px;
}

.afterLoginLinks {
  font-size: 12px;
  color: #7F5539;
  text-align: right;
  margin: 20px 0 80px; 
}
.afterLoginLinks a {
  display: block;      /* ブロック要素にする */
  margin-bottom: 8px;  /* 下に8px余白をつける */
  color: #7F5539;
  text-decoration: none;
}
.afterLoginLinks a:last-child {
  margin-bottom: 0;    /* 最後のリンクは余白なし */
}

@media screen and (min-width: 768px) {
  .afterLoginLinks {
    width: 500px;      /* .loginCon と同じ幅に合わせる */
    margin: 20px auto 80px;
    text-align: right; /* 右端揃え */
  }
}

/* -----------------------------
  会員登録ページ 共通
----------------------------- */
.signupWrap {
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.signupForm {
  margin: 20px auto 80px;
  max-width: 295px; /* モバイル用の幅 */
  text-align: left; /* 中身は左寄せ */
}

.signupForm > div {
  margin-bottom: 20px;
  text-align: left;
}

.signupForm label {
  font-size: 12px;
  color: #7F5539;
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

.signupForm .required {
  color: red;
  font-size: 12px;
}

.signupForm .note {
  display: block;
  color: red;
  font-size: 8px;
  margin-bottom: 8px;
}

.signupForm input[type="text"],
.signupForm input[type="email"],
.signupForm input[type="password"] {
  border: 1px solid #7F5539;
  width: 295px;
  height: 20px;
  padding: 2px 4px;
  box-sizing: border-box;
}

/* 郵便番号専用 */
.zipWrap .zipInputs {
  display: flex;
  gap: 8px; /* 2つの入力欄の間隔 */
}

.zipWrap input#zip1 {
  width: 60px;
  height: 20px;
}

.zipWrap input#zip2 {
  width: 100px;
  height: 20px;
}

.signupForm button {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 40px auto 0; 
  background-color: #7F5539;
  color: #FFFFFF;
  width: 160px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
}

/* -----------------------------
  PC版（幅768px以上）
----------------------------- */
@media screen and (min-width: 768px) {
  .signupForm {
    width: 500px;
  }
}




/* -----------------------------
  会員登録完了ページ
----------------------------- */
.signupCompleteCon {
  border: 2px solid #F7D1CD;  /* ピンク枠 */
  padding: 20px;
  margin: 40px auto 0;
  max-width: 500px;           /* 枠の横幅 */
  text-align: center;
  box-sizing: border-box;
}

.signupMessage {
  font-size: 12px;
  color: #7F5539;
}

.signupCompleteWrap {
  text-align: center;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.signupCompleteMessage p {
  font-size: 12px;
  color: #7F5539;
  line-height: 1.6;
  margin: 40px 0;
}

.afterSignupLinks {
  font-size: 12px;
  color: #7F5539;
  text-align: right;
  margin: 20px 0 80px;
}

.afterSignupLinks a {
  display: block;
  margin-bottom: 8px;
  color: #7F5539;
  text-decoration: none;
}

.afterSignupLinks a:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  .afterSignupLinks {
    width: 500px;   /* 適宜調整 */
    margin: 20px auto 80px;
  }
}


/* -----------------------------
  会員登録確認ページ
----------------------------- */
.signUpCheckForm {
  margin: 20px auto 80px;
  max-width: 295px; /* モバイル用の幅 */
  text-align: left; /* 中身は左寄せ */
}


.signUpCheckCon {
  font-size: 20px;
}

.signUpCheckCon dt {
  font-size: 12px;
  color: #7F5539;
  margin-bottom: 8px;
}

.signUpCheckCon dd {
  font-size: 12px;
  color: #000000;
  border-left: 1px solid #7F5539;
  padding: 4px 0 4px 4px;
  margin-bottom: 24px;
}

.signUpSubmitBtn {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 40px auto 20px; 
  background-color: #7F5539;
  color: #FFFFFF;
  width: 160px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
}

.signUpCorrect {
  font-size: 12px;
  color: #7F5539;
  border-bottom: 1px solid #7F5539;
  text-align: center;
  display: block;      /* ブロック化して幅を持たせる */
  width: fit-content;  /* リンクの幅に合わせる */
  margin: 0 auto;      /* 左右自動マージンで中央寄せ */
}


/* -----------------------------
  パスワード不一致エラーページ
----------------------------- */

/* エラー全体ラップ */
.errorWrap {
  max-width: 295px;
  margin: 40px auto;
  text-align: center; /* 子要素を中央寄せ */
}

/* パスワード不一致エラー */
.errorMessage {
  background-color: #F7D1CD; /* 薄い赤背景 */
  border: 1px solid #BF0000; /* 赤枠 */
  color: #BF0000;            /* 文字色 */
  padding: 16px;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* 戻るリンクをボタン風に */
.errorBtnWrap a {
  display: inline-block;
  background-color: #7F5539;
  color: #FFF;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  margin-top: 16px;
  font-size: 14px;
  transition: background-color 0.3s;
}




/* -----------------------------
  ログアウトしましたページ
----------------------------- */
.logoutWrap {
  text-align: center;
  padding: 0 40px;
}

.logoutCon {
  width: auto;
  border: 2px solid #F7D1CD;
  padding: 20px 0;
  margin: 40px auto 0;
  box-sizing: border-box;
}

.logoutMessage {
  font-size: 12px;
}

.afterLogoutLinks {
  font-size: 12px;
  color: #7F5539;
  text-align: right;
  margin: 20px 0 80px; 
}
.afterLogoutLinks a {
  display: block;      /* ブロック要素にする */
  margin-bottom: 8px;  /* 下に8px余白をつける */
  color: #7F5539;
  text-decoration: none;
}
.afterLogoutLinks a:last-child {
  margin-bottom: 0;    /* 最後のリンクは余白なし */
}

@media screen and (min-width: 768px) {
  .logoutWrap {
    text-align: center;
    padding: 0 40px;

    /* 横幅の最大値を制限し、中央寄せ */
    max-width: 1200px;
    margin: 0 auto;
  }
  .logoutCon {
    width: 500px; /* 枠を広めに */
    padding: 40px;
  }
  .afterLogoutLinks {
    width: 500px;      /* .loginCon と同じ幅に合わせる */
    margin: 20px auto 80px;
    text-align: right; /* 右端揃え */
  }
}


/* -----------------------------
  お気に入りページ
----------------------------- */

/* お気に入り解除リンク（テキスト風） */
.favRemoveLink {
    background: none;
    border: none;
    color: #7F5539; /* お好みのリンク色 */
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px; /* ボタンより小さめ */
    margin-top: 4px;
    padding: 0;
    display: inline-block;
}



/* -----------------------------
  カード情報登録ページ 共通
----------------------------- */
.creditWrap {
  text-align: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.creditNotice {
  color: #FF0000;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  margin: 20px auto 60px;
  padding: 40px 16px;
  background-color: #F7D1CD;
  width: 280px;
  border: 1px solid #BF0000;
  border-radius: 20px;
}

.creditForm {
  margin: 20px auto 80px;
  max-width: 295px; /* モバイル用の幅 */
  text-align: left; /* 中身は左寄せ */
}

.creditForm > div {
  margin-bottom: 20px;
  text-align: left;
}

.creditForm label {
  font-size: 12px;
  color: #7F5539;
  display: block;
  margin-bottom: 8px;
  text-align: left;
}

.creditForm input[type="radio"] + label {
  display: inline-block;
  margin-bottom: 0;
  margin-right: 20px; /* 任意：ボタン間のすき間 */
  margin-left: 4px;
}

.creditForm .required {
  color: red;
  font-size: 12px;
}

.creditForm .note {
  display: block;
  color: red;
  font-size: 8px;
  margin-bottom: 8px;
}


.creditForm input[type="text"] {
  border: 1px solid #7F5539;
  width: 295px;
  height: 20px;
  padding: 2px 4px;
  box-sizing: border-box;
}

/* カード会社ラジオボタン：横並びで20px間隔 */
.creditForm div input[type="radio"],
.creditForm div input[type="radio"] + label {
  display: inline-block; /* 横並び */
  vertical-align: middle; /* 高さをそろえる */
}

.creditForm input[type="radio"] + label {
  margin-right: 20px; /* 各ラジオ項目の間隔 */
}


/* 有効期限専用 */

.creditFormValid {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 12px; /* 入力欄と単位（年）の間隔 */
}

.creditFormValid .validField {
  display: flex;
  align-items: center;
}

.creditFormValid .validField input {
  width: 80px;
  height: 24px;
  margin-right: 12px; /* 「年」「月」との間隔 */
}

.creditFormValid .validField span {
  font-size: 14px;
  color: #7F5539;
}

.creditForm button {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 40px auto 0; 
  background-color: #7F5539;
  color: #FFFFFF;
  width: 160px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
}

@media screen and (min-width: 768px) {
  .creditForm {
    width: 500px;
  }
}


/* -----------------------------
  カード情報確認ページ
----------------------------- */
.creditCheckWrap > h1 {
  color: #000000;
  font-size: 20px;
  padding: 12px 0;
  border-bottom: 2px solid #FFD233;
  display: inline-block;
  margin: 20px auto;
  text-align: center; /* ←これではなく */
}

.creditCheckWrap {
  margin: 20px auto 80px;
  max-width: 295px; /* モバイル用の幅 */
  text-align: center; /* ←追加（ここでh1を中央に）*/
}

.creditCheckCon {
  text-align: left; /* 他の中身は左寄せに戻す */
  font-size: 20px;
}
  

.creditCheckCon dt {
  font-size: 12px;
  color: #7F5539;
  margin-bottom: 8px;
}

.creditCheckCon dd {
  font-size: 12px;
  color: #000000;
  border-left: 1px solid #7F5539;
  padding: 4px 0 4px 4px;
  margin-bottom: 24px;
}

.creditCheckSubmitBtn {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 40px auto 20px; 
  background-color: #7F5539;
  color: #FFFFFF;
  width: 160px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
}

.creditCheckCorrect {
  font-size: 12px;
  color: #7F5539;
  border-bottom: 1px solid #7F5539;
  text-align: center;
  display: block;      /* ブロック化して幅を持たせる */
  width: fit-content;  /* リンクの幅に合わせる */
  margin: 0 auto;      /* 左右自動マージンで中央寄せ */
}






/* -----------------------------
  カード情報登録完了ページ
----------------------------- */

.creditCompleteCon {
  border: 2px solid #F7D1CD;  /* ピンク枠 */
  padding: 20px;
  margin: 40px auto 0;
  max-width: 500px;           /* 枠の横幅 */
  text-align: center;
  box-sizing: border-box;
}

.creditMessage {
  font-size: 12px;
  color: #7F5539;
}

.creditCompleteWrap {
  text-align: center;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.creditCompleteMessage {
  font-size: 12px;
  color: #7F5539;
  line-height: 1.6;
}

.afterCreditLinks {
  font-size: 12px;
  color: #7F5539;
  text-align: right;
  margin: 20px 0 80px;
}

.afterCreditLinks a {
  display: block;
  margin-bottom: 8px;
  color: #7F5539;
  text-decoration: none;
}


@media screen and (min-width: 768px) {
  .afterCreditLinks {
    width: 500px;   /* 適宜調整 */
    margin: 20px auto 80px;
  }
}


/* -----------------------------
  購入確認ページ
----------------------------- */
.cartCheckWrap {
  text-align: center; /* 子要素を中央に寄せる */ 
  max-width: 335px;
  margin: 20px auto 80px;
  font-size: 12px;
}

.cartCheckBorderTop {
  border: 1px solid #F7D1CD;
  margin: 20px 0 12px;
}
.cartCheckBorderBottom {
  border: 1px solid #F7D1CD;
  margin: 12px 0 0;
}

h5 {
  font-size: 12px;
  margin-top: 20px;
}

.cartCheckItem,
.cartCheckTotal,
.cartCheckAdd,
.cartCheckPayment {
  display: flex;
  flex-wrap: wrap; /* 各ペアを改行可能に */
  justify-content: space-between; /* 左右に均等配置 */
  gap: 8px 0; /* 行間の調整（任意） */
  text-align: left; /* 中身を左寄せ */
}

.cartCheckItem dt {
  width: 60px;
  font-size: 12px;
  color: #7F5539;
  padding: 4px 0 4px 4px;
  border-right: 2px solid #F7D1CD;
  font-weight: normal;
}
.cartCheckItem dd {
  width: 275px;
  font-size: 12px;
  color: #000000;
  padding: 4px 0 4px 12px;
}

.cartCheckTotal dt {
  width: 60px;
  font-size: 12px;
  color: #7F5539;
  padding: 4px 0 4px 4px;
  border-right: 2px solid #F7D1CD;
  font-weight: bold;
}
.cartCheckTotal dd {
  width: 275px;
  font-size: 12px;
  color: #000000;
  padding: 4px 0 4px 12px;
  font-weight: bold;
}

.cartCheckAdd dt {
  width: 60px;
  font-size: 12px;
  color: #7F5539;
  padding: 4px 0 4px 4px;
  border-right: 2px solid #F7D1CD;
  font-weight: normal;
}
.cartCheckAdd dd {
  width: 275px;
  font-size: 12px;
  color: #000000;
  padding: 4px 0 4px 12px;
}

.cartCheckCredit {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 20px auto 20px; 
  background-color: #7F5539;
  color: #FFFFFF;
  width: 200px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
  line-height: 48px; /* ボタンサイズと同じ高さ。上下中央寄せになる */
}

.cartCheckWrap button[type="submit"] {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 60px auto 20px; 
  background-color: #BF0000;
  color: #FFFFFF;
  width: 200px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
  line-height: 48px; /* ボタンサイズと同じ高さ。上下中央寄せになる */
}


/* -----------------------------
  購入最終確認ページ
----------------------------- */
.cartCheckFinalWrap {
  text-align: center; /* 子要素を中央に寄せる */ 
  max-width: 335px;
  margin: 20px auto 80px;
  font-size: 12px;
}

.cartCheckFinalSubmitBtn {
  display: block;      /* ブロックにして幅指定可能に */
  margin: 40px auto 20px; 
  background-color: #BF0000;
  color: #FFFFFF;
  width: 160px;
  height: 48px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  text-align: center;  /* ボタン内の文字も中央寄せ */
}

.cartCheckPayment dt {
  width: 60px;
  font-size: 12px;
  color: #7F5539;
  padding: 4px 0 4px 4px;
  border-right: 2px solid #F7D1CD;
  font-weight: normal;
}
.cartCheckPayment dd {
  width: 275px;
  font-size: 12px;
  color: #000000;
  padding: 4px 0 4px 12px;
}


/* -----------------------------
  購入完了ページ
----------------------------- */
.cartCompleteCon {
  border: 2px solid #F7D1CD;  /* ピンク枠 */
  padding: 20px;
  margin: 40px auto 0;
  max-width: 500px;           /* 枠の横幅 */
  text-align: center;
  box-sizing: border-box;
}

.cartCompleteWrap {
  text-align: center;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.cartCompleteMessage {
  font-size: 12px;
  color: #7F5539;
  line-height: 1.6;
}

.afterCartLinks {
  font-size: 12px;
  color: #7F5539;
  text-align: right;
  margin: 20px 0 80px;
}

.afterCartLinks a {
  display: block;
  margin-bottom: 8px;
  color: #7F5539;
  text-decoration: none;
}


@media screen and (min-width: 768px) {
  .afterCartLinks {
    width: 500px;   /* 適宜調整 */
    margin: 20px auto 80px;
  }
}