/*==========================================
ブランド共通
==========================================*/

.bland-hero {
  min-height: 450px;

  @media (width <= 1024px) {
    min-height: 350px;
  }

  h1 {
    img {
      @media (width <= 1024px) {
        max-width: 80%;
      }
    }
  }
}

.brand-section {
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  padding: var(--gap-5xl);

  @media (width <= 640px) {
    padding: var(--gap-3xl);
  }
}
.brand-merit-section {
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  padding: var(--gap-xl);

  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}
.brand-merit-num {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  color: var(--color-inversion);
  font-size: var(--fontSize-2xl);
  font-weight: var(--fontWeight-bold);
  line-height: 1;
}

.product-data-table {
  display: grid;
  grid-template-columns: auto 1fr;
  width: 100%;
  font-size: var(--fontSize-md);

  tbody,
  tr {
    display: contents;
  }
  th,
  td {
    padding-top: 0.6em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid var(--color-border);
  }
  th {
    padding-right: 1em;
    text-align: left;
    font-weight: 700;
  }
}

.product-scene {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--gap-lg);
}

/*==========================================
Towper
==========================================*/

.bland-hero-towper {
  background-image: url(../../brand/towper/images/bland-hero-bg-towper.png);
  background-size: cover;
  background-position: 50% 48%;

  .text-shadow {
    text-shadow: 0 0 5px #823200;
  }
}

/*==========================================
Kitchen Towper
==========================================*/

.bland-hero-kitchentowper {
  background-image: url(../../brand/towper/kitchentowper/images/bland-hero-bg-kitchentowper.png);
  background-size: cover;
  background-position: 50% 48%;

  .text-shadow {
    text-shadow: 0 0 5px #002678;
  }
}

.brand-feature {
  display: flex;
  flex-direction: column;
  gap: var(--gap-6xl);
}
.brand-feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-2xl);
  counter-increment: feature-counter;

  @media (width <= 640px) {
    grid-template-columns: 1fr;
  }
}
.brand-feature-img {
  min-height: 100%;
  object-fit: cover;

  @media (width > 640px) {
    .brand-feature-item:nth-child(odd) & {
      order: 1;
    }
    .brand-feature-item:nth-child(even) & {
      order: 2;
    }
  }
}
.brand-feature-body {
  display: flex;
  align-items: center;

  @media (width > 640px) {
    .brand-feature-item:nth-child(odd) & {
      order: 2;
    }
    .brand-feature-item:nth-child(even) & {
      order: 1;
    }
  }
}
.brand-feature-body-inner {
  @media (width > 640px) {
    max-width: 465px;
    .brand-feature-item:nth-child(odd) & {
      margin-right: auto;
    }
    .brand-feature-item:nth-child(even) & {
      margin-left: auto;
    }
  }
  @media (width <= 640px) {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "title ico"
      "description ico";
    gap: var(--gap-xl);
  }
}
.brand-feature-title {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  font-size: var(--fontSize-4xl);
  font-weight: var(--fontWeight-bold);
}
.brand-feature-title::before {
  content: counter(feature-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  border: 2px solid;
  font-size: var(--fontSize-3xl);
  font-weight: var(--fontWeight-bold);
}
.brand-feature-description {
  grid-area: description;
}
.brand-feature-ico {
  grid-area: ico;
  @media (width <= 1024px) {
    width: 100px;
    height: 100px;
  }
}

.cta-kitchentowper {
  background-image: url(../../brand/towper/kitchentowper/images/bland-hero-bg-kitchentowper.png);
  background-size: cover;
  background-position: 50% 48%;
}

.brand-recipe-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-2xl);

  @media (width <= 800px) {
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
  }
}
.brand-recipe-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--gap-md);
  color: inherit;

  &:hover {
    color: inherit;
  }
}

/*==========================================
Towperペーパーハンドタオル
==========================================*/

.bland-hero-handtowel {
  background-image: url(../../brand/towper/handtowel/images/bland-hero-bg-handtowel.png);
  background-size: cover;
  background-position: 50% 50%;

  .text-shadow {
    text-shadow: 0 0 5px #106633;
  }
}

.cta-handtowel {
  background-image: url(../../brand/towper/handtowel/images/bland-hero-bg-handtowel.png);
  background-size: cover;
  background-position: 50% 50%;
}
