@charset "UTF-8";
/* ==========================================================================
   あかね工房 コンテンツエリア（各ページ共通）
   - このファイル単体（＋Bootstrap 4.1.3）で表示が完結するよう、
     他パーツのCSSに依存しない構成にしています
   - モバイルファースト（min-width のみで上書き）
   - ブレイクポイントは Bootstrap 4.1.3 に準拠（md:768 / lg:992 / xl:1200）
   - 要素セレクタ・id セレクタは使用しない
   - 例外：CMSの制約で class を付与できない <a>（<p class="..."><a></a></p> 形式）
     のみ、「親pのclass + a」で色・下線・クリック範囲を指定
   - 例外：CMSの制約で class を付与できない <strong> は、
     「親要素のclass > strong」で指定
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base（コンテンツエリア：各ページ共通のラッパー）
   -------------------------------------------------------------------------- */
/* 中身が少ないページでは、コンテンツ領域を伸ばしてフッターを画面の下端に揃える（#root は header.css で flex） */
.l-content {
  position: relative;
  flex-grow: 1;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

/* Bootstrap の .container をデザイン幅（1280px）まで拡張 */
@media (min-width: 1200px) {
  .l-container {
    max-width: 1310px;
  }
}

/* 下層ページ用：本文幅 980px のコンテナ（.container と併用） */
@media (min-width: 1200px) {
  .l-container--narrow {
    max-width: 1010px;
  }
}

/* --------------------------------------------------------------------------
   固定背景（ページ全体の背面）
   -------------------------------------------------------------------------- */
.c-fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
@keyframes image-blur {
  0% {
    filter : blur(32px);
    transform : scale(1.1);
  }
  100% {
    filter : blur(0);
    transform : scale(1);
  }
}

.c-fixed-bg__img {
  animation : 2.5s ease-in-out image-blur;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* 白地に薄く敷く（下層ページ） */
.c-fixed-bg--faint {
  opacity: 0.05;
}

.c-fixed-bg--soft {
  opacity: 0.1;
}

/* --------------------------------------------------------------------------
   Button
   -------------------------------------------------------------------------- */
.c-btn-wrap {
  margin-top: 32px;
  text-align: center;
}

.c-btn {
  display: inline-block;
  margin: 0;
  border-radius: 24px;
  background-color: #d93300;
  font-size: 12px;
  font-weight: 700;
  line-height: 110%;
  white-space: nowrap;
  vertical-align: bottom;
  transition: opacity 0.2s;
}

.c-btn:hover {
  opacity: 0.8;
}

/* クリック範囲をボタン全体にするため、余白は a 側に持たせる */
.c-btn a {
  display: block;
  padding: 8px 24px;
  color: #fff;
  text-decoration: none;
}

.c-btn a:hover {
  color: #fff;
  text-decoration: none;
}

/* 大きめのボタン */
.c-btn--lg a {
  padding: 16px 32px;
}

/* 枠線ボタン（白地 + 赤枠） */
.c-btn--outline {
  border: 4px solid #d93300;
  background-color: #fff;
  font-size: 16px;
}

.c-btn--outline a,
.c-btn--outline a:hover {
  padding: 12px 60px;
  color: #d93300;
}

/* --------------------------------------------------------------------------
   Text
   -------------------------------------------------------------------------- */
.c-text {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 170%;
  color: #000;
}

.c-text + .c-text {
  margin-top: 1.6em;
}

.c-text + .c-text--tight {
  margin-top: 0;
}

.c-text--regular {
  font-weight: 400;
}

.c-text--white {
  color: #fff;
}

.c-text > strong {
  font-weight: 700;
}

/* 文中リンク（CMSの制約で a に class を付与できないため親 p から指定） */
.c-text a {
  color: #000;
  text-decoration: underline;
}

.c-text a:hover {
  color: #d93300;
}

/* 段落間を詰める（16px） */
.c-text + .c-text--close {
  margin-top: 16px;
}

/* 段落間を広げる（32px） */
.c-text + .c-text--far {
  margin-top: 1.6em;
}

@media (min-width: 992px) {
  .c-text {
    font-size: 16px;
  }

  .c-text + .c-text {
    margin-top: 24px;
  }

  .c-text + .c-text--tight {
    margin-top: 0;
  }

  .c-text + .c-text--close {
    margin-top: 16px;
  }

  .c-text + .c-text--far {
    margin-top: 32px;
  }

}

/* --------------------------------------------------------------------------
   Image
   -------------------------------------------------------------------------- */
.c-img {
  display: block;
  width: 100%;
  height: auto;
}

.c-img-link {
  display: block;
  transition: opacity 0.2s;
}

.c-img-link:hover {
  opacity: 0.85;
}

/* 指定比率でトリミング表示 */
.c-cover {
  position: relative;
  overflow: hidden;
}

.c-cover::before {
  content: "";
  display: block;
  padding-top: 66.66%;
}

.c-cover--about::before {
  padding-top: 70.83%; /* 648 x 459 */
}

/* Googleマップ埋め込み（16:9）
   中の iframe はCMSが生成し class を指定できないため子要素セレクタで指定 */
.c-map {
  position: relative;
  overflow: hidden;
}

.c-map::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 */
}

.c-map > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube埋め込み（16:9）
   CMSが出力する iframe に直接指定。幅は親ボックスに合わせ、高さは比率で算出 */
.c-youtube {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.c-cover__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   見出し（縦書き） SP:横組み / PC:縦組み
   -------------------------------------------------------------------------- */
.c-vhead {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.c-vhead__en {
  order: -1;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  color: #b6a59d;
  white-space: nowrap;
}

.c-vhead__ja {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.1em;
  color: #000;
}

.c-vhead--white .c-vhead__ja {
  color: #fff;
}

.c-vhead--flush {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .c-vhead {
    flex-direction: row;
    flex-shrink: 0;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 0;
  }

  .c-vhead__en {
    order: 0;
    margin: 0;
    font-size: 14px;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }

  .c-vhead__ja {
    font-size: 40px;
    letter-spacing: 0.2em;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }

  .c-vhead--loose {
    gap: 32px;
  }

  .c-vhead--center {
    justify-content: center;
  }
}

/* 見出し（横組み） */
.c-hhead {
  margin-bottom: 24px;
}

.c-hhead__en {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  color: #b6a59d;
}

.c-hhead__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.c-hhead__ja {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 150%;
  color: #000;
}

@media (min-width: 992px) {
  .c-hhead {
    margin-bottom: 32px;
    padding: 0 8px;
  }

  .c-hhead__en {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .c-hhead__ja {
    font-size: 40px;
  }
}

/* 横組み見出し（小）：下層ページの中見出し */
.c-hhead--sub .c-hhead__ja {
  font-size: 24px;
  line-height: 150%;
}

@media (min-width: 992px) {
  .c-hhead--sub {
    padding: 0;
  }

  .c-hhead--sub .c-hhead__en {
    margin-bottom: 0;
  }

  .c-hhead--sub .c-hhead__ja {
    font-size: 32px;
  }
}

/* --------------------------------------------------------------------------
   Section
   -------------------------------------------------------------------------- */
.c-section {
  position: relative;
  padding: 56px 0;
}

.c-section--white {
  background-color: #fff;
}

.c-section--translucent {
  background-color: rgba(255, 255, 255, 0.9);
}

.c-section__block + .c-section__block {
  margin-top: 56px;
}

/* 写真を薄く敷く背景 */
.c-section--photo {
  background-color: #fff;
}

.c-section--photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
}

.c-section--media::before {
  background-image: url("/system_panel/uploads/images/media_bg.jpg");
}

.c-section--news {
  background-color: #fafafa;
}

.c-section--news::before {
  background-image: url("/system_panel/uploads/images/news_bg.jpg");
  opacity: 0.15;
}

@media (min-width: 992px) {
  .c-section {
    padding: 80px 0;
  }

  .c-section--about {
    padding: 90px 0;
  }

  .c-section__block + .c-section__block {
    margin-top: 80px;
  }
}

/* --------------------------------------------------------------------------
   テキスト + 縦見出し（2カラムのテキスト側）
   -------------------------------------------------------------------------- */
.c-intro {
  padding-top: 32px;
}

.c-intro__body .c-btn-wrap {
  margin-top: 32px;
}

@media (min-width: 992px) {
  .c-intro {
    display: flex;
    flex-direction: row-reverse;
    gap: 32px;
    align-items: flex-start;
    height: 100%;
    padding: 32px 0;
  }

  /* 画像との列間をデザインの 64px に近づける（30px + 34px） */
  .c-intro--gap-left {
    padding-left: 34px;
  }

  .c-intro--gap-right {
    padding-right: 34px;
  }

  .c-intro__body {
    flex: 1 1 0;
    min-width: 0;
    padding-top: 64px;
  }

  .c-intro--top {
    height: auto;
    padding: 0;
  }

  .c-intro--top .c-intro__body {
    padding-top: 32px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* SP・タブレット（〜1199px）は右下に配置。PC（1200px〜）で左上に戻す */
.p-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 560px;
  padding: 40px 16px 120px;
}

.p-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 75%); /* 下に置いた文字を読みやすく */
  pointer-events: none;
}

.p-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 400px;
  padding: 16px;
  animation : 1s ease-in-out 1.5s backwards hero-text-fade-in;
}
@keyframes hero-text-fade-in {
  0% {
    filter : blur(32px);
    transform : translateY(24px);
    opacity : 0;
  }
  100% {
    filter : blur(0);
    transform : translateY(0);
    opacity : 1;
  }
}

.p-hero__head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.p-hero__en {
  margin-top: 7px;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.p-hero__en-line {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 150%;
  color: #b6a59d;
  white-space: nowrap;
}

.p-hero__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.1em;
  color: #fff;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.p-hero__title > strong {
  display: block;
  font-weight: 700;
}

.p-hero__lead {
  width: 100%;
  margin: 24px 0 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 170%;
  color: #fff;
}

@media (min-width: 768px) {
  .p-hero {
    min-height: 760px;
    padding: 117px 60px 80px;
  }

  .p-hero__inner {
    padding: 32px 16px;
  }

  .p-hero__head {
    gap: 24px;
  }

  .p-hero__en-line {
    font-size: 14px;
  }

  .p-hero__title {
    font-size: 40px;
    letter-spacing: 0;
  }

  .p-hero__lead {
    margin-top: 32px;
  }
}

@media (min-width: 992px) {
  .p-hero {
    min-height: 832px; /* 926 - ヘッダー94 */
  }

  .p-hero::before {
    display: none;
  }
}

@media (min-width: 1200px) {
  .p-hero {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   こだわり
   -------------------------------------------------------------------------- */
.p-kodawari {
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0.18) 50%, rgba(0, 0, 0, 0)), url("/system_panel/uploads/images/kodawari_bg.jpg");
  background-position: center, 30% center;
  background-size: cover, cover;
  background-color: #6e5a4b;
}

.p-kodawari::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
}

