@charset "UTF-8";

/* ==========================================
   MAGAZINE FOOTER
   Soft Gallery Compact v4
========================================== */

/* 全体 */
.mf-soft {
  --mf-ink: #49433f;
  --mf-muted: #8b8178;
  --mf-line: #e8e1db;
  --mf-accent: #a38676;
  --mf-cream: #faf8f5;
  --mf-white: #fff;

  background: #fff;
  color: var(--mf-ink);
  padding: 40px 24px 20px;
  font-family: "Jost", "Noto Sans JP", sans-serif;
  font-weight: 400;
}

.mf-soft * {
  box-sizing: border-box;
}

.mf-soft a {
  color: inherit;
  text-decoration: none;
}

.mf-soft__inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================
   HEADING
========================================== */

.mf-soft__heading {
  text-align: center;
  margin-bottom: 19px;
}

.mf-soft__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--mf-accent);
}

.mf-soft__heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 4px 0 0;
}

.mf-soft__heading p {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin: 0;
  color: var(--mf-muted);
}

/* ==========================================
   RELATED STORIES
========================================== */

.mf-soft__stories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mf-soft__story {
  display: block;
  min-width: 0;
}

/* バナー外枠 */
.mf-soft__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.9;
  overflow: hidden;
  border-radius: 5px;
  background: #f3efeb;
}

/* picture対応 */
.mf-soft__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* PC画像 */
.mf-soft__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

/* PCのみホバー */
@media (hover: hover) and (pointer: fine) {
  .mf-soft__story:hover img {
    transform: scale(1.035);
  }
}

/* 記事タイトル */
.mf-soft__story-caption {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 7px 2px 0;
}

.mf-soft__story-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.mf-soft__arrow {
  font-size: 17px;
  color: var(--mf-accent);
  line-height: 1;
  flex-shrink: 0;
}

/* ==========================================
   SEPARATOR
========================================== */

.mf-soft__separation {
  margin: 26px 0 18px;
  height: 1px;
  background: var(--mf-line);
}

/* ==========================================
   INSTAGRAM
========================================== */

.mf-soft__instagram {
  position: relative;
  background: #faf8f5;
  border: 1px solid #f2ece7;
  border-radius: 6px;
  padding: 22px 30px 20px;
  color: #493f39;
}

.mf-soft__ig-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94786d;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.mf-soft__ig-icon {
  width: 21px;
  height: 21px;
  flex: none;
}

.mf-soft__instagram h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.028em;
  margin: 12px 0 9px;
}

.mf-soft__instagram p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  line-height: 1.8;
  color: #796d65;
  letter-spacing: 0.035em;
  margin: 0 0 15px;
}

.mf-soft__ig-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0 0;
  border-top: 1px solid #dfd7d0;
  font-size: 11px;
  letter-spacing: 0.13em;
  font-weight: 500;
  transition: color 0.2s;
}

.mf-soft__ig-link:hover {
  color: #987b6d;
}

/* ==========================================
   SHOP LINKS
========================================== */

