@charset "UTF-8";
/* =========================================================
   AJO LABO：マエストロのレシピ（詳細・一覧＝展示室）
   File: assets/css/maestro.css
   読み込み：inc/maestro.php（マエストロのレシピ詳細と、マエストロの投稿者ページだけ）
========================================================= */


/* ---------- 0) 壁：AJO BASE の漆喰 ---------- */
#body_wrap.single-recipe.is-maestro,
#body_wrap.tax-recipe_author.is-maestro{
  background: #fff;   /* 2026-10：漆喰の壁 → 白 */
}

/* SWELL標準のタイトル帯（画像の上にタイトル）は出さない：タイトルは壁の文字で表示する */
#body_wrap.is-maestro #top_title_area,
#body_wrap.is-maestro .l-topTitleArea{
  display: none !important;
}

.maestro{
  --m-ink:   #2b2724;
  --m-sub:   #5e564e;
  --m-line:  #e3ddd2;
  --m-line2: #ebe5de;
  --m-green: #2b2724;   /* 2026-10：深緑 → 墨（色は作品の写真だけに） */
  --m-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --m-latin: "Cormorant Garamond", "Times New Roman", serif;
  --m-panel-shadow: none;   /* 2026-10：厚み・影をなくしてすっきり */
  --m-photo-shadow: none;
  --m-mat: 0px;   /* 2026-10：白マットなし（白い背景なので写真だけを見せる） */

  color: var(--m-ink);
  padding: 8px 0 72px;
}
@media (max-width: 599px){
  .maestro{ padding-bottom: 48px; }
}

/* SWELLの見出し装飾を受けない */
.maestro h1, .maestro h2, .maestro h3{
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}
.maestro h1::before, .maestro h1::after,
.maestro h2::before, .maestro h2::after,
.maestro h3::before, .maestro h3::after{
  content: none;
  display: none;
}


/* ---------- 1) タイトル（壁の文字） ---------- */
.maestroHead{
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 16px 0 32px;
}
.maestroHead__mark{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-top: 0;
  color: var(--m-green);
}
.maestroHead__text{
  min-width: 0;
  max-width: 980px;
}
.maestroHead__kicker{
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 .9em;
  font-family: var(--m-latin);
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--m-sub);
}
.maestroHead__kicker a{
  color: inherit;
  text-decoration: none;
}
.maestroHead__kicker a:hover{ text-decoration: underline; }
.maestroHead__title{
  margin: 2px 0 0;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.45;
  letter-spacing: .05em;
  color: var(--m-ink);
}
.maestroHead__catch{
  margin: 6px 0 0;
  font-family: var(--m-serif);
  font-size: 15px;
  line-height: 1.7;
  color: var(--m-sub);
}
@media (max-width: 599px){
  .maestroHead{ gap: 12px; margin-bottom: 24px; }
  .maestroHead__mark{ width: 34px; height: 34px; margin-top: 2px; }
  .maestroHead__kicker{ font-size: 14px; }
  .maestroHead__title{ font-size: 22px; }
}


