@charset "UTF-8";
/* ============================================
   施設探訪 2026年春号 専用CSS
   京都大学生活協同組合 食堂
   ============================================ */

/* プロポーショナルメトリクス */
body {
  font-feature-settings: "palt" 1;
}

/* カラーパレット */
:root {
  --sh-blue:      #001f6f;
  --sh-blue-pale: #e3effc;
  --sh-red:       #c9151e;
}

/* ---- profile（202503と同じく区切り線を表示） ---- */

/* ---- タイトルブロック（202503と同スタイル） ---- */
.sh-title-block {
  padding: 0;
  margin: 0;
}

.sh-title-meta {
  display: block;
}

.sh-title-meta .date {
  font-size: 13px;
  margin: 15px 15px 10px;
  color: inherit;
  letter-spacing: normal;
}

.sh-title-meta .category {
  font-size: 13px;
  font-weight: bold;
  margin: 0 15px 10px;
  color: #001f6f;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
}

h1.sh-h1 {
  font-size: 20px;
  margin: 0 15px 10px;
  color: inherit;
  font-weight: 500;
  letter-spacing: -.1rem;
  line-height: 1.2;
}

@media (min-width: 750px) {
  .sh-title-meta .date {
    margin: 10px 30px 15px;
  }
  .sh-title-meta .category {
    margin: 0 30px 10px;
  }
  h1.sh-h1 {
    margin: 0 30px 10px;
    font-size: 20px;
  }
}

/* ---- h2 見出し ---- */
.shisetsu {
  font-size: 2.2rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--sh-blue), #1a4aad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- リード文（202503と同スタイル） ---- */

.sh-lead-hang {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  border-top: none;
  padding-top: 0;
  margin: 0;
}

.sh-lead-left {
  flex: 1;
  min-width: 0;
}



/* ---- サブトップ遊び要素 ---- */
.sh-playful-spot {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
  position: relative;
  align-self: flex-start;
  padding-top: 0.3em;
  text-align: center;
}

