/**
 * MIMEFIT Custom Styles
 * SWELLテーマの配色・デザインをMIMEFITブランドに合わせて上書き
 */

/* ===== カラー変数の上書き ===== */
:root {
  --color_main: #c41e2e;
  --color_main_dark: #a01825;
  --color_main_thin: #fdf2f3;
  --color_text: #2c2c2c;
  --color_link: #c41e2e;
  --color_bg: #ffffff;
  --color_header_bg: #ffffff;
  --color_header_text: #1a1a1a;
  --color_footer_bg: #f5f4f2;
  --color_footer_text: #6b6b6b;
  --color_content_bg: #ffffff;
  --color_gradient1: #c41e2e;
  --color_gradient2: #e8505b;
  --color_deep01: #c41e2e;
  --color_deep02: #1a1a1a;
  --color_deep03: #6b6b6b;
  --color_pale01: #fdf2f3;
  --color_pale02: #f8f7f5;
  --color_pale03: #e8e6e3;
  --swl-font_family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
}

/* ===== ヘッダーカスタマイズ ===== */
.l-header {
  border-bottom: 1px solid #e8e6e3;
}
.l-header.is-scrolled,
.l-fixHeader[data-ready] {
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.c-headLogo__link {
  letter-spacing: 4px;
}

/* ===== フロントページ LP スタイル ===== */

/* ----- Hero / メインビジュアル ----- */
.mf-hero {
  position: relative;
  overflow: hidden;
  background: #f8f7f5;
  display: flex;
  align-items: center;
  min-height: 88vh;
}
.mf-hero__deco {
  position: absolute;
  top: 60%;
  right: -120px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(0,0,0,.03);
  border-radius: 50%;
  pointer-events: none;
}
.mf-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.mf-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color_main);
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color_main);
  margin-bottom: 28px;
}
.mf-hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color_main);
  border-radius: 50%;
}
.mf-hero__en {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b6b6b;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mf-hero__ttl {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 900;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 24px;
}
.mf-hero__ttl em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
.mf-hero__ttl em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color_main);
}
.mf-hero__desc {
  font-size: 15px;
  line-height: 2;
  color: #6b6b6b;
  margin-bottom: 36px;
}
.mf-hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.mf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all .3s;
  text-decoration: none;
  border-radius: 0;
}
.mf-btn--primary {
  background: #1a1a1a;
  color: #fff;
}
.mf-btn--primary:hover {
  background: var(--color_main);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,30,46,.2);
}
.mf-btn--secondary {
  border: 1px solid #e8e6e3;
  color: #2c2c2c;
  background: transparent;
}
.mf-btn--secondary:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  opacity: 1;
}

/* Product Box */
.mf-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-product__card {
  width: 380px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 20px 80px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
}
.mf-product__top {
  height: 4px;
  background: var(--color_main);
}
.mf-product__body {
  padding: 40px 36px 32px;
}
.mf-product__brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 5px;
  color: #1a1a1a;
  line-height: 1;
  margin-bottom: 16px;
}
.mf-product__spec {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.7;
  margin-bottom: 20px;
}
.mf-product__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.mf-product__seal {
  width: 52px;
  height: 52px;
  border: 1.5px solid #e8e6e3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-family: 'DM Sans', sans-serif;
  color: #6b6b6b;
  text-align: center;
  line-height: 1.3;
}
.mf-product__count {
  text-align: right;
}
.mf-product__count strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  display: block;
  line-height: 1;
}
.mf-product__count span {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #6b6b6b;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.mf-product__tag {
  position: absolute;
  top: 20px;
  right: -24px;
  background: var(--color_main);
  color: #fff;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(196,30,46,.25);
  z-index: 2;
}
.mf-product__circle {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border: 2px solid #e8e6e3;
  border-radius: 50%;
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  z-index: 2;
}
.mf-product__circle small {
  font-size: 10px;
  color: #6b6b6b;
}
.mf-product__circle strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--color_main);
  line-height: 1;
}
.mf-product__circle span {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a1a;
}

/* ----- Sections ----- */
.mf-section {
  padding: 96px 0;
}
.mf-section--off {
  background: #f8f7f5;
}
.mf-section--dark {
  background: #1a1a1a;
  color: #fff;
}
.mf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.mf-secTtl {
  text-align: center;
  margin-bottom: 64px;
}
.mf-secTtl__en {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color_main);
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.mf-secTtl__ja {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}
.mf-secTtl__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.mf-secTtl__line::before,
.mf-secTtl__line::after {
  content: '';
  width: 32px;
  height: 1px;
  background: #e8e6e3;
}
.mf-section--dark .mf-secTtl__line::before,
.mf-section--dark .mf-secTtl__line::after {
  background: rgba(255,255,255,.15);
}
.mf-secTtl__line span {
  width: 6px;
  height: 6px;
  background: var(--color_main);
  border-radius: 50%;
  flex-shrink: 0;
}
.mf-secTtl__desc {
  font-size: 14px;
  color: #6b6b6b;
  margin-top: 16px;
  line-height: 1.9;
}
.mf-section--dark .mf-secTtl__desc {
  color: rgba(255,255,255,.5);
}

/* ----- Feature Grid ----- */
.mf-feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8e6e3;
  border: 1px solid #e8e6e3;
}
.mf-feat__card {
  background: #fff;
  padding: 48px 32px;
  text-align: center;
  transition: background .3s;
}
.mf-feat__card:hover {
  background: #f8f7f5;
}
.mf-feat__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color_main);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
}
.mf-feat__icon {
  font-size: 28px;
  margin-bottom: 20px;
}
.mf-feat__ttl {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a1a;
}
.mf-feat__txt {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.9;
}

