@charset "UTF-8";

/* ============================================
   桷志田オンラインショップ ご利用ガイド CSS
   prefix: kkg_ (kakuida guide)
   ============================================ */

/* 参考サイトCSSの最小幅を上書き */
body {
  min-width: 0 !important;
}

#main_column {
  max-width: 1024px !important;
}

/* --------------------------------------------
   リセット・ベース（スコープ内のみ）
   -------------------------------------------- */
.kkg_guide-wrapper {
  box-sizing: border-box !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic Medium", YuGothicMedium, Verdana, Meiryo, "M+ 1p", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #4A2F28;
  background-color: transparent !important;
  background: transparent !important;
  max-width: 1100px !important;
  width: 100% !important;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.kkg_guide-wrapper *,
.kkg_guide-wrapper *::before,
.kkg_guide-wrapper *::after {
  box-sizing: border-box;
}

.kkg_guide-wrapper a {
  color: #4A2F28;
  text-decoration: underline;
}

.kkg_guide-wrapper a:hover {
  text-decoration: none;
  opacity: 0.8;
}

.kkg_guide-wrapper img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* 画像が読み込めない場合のフォールバック */
.kkg_guide-wrapper img[src$=".png"]:not([src*="http"]) {
  background-color: #e0e0e0;
  min-width: 60px;
  min-height: 30px;
}

/* --------------------------------------------
   ヘッダー
   -------------------------------------------- */
.kkg_guide-header {
  padding: 40px 0 32px;
  text-align: center;
  margin-bottom: 0;
}

.kkg_guide-header__title {
  font-family: "游明朝体", "游明朝", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 170% !important;
  font-weight: normal;
  color: #4A2F28;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

/* --------------------------------------------
   ナビゲーション
   -------------------------------------------- */
.kkg_guide-nav {
  background-color: transparent;
  padding: 20px 0;
}

.kkg_guide-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0;
}

.kkg_guide-nav__item {
  margin: 0;
  flex: 1;
}

.kkg_guide-nav__link {
  display: block;
  padding: 12px 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-right: none;
  color: #4A2F28;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.kkg_guide-nav__item:last-child .kkg_guide-nav__link {
  border-right: 1px solid #ccc;
}

.kkg_guide-nav__link:hover,
.kkg_guide-nav__link.is-active {
  background-color: #4A2F28;
  border-color: #4A2F28;
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------
   メインコンテンツ
   -------------------------------------------- */
.kkg_guide-main {
  padding: 0;
}

/* --------------------------------------------
   セクション
   -------------------------------------------- */
.kkg_guide-section {
  padding: 48px 0;
}

.kkg_guide-section__title {
  font-family: "游明朝体", "游明朝", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-size: 130% !important;
  font-weight: normal;
  color: #4A2F28;
  margin: 0 0 32px !important;
  padding: 0 0 16px !important;
  border-bottom: 3px solid #4A2F28 !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  line-height: 1.6;
  letter-spacing: 0.08em;
  position: relative;
}

.kkg_guide-section__subtitle {
  font-size: 110%;
  font-weight: normal;
  color: #4A2F28;
  margin: 32px 0 16px;
  padding: 0 0 8px;
  border-bottom: 1px solid #ccc;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

.kkg_guide-section__subtitle:first-child {
  margin-top: 0;
}

.kkg_guide-section__content {
  padding: 0;
}

/* --------------------------------------------
   テキスト
   -------------------------------------------- */
.kkg_guide-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
}

.kkg_guide-text--note {
  font-size: 13px;
  color: #666;
}

.kkg_guide-text--strong {
  font-weight: bold;
  color: #4A2F28;
}

/* --------------------------------------------
   リスト
   -------------------------------------------- */
.kkg_guide-list {
  margin: 0 0 20px;
  padding: 0 0 0 1.5em;
  list-style-type: disc !important;
}

.kkg_guide-list--ordered {
  list-style-type: decimal !important;
}

.kkg_guide-list--nested {
  margin: 8px 0 0;
  padding-left: 1.5em;
  list-style-type: circle !important;
}

.kkg_guide-list--nested .kkg_guide-list__item,
.kkg_guide-list .kkg_guide-list--nested li {
  list-style-type: circle !important;
}

.kkg_guide-list--compact {
  margin-bottom: 16px;
}

.kkg_guide-list__item {
  margin: 0 0 8px;
  list-style-type: inherit !important;
  line-height: 1.7;
}

.kkg_guide-list__item:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------
   リンク
   -------------------------------------------- */
.kkg_guide-link {
  color: #4A2F28;
  text-decoration: underline;
}

.kkg_guide-link:hover {
  text-decoration: none;
}

.kkg_guide-link--tel {
  color: #4A2F28;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
}

.kkg_guide-link--tel:hover {
  color: #4A2F28;
}

/* --------------------------------------------
   電話番号表示
   -------------------------------------------- */
.kkg_guide-tel {
  display: inline-block;
  margin-right: 8px;
}

/* --------------------------------------------
   お知らせボックス
   -------------------------------------------- */
.kkg_guide-notice {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}

.kkg_guide-notice__title {
  font-size: 15px;
  font-weight: bold;
  color: #4A2F28;
  margin: 0 0 16px;
}

.kkg_guide-notice__text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------
   連絡先ボックス
   -------------------------------------------- */
.kkg_guide-contact-box {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.kkg_guide-contact-box__label {
  font-size: 14px;
  font-weight: bold;
  color: #4A2F28;
  margin: 0 0 8px;
}

.kkg_guide-contact-box__tel {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 8px;
}

.kkg_guide-contact-box__tel a {
  color: #4A2F28;
  text-decoration: none;
}

.kkg_guide-contact-box__tel a:hover {
  color: #4A2F28;
}

.kkg_guide-contact-box__time {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px;
}

.kkg_guide-contact-box__email {
  font-size: 14px;
  margin: 0;
}

/* --------------------------------------------
   決済ロゴ・バッジ
   -------------------------------------------- */
.kkg_guide-payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0 24px;
}

.kkg_guide-payment-logo {
  max-height: 24px !important;
  height: 24px !important;
  width: auto !important;
  background-color: transparent !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  object-fit: contain;
  box-sizing: content-box;
  box-shadow: none !important;
}

.kkg_guide-payment-logo--large {
  height: 40px;
  padding: 8px 16px;
}

.kkg_guide-payment-logo--np {
  max-height: none !important;
  height: auto !important;
}

/* 決済バッジ（テキストベース） */
.kkg_guide-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  color: #4A2F28;
  text-decoration: none;
}

.kkg_guide-payment-badge:hover {
  background-color: #eee;
  text-decoration: none;
}

.kkg_guide-payment-badge--large {
  padding: 12px 24px;
  font-size: 15px;
  background-color: #4A2F28;
  border-color: #4A2F28;
  color: #fff;
}

.kkg_guide-payment-badge--large:hover {
  background-color: #3a241e;
  color: #fff;
}

/* --------------------------------------------
   テーブル
   -------------------------------------------- */
.kkg_guide-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.kkg_guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.kkg_guide-table__th {
  background-color: #4A2F28;
  color: #fff;
  font-weight: bold;
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #4A2F28;
}

.kkg_guide-table__td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  background-color: #fff;
}

