@charset "UTF-8";

/* =========================================================
   Awashima Coffee / KNOWLEDGE
   2026-09-22
   PC first draft
========================================================= */

body {
  overflow-x: hidden;
}

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

.aw-knowledge {
  color: #2d2924;
  background: #fff;
}

.aw-knowledge__inner {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
}


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

.aw-knowledgeHero {
  background: #2c211b;
}

.aw-knowledgeHero__image {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.aw-knowledgeHero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(18,8,0,.48) 0%,
    rgba(18,8,0,.22) 48%,
    rgba(18,8,0,.10) 100%
  );
}

.aw-knowledgeHero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


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

.aw-knowledgeHeading {
  margin: 0;
}

.aw-knowledgeHeading__en {
  margin: 0 0 20px;
  color: #8d7667;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .28em;
}

.aw-knowledgeHeading__title {
  margin: 0;
  color: #2d2924;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .055em;
}

.aw-knowledgeHeading__title::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin-top: 28px;
  background: rgba(74,38,20,.32);
}

.aw-knowledgeHeading--center {
  text-align: center;
}

.aw-knowledgeHeading--center .aw-knowledgeHeading__title::after {
  margin-right: auto;
  margin-left: auto;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.aw-knowledgeIntro {
  padding: 118px 0 126px;
  background: #fff;
}

.aw-knowledgeIntro > .aw-knowledge__inner {
  width: min(900px, calc(100% - 56px));
}

.aw-knowledgeIntro__body {
  position: relative;
  width: 720px;
  max-width: calc(100% - 140px);
  margin: 72px 0 0 140px;
  padding-left: 30px;
  border-left: 1px solid rgba(74,38,20,.40);
}

.aw-knowledgeIntro__body p {
  margin: 0 0 24px;
  color: rgba(45,41,36,.78);
  font-size: 17px;
  line-height: 2.35;
  letter-spacing: .055em;
}

.aw-knowledgeIntro__body p:last-child {
  margin-bottom: 0;
}

.aw-knowledgeIntro__body .aw-knowledgeIntro__emphasis {
  margin-top: 38px;
  color: #2d2924;
  font-size: 20px;
  line-height: 2.15;
  letter-spacing: .07em;
}


/* =========================================================
   KNOWLEDGE INDEX
========================================================= */

.aw-knowledgeIndex {
  padding: 116px 0 132px;
  background: #f7f4f0;
}


/* =========================================================
   KNOWLEDGE GENRE
========================================================= */

.aw-knowledgeGenre {
  margin-top: 96px;
}

.aw-knowledgeGenre + .aw-knowledgeGenre {
  margin-top: 132px;
  padding-top: 72px;
  border-top: 1px solid rgba(74,38,20,.18);
}

.aw-knowledgeGenre__header {
  margin: 0;
}

.aw-knowledgeGenre__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 18px;
  color: #8d7667;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .24em;
}

.aw-knowledgeGenre__meta span {
  color: rgba(146,113,91,.72);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -.02em;
}

.aw-knowledgeGenre__header h3 {
  margin: 0;
  color: #2d2924;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .065em;
}

.aw-knowledgeGenre__header h3::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 20px;
  background: rgba(74,38,20,.28);
}

.aw-knowledgeGenre__header > p:last-child {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(45,41,36,.68);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .045em;
}


/* =========================================================
   KNOWLEDGE GRID
========================================================= */

.aw-knowledgeGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 88px 56px;
  margin-top: 58px;
}

.aw-knowledgeCard {
  min-width: 0;
}

.aw-knowledgeCard__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.aw-knowledgeCard__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e2dc;
}

.aw-knowledgeCard__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.aw-knowledgeCard__visual--placeholder {
  background:
    linear-gradient(
      135deg,
      rgba(141,118,103,.10),
      rgba(74,38,20,.18)
    ),
    #e8e2dc;
}

.aw-knowledgeCard__body {
  padding: 28px 4px 0;
}

.aw-knowledgeCard__meta {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
}

.aw-knowledgeCard__number {
  color: rgba(146,113,91,.62);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
}

.aw-knowledgeCard__en {
  color: #8d7667;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .24em;
}

