@charset "UTF-8";

/* 秋のお出かけ特集 FEA00095（SP: 402px / PC: コンテンツ幅1200px） */

body {
  margin: 0;
}

#fea00095 {
  --fea-blue: #3c7ae9;
  --fea-yellow: #ffd33a;
  --fea-gray: #595757;
  --fea-display: "M PLUS Rounded 1c", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --fea-en: "Nunito", "M PLUS Rounded 1c", sans-serif;
  --fea-arrow: 30px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: clip;
  background: #fff;
  color: var(--fea-gray);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  padding-bottom: 48px;

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.8;
      }
    }
  }

  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  p,
  h2 {
    margin: 0;
  }

  > .inner {
    width: 100%;
    margin-inline: auto;
    padding-inline: 20px;

    @media (width >= 769px) {
      width: min(calc(1200px + 25px * 2), 100%);
      padding-inline: 25px;
    }
  }

  .sp_only {
    @media (width >= 769px) {
      display: none;
    }
  }

  .pc_only {
    display: none;

    @media (width >= 769px) {
      display: revert;
    }
  }

  /* ヒーロー */
  .fea-mv {
    width: 100%;

    @media (width >= 769px) {
      width: min(calc(1200px + 25px * 2), 100%);
      margin-inline: auto;
      padding-inline: 25px;
    }
  }

  .fea-mv__img {
    width: 100%;
    height: auto;
    /* aspect-ratio: 402 / 526; */
    object-fit: cover;

    @media (width >= 769px) {
      /* aspect-ratio: 1200 / 496; */
      border-radius: 0;
    }
  }

  /* リード文 */
  .fea-lead {
    margin-top: 38px;
    color: var(--fea-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 2.06; /* 28.8 / 14 */
    letter-spacing: 0.02em;

    @media (width >= 769px) {
      width: min(720px, 100%);
      margin-inline: auto;
      text-align: center;
    }
  }

  .fea-lead__catch {
    display: block;
    font-size: 18px;
    line-height: 1.6; /* 28.8 / 18 */
  }

  /* カテゴリー */
  .fea-cate {
    position: relative;
    margin-top: 45px;
    padding-bottom: 58px;

    @media (width >= 769px) {
      margin-top: 56px;
      padding-bottom: 40px;
    }
  }

  .fea-cate__title {
    position: relative;
    display: grid;
    place-items: center;
    width: min(215px, 100%);
    margin-inline: auto;

    @media (width >= 769px) {
      width: min(340px, 100%);
    }

    img {
      width: 100%;
      height: auto;
    }
  }

  .fea-cate__title img {
    width: 100%;
    height: auto;
  }

  .fea-cate__title-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    /* 吹き出ししっぽ（11/46）を除いたカプセル内で中央揃え */
    padding-bottom: 11px;
    color: var(--fea-blue);
    font-family: var(--fea-display);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-box: trim-both cap alphabetic;

    @media (width >= 769px) {
      /* しっぽ（画像高さに対する割合を維持） */
      padding-bottom: 18px;
      padding-inline: 20px;
      font-size: 20px;
      white-space: nowrap;
      text-wrap: nowrap;
    }
  }

  .fea-cate__en {
    margin-top: 6px;
    color: var(--fea-blue);
    font-family: var(--fea-en);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.1em;
    text-align: center;

    @media (width >= 769px) {
      margin-top: 4px;
      font-size: 32px;
      letter-spacing: 0.1em;
    }
  }

  .fea-cate__list {
    display: grid;
    gap: 32px;
    margin-top: 6px;

    @media (width >= 1000px) {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 40px;
      margin-top: 25px;
    }
  }

  .fea-cate__list > li {
    position: relative;
  }

  .fea-cate__flow {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    z-index: 1;
    display: block;
    width: 25px;
    translate: -50% -50%;
    rotate: 90deg;
    pointer-events: none;

    @media (width >= 1000px) {
      top: 50%;
      left: 100%;
      margin-left: 7px;
      translate: 0 -50%;
      rotate: 0deg;
    }
  }

  .fea-cate__card {
    --fea-card-bg: rgb(255 211 58 / 30%);
    position: relative;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    min-height: 100px;
    padding: 12px 24px 12px 24px;
    border: 1px solid var(--fea-blue);
    border-radius: 10px;
    background: var(--fea-card-bg);
    height: 100%;

    @media (width >= 769px) {
      align-items: stretch;
      gap: 6px;
    }

    &[data-theme="stroller"] {
      --fea-card-bg: rgb(255 211 58 / 50%);

      @media (width >= 1000px) {
        --fea-card-bg: #fae497;
      }
    }

    &[data-theme="carrier"] {
      --fea-card-bg: rgb(255 211 58 / 80%);

      @media (width >= 1000px) {
        --fea-card-bg: #fdda5f;
      }
    }

    &[data-theme="mobility"] {
      --fea-card-bg: var(--fea-yellow);
    }

    @media (width >= 1000px) {
      grid-template-columns: 88px minmax(0, 1fr);
      min-height: 177px;
      padding: 35px 16px 20px 8px;
    }
  }

  .fea-cate__leaf {
    position: absolute;
    top: -4px;
    left: 12px;
    width: 25px;
    height: auto;
    z-index: 1;

    @media (width >= 1000px) {
      top: -10px;
      left: 50%;
      translate: -50% 0;
    }
  }

  .fea-cate__thumb {
    display: grid;
    place-items: center;
    min-width: 0;
  }

  .fea-cate__thumb img {
    width: min(67px, 100%);
    height: auto;
    object-fit: contain;

    @media (width >= 1000px) {
      width: min(83px, 100%);
    }
  }

  .fea-cate__body {
    display: grid;
    gap: 4px;
    min-width: 0;
    color: var(--fea-blue);

    @media (width >= 1000px) {
      gap: 10px;
    }
  }

  .fea-cate__desc {
    font-size: 12px;
    line-height: 1.4; /* 16.8 / 12 */

    @media (width >= 1000px) {
      font-size: 14px;
      line-height: 1.2; /* 16.8 / 14 */
    }
  }

  .fea-cate__name {
    font-family: var(--fea-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;

    @media (width >= 1000px) {
      font-size: 18px;
    }
  }

  .fea-cate__arrow,
  .fea-item__arrow {
    position: absolute;
    right: 0;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: var(--fea-arrow);
    min-height: var(--fea-arrow);
    border: 1px solid var(--fea-blue);
    border-right: 0;
    border-radius: 15px 0 0 15px;
  }

  .fea-cate__arrow::before,
  .fea-item__arrow::before {
    content: "";
    width: 7px;
    min-height: 7px;
    border-right: 1.5px solid var(--fea-blue);
    border-bottom: 1.5px solid var(--fea-blue);
  }

  .fea-cate__arrow::before {
    rotate: 45deg;
  }

  .fea-item__arrow::before {
    rotate: -45deg;
  }

  .fea-cate__complete {
    position: absolute;
    right: 0;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: min(106px, 40%);
    min-height: 22px;
    border: 1px solid var(--fea-blue);
    border-radius: 11px;
    background: #fff;
    box-shadow: 2px 2px 0 0 var(--fea-blue);
    color: var(--fea-blue);
    font-family: var(--fea-en);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    rotate: -4.44deg;

    @media (width >= 769px) {
      right: 0;
      bottom: -40px;
      width: min(199px, 20%);
      min-height: 41px;
      border-radius: 21px;
      font-size: 20px;
    }
  }

  /* カテゴリーブロック */
  .fea-block {
    --fea-panel: #fff2c4;
    position: relative;
    margin-top: 45px;
    scroll-margin-top: 100px;

    &[data-theme="stroller"] {
      --fea-panel: #ffe99c;
    }

    &[data-theme="carrier"] {
      --fea-panel: #ffdc61;
    }

    &[data-theme="mobility"] {
      --fea-panel: var(--fea-yellow);
    }

    @media (width >= 769px) {
      margin-top: 96px;
    }
  }

  .fea-block__hero {
    position: relative;
    display: grid;
    grid-template-areas:
      "visual"
      "panel";

    /* 黄色パネルを写真の背後に回す（SP） */
    &::before {
      content: "";
      position: absolute;
      top: 37px;
      right: 30px;
      bottom: 0;
      left: -20px;
      z-index: 0;
      background: var(--fea-panel);
      border-radius: 0 0 30px 0;
    }

    @media (width >= 769px) {
      /* 写真538 : 重なり後のパネル466 = 1004。この比率のまま縮める */
      container-type: inline-size;
      display: grid;
      grid-template-columns: minmax(0, 538fr) minmax(0, 466fr);
      align-items: start;
      width: 100%;
      max-width: min(1000px, 100%);
      margin-inline: auto;
      padding-left: 60px;

      &::before {
        content: none;
      }
    }
  }

  .fea-block__visual {
    grid-area: visual;
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
    border-radius: 30px 0 30px 30px;

    @media (width >= 769px) {
      grid-area: auto;
      grid-column: 1;
      width: 100%;
      margin-right: 0;
      border-radius: 30px 0 30px 0;
    }
  }

  .fea-block__visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 362 / 255;
    object-fit: cover;

    @media (width >= 769px) {
      aspect-ratio: 538 / 379;
    }
  }

  .fea-block__panel {
    grid-area: panel;
    z-index: 1;
    margin-top: 14px;
    padding: 0 0 20px;
    width: 100%;
    background: transparent;

    @media (width >= 769px) {
      grid-area: auto;
      grid-column: 2;
      z-index: 0;
      width: calc(584 / 466 * 100%);
      min-width: 0;
      margin-top: calc(81 / 1004 * 100cqi);
      margin-left: calc(-118 / 466 * 100%);
      min-height: calc(338 / 1004 * 100cqi);
      padding: calc(104 / 1004 * 100cqi) calc(48 / 1004 * 100cqi) calc(40 / 1004 * 100cqi) calc(160 / 1004 * 100cqi);
      border-radius: 0 0 30px 0;
      background: var(--fea-panel);
    }
  }

  .fea-block__title {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    right: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: max-content;
    min-height: 44px;
    padding-inline: 16px;
    border: 1px solid var(--fea-blue);
    border-radius: 10px;
    background: var(--fea-panel);
    color: var(--fea-blue);
    font-family: var(--fea-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;

    @media (width >= 769px) {
      position: static;
      top: auto;
      right: auto;
      z-index: auto;
      display: block;
      width: auto;
      max-width: none;
      min-height: 0;
      margin: 0;
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      font-size: clamp(20px, calc(32 / 1004 * 100cqi), 32px);
      text-align: left;
    }
  }

  .fea-block__lead {
    color: var(--fea-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4; /* 22.4 / 16 */

    @media (width >= 769px) {
      margin-top: 8px;
      font-size: clamp(16px, calc(24 / 1004 * 100cqi), 24px);
      line-height: 1.4; /* 33.6 / 24 */
    }
  }

  .fea-item-list {
    display: grid;
    gap: 0;
    margin-top: 18px;

    @media (width >= 769px) {
      /* grid-template-columns: repeat(3, minmax(0, 1fr)); */
      gap: 62px;
      margin-top: 32px;
      max-width: min(500px, 100%);
      margin-inline: auto;
    }

    @media (width >= 1024px) {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      max-width: none;
    }
  }

  .fea-item-list > li,
  .fea-item {
    display: grid;
  }

  .fea-item {
    color: var(--fea-gray);
  }

  .fea-item__row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
    column-gap: 8px;
    padding: 0 24px 16px 0;
    border-top: 1px solid var(--fea-blue);
    
    @media (width >= 769px) {
      border-bottom: 1px solid var(--fea-blue);
    }
  }

  .fea-item__copy {
    display: grid;
    align-content: start;
    min-width: 0;
    width: 100%;
  }

  .fea-item__catch {
    display: block;
    width: 100%;
    min-height: 79px;
    padding: 15px 10px 12px 13px;
    border-right: 1px solid var(--fea-blue);
    border-bottom: 1px solid var(--fea-blue);
    border-radius: 0 0 30px 0;
    color: var(--fea-blue);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4; /* 19.6 / 14 */
    text-box: trim-both cap alphabetic;

    @media (width >= 769px) {
      /* 3行分の高さに揃え、横並びでキャッチ枠が凸凹しないようにする */
      min-height: calc(15px + 12px + 1px + 1.4em * 3);
    }
  }

  .fea-item__thumb {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: end;
    width: auto;
    min-width: 0;
  }

  .fea-item__thumb img {
    max-width: 134px;
    max-height: 152px;
    height: auto;
    object-fit: contain;
  }

  .fea-item__badge {
    position: absolute;
    top: 32px;
    right: -26px;
    display: grid;
    place-items: center;
    width: 55px;
    min-height: 55px;
    border-radius: 50%;
    background: var(--fea-blue);
    color: var(--fea-yellow);
    font-size: 8px;
    font-weight: 700;
    line-height: 1.4; /* 11.2 / 8 */
    text-align: center;
  }
  .fea-item__limit {
    position: absolute;
    top: 17px;
    right: -33px;
    display: grid;
    place-items: center;
    width: 26px;
    min-height: 26px;

    img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
  }

  .fea-item__brand,
  .fea-item__name,
  .fea-item__price {
    width: min(189px, 100%);
    margin-left: 13px;
  }

  .fea-item__brand {
    margin-top: 13px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.65; /* 16.5 / 10 */

    @media (width >= 769px) {
      font-size: 14px;
      line-height: 1.5;
    }
  }

  .fea-item__name {
    font-size: 11px;
    line-height: 1.5; /* 16.5 / 11 */

    @media (width >= 769px) {
      font-size: 14px;
      line-height: 1.5;
    }
  }

  .fea-item__price {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6; /* 20.8 / 13 */

    @media (width >= 769px) {
      font-size: 14px;
      line-height: 1.5;
    }
  }
}