/* ---------- 2) 壁のレイアウト：写真 ｜ 材料 ｜ 作り方 ---------- */
/* スマホ・タブレット：写真 → 材料 → 作り方 の縦並び */
.maestroWall{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}
.maestroWall__photos{
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
/* 材料と作り方は常に同じ幅 */
.maestroWall__panels{
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: start;
}

/* PC（960px〜）：写真 ｜ 材料・作り方 を横に並べる（写真 5：パネル 7） */
@media (min-width: 960px){
  .maestroWall{
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 36px;
  }
  .maestroWall__panels{ gap: 24px; }
}
@media (min-width: 1200px){
  .maestroWall{ gap: 44px; }
  .maestroWall__panels{ gap: 28px; }
}


/* ---------- 3) 写真パネル（切り抜かない・白マット・厚み） ---------- */
.maestroGallery{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 100%;
}
.maestroGallery__frame{
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}
.maestroGallery__img{
  display: block;
  box-sizing: content-box;
  padding: var(--m-mat);
  background: #fff;
  width: auto;
  height: auto;
  max-width: calc(100% - (var(--m-mat) * 2));
  max-height: 600px;
  box-shadow: var(--m-photo-shadow);
}
.maestroGallery__img[hidden]{ display: none !important; }

.maestroGallery__arrow{
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 2px 8px rgba(43,39,36,.25);
  color: var(--m-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.maestroGallery__arrow.is-prev{ left: 6px; }
.maestroGallery__arrow.is-next{ right: 6px; }
.maestroGallery__arrow svg{ width: 18px; height: 18px; }
.maestroGallery__arrow:hover{ background: #fff; }
.maestroGallery__arrow:focus-visible{ outline: 2px solid var(--m-green); outline-offset: 2px; }

.maestroGallery__thumbs{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  padding-top: 4px;
}
.maestroGallery__thumb{
  -webkit-appearance: none;
  appearance: none;
  display: block;
  margin: 0;
  padding: 5px;
  border: 0;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  opacity: .72;
  outline: 2px solid transparent;
  outline-offset: 3px;
  box-shadow: 1px 1px 0 #e6dfd7, 2px 2px 0 #dcd3c8, 5px 7px 10px rgba(70,45,30,.14);
  transition: opacity .2s ease;
}
.maestroGallery__thumb:hover{ opacity: 1; }
.maestroGallery__thumb[aria-pressed="true"]{ opacity: 1; outline-color: var(--m-green); }
.maestroGallery__thumb:focus-visible{ outline-color: var(--m-green); }
.maestroGallery__thumb img{
  display: block;
  width: auto;
  height: 56px;
  max-width: none;
}
.maestroGallery__count{
  padding: 0 0 4px 4px;
  font-family: var(--m-latin);
  font-size: 16px;
  letter-spacing: .12em;
  color: var(--m-sub);
}
@media (max-width: 599px){
  .maestroGallery__arrow{ width: 40px; height: 40px; }
  .maestroGallery__thumb img{ height: 48px; }
}


/* ---------- 4) ハレパネ（解説・材料・作り方） ---------- */
.maestroPanel{
  background: #fff;
  padding: 26px 26px 20px;
  box-shadow: var(--m-panel-shadow);
}
@media (max-width: 599px){
  .maestroPanel{ padding: 22px 20px 16px; }
}
.maestroPanel__label{
  margin: 0;
  font-family: var(--m-latin);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--m-sub);
}
.maestroPanel__title{
  margin: 0 0 6px;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  color: var(--m-ink);
}
.maestroPanel__meta{
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.2em;
  font-size: 12px;
  color: var(--m-sub);
}
.maestroPanel__sub{
  margin: 14px 0 4px;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: var(--m-green);
}

/* 材料 */
.maestroList{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.maestroList li{
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid var(--m-line2);
  line-height: 1.7;
}

/* 作り方 */
.maestroSteps{
  list-style: none;
  margin: 0;
  padding: 0;
}
.maestroSteps li{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid var(--m-line);
}
.maestroSteps__no{
  flex: 0 0 30px;
  font-family: var(--m-latin);
  font-size: 24px;
  line-height: 1;
  color: var(--m-green);
}
.maestroSteps__text{
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* 解説 */
.maestroAbout{
  align-self: stretch;
}
.maestroAbout__text{
  font-family: var(--m-serif);
  font-size: 14px;
  line-height: 1.95;
}
.maestroAbout__text p{ margin: 8px 0 0; }
.maestroAbout__text > :first-child{ margin-top: 8px; }

/* Instagram（設定がある場合のみ） */
.maestro .maestroIg{
  align-self: stretch;
  margin: 0;
}


/* ---------- 5) このレシピで使う商品（既存ブロック） ---------- */
.maestro .recipe-section--products{
  margin-top: 64px;
}
.maestro .recipe-section--products .recipe-h2{
  margin: 0 0 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  font-family: var(--m-serif);
  font-size: 18px;
  font-weight: 600;
}


/* ---------- 6) 前後ナビ ---------- */
.maestroNav{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #dcc8b8;
  font-size: 14px;
}
.maestroNav__link{
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 0;
  color: var(--m-sub);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.maestroNav__link.is-next{ text-align: right; }
.maestroNav__link:hover{ color: var(--m-ink); text-decoration: underline; }
.maestroNav__list{
  flex: 0 0 auto;
  padding: 12px 28px;
  border: 1px solid var(--m-ink);
  border-radius: 2px;
  color: var(--m-ink);
  text-decoration: none;
}
.maestroNav__list:hover{ background: var(--m-ink); color: #f1e4da; }

@media (max-width: 767px){
  .maestroNav{
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .maestroNav__link,
  .maestroNav__link.is-next{ text-align: center; }
  .maestroNav__link.is-empty{ display: none; }
  .maestroNav__list{ order: 3; }
}


/* =========================================================
   7) 一覧（展示室）：マエストロの投稿者ページ
========================================================= */

/* ---------- 入口 ---------- */
.maestroHall__head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 0 40px;
}
.maestroHall__emblem{
  width: 132px;
  height: 132px;
  color: var(--m-green);
}
.maestroHall__kicker{
  margin: 18px 0 0;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .16em;
  padding-left: .16em;
  color: var(--m-green);
}
.maestroHall__title{
  margin: 6px 0 0;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: .12em;
  color: var(--m-ink);
}
.maestroHall__sub{
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--m-sub);
}
@media (max-width: 599px){
  .maestroHall__head{ padding: 24px 0 28px; }
  .maestroHall__emblem{ width: 100px; height: 100px; }
  .maestroHall__kicker{ font-size: 16px; }
  .maestroHall__title{ font-size: 28px; }
  .maestroHall__sub{ font-size: 13px; }
}

/* ---------- 作家パネル ｜ 展示パネル ---------- */
.maestroHall__intro{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 960px){
  .maestroHall__intro{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 36px;
  }
}
.maestroArtist__head{
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 14px 0 16px;
}
.maestroArtist__img{
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}
.maestroArtist__name{
  margin: 0;
  font-family: var(--m-latin);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .2em;
}
.maestroArtist__title{
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--m-sub);
}
.maestroArtist__prof{
  font-size: 14px;
  line-height: 1.95;
  white-space: pre-line;
}
.maestroArtist__more{
  margin-top: 10px;
}
.maestroArtist__more summary{
  display: inline-block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--m-green);
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.maestroArtist__more summary::-webkit-details-marker{ display: none; }
.maestroArtist__more[open] summary{ display: none; }

.maestroExhibit__text{
  margin-top: 12px;
  font-family: var(--m-serif);
  font-size: 14px;
  line-height: 1.95;
}
.maestroExhibit__text p{ margin: 0 0 .8em; }
.maestroExhibit__facts{
  margin: 18px 0 4px;
  border-top: 1px solid var(--m-line);
  font-size: 13px;
}
.maestroExhibit__facts > div{
  display: flex;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--m-line2);
}
.maestroExhibit__facts dt{
  flex: 0 0 5em;
  margin: 0;
  color: var(--m-sub);
  font-weight: 400;
}
.maestroExhibit__facts dd{ margin: 0; }
@media (max-width: 599px){
  .maestroArtist__img{ width: 88px; height: 88px; }
  .maestroArtist__name{ font-size: 26px; }
}

/* ---------- 作品の壁 ---------- */
.maestroHall__wall{
  margin-top: 88px;
}
.maestroHall__secHead{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 48px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d8cabd;
}
.maestroHall__secTitle{
  margin: 2px 0 0;
  font-family: var(--m-serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--m-ink);
}
.maestroHall__count{
  margin: 0;
  font-family: var(--m-latin);
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--m-sub);
}
.maestroHall__empty{
  text-align: center;
  color: var(--m-sub);
}

.maestroWorks{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 64px 40px;
  align-items: end;
}
.maestroWork{
  margin: 0;
  padding: 0;
}
.maestroWork__link,
.maestroWork.is-soon{
  display: flex;
  align-items: flex-end;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.maestroWork__img{
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  box-sizing: content-box;
  padding: 14px;
  background: #fff;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 250px;
  box-shadow: var(--m-panel-shadow);
  transition: transform .3s ease;
}
.maestroWork__img.is-empty{
  width: 180px;
  height: 220px;
}
.maestroWork__link:hover .maestroWork__img{ transform: translateY(-3px); }
.maestroWork__cap{
  flex: 0 1 130px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 10px;
  border-left: 1px solid #d8cabd;
  font-size: 12px;
  line-height: 1.6;
  color: var(--m-sub);
}
.maestroWork__no{
  font-family: var(--m-latin);
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--m-ink);
}
.maestroWork__title{
  font-family: var(--m-serif);
  font-size: 13px;
  color: var(--m-ink);
  overflow-wrap: anywhere;
}
.maestroWork__link:hover .maestroWork__title{ text-decoration: underline; }

/* 近日公開の空き額 */
.maestroWork__soon{
  flex: 0 0 auto;
  width: 180px;
  height: 220px;
  border: 1px dashed #c8b8a8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: var(--m-sub);
}
.maestroWork__soonEn{
  font-family: var(--m-latin);
  font-size: 15px;
  letter-spacing: .3em;
  padding-left: .3em;
}
.maestroWork.is-soon .maestroWork__cap{ border-left-color: #e3d6c9; }
.maestroWork.is-soon .maestroWork__no,
.maestroWork.is-soon .maestroWork__title{ color: var(--m-sub); }

@media (max-width: 599px){
  .maestroWorks{
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .maestroWork__img{ max-width: 180px; max-height: 230px; padding: 10px; }
  .maestroWork__soon{ width: 160px; height: 200px; }
}

/* ---------- 作品目録 ---------- */
.maestroHall__catalogue{
  max-width: 880px;
  margin: 96px auto 0;
}
.maestroHall__catalogue .maestroHall__secTitle{ margin-bottom: 20px; }
.maestroCatalogue{ overflow-x: auto; }
.maestroCatalogue table{
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
  background: transparent;
}
.maestroCatalogue th,
.maestroCatalogue td{
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid #ddd0c3;
  background: transparent;
  text-align: left;
  vertical-align: baseline;
}
.maestroCatalogue th{
  font-weight: 500;
  border-bottom: 1px solid var(--m-ink);
}
.maestroCatalogue .is-no{
  width: 80px;
  font-family: var(--m-latin);
  font-size: 16px;
}
.maestroCatalogue .is-date{
  width: 120px;
  color: var(--m-sub);
  white-space: nowrap;
}
.maestroCatalogue a{
  color: var(--m-ink);
  text-decoration: none;
  font-family: var(--m-serif);
}
.maestroCatalogue a:hover{ text-decoration: underline; }
.maestroCatalogue tr.is-soon td{ color: var(--m-sub); }

.maestroHall__back{
  display: flex;
  justify-content: center;
  margin-top: 72px;
}

/* 「展示室の入口へ戻る」で戻ったとき、追従ヘッダーに隠れないように */
#body_wrap .maestroHall__head{ scroll-margin-top: 100px; }

/* 閲覧数（作品の題字の横・展示室のキャプション・作品目録） */
#body_wrap .maestroViews{
  font-family: inherit;
  font-size: 12px;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .06em;
  color: var(--m-sub);
}
#body_wrap .maestroHead__kicker .maestroViews{ font-size: 13px; align-self: center; }
#body_wrap .maestroWork__cap .maestroViews{
  display: block;
  margin-top: 4px;
  white-space: nowrap;
}
#body_wrap .maestroWork__cap .maestroViews.is-bravo{ margin-top: 0; }
#body_wrap .maestroCatalogue .is-views{
  width: 80px;
  text-align: right;
  padding-right: 20px;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--m-sub);
  white-space: nowrap;
}


/* =========================================================
   シンプル化（2026-10）：白地・墨色・細い線だけ
========================================================= */
/* 解説・材料・作り方：影のかわりに上の細い線で区切る */
.maestroPanel{
  padding: 22px 0 8px;
  background: transparent;
  border-top: 1px solid var(--m-ink);
}
@media (max-width: 599px){
  .maestroPanel{ padding: 18px 0 6px; }
}
/* 展示室の作品：写真だけ（マットなし） */
.maestroWork__img{
  padding: 0;
  background: transparent;
}
.maestroGallery__thumb{ box-shadow: none; background: transparent; }
.maestroNav__list:hover{ color: #fff; }

/* 白い壁に作品を掛けたように：写真の下にごく薄い影だけ（参考：軽井沢千住博美術館の展示） */
.maestroGallery__img,
.maestroWork__img{
  box-shadow: 0 14px 32px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
}

/* マエストロのレシピ番号：等幅の数字（桁がそろう） */
.maestroHead__kicker,
.maestroWork__no,
.maestroCatalogue .is-no,
.maestroNav__link{
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
/* 作品目録の No. は閲覧数・ブラボーと同じく右詰め（桁が増えても1の位がそろう） */
.maestroCatalogue th:first-child,
.maestroCatalogue .is-no{
  width: 72px;
  text-align: right;
  padding-right: 28px;
  white-space: nowrap;
}

/* スマホ：前後ナビが縦並びのとき、文字が重ならないように高さを確保 */
@media (max-width: 767px){
  .maestroNav__link{ flex: none; padding: 8px 0; }
  .maestroNav__list{ text-align: center; }
}