.sh-playful-label {
  margin: 0.5em 0 0;
  color: #0f4f8b;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

.sh-subtop-card {
  margin: 0 auto 8px;
  width: 120px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #d7e6f6;
  padding: 0.4em;
  box-shadow: 0 7px 20px rgba(10, 58, 108, 0.14);
}

.sh-subtop-card img {
  display: block;
  width: 100%;
  border-radius: 10px;
  height: auto;
}

.sh-goodpoints-photo {
  margin: 0.8em auto 0;
  width: 120px;
}

.sh-goodpoints-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 2枚目写真（ラベル直下） */
.sh-playful-label + .sh-goodpoints-photo {
  width: 100px;
  margin-top: 1em;
}

@media screen and (min-width: 901px) {
  .sh-playful-label + .sh-goodpoints-photo {
    width: 120px;
    margin-top: 4.4em;
  }

  .sh-playful-label + .sh-goodpoints-photo + .sh-goodpoints-photo {
    width: 144px;
    margin-top: 3.6em;
  }
}

/* ---- 京大の生協食堂 ここがいい ---- */
.sh-goodpoints {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
  margin: -0.4em 0 2em;
  padding: 0 30px;
}

.sh-goodpoints-main {
  flex: 1;
  min-width: 0;
}

.contents h2.sh-goodpoints-title {
  margin: 0.5em 0 0.8em !important;
  color: var(--sh-blue) !important;
  font-size: 2.25rem !important;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.sh-goodpoints-title::before,
.sh-goodpoints-title::after {
  color: #0f4f8b;
  font-weight: 700;
  font-family: Arial, sans-serif;
  font-size: 3rem !important;
}

.sh-goodpoints-title::before {
  content: "\005C";
  margin-right: 0.5em;
}

.sh-goodpoints-title::after {
  content: "/";
  margin-left: 0.5em;
}

.sh-goodpoint-item {
  padding: 0.25em 0 1.15em;
  margin-bottom: 1.2em;
  border-bottom: 1px solid rgba(15, 79, 139, 0.14);
}

.sh-goodpoint-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.sh-goodpoint-head {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-bottom: 0.75em;
}

.contents p.sh-goodpoint-num {
  margin: 0 !important;
  width: 1.5em;
  min-width: 1.5em;
  height: 1.5em;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  color: #fff !important;
  font-size: 2.6rem !important;
  line-height: 1 !important;
  background: #1f5f9b;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.contents.shisetsu02 h3.sh-goodpoint-heading {
  margin: 0 !important;
  font-size: 2rem !important;
  line-height: 1.5 !important;
  color: #000 !important;
  font-weight: 700 !important;
  white-space: normal !important;
}

.sh-goodpoint-heading span {
  display: inline;
  background: linear-gradient(transparent 40%, #CED3E7 40%);
}

.sh-goodpoint-text {
  margin: 0;
  color: #111;
  font-size: 1.7rem;
  line-height: 1.85;
}

.sh-goodpoint-item > .sh-goodpoint-text,
.sh-goodpoint-body .sh-goodpoint-text {
  padding-left: calc(1.5 * 2.6rem + 0.8rem) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0.5em !important;
}

.sh-goodpoint-body {
  display: grid;
  align-items: start;
  gap: 0.8em;
}

.sh-goodpoint-body-right {
  grid-template-columns: 1fr minmax(120px, 34%);
}

.sh-goodpoint-body-left {
  grid-template-columns: minmax(120px, 34%) 1fr;
}

.sh-goodpoint-media {
  margin: 0;
}

.sh-goodpoint-media img {
  display: block;
  width: 100%;
  height: auto;
}

.sh-goodpoint-body-right .sh-goodpoint-media {
  align-self: start;
  margin-top: -8em;
  margin-left: -1.5em;
}

.sh-goodpoint-body-right .sh-goodpoint-media img {
  transform: rotate(6deg);
  width: 115%;
}

.sh-goodpoint-item:last-child {
  margin-top: 0;
}

.sh-goodpoint-body-left {
  gap: 0.3em;
}

.sh-goodpoint-body-left .sh-goodpoint-text {
  padding-left: 0 !important;
}

.sh-goodpoint-body-left .sh-goodpoint-media {
  justify-self: end;
}

.sh-goodpoint-body-left .sh-goodpoint-media img {
  transform: rotate(-8deg) translateX(2em);
  width: 115%;
}

/* SP用サブトップカード＋キャプション＋週替わり写真：PCでは非表示 */
.sh-subtop-card-sp,
.sh-playful-label-sp,
.sh-syukawari-sp {
  display: none;
}

/* SP専用メニューカード複製：PCでは非表示 */
.sh-menucard-pc {
  display: none;
}

@media screen and (max-width: 600px) {
  .sh-lead-hang {
    flex-direction: column;
  }

  /* SP用複製を表示、元の位置は非表示 */
  .sh-subtop-card-sp {
    display: block;
    text-align: center;
    margin: 0 auto 4px;
  }

  .sh-playful-label-sp {
    display: block;
    margin-bottom: 12px;
  }

  .sh-playful-spot .sh-subtop-card,
  .sh-playful-spot .sh-playful-label {
    display: none;
  }

  .sh-syukawari-sp {
    display: block;
    width: 160px;
    margin: 0.8em auto 0;
  }

  /* スマホではsh-playful-spot全体を非表示 */
  .sh-playful-spot {
    display: none;
  }

  /* SP用メニューカード複製を表示 */
  .sh-menucard-pc {
    display: block;
    width: 200px;
    margin: 0.8em auto 0;
  }


  .sh-goodpoints {
    flex-direction: column;
    padding: 0 10px;
  }

  .contents h2.sh-goodpoints-title {
    text-align: center;
  }

  .sh-playful-spot {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    align-self: center;
  }
}

@media screen and (max-width: 900px) {
  .sh-playful-label {
    font-size: 1.3rem;
  }

  .sh-goodpoints-title {
    font-size: 2.3rem;
  }

  .sh-goodpoint-num {
    font-size: 2.1rem;
  }

  .contents.shisetsu02 h3.sh-goodpoint-heading {
    font-size: 2.3rem !important;
  }

  .sh-goodpoint-text {
    font-size: 1.9rem;
  }
}

/* ---- キャプション ---- */
.caption {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  text-align: center;
}

/* ---- 1枚画像 ---- */
.single-pic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
.single-pic img {
  width: 80%;
  max-width: 100%;
}

/* ---- 複数画像フレックス ---- */
.flex-respo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1em 0;
}
.flex-respo > div {
  flex: 1 1 28%;
  min-width: 160px;
}
.flex-respo img {
  width: 100%;
}

@media screen and (max-width: 900px) {
  .flex-respo > div {
    flex: 1 1 100%;
  }

  .sh-playful-label {
    font-size: 1.3rem;
    text-align: center;
  }

  .sh-subtop-card {
    transform: none;
  }

  .sh-goodpoints {
    margin: 0.2em 0 1.6em;
  }

  .contents h2.sh-goodpoints-title {
    font-size: 2.05rem !important;
    letter-spacing: 0.01em;
    white-space: normal;
    margin-bottom: 0.8em !important;
    margin-top: 1em !important;
  }

  .sh-goodpoints-title::before,
  .sh-goodpoints-title::after {
    margin: 0 0.15em;
    font-family: Arial, sans-serif;
  }

  .sh-goodpoint-item {
    padding-bottom: 0.9em;
    margin-bottom: 1em;
  }

  .sh-goodpoint-item:last-child {
    margin-top: 0;
  }

  .sh-goodpoint-num {
    font-size: 1.6rem;
  }

  .contents.shisetsu02 h3.sh-goodpoint-heading {
    font-size: 1.8rem !important;
    white-space: normal !important;
  }

  .sh-goodpoint-text {
    font-size: 1.6rem;
    line-height: 1.75;
  }

  .sh-goodpoints > .sh-goodpoint-item:nth-of-type(-n+2) > .sh-goodpoint-text,
  .sh-goodpoints > .sh-goodpoint-item:nth-of-type(-n+2) .sh-goodpoint-body .sh-goodpoint-text {
    padding-left: 0 !important;
  }

  .sh-goodpoint-body-right,
  .sh-goodpoint-body-left {
    grid-template-columns: 1fr;
  }

  .sh-goodpoint-media {
    max-width: 62%;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }

  .sh-goodpoint-body-right .sh-goodpoint-media {
    margin-top: 0;
    justify-self: center;
  }

  .sh-goodpoint-body-right .sh-goodpoint-media img,
  .sh-goodpoint-body-left .sh-goodpoint-media img {
    transform: none;
    width: 100%;
  }

  .sh-goodpoint-body-left .sh-goodpoint-media {
    order: 2;
    justify-self: center;
  }

  .sh-goodpoint-body-left .sh-goodpoint-text {
    order: 1;
  }
}

/* ---- キャンパス食堂マップ ---- */
.sh-campus-spot {
  margin: 0.8em 30px 2em;
}

.sh-campus-spot-map {
  position: relative;
  margin: 0 0 1.4em;
  padding-top: 2.1em;
}

.sh-campus-spot-map img {
  width: 100%;
  display: block;
}

.sh-campus-spot-note {
  margin: 0.8em 0 0 !important;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.sh-campus-spot-map figcaption {
  position: absolute;
  top: 0;
  left: 0.2em;
  margin: 0;
  padding: 0.35em 0.7em;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 31, 111, 0.15);
  color: #1f365f;
  font-size: 1.05rem;
  line-height: 1.45;
  border-radius: 6px;
}

.sh-campus-cards {
  display: flex;
  flex-direction: column;
}

.sh-campus-cards-three,
.sh-campus-cards-two {
  margin-bottom: 0;
}

.sh-campus-card-item {
  padding: 1.4em 0;
  border-top: 2px dotted #1f5f9b;
}

.sh-campus-cards-two .sh-campus-card-item:last-child {
  border-bottom: 2px dotted #1f5f9b;
}

.sh-campus-cards-three .sh-campus-card-item:nth-child(2) {
  border-top: none;
}

.sh-campus-card-body {
  min-width: 0;
}

.sh-campus-card-body::after {
  content: "";
  display: block;
  clear: both;
}

.sh-campus-card-header {
  display: flex;
  align-items: center;
  gap: 0.3em;
  flex-wrap: wrap;
  margin-bottom: 0.5em;
}

.sh-campus-card-label {
  display: block !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0.15em 0.7em !important;
  border-radius: 999px !important;
  background: var(--sh-red) !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  align-self: center !important;
}

.contents.shisetsu02 h3.sh-campus-card-title {
  display: block !important;
  margin: 0 !important;
  padding: 0 0 0.1em !important;
  border: none !important;
  border-bottom: 2px solid var(--sh-red) !important;
  color: var(--sh-red) !important;
  font-size: 1.8rem !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  align-self: center !important;
}

.sh-campus-card-header + .sh-campus-card-text,
.sh-campus-card-header + .sh-campus-card-note {
  margin-top: 0.3em;
}

.sh-campus-card-name {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0.4em !important;
  margin: 0 0 0.4em !important;
}

.sh-card-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--sh-red) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 1.7em !important;
  height: 1.7em !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

.sh-card-store {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
}

.sh-card-hours {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #555 !important;
  margin-left: 5px !important;
}

.sh-card-arrow {
  color: var(--sh-red) !important;
}

.sh-card-label-ghost {
  visibility: hidden !important;
}

.sh-campus-card-text {
  margin: 0;
  color: #1f2937;
  font-size: 1.3rem;
  line-height: 1.8;
}

.sh-campus-card-note {
  margin: 0.65em 0 0;
  color: #334155;
  font-size: 1.15rem;
  line-height: 1.65;
}

.sh-campus-card-photo {
  float: right;
  width: 28%;
  max-width: 28%;
  margin: 0.1em 0 0.55em 1.1em;
}

.sh-campus-card-photo img {
  width: 100%;
  display: block;
  margin-top: -2em;
}

.sh-campus-card-photo figcaption {
  margin-top: 0.35em;
  color: #475569;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* ---- 写真2枚重ね（ルネ用） ---- */
.sh-campus-card-photos {
  float: right;
  width: 28%;
  max-width: 28%;
  position: relative;
  margin: 0.1em 0 0.55em 1.1em;
}

.sh-campus-card-photo-main {
  margin: 0;
}

.sh-campus-card-photo-main img {
  width: 100%;
  display: block;
}

.sh-campus-card-photo-accent {
  position: absolute;
  top: 70px;
  left: -40px;
  width: 45%;
  z-index: 2;
  margin: 0;
  transform: rotate(0deg);
}

.sh-campus-card-photo-accent img {
  width: 100%;
  display: block;
}

@media screen and (max-width: 900px) {
  .sh-campus-card-photo,
  .sh-campus-card-photos {
    float: right;
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
    margin: 0.2em 0 0.6em 0.9em !important;
  }
}

@media screen and (max-width: 600px) {
  .sh-campus-spot {
    margin: 0.6em 10px 1.6em;
  }

  .sh-campus-spot-map {
    padding-top: 0em;
  }

  .sh-campus-spot-map figcaption {
    top: 0;
    left: 0.1em;
    padding: 0.3em 0.55em;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .sh-campus-card-item {
    display: block;
  }

  .sh-campus-card-photo,
  .sh-campus-card-photos {
    float: right;
    width: 40% !important;
    flex: 0 0 40% !important;
    max-width: 40% !important;
    margin: 0.2em 0 0.55em 0.75em !important;
    position: relative;
  }

  .sh-campus-card-photo img {
    margin-top: 0;
  }

  .sh-campus-card-photo-main {
    margin: 0;
  }

  .sh-campus-card-photo-accent {
    top: auto;
    bottom: 6px;
    left: 6px;
    width: 32%;
    transform: none;
  }

  .sh-campus-card-name {
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 0.25em !important;
  }

  .sh-campus-card-name .sh-card-store,
  .sh-campus-card-name .sh-card-hours {
    font-size: 1.2rem !important;
    white-space: nowrap;
  }

  .sh-campus-card-name .sh-card-num {
    font-size: 1.15rem !important;
    width: 1.5em !important;
    height: 1.5em !important;
  }
}

/* ---- 歴史コーナー ---- */
.sh-history {
  margin: 1em 30px 2.5em;
  padding-top: 0.5em;
}

.sh-history-header {
  text-align: center;
  margin-bottom: 1.8em;
}

.contents .sh-history-title {
  font-size: 2.2rem !important;
  font-weight: 700;
  color: var(--sh-blue) !important;
  letter-spacing: 0.02em;
  margin: 0 auto 0.6em !important;
  border: none !important;
  text-align: center !important;
  display: table;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--sh-blue-pale) 15%,
    var(--sh-blue-pale) 85%,
    transparent 100%
  );
  border-top: 1px solid rgba(0, 31, 111, 0.25);
  border-bottom: 1px solid rgba(0, 31, 111, 0.25);
  padding: 0.45em 2em !important;
}

.sh-history-num {
  font-size: 3.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.sh-history-lead {
  font-size: 1.7rem !important;
  color: #555;
  letter-spacing: 0.08em;
  font-weight: 650;
  margin: 0;
  position: relative;
  display: inline-block;
  padding: 0 1.5em;
}

.sh-history-lead::before,
.sh-history-lead::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1em;
  height: 1px;
  background: #aaa;
}

.sh-history-lead::before { right: 100%; }
.sh-history-lead::after  { left: 100%; }

.sh-compare {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 2em;
}

.sh-compare-col {
  flex: 1;
  min-width: 0;
}

.sh-compare-year {
  font-size: 4rem !important;
  font-weight: 700;
  color: #b0bdd6;
  line-height: 1;
  margin: 0 0 0.5em !important;
  letter-spacing: -0.03em;
  border: none !important;
}

.sh-compare-nen {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sh-compare-year-new {
  color: var(--sh-blue) !important;
}

.sh-compare-items {
  display: flex;
  gap: 0.7em;
}

.sh-compare-item {
  flex: 1;
  margin: 0;
  text-align: center;
}

.sh-compare-item img {
  width: 100%;
  display: block;
}

.sh-compare-item figcaption {
  margin-top: 0.4em;
}

.sh-compare-name {
  display: block;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 0.1em;
}

.sh-compare-price {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #666;
  line-height: 1.2;
}

.sh-compare-col-new .sh-compare-price {
  color: var(--sh-blue);
}

.sh-compare-price small {
  font-size: 1rem;
  font-weight: 400;
}

.sh-compare-arrow {
  font-size: 1.6rem;
  color: #ccc;
  flex-shrink: 0;
  align-self: center;
  padding-bottom: 1em;
}

.sh-history-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8em;
  align-items: flex-end;
}

.sh-history-photo {
  flex: 1;
  min-width: 120px;
  margin: 0;
}

.sh-history-photo img {
  width: 100%;
  display: block;
  filter: sepia(15%) brightness(0.97);
}

.sh-history-caption {
  flex: 0 0 100%;
  font-size: 1.1rem;
  color: #777;
  text-align: center;
  margin: 0.4em 0 0;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 600px) {
  .sh-history {
    margin-left: 0;
    margin-right: 0;
  }

  .sh-compare-year {
    font-size: 3rem !important;
  }

  .sh-compare-arrow {
    font-size: 1.2rem;
  }

  .contents .sh-history-title {
    font-size: 2rem !important;
    white-space: nowrap;
    padding: 0.45em 1.2em !important;
  }
}

/* ---- 囲みボックス（淡いブルー） ---- */
.sh-kakoi {
  background-color: var(--sh-blue-pale);
  border-radius: 20px;
  margin: 2em 0;
  padding: 1.2em 1.5em;
}
.sh-kakoi h2 {
  font-size: 18px;
  border-bottom: 2px solid var(--sh-blue);
  display: inline-block;
  padding-bottom: 7px;
  margin-bottom: 1em;
  color: var(--sh-blue);
}

/* ---- インタビュー吹き出し ---- */
.sh-voice {
  background-color: #fff;
  border: 2px solid var(--sh-blue-pale);
  border-radius: 12px;
  padding: 1em 1.5em;
  margin: 1.5em 0;
  position: relative;
}
.sh-voice::before {
  content: "Voice";
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--sh-blue);
  border-radius: 4px;
  padding: 0.1em 0.6em;
  position: absolute;
  top: -1em;
  left: 1em;
}
.sh-voice p {
  margin: 0.5em 0 0;
}