.mf-soft__shop {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.mf-soft__shop-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 19px;
  min-height: 60px;
  border: 1px solid #ebe3dc;
  border-radius: 6px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.mf-soft__shop-link:hover {
  background: #faf8f5;
  border-color: #cbbdb3;
}

.mf-soft__shop-link strong {
  display: block;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.mf-soft__shop-link small {
  display: block;
  color: #8b8178;
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ==========================================
   BACK TO TOP
========================================== */

.mf-soft__back {
  display: table;
  margin: 12px auto 0;
  padding: 6px 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--mf-muted) !important;
}

.mf-soft__back:hover {
  color: var(--mf-ink) !important;
}

/* ==========================================
   SP / max-width: 700px
========================================== */

@media screen and (max-width: 700px) {
  /* 全体 */
  .mf-soft {
    padding: 30px 15px calc(100px + env(safe-area-inset-bottom));
  }

  .mf-soft__inner {
    width: 100%;
    max-width: 100%;
  }

  /* 見出し */
  .mf-soft__heading {
    margin-bottom: 16px;
  }

  .mf-soft__heading h2 {
    font-size: 30px;
  }

  /* 関連記事 */
  .mf-soft__stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mf-soft__story {
    min-width: 0;
  }

  /* 画像をトリミングせず全体表示 */
  .mf-soft__photo {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 4px;
  }

  .mf-soft__photo picture {
    display: block;
    width: 100%;
    height: auto;
  }

  .mf-soft__photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }

  .mf-soft__story-caption {
    padding-top: 6px;
  }

  .mf-soft__story-name {
    font-size: 10px;
    line-height: 1.5;
  }

  .mf-soft__arrow {
    font-size: 15px;
  }

  /* 区切り線 */
  .mf-soft__separation {
    margin: 21px 0 14px;
  }

  /* Instagram */
  .mf-soft__instagram {
    padding: 19px 18px 17px;
    border-radius: 6px;
  }

  .mf-soft__ig-meta {
    font-size: 9px;
    letter-spacing: 0.11em;
    gap: 10px;
  }

  .mf-soft__ig-icon {
    width: 22px;
    height: 22px;
  }

  .mf-soft__instagram h3 {
    font-size: 28px;
    margin: 11px 0 9px;
  }

  .mf-soft__instagram p {
    font-size: 10px;
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .mf-soft__ig-break {
    display: none;
  }

  .mf-soft__ig-link {
    padding-top: 11px;
    font-size: 10px;
    letter-spacing: 0.065em;
  }

  /* ショッピングリンク */
  .mf-soft__shop {
    margin-top: 9px;
    gap: 8px;
  }

  .mf-soft__shop-link {
    padding: 11px 10px;
    gap: 5px;
    min-height: 58px;
  }

  .mf-soft__shop-link strong {
    font-size: 11px;
  }

  .mf-soft__shop-link small {
    font-size: 8px;
    line-height: 1.5;
  }

  .mf-soft__shop-link .mf-soft__arrow {
    font-size: 14px;
  }

  /* BACK TO TOP */
  .mf-soft__back {
    margin-top: 11px;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .mf-soft * {
    transition: none !important;
  }
}


/* ============================================================
   Knit magazine — soft blue-gray editorial footer
   Applied ONLY when the footer also has .mf-soft--knit.
   Shared footer rules remain intact for other magazines.
============================================================ */
.mf-soft.mf-soft--knit {
  --mf-ink: #48565d;
  --mf-muted: #78868e;
  --mf-line: #dbe4e8;
  --mf-accent: #7c929f;
  --mf-cream: #f4f7f8;
  background: linear-gradient(180deg, #f4f7f8 0%, #f8fafb 68%, #ffffff 100%);
  color: var(--mf-ink);
  padding: clamp(64px, 8vw, 112px) 26px 38px;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
}
.mf-soft--knit .mf-soft__inner {
  max-width: 1020px;
}
.mf-soft--knit .mf-soft__heading {
  text-align: left;
  position: relative;
  margin: 0 0 42px;
  padding: 0 0 23px;
  border-bottom: 1px solid #cbd9df;
}
.mf-soft--knit .mf-soft__eyebrow {
  font: 600 11px/1.5 "DM Sans", sans-serif;
  color: #7d98a5;
  letter-spacing: .22em;
}
.mf-soft--knit .mf-soft__heading h2 {
  font: italic 400 clamp(42px, 6vw, 76px)/1.15 "DM Serif Display", Georgia, serif;
  letter-spacing: -.035em;
  color: #4d6069;
  margin: 8px 0 8px;
}
.mf-soft--knit .mf-soft__heading p {
  font: 400 12px/1.7 "Zen Kaku Gothic New", sans-serif;
  letter-spacing: .06em;
  color: #73848a;
}
.mf-soft--knit .mf-soft__stories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 4.6vw, 58px);
  align-items: start;
}
.mf-soft--knit .mf-soft__story:nth-child(2) {
  margin-top: 54px;
}
.mf-soft--knit .mf-soft__photo {
  aspect-ratio: auto;
  border-radius: 0;
  border: 8px solid #fff;
  box-shadow: 0 13px 32px rgba(64,84,95,.055);
  background: #e6edf0;
  overflow: hidden;
}
.mf-soft--knit .mf-soft__photo picture { height: auto; }
.mf-soft--knit .mf-soft__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  transition: transform .55s ease;
}
.mf-soft--knit .mf-soft__story-caption {
  align-items: start;
  padding: 15px 3px 0;
  gap: 14px;
}
.mf-soft--knit .mf-soft__story-name {
  font: 500 14px/1.7 "Zen Kaku Gothic New", sans-serif;
  letter-spacing: .045em;
}
.mf-soft--knit .mf-soft__arrow { color: #8097a3; }
.mf-soft--knit .mf-soft__separation {
  margin: 78px 0 46px;
  height: 1px;
  background: #d5e0e4;
}
.mf-soft--knit .mf-soft__instagram {
  background: rgba(255,255,255,.67);
  border: 1px solid #dce6e9;
  border-radius: 0;
  padding: clamp(25px, 4vw, 47px);
}
.mf-soft--knit .mf-soft__ig-meta {
  font-family: "DM Sans", sans-serif;
  color: #8195a0;
}
.mf-soft--knit .mf-soft__instagram h3 {
  font: italic 400 clamp(30px,4vw,46px)/1.2 "DM Serif Display", Georgia, serif;
  color: #4d6069;
  margin: 15px 0;
}
.mf-soft--knit .mf-soft__instagram p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  color: #72818a;
}
.mf-soft--knit .mf-soft__ig-link {
  border-top-color: #d5e0e4;
  color: #526975;
}
.mf-soft--knit .mf-soft__shop {
  gap: 15px;
  margin-top: 15px;
}
.mf-soft--knit .mf-soft__shop-link {
  border: 1px solid #d8e3e7;
  border-radius: 0;
  background: rgba(255,255,255,.48);
  padding: 19px 22px;
}
.mf-soft--knit .mf-soft__shop-link:hover {
  background: #fff;
  border-color: #aebfc8;
}
.mf-soft--knit .mf-soft__shop-link strong { font-size: 14px; }
.mf-soft--knit .mf-soft__shop-link small { color: #84939c; }
.mf-soft--knit .mf-soft__back {
  margin-top: 39px;
  padding: 9px 10px;
  font: 500 11px "DM Sans", sans-serif;
  color: #738791 !important;
  border-bottom: 1px solid #bccbd2;
}
@media (max-width: 700px) {
  .mf-soft.mf-soft--knit {
    padding: 60px 17px calc(110px + env(safe-area-inset-bottom));
  }
  .mf-soft--knit .mf-soft__heading {
    margin-bottom: 25px;
    padding-bottom: 18px;
  }
  .mf-soft--knit .mf-soft__heading h2 { font-size: 47px; }
  .mf-soft--knit .mf-soft__stories { gap: 12px; }
  .mf-soft--knit .mf-soft__story:nth-child(2) { margin-top: 31px; }
  .mf-soft--knit .mf-soft__photo { border-width: 4px; }
  .mf-soft--knit .mf-soft__story-caption { padding: 10px 1px 0; gap: 5px; }
  .mf-soft--knit .mf-soft__story-name { font-size: 11px; line-height: 1.55; }
  .mf-soft--knit .mf-soft__separation { margin: 49px 0 29px; }
  .mf-soft--knit .mf-soft__instagram { padding: 25px 20px; }
  .mf-soft--knit .mf-soft__instagram h3 { font-size: 32px; }
  .mf-soft--knit .mf-soft__instagram p { font-size: 11px; }
  .mf-soft--knit .mf-soft__shop { gap: 8px; }
  .mf-soft--knit .mf-soft__shop-link { padding: 13px 11px; }
  .mf-soft--knit .mf-soft__shop-link strong { font-size: 12px; }
  .mf-soft--knit .mf-soft__shop-link small { font-size: 9px; }
  .mf-soft--knit .mf-soft__back { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .mf-soft--knit .mf-soft__photo img { transition: none; }
}
