/* ============================================================
   Gift Page Styles (column WP テーマと併存する形で gift 専用)
   prefix: gift-* で main.css の mof-* と衝突しないこと
============================================================ */

/* セクション共通 */
.gift-section {
  padding: 64px 0;
}
.gift-section__head {
  text-align: center;
  margin-bottom: 40px;
}
.gift-section__title {
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  font-size: 32px;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  font-weight: 500;
}
.gift-section__sub {
  font-size: 14px;
  color: #666;
  letter-spacing: 0.1em;
  margin: 0;
}

/* LINEUP */
.gift-lineup {
  display: grid;
  gap: 64px;
}
.gift-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.gift-product:nth-child(even) {
  direction: rtl;
}
.gift-product:nth-child(even) > * {
  direction: ltr;
}
.gift-product__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.gift-product__title {
  font-size: 22px;
  margin: 0 0 16px;
  font-weight: 600;
}
.gift-product__desc {
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 24px;
  color: #333;
}
.gift-flow {
  background: #f7f5f1;
  padding: 20px 24px;
  border-radius: 4px;
}
.gift-flow__title {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
  font-weight: 600;
  color: #4a3a2a;
}
.gift-flow__list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: gift-flow;
}
.gift-flow__list li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-size: 14px;
  line-height: 1.7;
  counter-increment: gift-flow;
}
.gift-flow__list li::before {
  content: counter(gift-flow);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4a3a2a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-flow__list li + li {
  border-top: 1px dashed #d8cfc1;
}

/* HOW TO BUY */
.gift-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.gift-buy__item {
  background: #faf8f4;
  padding: 32px 28px;
  border-radius: 4px;
}
.gift-buy__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #a08456;
  margin: 0 0 8px;
  font-weight: 600;
}
.gift-buy__title {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 600;
}
.gift-buy__catch {
  font-size: 15px;
  color: #555;
  margin: 0 0 16px;
  font-style: italic;
}
.gift-buy__text {
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 20px;
  color: #333;
}
.gift-buy__cta {
  margin: 0;
}
.gift-buy__cta a {
  display: inline-block;
  background: #4a3a2a;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 999px;
  transition: opacity 0.2s;
}
.gift-buy__cta a:hover {
  opacity: 0.85;
}

/* SHOPPER */
.gift-shopper__text {
  font-size: 15px;
  line-height: 2;
  text-align: center;
  margin: 0 auto;
  max-width: 720px;
  color: #333;
}

/* FAQ (mof-acc を流用) */
#gift-faq .mof-acc {
  margin-bottom: 12px;
}

/* SP */
@media (max-width: 768px) {
  .gift-section { padding: 48px 0; }
  .gift-section__title { font-size: 26px; }
  .gift-product {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gift-product:nth-child(even) {
    direction: ltr;
  }
  .gift-buy {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gift-buy__item { padding: 24px 20px; }
}

/* ============================================================
   Footer (myonlyfragrance.com root の styles.css から移植)
   mof-footer ではなく .footer クラスを使う形に
============================================================ */
.footer {
  background-color: #30302e;
  color: #fff;
  padding: 60px 0 20px;
}
.footer__inner {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 40px;
}
.footer__logo {
  margin: 0 auto 40px;
  width: 222px;
}
.footer__logo a { display: block; }
.footer__logo img { width: 100%; display: block; }
.footer__list {
  align-items: center;
  border-top: 1px solid #444;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.2rem;
  font-weight: 500;
  justify-content: center;
  margin: 0 0 50px;
  padding: 40px 0 0;
  list-style: none;
}
.footer__item {
  position: relative;
}
.footer__item:not(:first-child)::before {
  background-color: #666;
  content: "";
  display: block;
  height: 10px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
}
.footer__item a {
  color: #fff;
  padding: 5px 8px;
  text-decoration: none;
}
.footer__sns {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: center;
}
.footer__sns li { display: inline-block; }
.footer__sns img { width: 20px; height: auto; }
.copyright {
  font-family: "futura bk bt", sans-serif;
  font-size: 0.8rem;
  text-align: center;
  color: #fff;
  margin: 0;
}

@media (max-width: 768px) {
  .footer__logo { width: 36.8vw; }
  .footer__list { font-size: 2.66vw; }
  .footer__item:not(:first-child)::before { height: 2.66vw; }
  .copyright { font-size: 2.13vw; }
}