.aw-knowledgeCard h3 {
  margin: 0;
  color: #2d2924;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .065em;
}

.aw-knowledgeCard h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin-top: 18px;
  background: rgba(74,38,20,.24);
}

.aw-knowledgeCard__body > p {
  max-width: 440px;
  margin: 22px 0 0;
  color: rgba(45,41,36,.66);
  font-size: 14px;
  line-height: 2;
  letter-spacing: .045em;
}

.aw-knowledgeCard__more {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(75,40,23,.28);
  color: #4b2817;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .08em;
  transition: border-color .2s ease, opacity .2s ease;
}

.aw-knowledgeCard__link:hover .aw-knowledgeCard__visual img {
  transform: scale(1.025);
}

.aw-knowledgeCard__link:hover .aw-knowledgeCard__more {
  border-color: #4b2817;
  opacity: .72;
}


/* =========================================================
   SHOP LINK
========================================================= */

.aw-knowledgeShop {
  padding: 120px 0 128px;
  background: #fff;
}

.aw-knowledgeShop__content {
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.aw-knowledgeShop__en {
  margin: 0 0 20px;
  color: #8d7667;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .28em;
}

.aw-knowledgeShop__content h2 {
  margin: 0;
  color: #2d2924;
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .055em;
}

.aw-knowledgeShop__content h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 1px;
  margin: 28px auto 0;
  background: rgba(74,38,20,.32);
}

.aw-knowledgeShop__content > p:not(.aw-knowledgeShop__en) {
  margin: 34px 0 0;
  color: rgba(45,41,36,.66);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .05em;
}

.aw-knowledgeShop__link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(75,40,23,.28);
  color: #4b2817;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .08em;
  text-decoration: none;
  transition: border-color .2s ease, opacity .2s ease;
}

.aw-knowledgeShop__link:hover {
  border-color: #4b2817;
  opacity: .72;
}


/* =========================================================
   TABLET
========================================================= */

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

  .aw-knowledgeGrid {
    gap: 72px 40px;
  }

}


/* =========================================================
   SP
   Initial responsive foundation.
   Final tuning after PC confirmation.
========================================================= */

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

  .aw-knowledge__inner,
  .aw-knowledgeIntro > .aw-knowledge__inner {
    width: calc(100% - 40px);
  }

  .aw-knowledgeIntro {
    padding: 82px 0 88px;
  }

  .aw-knowledgeHeading__en {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .aw-knowledgeHeading__title {
    font-size: 29px;
    line-height: 1.6;
  }

  .aw-knowledgeHeading__title::after {
    width: 58px;
    margin-top: 22px;
  }

  .aw-knowledgeIntro__body {
    width: 100%;
    max-width: none;
    margin: 50px 0 0;
    padding-left: 22px;
  }

  .aw-knowledgeIntro__body p {
    font-size: 15px;
    line-height: 2.2;
  }

  .aw-knowledgeIntro__body .aw-knowledgeIntro__emphasis {
    margin-top: 32px;
    font-size: 17px;
    line-height: 2.05;
  }

  .aw-knowledgeIndex {
    padding: 82px 0 94px;
  }

  .aw-knowledgeGenre {
    margin-top: 68px;
  }

  .aw-knowledgeGenre + .aw-knowledgeGenre {
    margin-top: 88px;
    padding-top: 52px;
  }

  .aw-knowledgeGenre__meta {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .aw-knowledgeGenre__meta span {
    font-size: 16px;
  }

  .aw-knowledgeGenre__header h3 {
    font-size: 25px;
  }

  .aw-knowledgeGenre__header h3::after {
    width: 54px;
    margin-top: 18px;
  }

  .aw-knowledgeGenre__header > p:last-child {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
  }

  .aw-knowledgeGrid {
    grid-template-columns: 1fr;
    gap: 66px;
    margin-top: 46px;
  }

  .aw-knowledgeCard__body {
    padding-top: 24px;
  }

  .aw-knowledgeCard h3 {
    font-size: 23px;
  }

  .aw-knowledgeShop {
    padding: 84px 0 92px;
  }

  .aw-knowledgeShop__content h2 {
    font-size: 28px;
  }

}