.p-kodawari__inner {
  position: relative;
}

@media (min-width: 992px) {
  .p-kodawari {
    display: flex;
    align-items: center;
    min-height: 633px;
    background-position: center, center;
  }

  .p-kodawari > .l-container {
    flex: 1 1 auto;
  }

  .p-kodawari::before {
    display: none;
  }

  .p-kodawari__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-end;
  }
}

/* --------------------------------------------------------------------------
   作品カード
   -------------------------------------------------------------------------- */
.c-card-list {
  margin-top: 32px;
  row-gap: 24px;
}

.c-card {
  display: block;
  color: #000;
}

.c-card:hover {
  color: #000;
  text-decoration: none;
}

.c-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.2s;
}

.c-card:hover .c-card__img {
  opacity: 0.85;
}

.c-card__title {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 150%;
}

.c-card__tag {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 170%;
}

@media (min-width: 992px) {
  .c-card-list {
    margin-top: 0;
    row-gap: 32px;
  }

  .c-card__title {
    font-size: 14px;
    white-space: nowrap;
  }

  .c-card__tag {
    font-size: 12px;
  }
}

/* 行間を広げた一覧（下層ページの作品紹介） */
@media (min-width: 992px) {
  .c-card-list--loose {
    row-gap: 64px;
  }
}