/* ---- 店舗情報テーブル ---- */
.sh-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1.3rem;
}
.sh-table th {
  background-color: var(--sh-blue);
  color: #fff;
  padding: 0.6em 1em;
  text-align: left;
  font-weight: 600;
}
.sh-table td {
  border-bottom: 1px solid #ddd;
  padding: 0.6em 1em;
}
.sh-table tr:nth-child(even) td {
  background-color: var(--sh-blue-pale);
}

/* ---- 強調テキスト（トマトレッド） ---- */
.sh-accent {
  color: var(--sh-red);
  font-weight: 600;
}

/* ---- セクション区切り線 ---- */
.sh-rule {
  border: none;
  border-top: 2px solid var(--sh-blue);
  margin: 2em 0;
}

/* ---- メニュー紹介グリッド ---- */
.sh-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5em 0;
}
.sh-menu-grid .sh-menu-item {
  text-align: center;
}
.sh-menu-grid .sh-menu-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.4em;
}
.sh-menu-grid .sh-menu-item p {
  font-size: 1.2rem;
  margin: 0;
}

/* ---- 人気フェア いちおしメニュー ---- */
.sh-fair {
  margin: 0 20px 2.5em;
  padding: 1.2em 1.1em 1.3em;
  background: transparent;
  border-radius: 12px;
  border: none;
}

