/* =========================
   柄で選ぶ トップページ
   pattern-gateway.css
========================= */

#mh-pattern-gateway {
  --mh-red: #a32328;
  --mh-dark-red: #7f171c;
  --mh-yellow: #f6c343;
  --mh-cream: #fff6e6;
  --mh-orange: #f39800;
  --mh-brown: #5a2f1b;
  --mh-text: #333;
  --mh-border: #f0d7b2;
  color: var(--mh-text);
  line-height: 1.8;
  overflow: hidden;
}

#mh-pattern-gateway * {
  box-sizing: border-box;
}

#mh-pattern-gateway a {
  text-decoration: none;
}

#mh-pattern-gateway .sp-only {
  display: none;
}


/* =========================
   HERO
========================= */

#mh-pattern-gateway .mh-pattern-gateway-hero {
  position: relative;
  padding: 86px 20px 76px;
  background:
    linear-gradient(
      135deg,
      rgb(112 174 176 / 66%)
    ),
    url("https://www.mangohouse.jp/img/pattern/251170gara1.jpg") center center / cover no-repeat;
  color: #fff;
}

#mh-pattern-gateway .mh-pattern-gateway-hero__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}


#mh-pattern-gateway .mh-pattern-gateway-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .04em;
}

#mh-pattern-gateway .mh-pattern-gateway-lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.9;
}


/* =========================
   COMMON
========================= */

#mh-pattern-gateway .mh-pattern-gateway-section {
  max-width: 1080px;
  margin: 74px auto 0;
  padding: 0 20px;
}

#mh-pattern-gateway .mh-pattern-gateway-title {
  text-align: center;
  margin-bottom: 30px;
}

#mh-pattern-gateway .mh-pattern-gateway-title p {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--mh-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  border-bottom: 3px solid var(--mh-yellow);
}

#mh-pattern-gateway .mh-pattern-gateway-title h2 {
  margin: 0;
  color: var(--mh-red);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
}


/* =========================
   BIG PANEL
========================= */

#mh-pattern-gateway .mh-pattern-gateway-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

#mh-pattern-gateway .mh-pattern-gateway-panel {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(90, 47, 27, .14);
}

#mh-pattern-gateway .mh-pattern-gateway-panel a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 360px;
  padding: 28px;
  color: #fff;
  overflow: hidden;
}

#mh-pattern-gateway .mh-pattern-gateway-panel a::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  transition: transform .35s ease;
  z-index: 0;
}

#mh-pattern-gateway .mh-pattern-gateway-panel a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, .72),
      rgba(0, 0, 0, .24),
      rgba(0, 0, 0, .08)
    );
  z-index: 1;
}

#mh-pattern-gateway .mh-pattern-gateway-panel:hover a::before {
  transform: scale(1.06);
}

#mh-pattern-gateway .mh-pattern-gateway-panel--men a::before {
  background:
    linear-gradient(
      135deg,
      rgb(142 209 211 / 40%)
    ),
    url("https://www.mangohouse.jp/img/pattern/241147gara1.jpg") center center / cover no-repeat;
  color: #fff;
}

#mh-pattern-gateway .mh-pattern-gateway-panel--women a::before {
  background:
    linear-gradient(
      135deg,
      rgb(142 209 211 / 40%)
    ),
    url("https://www.mangohouse.jp/img/pattern/251167gara2.jpg") center center / cover no-repeat;
  color: #fff;
}

#mh-pattern-gateway .mh-pattern-gateway-panel--kids a::before {
  background:
    linear-gradient(
      135deg,
      rgb(142 209 211 / 40%)
    ),
    url("https://www.mangohouse.jp/img/pattern/261188gara2.jpg") center center / cover no-repeat;
  color: #fff;
}

#mh-pattern-gateway .mh-pattern-gateway-panel__label,
#mh-pattern-gateway .mh-pattern-gateway-panel__body,
#mh-pattern-gateway .mh-pattern-gateway-panel__btn {
  position: relative;
  z-index: 2;
}

#mh-pattern-gateway .mh-pattern-gateway-panel__label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 5px 14px;
  background: #fff;
  color: var(--mh-red);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
}

#mh-pattern-gateway .mh-pattern-gateway-panel h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
}

#mh-pattern-gateway .mh-pattern-gateway-panel p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}

#mh-pattern-gateway .mh-pattern-gateway-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 18px;
  background: var(--mh-red);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

#mh-pattern-gateway .mh-pattern-gateway-panel__btn::after {
  content: "＞";
  margin-left: 6px;
}


/* =========================
   FEATURE
========================= */

#mh-pattern-gateway .mh-pattern-gateway-feature {
  max-width: none;
  padding: 0;
  background: #fff6e6;
}

#mh-pattern-gateway .mh-pattern-gateway-feature__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
}


#mh-pattern-gateway .mh-pattern-gateway-feature__text h2 {
  margin: 0 0 14px;
  color: var(--mh-red);
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.4;
  font-weight: 900;
}

#mh-pattern-gateway .mh-pattern-gateway-feature__text p {
  margin: 0;
}

#mh-pattern-gateway .mh-pattern-gateway-feature__list {
  display: grid;
  gap: 12px;
}

#mh-pattern-gateway .mh-pattern-gateway-feature__list div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--mh-border);
  border-radius: 14px;
}

#mh-pattern-gateway .mh-pattern-gateway-feature__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--mh-red);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

#mh-pattern-gateway .mh-pattern-gateway-feature__list p {
  margin: 0;
  color: var(--mh-brown);
  font-weight: 900;
}

/* =========================
   SP
========================= */

@media screen and (max-width: 767px) {
  #mh-pattern-gateway .sp-only {
    display: block;
  }

  #mh-pattern-gateway .mh-pattern-gateway-hero {
    padding: 58px 16px 52px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-lead {
    font-size: 14px;
    text-align: left;
  }

  #mh-pattern-gateway .mh-pattern-gateway-section {
    margin-top: 52px;
    padding: 0 16px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-panel-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-panel,
  #mh-pattern-gateway .mh-pattern-gateway-panel a {
    min-height: 300px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-panel a {
    padding: 24px 20px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-panel h3 {
    font-size: 24px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-panel__btn {
    width: 100%;
  }

  #mh-pattern-gateway .mh-pattern-gateway-feature__inner {
    grid-template-columns: 1fr;
    padding: 42px 16px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-feature__list div {
    grid-template-columns: 44px 1fr;
  }

  #mh-pattern-gateway .mh-pattern-gateway-keyword-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #mh-pattern-gateway .mh-pattern-gateway-keyword-list a {
    padding: 10px 8px;
    font-size: 13px;
  }
}