/* 長いタイトルを折り返す */
.c-card__title--wrap {
  white-space: normal;
}

@media (min-width: 992px) {
  .c-card__title--wrap {
    white-space: normal;
  }
}

/* --------------------------------------------------------------------------
   作家リンク（丸写真 + テキスト）
   -------------------------------------------------------------------------- */
.c-person-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.c-person {
  display: flex;
  gap: 16px;
  align-items: center;
}

.c-person__img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.c-person__text {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 170%;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.c-person__text a {
  color: #000;
  text-decoration: underline;
}

.c-person__text a:hover {
  color: #d93300;
}

/* 横並び（PC） */
.c-person-list--row {
  margin: 0;
}

@media (min-width: 992px) {
  .c-person-list {
    margin: 64px 0 0;
  }

  .c-person-list--row {
    flex-direction: row;
    gap: 64px;
    justify-content: center;
    margin: 0;
  }

  .c-person {
    gap: 24px;
  }

  .c-person__img {
    width: 88px;
    height: 88px;
  }

  .c-person__text {
    font-size: 22px;
  }
}

@media (min-width: 1200px) {
  .c-person__text {
    font-size: 24px;
  }
}

/* 中央寄せ */
.c-person__text--center {
  text-align: center;
  white-space: normal;
}

/* --------------------------------------------------------------------------
   中央寄せテキストブロック
   -------------------------------------------------------------------------- */
.c-center-body {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .c-center-body {
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   行リスト（FAQ / 新着情報）
   -------------------------------------------------------------------------- */
.c-row-list + .c-btn-wrap {
  margin-top: 32px;
}

.c-row-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  color: #000;
}

.c-row-item:hover {
  color: #d93300;
  text-decoration: none;
}

.c-row-item__date {
  flex-shrink: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 170%;
  color: #b6a59d;
}

.c-row-item__title {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 150%;
}

.c-row-item__title--bold {
  flex-basis: 100%;
  font-weight: 700;
}

/* 開閉アイコン付き */
.c-row-item--toggle {
  flex-wrap: nowrap;
  justify-content: space-between;
}

.c-row-item--toggle::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2c2c2c url("/system_panel/uploads/images/icon_chevron_down.svg") no-repeat center / 20px 20px;
}

@media (min-width: 768px) {
  .c-row-item {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .c-row-item--toggle {
    align-items: center;
  }

  .c-row-item__date {
    font-size: 16px;
  }

  .c-row-item__title {
    font-size: 16px;
  }

  .c-row-item__title--bold {
    flex-basis: 0;
  }
}

/* ==========================================================================
   下層ページ共通
   ========================================================================== */

/* --------------------------------------------------------------------------
   新着情報一覧（CMS出力：section#news-list.webgene-blog）
   行の見た目は .c-row-item を利用。ページ送りは CMS が ul > li を出力
   -------------------------------------------------------------------------- */
#news-list.webgene-blog {
  max-width: 628px;
  margin-right: auto;
  margin-left: auto;
}

#news-list .webgene-pagination > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  color: #3d3936;
}