.sh-fair-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 0.7em;
}

.sh-fair-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55em !important;
  color: #0e4e8b !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 0 0.5em !important;
  letter-spacing: 0.05em !important;
}

.sh-fair-badge::before,
.sh-fair-badge::after {
  content: "";
  width: 14px !important;
  height: 22px !important;
  flex: 0 0 auto !important;
}

.sh-fair-badge::before {
  background:
    linear-gradient(#91a0c2 0 0) 2px 2px/2px 7px no-repeat,
    linear-gradient(#91a0c2 0 0) 6px 2px/2px 7px no-repeat,
    linear-gradient(#91a0c2 0 0) 10px 2px/2px 7px no-repeat,
    linear-gradient(#91a0c2 0 0) 2px 9px/10px 2px no-repeat,
    linear-gradient(#91a0c2 0 0) 6px 11px/2px 10px no-repeat;
}

.sh-fair-badge::after {
  background:
    radial-gradient(ellipse at center, #91a0c2 0 62%, transparent 63%) 1px 0/12px 12px no-repeat,
    linear-gradient(#91a0c2 0 0) 6px 10px/2px 12px no-repeat;
}

.contents .sh-fair-title {
  display: block !important;
  width: fit-content;
  font-size: 2.2rem !important;
  font-weight: 700;
  color: #000 !important;
  letter-spacing: 0.07em;
  margin: 0 auto 20px !important;
  padding: 0.18em 1.35em 0.2em;
  border: 3px solid #c2d2e6 !important;
  border-radius: 999px;
  background: #fff;
  line-height: 1.3;
}

.sh-fair-grid {
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  grid-template-areas:
    "item1 item2"
    "item3 item2"
    "item3 item4";
  gap: 0.35em 0.6em;
  margin: 0 auto 1.2em;
  max-width: 620px;
}

.sh-fair-item {
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  position: relative;
}

.sh-fair-item img {
  width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.1));
}

.sh-fair-item figcaption {
  position: absolute;
  display: inline-block;
  z-index: 2;
  padding: 0.34em 0.95em;
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--sh-blue);
  text-align: center;
  line-height: 1.25;
  border-radius: 999px;
  background: #eef3fa;
  border: 2px solid #c2d2e6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.sh-fair-item:nth-child(1) {
  grid-area: item1;
  align-self: end;
}

.sh-fair-item:nth-child(1) img {
  width: 70%;
  margin-left: auto;
}

.sh-fair-item:nth-child(1) figcaption {
  right: 0.1em;
  top: 73%;
}

.sh-fair-item:nth-child(2) {
  grid-area: item2;
  align-self: center;
}

.sh-fair-item:nth-child(2) img {
  width: 82%;
  margin-left: auto;
}

.sh-fair-item:nth-child(2) figcaption {
  left: 0;
  top: 68%;
}

.sh-fair-item:nth-child(3) {
  grid-area: item3;
  align-self: start;
}

.sh-fair-item:nth-child(3) img {
  width: 82%;
}

.sh-fair-item:nth-child(3) figcaption {
  left: 0;
  top: 77%;
}

.sh-fair-item:nth-child(4) {
  grid-area: item4;
  align-self: start;
}

.sh-fair-item:nth-child(4) img {
  width: 70%;
  margin-left: auto;
  margin-right: 0.25em;
}

.sh-fair-item:nth-child(4) figcaption {
  right: 0;
  top: 72%;
}

.sh-fair-desc {
  margin: 0;
  margin-top: 2rem;
  font-size: 1.3rem;
  line-height: 1.85;
  color: #000;
}

@media screen and (max-width: 600px) {
  .sh-fair {
    margin: 0 0 2em;
    padding: 1em 0.8em 1.1em;
    border-radius: 12px;
  }

  .sh-fair-grid {
    grid-template-columns: 1.23fr 1fr;
    gap: 0.28em 0.45em;
    margin-bottom: 1.05em;
  }

  .contents .sh-fair-title {
    font-size: 1.74rem !important;
    padding: 0.18em 1.15em 0.2em;
    border-width: 2px !important;
  }

  .sh-fair-badge {
    font-size: 2rem !important;
    gap: 0.45em !important;
  }

  .sh-fair-badge::before,
  .sh-fair-badge::after {
    width: 12px !important;
    height: 19px !important;
  }

  .sh-fair-item figcaption {
    font-size: 1.08rem;
    padding: 0.3em 0.72em;
    border-width: 2px;
  }

  .sh-fair-item:nth-child(3) img {
    width: 78%;
  }

  .sh-fair-item:nth-child(4) img {
    width: 66%;
  }

  .sh-fair-item:nth-child(1) img {
    width: 70%;
    margin-left: auto;
  }

  .sh-fair-item:nth-child(2) img {
    width: 78%;
  }

  .sh-fair-desc {
    font-size: 1.18rem;
    line-height: 1.8;
  }
}

/* ---- ミールシステム ---- */
.sh-meal {
  margin: 0;
}

.sh-meal-card {
  margin: 0 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 31, 111, 0.14),
    0 1px 6px rgba(0, 0, 0, 0.06);
}

.sh-meal-card-head {
  background: var(--sh-blue);
  padding: 1.5em 1.8em 1.5em;
  position: relative;
}

.sh-meal-card-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(255, 255, 255, 0.04) 18px,
    rgba(255, 255, 255, 0.04) 36px
  );
  pointer-events: none;
}



.contents .sh-meal-title {
  color: #fff !important;
  font-size: 2.4rem !important;
  font-weight: 900 !important;
  margin: 0 !important;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
}

.sh-meal-card-body {
  background: var(--sh-blue-pale);
  padding: 0;
}

.sh-meal-card-body::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    var(--sh-blue-pale) 0,
    var(--sh-blue-pale) 10px,
    #dce9f6 10px,
    #dce9f6 12px
  );
}