.kkg_guide-table__td--price {
  text-align: right;
  font-weight: bold;
  white-space: nowrap;
}

.kkg_guide-table__row:nth-child(even) .kkg_guide-table__td {
  background-color: #f9f9f9;
}

/* --------------------------------------------
   ステップ表示（注文キャンセル・変更用）
   -------------------------------------------- */
.kkg_guide-steps {
  margin: 32px 0;
}

.kkg_guide-step {
  display: flex;
  margin-bottom: 0;
  position: relative;
}

.kkg_guide-step::before {
  content: "";
  position: absolute;
  left: 50px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background-color: #ccc;
}

.kkg_guide-step:last-child::before {
  display: none;
}

.kkg_guide-step__number {
  flex-shrink: 0;
  width: 100px;
  height: 40px;
  background-color: #4A2F28;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-right: 20px;
  position: relative;
  z-index: 1;
}

.kkg_guide-step__content {
  flex: 1;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.kkg_guide-step__title {
  font-size: 16px;
  font-weight: bold;
  color: #4A2F28;
  margin: 0 0 8px;
}

.kkg_guide-step__text {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: #555;
}

.kkg_guide-step .kkg_guide-list {
  margin-bottom: 0;
}

/* --------------------------------------------
   FAQ
   -------------------------------------------- */
.kkg_guide-faq {
  margin: 0;
}

.kkg_guide-faq__item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e5e5e5;
}