#news-list .webgene-pagination > ul:not(:empty) {
  margin-top: 40px;
}

#news-list .webgene-pagination li > a,
#news-list .webgene-pagination li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid #3d3936;
  background-color: #fff;
  color: #3d3936;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

#news-list .webgene-pagination li > a:hover,
#news-list .webgene-pagination .selected > a,
#news-list .webgene-pagination .selected > span,
#news-list .webgene-pagination .active > a,
#news-list .webgene-pagination .current > a,
#news-list .webgene-pagination [aria-current] {
  background-color: #3d3936;
  color: #fff;
}

@media (min-width: 992px) {
  #news-list .webgene-pagination > ul:not(:empty) {
    margin-top: 64px;
  }
}

/* --------------------------------------------------------------------------
   よくある質問（アコーディオン）
   質問 a.c-faq__q（.c-row-item--toggle を併用）+ 回答 .c-faq__a
   faq.js が .c-faq に .is-ready を付けたときだけ閉じる。開いた項目は .is-open
   -------------------------------------------------------------------------- */
.c-faq--page {
  max-width: 628px;
  margin-right: auto;
  margin-left: auto;
}

.c-faq__a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease;
}

.c-faq__a-inner {
  overflow: hidden;
  min-height: 0;
}

.c-faq__text {
  margin: 0;
  padding: 16px 8px 32px;
  font-size: 15px;
  font-weight: 500;
  line-height: 170%;
  color: #000;
}