.sh-meal-card-body-inner {
  padding: 1em 1.4em 1.2em;
  text-indent: 0;
}

.sh-meal-card-body-inner p {
  font-size: 1.5rem;
  line-height: 1.75;
  color: #000;
  margin: 0 0 0.6em;
}

.sh-meal-card-body-inner p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
  .sh-meal-card {
    margin: 0;
    border-radius: 10px;
  }

  .sh-meal-card-head {
    padding: 1.2em 1.2em 1.3em;
  }

  .contents .sh-meal-title {
    font-size: 1.9rem !important;
  }

  .sh-meal-en {
    font-size: 1.5rem;
  }

  .sh-meal-card-body-inner {
    padding: 1.3em 1.2em 1.5em;
  }

  .sh-meal-card-body-inner p {
    font-size: 1.18rem;
    line-height: 1.8;
  }
}

/* ---- 人気ランキング・小鉢カード ---- */
.sh-highlight-cards {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 1em;
  margin: 0 20px 2.5em;
}

.sh-highlight-cards > * {
  flex: 1;
  min-width: 0;
}

/* Card 1: 人気NO.1 */
.sh-popular {
  background: #f9f3e5;
  border: 1px solid #d9c9a8;
  border-radius: 14px;
  padding: 1.2em 0.7em 1.4em 1.3em;
}

