/**
 * kaze labo NEWS
 */

/* ========================================
   Base
======================================== */

.l-content {
  background-color: var(--color-paper);
}

/* ========================================
   Categories
======================================== */

.kaze-news-categories {
  width: 100%;
  max-width: 1100px;
  margin: clamp(70px, 8vw, 120px) auto clamp(60px, 7vw, 100px);
}

.kaze-news-categories__label {
  margin: 0 0 24px;
  color: var(--color-smoke);
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.kaze-news-categories__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kaze-news-categories__list li {
  margin: 0;
  padding: 0;
}

.kaze-news-categories__list a {
  position: relative;
  display: block;
  padding-bottom: 8px;
  color: var(--color-smoke);
  font-family: "Cormorant Garamond", var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.kaze-news-categories__list a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background-color: var(--color-charcoal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.kaze-news-categories__list a:hover,
.kaze-news-categories__list a:focus-visible,
.kaze-news-categories__list a.is-current {
  color: var(--color-charcoal);
}

.kaze-news-categories__list a:hover::after,
.kaze-news-categories__list a:focus-visible::after,
.kaze-news-categories__list a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ========================================
   Post List
======================================== */

.p-postList.-type-normal {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto clamp(120px, 14vw, 190px);
}

.p-postList.-type-normal .p-postList__item {
  width: 100%;
  margin: 0;
  padding: clamp(36px, 4vw, 54px) 0;
  border-bottom: 1px solid rgba(32, 32, 30, 0.2);
}

.p-postList.-type-normal .p-postList__item:first-child {
  border-top: 1px solid rgba(32, 32, 30, 0.2);
}

.p-postList.-type-normal .p-postList__link {
  display: grid;
  grid-template-columns: minmax(260px, 40%) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  color: var(--color-charcoal);
  text-decoration: none;
}

/* ========================================
   Thumbnail
======================================== */

.p-postList.-type-normal .p-postList__thumb,
.p-postList.-type-normal .c-postThumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 16 / 10;
}

/* Arkhe側のfigureを枠いっぱいに表示 */
.p-postList.-type-normal .c-postThumb__figure {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* 画像を枠いっぱいに表示 */
.p-postList.-type-normal .p-postList__thumb img,
.p-postList.-type-normal .c-postThumb img,
.p-postList.-type-normal .c-postThumb__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none;
  height: 100% !important;
  margin: 0;
  object-fit: cover !important;
  object-position: center;
  transition: opacity 0.4s ease, transform 0.7s ease;
}

.p-postList.-type-normal .p-postList__link:hover img,
.p-postList.-type-normal .p-postList__link:focus-visible img {
  opacity: 0.86;
  transform: scale(1.025);
}

/* ========================================
   Post Information
======================================== */

.p-postList.-type-normal .p-postList__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
}

/* 日付・カテゴリーを上に表示 */
.p-postList.-type-normal .p-postList__meta {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 0 0 20px;
  color: var(--color-smoke);
  font-family: "Cormorant Garamond", var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.p-postList.-type-normal .p-postList__title {
  order: 2;
  margin: 0;
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  writing-mode: horizontal-tb;
}

.p-postList.-type-normal .p-postList__excerpt {
  display: none;
}

.p-postList.-type-normal .p-postList__category {
  position: static;
  padding: 0;
  color: var(--color-smoke);
  background: transparent;
}

/* ========================================
   Mobile
======================================== */

@media screen and (max-width: 599px) {
  .kaze-news-categories {
    margin-top: 60px;
    margin-bottom: 50px;
  }

  .kaze-news-categories__label {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .kaze-news-categories__list {
    gap: 12px 24px;
  }

  .kaze-news-categories__list a {
    font-size: 12px;
  }

  .p-postList.-type-normal {
    margin-bottom: 110px;
  }

  .p-postList.-type-normal .p-postList__item {
    padding: 34px 0;
  }

  .p-postList.-type-normal .p-postList__link {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .p-postList.-type-normal .p-postList__thumb,
  .p-postList.-type-normal .c-postThumb {
    aspect-ratio: 4 / 3;
  }

  .p-postList.-type-normal .p-postList__meta {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .p-postList.-type-normal .p-postList__title {
    font-size: 15px;
    line-height: 1.75;
  }
}


/* ========================================
   Contact
======================================== */

.kaze-project-contact {
  margin-top: clamp(80px, 10vw, 130px);
  padding: clamp(48px, 6vw, 72px) 0;
  border-top: 1px solid rgba(32, 32, 30, 0.2);
  border-bottom: 1px solid rgba(32, 32, 30, 0.2);
}

.kaze-project-contact__label {
  margin: 0 0 24px;
  color: var(--color-smoke);
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.kaze-project-contact__title {
  margin: 0 0 28px;
  color: var(--color-charcoal);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.kaze-project-contact__text {
  max-width: 680px;
  margin: 0;
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.04em;
}

.kaze-project-contact__text + .kaze-project-contact__text {
  margin-top: 8px;
}


/* Contact link */

.kaze-project-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  color: var(--color-charcoal);
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.kaze-project-contact__link span:last-child {
  display: inline-block;
  letter-spacing: -0.15em;
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .kaze-project-contact__link:hover span:last-child {
    transform: translateX(6px);
  }
}


/* ========================================
   Mobile
======================================== */

@media screen and (max-width: 599px) {

  .kaze-project-contact {
    margin-top: 70px;
    padding: 42px 0;
  }

  .kaze-project-contact__label {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .kaze-project-contact__title {
    margin-bottom: 22px;
    font-size: 23px;
  }

  .kaze-project-contact__text {
    font-size: 13px;
    line-height: 2;
  }

  .kaze-project-contact__link {
    margin-top: 30px;
    font-size: 15px;
  }
}


/* ========================================
   Simple Link List
======================================== */

.kaze-link-list {
  width: 100%;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid rgba(32, 32, 30, 0.18);
}

.kaze-link-list__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 16px 0;
  margin: 0;

  border-bottom: 1px solid rgba(32, 32, 30, 0.18);

  color: var(--color-charcoal);
  text-decoration: none;
}

.kaze-link-list__label {
  display: block;
  flex: 0 0 140px;

  margin: 0;
  padding: 0;

  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;

  color: var(--color-smoke);
}

.kaze-link-list__name {
  display: block;
  flex: 1;

  margin: 0;
  padding: 0;

  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;

  color: var(--color-charcoal);
}

.kaze-link-list__icon {
  display: block;
  flex: 0 0 auto;

  margin: 0 0 0 24px;
  padding: 0;

  font-size: 12px;
  line-height: 1;

  opacity: 0.5;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

@media (hover: hover) {

  .kaze-link-list__item:hover .kaze-link-list__icon {
    opacity: 1;
    transform: translate(2px, -2px);
  }

}


/* SP */

@media screen and (max-width: 599px) {

  .kaze-link-list {
    margin-top: 40px;
  }

  .kaze-link-list__item {
    min-height: 58px;
    padding: 14px 0;
  }

  .kaze-link-list__label {
    flex-basis: 95px;
    font-size: 12px;
  }

  .kaze-link-list__name {
    font-size: 12px;
  }

  .kaze-link-list__icon {
    margin-left: 12px;
    font-size: 11px;
  }

}


/* PROJECT Video */

.kaze-project-video {
  width: min(100%, 420px);
  margin: clamp(50px, 7vw, 80px) auto;
}

.kaze-project-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}