/* MORE LINK */
.more a {
  display: inline-block;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1.8rem, 0.95rem + 1vw, 1.8rem);
  line-height: 1.5;
  text-decoration: none;
  position: relative;
}

.more a:hover,
.more a:focus-visible {
  color: #7d0809;
}

.blog-content .more {
  text-align: right;
  padding-top: clamp(1rem, 2vw, 1.875rem);
  border-top: 1px dashed #A56139;
}

/* PAGINATION */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  margin: clamp(2.5rem, 6vw, 3.75rem) 0 clamp(4rem, 8vw, 6.25rem);
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  inline-size: clamp(2.5rem, 2.2rem + 0.8vw, 3rem);
  block-size: clamp(2.5rem, 2.2rem + 0.8vw, 3rem);
  border: 1px solid #231815;
  text-decoration: none;
  color: #251B0F;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.8vw, 1.625rem);
  line-height: 1;
}

.pagination .active {
  border-color: #A56139;
  color: #A56139;
}

/* BLOG PAGE */
.news-topics,
.blog-category {
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 10vw, 8rem);
}

.news-wrapper,
.blog-wrapper {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 6rem);
  display: grid;
  grid-template-columns: minmax(12rem, 10rem) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.125rem);
  align-items: start;
}

.section-head,
.blog-nav {
  min-width: 0;
}

.section-head .en,
.blog-nav .en {
  display: inline-block;
  border-bottom: 1px dashed #A56139;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2rem, 1.05rem + 1vw, 2.6rem);
  line-height: 1.4;
  font-weight: normal;
}

.section-head .jp,
.blog-nav .jp {
  margin-top: 0.3125rem;
  font-family: "Utsukushi Mincho", serif;
  font-size: clamp(0.875rem, 0.82rem + 1vw, 1.4rem);
  line-height: 1.5;
}

.section-content,
.blog-content {
  min-width: 0;
}

/* News list */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  padding-block: clamp(1rem, 2vw, 1.875rem);
  border-bottom: 1px dashed #A56139;
}

.news-list li:first-child {
  padding-top: 0;
}

.news-list time {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 0.9rem + 1vw, 1.125rem);
  line-height: 1.8;
  color: #251B0F;
}

.news-list .title {
  font-family: "Gothic A1", sans-serif;
  font-size: var(--text-body);
  font-weight: normal;
  line-height: 1.8;
  color: #251B0F;
  overflow-wrap: anywhere;
}

.news-list a:hover .title,
.news-list a:focus-visible .title {
  text-decoration: underline;
  text-underline-position: under;
  text-underline-offset: 0.08em;
}

/* Category */
.category-list {
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  list-style: none;
  padding: 0;
}

.category-list li {
  padding-block: clamp(0.875rem, 2vw, 1.25rem);
  border-bottom: 1px dashed #A56139;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: "Utsukushi Mincho", serif;
  font-size: clamp(1rem, 0.95rem + 1vw, 1.5rem);
  line-height: 1.6;
}

.category-list li:first-child {
  border-top: 1px dashed #A56139;
}

.category-list li.active {
  color: #A56139;
}

/* Blog panel / cards */
.blog-panel {
  display: none;
}

.blog-panel.active {
  display: block;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 3.125rem);
}

.blog-card {
  display: block;
  text-decoration: none;
  color: #251B0F;
  transition: opacity 0.3s ease;
  min-width: 0;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 15%;
}

.blog-card p {
  margin-top: clamp(0.75rem, 1.5vw, 0.9375rem);
  font-family: "Gothic A1", sans-serif;
  font-size: clamp(1.5rem, 0.9rem + 1vw, 1.8rem);
  line-height: 1.5;
  text-align: start;
  overflow-wrap: anywhere;
}

.blog-card:hover p,
.blog-card:focus-visible p {
  text-decoration: underline;
  text-underline-position: under;
  text-underline-offset: 0.08em;
}