.sh-popular-header {
  margin-bottom: 0.7em;
  text-align: center;
}

.sh-popular-label {
  font-size: 2rem !important;
  color: #2a5298;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  margin: 0 0 0.4em !important;
}

.sh-popular-menu-label {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 2rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25em 1.2em;
  border-radius: 999px;
  text-align: center;
  margin: 5px auto 0.3em !important;
}

.sh-popular-img {
  margin: 0 0 0.7em !important;
}

.sh-popular-img img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.sh-popular-name {
  font-size: 1.9rem !important;
  font-weight: 900;
  color: var(--sh-blue);
  margin: 0 0 0.4em !important;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.sh-popular-text p {
  font-size: 1.5rem !important;
  line-height: 1.25;
  color: #000;
  margin: 0 !important;
}

/* Card 2: 小鉢TOP3 */
.sh-kobachi {
  background: #f9f3e5;
  border: 1px solid #d9c9a8;
  border-radius: 14px;
  padding: 1.2em 0.7em 1.4em 1.3em;
}

.sh-kobachi-header {
  margin-bottom: 0.8em;
}


.sh-kobachi-list {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  counter-reset: kobachi;
  font-size: inherit !important;
}

.sh-kobachi-item {
  counter-increment: kobachi;
  display: flex;
  gap: 0.7em;
  align-items: flex-start;
}

.sh-kobachi-item figure {
  flex: 0 0 36%;
  margin: 0 !important;
  position: relative;
}

.sh-kobachi-item figure::before {
  content: none;
}

.sh-kobachi-item img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.sh-kobachi-item-text {
  flex: 1;
  min-width: 0;
}

.sh-kobachi-name {
  display: inline-block;
  font-size: 1.35rem !important;
  font-weight: 700;
  color: #111;
  margin: 0 0 0.35em !important;
  line-height: 1.35;
  background: #fff;
  padding: 0.15em 0.9em;
  border-radius: 999px;
}

.sh-kobachi-desc {
  font-size: 1.15rem !important;
  color: #000;
  line-height: 1.6;
  margin: 0 !important;
}

@media screen and (max-width: 600px) {
  .sh-highlight-cards {
    flex-direction: column;
    margin: 0 0 2em;
  }

  .sh-popular-name {
    font-size: 1.7rem;
  }

  .sh-kobachi-title {
    font-size: 1.5rem;
  }
}

/* ---- 案内役プロフィール ---- */
.sh-prof {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 1.5em 0;
}
.sh-prof .sh-prof-img {
  width: 140px;
  flex-shrink: 0;
}
.sh-prof .sh-prof-img img {
  width: 100%;
  border-radius: 4px;
}
.sh-prof .sh-prof-text p {
  margin: 0.3em 0;
}

@media screen and (max-width: 480px) {
  .sh-prof {
    flex-direction: column;
    align-items: center;
  }
  .sh-prof .sh-prof-img {
    width: 120px;
  }
}

@media screen and (max-width: 600px) {
  .sh-title-meta .date,
  .sh-title-meta .category,
  h1.sh-h1,
  .sh-campus-spot,
  .sh-history,
  .sh-fair,
  .sh-meal-card,
  .sh-highlight-cards {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

.nine.columns {
  margin-bottom: 0 !important;
}
