/* ==========================
   About Nakahara Knit
========================== */

#about-nakahara-knit{
  padding: 56px 0 72px;
}

#about-nakahara-knit .section-title{
  margin-bottom: 32px;
}

.about-nakahara-knit__content{
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-nakahara-knit__text{
  width: 100%;
}

.about-nakahara-knit__image{
  width: 100%;
  max-width: 320px;
}

.about-nakahara-knit__image img{
  display: block;
  width: 100%;
  height: auto;
}

#about-nakahara-knit .section-sub-title{ 
  font-size: 1rem;
} 

.about-nakahara-knit__lead{
  margin-bottom: 24px;
}

.about-nakahara-knit__lead p{
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

#about-nakahara-knit .section-body p:last-child{
  margin-bottom: 0;
}

.about-nakahara-knit__name{
  margin-top: 32px;
}

@media screen and (min-width: 768px){
  #about-nakahara-knit{
    padding: 80px 0 100px;
  }

  #about-nakahara-knit .section-title{
    margin-bottom: 56px;
  }

  .about-nakahara-knit__content{
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: start;
  }

  .about-nakahara-knit__image{
    grid-column: 1;
    grid-row: 1;
  }

  .about-nakahara-knit__text{
    grid-column: 2;
    grid-row: 1;
    max-width: 620px;
  }

  .about-nakahara-knit__image{
    width: 100%;
    max-width: none;
  }

  .about-nakahara-knit__lead{
    margin-bottom: 32px;
  }

  .about-nakahara-knit__lead p{
    font-size: clamp(1.5rem, 1.3vw, 2rem);
    line-height: 1.8;
  }

  #about-nakahara-knit .section-body p{
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 2;
  }

  .about-nakahara-knit__name{
    margin-top: 40px;
  }
}

/* ==========================
   Philosophy
========================== */
#philosophy{
  padding: 56px 0 72px;
}

.philosophy__title{
  margin-bottom: 40px;
  text-align: center;
}

.philosophy__title .section-title__jp{
  font-size: 2rem;
}

.philosophy__list{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.philosophy__item{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 260px;
  padding: 32px 20px;
  text-align: center;
  z-index: 1;
}

.philosophy__item::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(78vw, 240px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: url("../images/bokeh.jpg") no-repeat center / contain;
  opacity: 0.65;
  z-index: -1;
  pointer-events: none;
}

.philosophy__heading{
  margin-bottom: 20px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
}

.philosophy__text{
  width: fit-content;
  max-width: 16em;
  margin: 0 auto;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 2;
  text-align: left;
}

.philosophy__list-text{
  list-style: decimal;
  padding-left: 1.2em;
}

.philosophy__list-text li{
  margin-bottom: 0.35em;
}

.philosophy__list-text li:last-child{
  margin-bottom: 0;
}

@media screen and (min-width: 768px){
  #philosophy{
    padding: 0 0 110px;
  }

  .philosophy__title{
    margin-bottom: 10px;
  }

  .philosophy__title .section-title__jp{
    font-size: 1.8rem;
  }

  .philosophy__list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    align-items: start;
  }

  .philosophy__item{
    min-height: 300px;
    padding: 40px 24px;
  }

  .philosophy__item::before{
    width: min(100%, 280px);
    aspect-ratio: 1 / 1;
    background-size: contain;
    opacity: 0.7;
  }

  .philosophy__heading{
    margin-bottom: 24px;
    font-size: 1.5rem;
  }

  .philosophy__text{
    max-width: 17em;
    font-size: 0.7rem;
    line-height: 2.1;
  }
}

/* ==========================
   Note Link
========================== */
.note-link{
  margin: 0 0 80px;
}

.note-link a{
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 枠 */
.note-link__inner{
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px dashed #ccc;
  transition: all 0.3s ease;
}

/* hover */
.note-link a:hover .note-link__inner{
  border-color: #999;
  background: rgba(0,0,0,0.02);
}

/* 画像 */
.note-link__thumb{
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.note-link__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-link__label{
  font-size: 12px;
  margin-bottom: 6px;
}

.note-link__title{
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

@media screen and (min-width: 768px){

  .note-link{
    margin: 0 auto 120px;
    width: min(960px, calc(100% - 120px));
  }

  .note-link__inner{
    gap: 32px;
    padding: 28px 32px;
  }

  .note-link__thumb{
    width: 80px;
    height: 80px;
  }

  .note-link__title{
    font-size: 22px;
    line-height: 1.7;
  }
}

/* =======================
        History
========================== */
.history {
  padding: 60px 20px 80px;
  background-color: #fff;
}

.history__inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.history__title {
  margin: 0 auto 40px;
  text-align: center;
}

.history__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.history__image img {
  display: block;
  width: 100%;
  height: auto;
}

.history__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0;
}

.history__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history__year {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.history__text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
}

@media screen and (min-width: 768px) {
  .history {
    padding: 10px 20px 120px;
  }

  .history__title{
    margin-bottom: 45px;
  }

  .history__title .section-title__jp{
    font-size: 1.8rem;
  }

  .history__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
  }

  .history__image {
    padding-top: 8px;
  }

  .history__list {
    gap: 40px;
  }

  .history__item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 0 28px;
    align-items: start;
  }

  .history__year {
    font-size: 18px;
    line-height: 1.8;
  }

  .history__text {
    font-size: 15px;
    line-height: 2;
  }
}