/* ----- About ----- */
.mf-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.mf-about__img {
  background: #f8f7f5;
  border: 1px solid #e8e6e3;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mf-about__img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color_main);
}
.mf-about__labels {
  position: absolute;
  bottom: -12px;
  left: 24px;
  display: flex;
  gap: 8px;
}
.mf-label {
  display: inline-flex;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
}
.mf-label--main {
  background: var(--color_main);
  color: #fff;
}
.mf-label--outline {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #e8e6e3;
}
.mf-about__body h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.6;
  color: #1a1a1a;
}
.mf-about__body h3 em {
  font-style: normal;
  color: var(--color_main);
}
.mf-about__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.mf-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: #6b6b6b;
}
.mf-about__list li::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--color_main);
  font-weight: 700;
  margin-top: 2px;
}
.mf-notice {
  background: #f8f7f5;
  border-left: 3px solid var(--color_main);
  padding: 16px 20px;
  font-size: 12px;
  line-height: 1.9;
  color: #6b6b6b;
}
.mf-notice strong {
  color: #2c2c2c;
}

/* ----- Ingredients ----- */
.mf-ingr-hero {
  background: #fff;
  border: 1px solid #e8e6e3;
  padding: 48px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.mf-ingr-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color_main);
}
.mf-ingr-hero h3 span {
  color: var(--color_main);
}
.mf-ingr-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #e8e6e3;
}
.mf-ingr-stat strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  display: block;
  line-height: 1.1;
}
.mf-ingr-stat strong small {
  font-size: 14px;
  font-weight: 600;
  color: #6b6b6b;
}
.mf-ingr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e8e6e3;
  border: 1px solid #e8e6e3;
}
.mf-ingr-card {
  background: #fff;
  padding: 28px 24px;
  transition: background .3s;
}
.mf-ingr-card:hover {
  background: #f8f7f5;
}

/* ----- How to ----- */
.mf-howto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.mf-step {
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.mf-step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20px;
  height: calc(100% - 40px);
  width: 1px;
  background: #e8e6e3;
}
.mf-step__num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--color_main);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ----- Reviews ----- */
.mf-rev {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
}
.mf-rev__card {
  padding: 36px 28px;
  position: relative;
}
.mf-rev__card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  color: var(--color_main);
  opacity: .5;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}
.mf-rev__stars {
  color: var(--color_main);
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

/* ----- FAQ ----- */
.mf-faq {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid #e8e6e3;
}
.mf-faq__item {
  border-bottom: 1px solid #e8e6e3;
}
.mf-faq__q {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s;
  user-select: none;
  color: #1a1a1a;
}
.mf-faq__q:hover {
  color: var(--color_main);
}
.mf-faq__q::before {
  content: 'Q';
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color_main);
  width: 28px;
  text-align: center;
}
.mf-faq__q::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  color: #6b6b6b;
  font-weight: 300;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}
.mf-faq__item.is-open .mf-faq__q::after {
  content: '−';
}
.mf-faq__a {
  display: none;
  padding: 0 0 24px 48px;
  font-size: 14px;
  line-height: 2;
  color: #6b6b6b;
}
.mf-faq__item.is-open .mf-faq__a {
  display: block;
}

/* ----- CTA ----- */
.mf-cta {
  background: #1a1a1a;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mf-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color_main);
}
.mf-cta__en {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color_main);
  margin-bottom: 16px;
  display: block;
}
.mf-cta__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 40px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 20px 48px;
}
.mf-cta__price-v {
  font-family: 'DM Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
}
.mf-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color_main);
  color: #fff;
  padding: 18px 56px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all .3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.mf-cta__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  animation: mf-shimmer 3s ease-in-out infinite;
}
@keyframes mf-shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}
.mf-cta__btn:hover {
  background: #d9222f;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(196,30,46,.35);
  color: #fff;
  opacity: 1;
}

/* ----- Product Info Table ----- */
.mf-info {
  max-width: 760px;
  margin: 0 auto;
}
.mf-info table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.mf-info th,
.mf-info td {
  padding: 16px 20px;
  border-bottom: 1px solid #e8e6e3;
  text-align: left;
  vertical-align: top;
}
.mf-info th {
  font-weight: 600;
  width: 160px;
  color: #1a1a1a;
  background: #f8f7f5;
}
.mf-info td {
  color: #6b6b6b;
  line-height: 1.8;
}

/* ----- Scroll Animation ----- */
.mf-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.mf-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .mf-hero { min-height: auto; }
  .mf-hero__inner { grid-template-columns: 1fr; gap: 48px; padding: 48px 20px 72px; }
  .mf-product { order: -1; }
  .mf-product__card { width: 280px; }
  .mf-product__brand { font-size: 32px; }
  .mf-product__body { padding: 28px 24px 24px; }
  .mf-product__tag { right: -8px; }
  .mf-product__circle { width: 72px; height: 72px; left: -12px; bottom: -12px; }
  .mf-product__circle strong { font-size: 22px; }
  .mf-hero__text { text-align: center; }
  .mf-hero__btns { justify-content: center; }
  .mf-hero__deco { display: none; }
  .mf-feat { grid-template-columns: 1fr; }
  .mf-about { grid-template-columns: 1fr; gap: 40px; }
  .mf-about__body h3 { font-size: 20px; }
  .mf-ingr-hero { padding: 32px 20px; }
  .mf-ingr-stats { gap: 24px; flex-wrap: wrap; }
  .mf-ingr-grid { grid-template-columns: 1fr; }
  .mf-howto { grid-template-columns: 1fr; gap: 40px; }
  .mf-step { padding: 0; }
  .mf-step:not(:last-child)::after { display: none; }
  .mf-rev { grid-template-columns: 1fr; }
}