.kkg_guide-faq__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.kkg_guide-faq__question {
  font-size: 16px;
  font-weight: bold;
  color: #4A2F28;
  margin: 0 0 12px;
  padding-left: 32px;
  position: relative;
}

.kkg_guide-faq__question::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #4A2F28;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.kkg_guide-faq__answer {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  padding-left: 32px;
  position: relative;
}

.kkg_guide-faq__answer::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: #999;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* --------------------------------------------
   お問い合わせ方法
   -------------------------------------------- */
.kkg_guide-contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.kkg_guide-contact-method {
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
}

.kkg_guide-contact-method__icon {
  margin-bottom: 16px;
}

.kkg_guide-contact-method__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.7;
}

/* CSSアイコン */
.kkg_guide-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  position: relative;
}

.kkg_guide-icon--phone {
  background-color: #4A2F28;
  border-radius: 50%;
}

.kkg_guide-icon--phone::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 4px;
}

.kkg_guide-icon--phone::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  width: 8px;
  height: 14px;
  background-color: #fff;
  border-radius: 2px;
}

.kkg_guide-icon--mail {
  background-color: #4A2F28;
  border-radius: 50%;
}

.kkg_guide-icon--mail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 2px;
}

.kkg_guide-icon--mail::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.kkg_guide-icon--form {
  background-color: #4A2F28;
  border-radius: 50%;
}

.kkg_guide-icon--form::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 24px;
  background-color: #fff;
  border-radius: 2px;
}

.kkg_guide-icon--form::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  background-color: #4A2F28;
  box-shadow: 0 4px 0 #4A2F28, 0 8px 0 #4A2F28;
}

.kkg_guide-contact-method__title {
  font-size: 15px;
  font-weight: bold;
  color: #4A2F28;
  margin: 0 0 16px;
}

.kkg_guide-contact-method__tel {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 8px;
}

.kkg_guide-contact-method__tel a {
  color: #4A2F28;
  text-decoration: none;
}

.kkg_guide-contact-method__tel a:hover {
  color: #4A2F28;
}

.kkg_guide-contact-method__time {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.kkg_guide-contact-method__email {
  font-size: 15px;
  margin: 0 0 8px;
}

.kkg_guide-contact-method__note {
  font-size: 12px;
  color: #888;
  margin: 8px 0 0;
}

.kkg_guide-contact-method__btn {
  margin: 0;
}

/* --------------------------------------------
   ボタン
   -------------------------------------------- */
.kkg_guide-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #4A2F28;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.kkg_guide-btn:hover {
  background-color: #3a241e;
  color: #fff;
  text-decoration: none;
}

/* --------------------------------------------
   ページトップボタン
   -------------------------------------------- */
.kkg_guide-pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background-color: #4A2F28;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.kkg_guide-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}

.kkg_guide-pagetop:hover {
  background-color: #3a241e;
  text-decoration: none;
}

.kkg_guide-pagetop__arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-bottom: 2px;
}