.c-faq.is-ready .c-faq__a {
  grid-template-rows: 0fr;
}

.c-faq.is-ready .c-faq__item.is-open .c-faq__a {
  grid-template-rows: 1fr;
}

.c-faq__q::after {
  transition: transform 0.3s ease;
}

.c-faq__item.is-open .c-faq__q::after {
  transform: rotate(180deg);
}

@media (min-width: 768px) {
  .c-faq__text {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   ページタイトル（写真 + 縦書き見出しボックス）
   -------------------------------------------------------------------------- */
/* SP：最長のタイトル（あかね工房とは：7文字）に高さを揃え、タイトルは下端に配置
   354 = 上余白96 + タイトルボックス234 + 下余白24 */
.c-page-kv {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 354px;
  padding: 96px 0 24px;
  background-color: #2c2c2c;
}

.c-page-kv__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-page-kv__inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.c-page-kv__box {
  padding: 16px 24px;
  background-color: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* ページタイトルは SP でも縦組みを維持（共通の .c-vhead は SP で横組みになるため上書き） */
.c-page-kv .c-vhead {
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}

.c-page-kv .c-vhead__en {
  order: 0;
  margin: 0;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.c-page-kv .c-vhead__ja {
  font-size: 24px;
  letter-spacing: 0.2em;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

@media (min-width: 992px) {
  .c-page-kv .c-vhead {
    gap: 32px; /* .c-vhead--loose と同じ */
  }

  .c-page-kv .c-vhead__ja {
    font-size: 40px;
  }
}

@media (min-width: 992px) {
  /* タイトルボックスを上下中央に配置（736 - ヘッダー94） */
  .c-page-kv {
    display: flex;
    align-items: center;
    min-height: 642px;
    padding: 64px 0;
  }

  .c-page-kv__box {
    padding: 32px;
  }
}

/* --------------------------------------------------------------------------
   パンくず
   -------------------------------------------------------------------------- */
.c-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  padding: 12px 0;
}

.c-breadcrumb__item {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 200%;
  color: #000;
}

.c-breadcrumb__item a {
  color: #000;
  text-decoration: none;
}

.c-breadcrumb__item a:hover {
  color: #d93300;
  text-decoration: underline;
}

/* KVの無いページの先頭に置く場合 */
.c-breadcrumb--top {
  padding-top: 24px;
}

@media (min-width: 992px) {
  .c-breadcrumb {
    gap: 0 16px;
    padding: 16px 0;
  }

  .c-breadcrumb--top {
    padding-top: 50px; /* 128 - ヘッダー94 + 16 */
  }

  .c-breadcrumb__item {
    font-size: 14px;
    line-height: 171.4286%;
  }
}

/* --------------------------------------------------------------------------
   下層ページ本文セクション
   -------------------------------------------------------------------------- */
.c-section--page {
  padding: 32px 0 80px;
}

@media (min-width: 992px) {
  .c-section--page {
    padding: 64px 0 128px;
  }

  .c-section--page .c-section__block + .c-section__block {
    margin-top: 96px;
  }
}

/* ブロック間を広げる（PC:128px） */
.c-section__block + .c-section__block--far {
  margin-top: 80px;
}

@media (min-width: 992px) {
  .c-section--page .c-section__block + .c-section__block--far {
    margin-top: 128px;
  }
}

/* ブロック内の要素間（PC:64px） */
.c-section__sub + .c-section__sub {
  margin-top: 40px;
}

@media (min-width: 992px) {
  .c-section__sub + .c-section__sub {
    margin-top: 64px;
  }
}

/* --------------------------------------------------------------------------
   リード文（中央寄せ）
   -------------------------------------------------------------------------- */
.c-lead {
  margin-bottom: 40px;
}

.c-lead__text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 170%;
  color: #000;
}

@media (min-width: 768px) {
  .c-lead {
    text-align: center;
  }

  .c-lead__text {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .c-lead {
    margin-bottom: 128px;
    padding-top: 32px;
  }

  .c-lead__text {
    font-size: 20px;
  }
}

/* リード文（小）：16px / 行間170% */
.c-lead--sm .c-lead__text {
  font-size: 15px;
}

/* 行グループの区切り */
.c-lead__text--break {
  margin-top: 1.7em;
}

@media (min-width: 768px) {
  .c-lead--sm .c-lead__text {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .c-lead--sm {
    margin-bottom: 80px;
  }

  .c-lead--flush {
    padding-top: 0;
  }

  .c-lead__text--break {
    margin-top: 32px;
  }
}

/* --------------------------------------------------------------------------
   画像 + テキストの2カラム（テキスト側）
   -------------------------------------------------------------------------- */
.c-split__body {
  padding-top: 24px;
}

@media (min-width: 992px) {
  .c-split__body {
    padding-top: 0;
  }

  /* 画像との列間をデザインの 64px に近づける（30px + 34px） */
  .c-split__body--right {
    padding-left: 34px;
  }

  .c-split__body--left {
    padding-right: 34px;
  }
}

/* --------------------------------------------------------------------------
   アクセス（見出し + 住所）
   -------------------------------------------------------------------------- */
.c-access {
  margin-top: 24px;
}

.c-access__head {
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .c-access {
    display: flex;
    gap: 64px;
    align-items: flex-end;
    justify-content: center;
    margin-top: 32px;
  }

  .c-access__head {
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   無限ループスライダー（CSSのみ）
   - 同じ画像セットを2回並べ、トラックを -50% まで流してループさせる
   - 1セット目と2セット目の画像は同じ順番・同じ枚数にすること
   -------------------------------------------------------------------------- */
.c-loop-slider {
  overflow: hidden;
}

.c-loop-slider__track {
  display: flex;
  width: max-content;
  animation: c-loop-slider 40s linear infinite;
}

.c-loop-slider:hover .c-loop-slider__track {
  animation-play-state: paused;
}

/* gap ではなく margin で間隔をとり、-50% の位置を1セット分ちょうどにする */
.c-loop-slider__item {
  flex-shrink: 0;
  width: 160px;
  margin-right: 16px;
}

.c-loop-slider__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@keyframes c-loop-slider {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-loop-slider__track {
    animation-play-state: paused;
  }
}

@media (min-width: 992px) {
  .c-loop-slider__item {
    width: 232px;
    margin-right: 32px;
  }
}

/* --------------------------------------------------------------------------
   画像ギャラリー（メイン画像 + サムネイル）
   - 切り替えは /system_panel/scripts/gallery.js
   -------------------------------------------------------------------------- */
.c-gallery__main-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.c-gallery__thumb {
  display: block;
  width: calc((100% - 36px) / 4);
  transition: opacity 0.2s;
}

.c-gallery__thumb:hover {
  opacity: 0.8;
}

.c-gallery__thumb-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (min-width: 992px) {
  .c-gallery__thumbs {
    gap: 16px;
    margin-top: 32px;
  }

  .c-gallery__thumb {
    width: calc((100% - 48px) / 4);
  }
}

/* 作品詳細（CMSのブログ部品）：サムネイルは img.webgene-item-main-image のみで出力されるため、
   section の id と class の組み合わせで 4列グリッドに並べる */
#work-detail .c-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

#work-detail .webgene-item-main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

#work-detail .webgene-item-main-image:hover {
  opacity: 0.8;
}

@media (min-width: 992px) {
  #work-detail .c-gallery__thumbs {
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   作品詳細（タイトル・タグ）
   -------------------------------------------------------------------------- */
.c-item__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
  color: #000;
}

.c-item__tag {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 170%;
  color: #000;
}

@media (min-width: 992px) {
  .c-item__title {
    margin-bottom: 32px;
    font-size: 24px;
  }

  .c-item__tag {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   横組み見出し（中央寄せ）
   -------------------------------------------------------------------------- */
.c-hhead--center {
  margin-bottom: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .c-hhead--center {
    margin-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   記事（新着情報 詳細）
   -------------------------------------------------------------------------- */
.c-article {
  padding: 16px 20px 32px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.c-article__head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.c-article__date {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 170%;
  color: #b6a59d;
}

.c-article__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  color: #000;
}

@media (min-width: 992px) {
  .c-article {
    padding: 24px 50px 64px;
    border-radius: 24px;
  }

  .c-article__head {
    margin-bottom: 32px;
  }

  .c-article__date {
    font-size: 16px;
  }

  .c-article__title {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   メディア掲載（画像＋タイトル＋日付＋本文）
   -------------------------------------------------------------------------- */
.c-media-list {
  margin-bottom: -48px;
}

.c-media-list__item {
  margin-bottom: 48px;
}

.c-media--feature {
  margin-bottom: 48px;
}

.c-media__img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.c-media__head {
  margin-bottom: 16px;
}

.c-media__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
  color: #000;
}

.c-media__date {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 170%;
  color: #b6a59d;
}

@media (min-width: 992px) {
  .c-media-list {
    margin-right: -32px;
    margin-bottom: -80px;
    margin-left: -32px;
  }

  .c-media-list__item {
    margin-bottom: 80px;
    padding-right: 32px;
    padding-left: 32px;
  }

  .c-media--feature {
    margin-bottom: 80px;
  }

  .c-media--feature .c-media__img,
  .c-media--feature .c-media__head {
    margin-bottom: 32px;
  }

  .c-media__title {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   一覧ページの導入（見出し＋ボタン ／ 説明文）
   -------------------------------------------------------------------------- */
.c-list-intro__head {
  margin-bottom: 24px;
}

.c-list-intro__head .c-hhead {
  margin-bottom: 16px;
}

@media (min-width: 992px) {
  .c-list-intro {
    display: flex;
    align-items: flex-end;
    gap: 64px;
  }

  .c-list-intro__head {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .c-list-intro__body {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   カード型の一覧（CMSのブログ部品）
   div.c-blog-cards > section.webgene-blog > article.webgene-item > a.c-card
   作品一覧・コラボ作品一覧など、section の id に関係なく外側の .c-blog-cards で指定
   -------------------------------------------------------------------------- */
/* 最終行（ページ送り）の手前にできる行間ぶんを、下マージンで打ち消す */
.c-blog-cards .webgene-blog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 16px;
  margin-bottom: -24px;
}

/* 画像は CMS が class「webgene-item-main-image」固定で出力するため、外側の class と組み合わせて指定（.c-card__img と同じ見た目） */
.c-blog-cards .webgene-item-main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.2s;
}

.c-blog-cards .c-card:hover .webgene-item-main-image {
  opacity: 0.85;
}

.c-blog-cards .webgene-pagination {
  grid-column: 1 / -1;
}

.c-blog-cards .webgene-pagination > * {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ページ送りに中身があるときだけ上下の余白を取る */
.c-blog-cards .webgene-pagination > :not(:empty) {
  padding: 16px 0 24px;
}

@media (min-width: 768px) {
  .c-blog-cards .webgene-blog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .c-blog-cards .webgene-blog {
    gap: 32px;
    margin-bottom: -32px;
  }

  .c-blog-cards .webgene-pagination > :not(:empty) {
    padding: 32px 0;
  }
}

/* --------------------------------------------------------------------------
   スクロールでふわっと表示（サイト共通）
   表示させたい要素に class「c-fadein」を追加するだけで動く（/system_panel/scripts/fadein.js）
   JS が動くとき（<html>.is-fadein-ready）だけ隠すので、JS が無効でも中身は表示される
   -------------------------------------------------------------------------- */
.is-fadein-ready .c-fadein {
  opacity: 0;
  transform: translateY(24px);
}

/* transition は表示側にだけ付ける（隠すときはアニメーションさせない） */
.is-fadein-ready .c-fadein.is-inview {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 動きを減らす設定の端末では、動かさずにそのまま表示する */
@media (prefers-reduced-motion: reduce) {
  .is-fadein-ready .c-fadein,
  .is-fadein-ready .c-fadein.is-inview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