.blog-nav .category-list li {
  cursor: pointer;
  /* 既存スタイルを維持しつつ以下を追加 */
  transition: color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.blog-nav .category-list li:not(.active) {
  opacity: 0.5;
}

.blog-nav .category-list li.active {
  opacity: 1;
  /* 既存のactive装飾（色・border等）はそのまま活かす */
}

.no-post {
  padding-top: clamp(2rem, 6vw, 3.75rem);
  text-align: center;
  letter-spacing: 0.06em;
  font-family: "Gothic A1", sans-serif;
  font-size: var(--text-body);
  line-height: 1.8;
}

/* NEWS SUB PAGE */
.news-p-list {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.news-p-item {
  border-bottom: 1px dashed #A56139;
}
.news-p-item a {
  display: grid;
  grid-template-columns: minmax(7.5rem, 9.375rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 3.75rem);
  padding: clamp(2rem, 2vw, 1.875rem) clamp(0.5rem, 1vw, 0.625rem);
  text-decoration: none;
  color: #251B0F;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.news-p-item time {
  min-width: 0;
  text-align: right;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 0.9rem + 1vw, 1.5rem);
  line-height: 1.6;
  color: #251B0F;
}
.news-p-item h3 {
  font-family: "Gothic A1", sans-serif;
  font-size: clamp(1.5rem, 0.95rem + 1vw, 1.8rem);
  line-height: 1.6;
  color: #251B0F;
  overflow-wrap: anywhere;
  font-weight: normal;
}
.news-p-item a:hover h3,
.news-p-item a:focus-visible h3 {
  text-decoration: underline;
  text-underline-position: under;
  text-underline-offset: 0.08em;
}


/* OWNER ACTIVITY SUB PAGE */
.blog-p-content {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.time-n-title {
  margin-top: clamp(0.625rem, 1.5vw, 0.9375rem);
  min-width: 0;
}
.time-n-title time {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.75rem, 0.72rem + 0.2vw, 0.8125rem);
  line-height: 1.5;
  color: #251B0F;
}
.time-n-title h3 {
  margin-top: clamp(0.375rem, 1vw, 0.625rem);
  font-family: "Gothic A1", sans-serif;
  font-size: clamp(1.5rem, 0.95rem + 1vw, 1.8rem);
  line-height: 1.5;
  color: #251B0F;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: normal;
}
.blog-card:hover h3,
.blog-card:focus-visible h3 {
  text-decoration: underline;
  text-underline-position: under;
  text-underline-offset: 0.08em;
}


/*BLOG SINGLE PAGE*/
.single-p-page {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.single-post time{
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: clamp(1rem, 0.78rem + 1vw, 1.2rem);
  line-height: 1.5;
  color: #251B0F;
}
.single-post h3{
  margin-top: clamp(0.5rem, 1vw, 0.625rem);
  font-family: "Gothic A1", sans-serif;
  font-size: clamp(1.5rem, 1.05rem + 1vw, 1.8rem);
  line-height: 1.5;
  color: #251B0F;
  text-align: left;
  overflow-wrap: anywhere;
  font-weight: normal;
}
.single-post .featured-image {
  margin-block: clamp(2rem, 2vw, 2rem);
}
.single-post .featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
}

.single-post .post__content {
  padding: clamp(1rem, 3vw, 1.875rem) clamp(0.5rem, 3vw, 1.875rem) clamp(3rem, 8vw, 5rem);
  border-bottom: 1px dashed #A56139;
  font-family: "Gothic A1", sans-serif;
  font-size: var(--text-body);
  line-height: 2.3;
  text-align: left;
}
.single-post .post__content > * {
  max-width: 70ch;
}
.single-post .post__content p {
  margin-bottom: clamp(1.5rem, 2vw, 1.5rem);
}
.single-post .post__content img {
  display: block;
  width: min(100%, 350px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-block: clamp(1rem, 2vw, 1.25rem);
}
.single-post .post__content a {
  overflow-wrap: anywhere;
}

/*Customer Voice*/
.blog-flex {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.counter-reset {
  counter-reset: voice-counter;
}

.voice-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.voice-item {
  counter-increment: voice-counter;
}

.voice-header {
  display: block;
  align-items: center;
  margin-bottom: 1.25rem;
}

.voice-label {
  font-family: "DM Sans", sans-serif;
  font-size: var(--text-body);
  color: #A56139;
  white-space: nowrap;
}

.voice-label::before {
  content: "Voice " counter(voice-counter, decimal-leading-zero);
}

.voice-divider {
  display: block;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    #A56139 0px,
    #A56139 4px,
    transparent 4px,
    transparent 10px
  );
}

.voice-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.voice-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.voice-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.voice-name {
  font-size: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.voice-text {
  line-height: 1.8;
}

.voice-text p {
  font-family: "Utsukushi Mincho", serif;
  font-size: var(--text-caption);
  margin-bottom: 1.5rem;
  max-width: none;
}

.voice-text blockquote > p {
  font-family: "Gothic A1", sans-serif;
  font-weight: bold;
  margin-bottom: 0;
}

.voice-message-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* 上下の点線 */
.voice-message-divider {
  display: block;
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(
    to right,
    #A56139 0px,
    #A56139 4px,
    transparent 4px,
    transparent 10px
  );
}

.voice-message-divider.top {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.voice-message-divider.bottom {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

/* 内側コンテンツ */
.voice-message-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* 太字見出し */
.voice-message-heading {
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.6;
  max-width: none;
}

/* テラコッタ引用文グループ */
.voice-message-quotes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.voice-message-quotes p {
  font-family: "Utsukushi Mincho", serif;
  font-size: var(--text-body);
  color: #A56139;
  line-height: 1.8;
  max-width: none;
}

/* 本文テキストグループ */
.voice-message-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.voice-message-body p {
  font-size: var(--text-caption);
  line-height: 2;
  max-width: none;
}


/*Responsive*/
@media (max-width: 50rem) {
  .news-wrapper,
  .blog-wrapper,
  .news-list a {
    grid-template-columns: 1fr;
  }

  .blog-content .more,
  .no-post {
    text-align: left;
  }

  .section-head,
  .blog-nav {
    width: auto;
  }
  .news-p-item a {
    grid-template-columns: 1fr;
    gap: 0.375rem;
    align-items: start;
  }
  .news-p-item time {
    text-align: left;
  }
  .voice-body {
    grid-template-columns: 160px 1fr;
    gap: 1.25rem;
  }  
  .blog-flex {
    gap: 2.5rem;
  }
  .voice-image img {
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    object-position: top center;
  }
  .voice-message-section {
    padding: 0 1rem;
  }
}

@media (max-width: 600px) {
  .voice-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}