.kkg_guide-pagetop__text {
  font-size: 10px;
  color: #fff;
  line-height: 1;
}

/* ============================================
   レスポンシブ（768px以下）
   ============================================ */
@media screen and (max-width: 768px) {

  .kkg_guide-wrapper {
    padding: 0 15px !important;
    font-size: 14px;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* ヘッダー */
  .kkg_guide-header {
    padding: 32px 0 24px;
  }

  .kkg_guide-header__title {
    font-size: 22px;
  }

  /* ナビゲーション */
  .kkg_guide-nav {
    padding: 16px 0;
  }

  .kkg_guide-nav__list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  .kkg_guide-nav__item {
    flex: none;
  }

  .kkg_guide-nav__link {
    padding: 10px 8px;
    font-size: 11px;
    border: 1px solid #ccc !important;
    border-right: none !important;
    border-bottom: none !important;
    white-space: normal;
    line-height: 1.4;
  }

  .kkg_guide-nav__item:nth-child(even) .kkg_guide-nav__link {
    border-right: 1px solid #ccc !important;
  }

  .kkg_guide-nav__item:nth-child(n+5) .kkg_guide-nav__link {
    border-bottom: 1px solid #ccc !important;
  }

  /* セクション */
  .kkg_guide-section {
    padding: 32px 0;
  }

  .kkg_guide-section__title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .kkg_guide-section__subtitle {
    font-size: 15px;
    margin-top: 24px;
  }

  /* テキスト */
  .kkg_guide-text {
    font-size: 14px;
  }

  .kkg_guide-text--note {
    font-size: 12px;
  }

  /* リスト */
  .kkg_guide-list {
    padding-left: 1.2em;
  }

  .kkg_guide-list__item {
    font-size: 14px;
  }

  /* 電話リンク */
  .kkg_guide-link--tel {
    font-size: 18px;
  }

  /* 連絡先ボックス */
  .kkg_guide-contact-box {
    padding: 24px 16px;
  }

  .kkg_guide-contact-box__tel {
    font-size: 24px;
  }

  /* 決済ロゴ */
  .kkg_guide-payment-logos {
    gap: 6px;
  }

  .kkg_guide-payment-logo {
    max-height: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    background: none !important;
    background-color: transparent !important;
  }

  .kkg_guide-payment-logo--large {
    height: 40px;
  }

  .kkg_guide-payment-logo--np {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  /* テーブル */
  .kkg_guide-table {
    font-size: 12px;
  }

  .kkg_guide-table__th,
  .kkg_guide-table__td {
    padding: 10px 8px;
  }

  /* ステップ */
  .kkg_guide-step {
    flex-direction: column;
  }

  .kkg_guide-step::before {
    display: none;
  }

  .kkg_guide-step__number {
    width: 80px;
    height: 32px;
    font-size: 12px;
    margin-right: 0;
    margin-bottom: 8px;
    border-radius: 16px;
  }

  .kkg_guide-step__content {
    padding: 16px;
    margin-bottom: 24px;
    margin-left: 0;
  }

  .kkg_guide-step__title {
    font-size: 14px;
  }

  .kkg_guide-step__text {
    font-size: 13px;
  }

  /* FAQ */
  .kkg_guide-faq__item {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .kkg_guide-faq__question {
    font-size: 14px;
    padding-left: 28px;
  }

  .kkg_guide-faq__question::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .kkg_guide-faq__answer {
    font-size: 14px;
    padding-left: 28px;
  }

  .kkg_guide-faq__answer::before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  /* お問い合わせ方法 */
  .kkg_guide-contact-methods {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .kkg_guide-contact-method {
    padding: 24px 16px;
  }

  .kkg_guide-contact-method__title {
    font-size: 14px;
  }

  .kkg_guide-contact-method__tel {
    font-size: 20px;
  }

  /* ページトップボタン */
  .kkg_guide-pagetop {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }

}
