/* トップページ専用スタイル */

/* Menu 医療アートメイクとは */
.menu-intro {
  padding-block: 60px 80px;
  background-color: #fff;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-intro {
    padding-block: 100px 120px;
  }
}

.menu-intro__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1250px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media screen and (min-width: 769px) {
  .menu-intro__inner {
    padding-inline: 25px;
  }
}

/* 施術画像 */
.menu-intro__image {
  display: block;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: 40px auto 0;
  object-fit: cover;
}

@media screen and (min-width: 769px) {
  .menu-intro__image {
    margin-top: 65px;
  }
}

/* Menu 各施術メニュー */
.menu-detail {
  width: 100%;
  overflow-x: clip;
  background-color: #fff;
  color: #333;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* タブレット */
@media screen and (min-width: 769px) {
  .menu-detail {
    gap: 80px;
  }
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail {
    gap: 130px;
  }
}

.menu-detail__item {
  width: 100%;
}

/* タイトル・背景画像 */
.menu-detail__heading {
  box-sizing: border-box;
  width: 100%;
  padding: 40px 20px;
  background-image: url("/system_panel/uploads/images/concerns_bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-detail__heading {
    padding-block: 52px;
  }
}

/* タイトル */
.menu-detail__title {
  margin: 0;
  color: #333;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .menu-detail__title--previous {
    font-size: 24px;
  }
}

@media screen and (min-width: 769px) {
  .menu-detail__title {
    font-size: 40px;
    line-height: 60px;
  }
}

/* サブタイトル */
.menu-detail__subtitle {
  margin: 20px 0 0;
  color: #665f53;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .menu-detail__subtitle {
    margin-top: 30px;
    font-size: 28px;
    line-height: 45px;
  }
}

/* 共通インナー */
.menu-detail__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1250px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media screen and (min-width: 769px) {
  .menu-detail__inner {
    padding-inline: 25px;
  }
}

/* リード文 */
.menu-detail__lead {
  width: 100%;
  margin: 30px auto 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0.05em;
  text-align: center;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 1108px) {
  .menu-detail__lead {
    text-align: justify;
  }
}

@media screen and (min-width: 769px) {
  .menu-detail__lead {
    margin-top: 43px;
    font-size: 16px;
    line-height: 30px;
  }
}

/* こんな方におすすめ */
.menu-detail__recommend {
  position: relative;
  width: 100%;
  margin: 40px auto 0;
}

@media screen and (min-width: 769px) {
  .menu-detail__recommend {
    margin-top: 60px;
  }
}

/* 左側のあしらい */
.menu-detail__recommend::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -180px;
  z-index: 0;
  display: none;
  width: 139px;
  height: 215px;
  background-image: url("/system_panel/uploads/images/staff_deco.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

@media screen and (min-width: 1800px) {
  .menu-detail__recommend::before {
    display: block;
  }
}

/* 見出し */
.menu-detail__recommend-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #333;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-detail__recommend-title {
    font-size: 24px;
    line-height: 45px;
  }
}

/* チェックリスト */
.menu-detail__recommend .concerns__list--border {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

/* 三角形なし */
.concerns__list--no-arrow::after {
  content: none;
}

/* 単独でのご相談にも対応 */
.menu-detail__consultation {
  width: 100%;
  margin: 40px auto 0;
}

@media screen and (min-width: 769px) {
  .menu-detail__consultation {
    margin-top: 60px;
  }
}

/* 見出し */
.menu-detail__consultation-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #665f53;
  color: #665f53;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.67;
  letter-spacing: 0.05em;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-detail__consultation-title {
    font-size: 24px;
    line-height: 40px;
  }
}

/* 説明文 */
.menu-detail__consultation-text {
  width: 100%;
  margin: 30px auto 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0.05em;
  text-align: center;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 1244px) {
  .menu-detail__consultation-text {
    text-align: justify;
  }
}

@media screen and (min-width: 769px) {
  .menu-detail__consultation-text {
    margin-top: 43px;
    font-size: 18px;
    line-height: 36px;
  }
}

/* デザインの相談について（背景あり） */
.menu-detail__consultation--bg {
  box-sizing: border-box;
  padding: 30px 20px;
  background-color: #eeeceb;
}

/* タブレット */
@media screen and (min-width: 769px) {
  .menu-detail__consultation--bg {
    padding: 40px 60px;
  }
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail__consultation--bg {
    padding: 50px 125px 60px;
  }
}

/* タイトルと説明文の余白 */
.menu-detail__consultation--bg .menu-detail__consultation-text {
  margin-top: 25px;
}

@media screen and (min-width: 769px) {
  .menu-detail__consultation--bg .menu-detail__consultation-text {
    margin-top: 30px;
  }
}

/* Menu 施術概要 */
.menu-detail__overview {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 60px;
}

@media screen and (min-width: 1024px) {
  .menu-detail__overview {
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
    margin-top: 80px;
  }
}

/* 施術概要 左側 */
.menu-detail__overview-body {
  width: 100%;
  min-width: 0;
}

@media screen and (min-width: 1024px) {
  .menu-detail__overview-body {
    flex: 1 1 0;
    width: auto;
  }
}

/* 施術概要の見出し */
.menu-detail__overview-title {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0.05em;
}

/* 見出し横の丸 */
.menu-detail__overview-title::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #c0b1a3;
}

/* 施術概要 一覧 */
.menu-detail__overview-list {
  width: 100%;
  margin-top: 35px;
}

/* 各行 */
.menu-detail__overview-row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 65px;
  border-bottom: 1px solid #ccc;
}

/* 最終行は線なしにする場合 */
.menu-detail__overview-row:last-child {
  border-bottom: none;
}

/* 左側：項目名 */
.menu-detail__overview-label {
  padding-left: 35px;
  flex: 0 0 35%;
  min-width: 0;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* 右側：内容 */
.menu-detail__overview-value {
  padding-right: 35px;
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: right;
  overflow-wrap: anywhere;
}

/* 施術概要 右側画像 */
.menu-detail__overview-image-wrap {
  width: 100%;
  min-width: 0;
}

@media screen and (min-width: 1024px) {
  .menu-detail__overview-image-wrap {
    flex: 0 1 600px;
    max-width: 600px;
  }
}

.menu-detail__overview-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* 右側のあしらい staff_deco2.png */
.menu-detail__overview::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -270px;
  z-index: 0;
  display: none;
  width: 240px;
  height: 190px;
  background-image: url("/system_panel/uploads/images/staff_deco2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

@media screen and (min-width: 1800px) {
  .menu-detail__overview::after {
    display: block;
  }
}

/* Menu 施術事例 */
.menu-detail__cases {
  width: 100%;
  margin-top: 60px;
  max-width: 600px;
  margin-inline: auto;
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail__cases {
    margin-top: 100px;
    max-width: none;
  }
}

/* タイトル */
.menu-detail__cases-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #665f53;
  color: #665f53;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.69;
  letter-spacing: 0.05em;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-detail__cases-title {
    font-size: 24px;
    line-height: 40.61px;
  }
}

/* 画像一覧 */
.menu-detail__cases-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}

/* タブレット：2列 */
@media screen and (min-width: 769px) {
  .menu-detail__cases-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 45px;
  }
}

/* PC：3列 */
@media screen and (min-width: 1024px) {
  .menu-detail__cases-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .menu-detail__cases--eyeline .menu-detail__cases-list,
  .menu-detail__cases-list:has(> .menu-detail__cases-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(66.666667% - 10px);
    margin-inline: auto;
  }
}

/* 画像アイテム */
.menu-detail__cases-item {
  min-width: 0;
  width: 100%;
}

/* 画像 */
.menu-detail__cases-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 380/430;
  object-fit: cover;
}

/* Menu 料金表 */
.menu-detail__price {
  box-sizing: border-box;
  width: 100%;
  margin: 60px auto 0;
  padding: 40px 20px;
  border: 1px solid #c0b1a3;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-detail__price {
    padding: 50px 60px;
  }
}

@media screen and (min-width: 1024px) {
  .menu-detail__price {
    margin-top: 80px;
    padding: 60px 220px 70px;
  }
}

/* 料金一覧 */
.menu-detail__price-title {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #665f53;
  color: #665f53;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 40.61px;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .menu-detail__price-title {
    font-size: clamp(10px, 3.5vw, 24px);
  }
}

.menu-detail__price-list {
  width: 100%;
  max-width: 550px;
  margin: 50px auto 0;
}

/* 各行 */
.menu-detail__price-row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 65px;
  border-bottom: 1px solid #ccc;
}

/* メニュー名 */
.menu-detail__price-label {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: left;
}

/* 金額 */
.menu-detail__price-value {
  flex-shrink: 0;
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: right;
}

@media screen and (min-width: 769px) {
  .menu-detail__price-label,
  .menu-detail__price-value {
    font-size: 16px;
  }
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail__price-label {
    padding-left: 35px;
  }
  .menu-detail__price-value {
    padding-right: 40px;
  }
}

/* Menu 料金・施術回数について */
.menu-price-guide {
  position: relative;
  width: 100%;
  padding-bottom: 80px;
  background-color: #fff;
  color: #333;
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  margin-top: 60px;
}

@media screen and (min-width: 769px) {
  .menu-price-guide {
    padding-bottom: 100px;
    margin-top: 80px;
  }
}

@media screen and (min-width: 1024px) {
  .menu-price-guide {
    margin-top: 106px;
  }
}

/* 料金説明の枠 */
.menu-price-guide__box {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 30px 20px;
  border: 1px solid #665f53;
  background-color: #fff;
}

@media screen and (min-width: 769px) {
  .menu-price-guide__box {
    margin-top: 60px;
    padding: 50px 67px;
  }
}

/* 各項目 */
.menu-price-guide__item + .menu-price-guide__item {
  margin-top: 40px;
}

/* 見出し */
.menu-price-guide__title {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #c0b1a3;
  color: #665f53;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.67;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .menu-price-guide__title {
    font-size: 24px;
    line-height: 40px;
  }
}

/* 説明文 */
.menu-price-guide__text {
  margin: 25px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0.05em;
  text-align: left;
}

@media screen and (min-width: 769px) {
  .menu-price-guide__text {
    margin-top: 30px;
    font-size: 18px;
    line-height: 36px;
  }
}

/* 上側のあしらい staff_deco.png */
.menu-price-guide__box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -180px;
  z-index: 0;
  display: none;
  width: 139px;
  height: 215px;
  background-image: url("/system_panel/uploads/images/staff_deco.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

@media screen and (min-width: 1800px) {
  .menu-price-guide__box::before {
    display: block;
  }
}

/* 施術を受ける前に */
.menu-price-guide__notice {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 45px auto 0;
  padding: 35px 20px;
  background-color: #efedec;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-price-guide__notice {
    margin-top: 65px;
    padding: 55px 60px;
  }
}

@media screen and (min-width: 1024px) {
  .menu-price-guide__notice {
    padding: 55px 60px;
  }
}

/* 見出し */
.menu-price-guide__notice-title {
  margin: 0;
  color: #665f53;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.64;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .menu-price-guide__notice-title {
    font-size: 25px;
    line-height: 41px;
  }
}

/* 説明文 */
.menu-price-guide__notice-text {
  margin: 25px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0.05em;
  text-align: center;
}

@media screen and (min-width: 769px) {
  .menu-price-guide__notice-text {
    margin-top: 30px;
    font-size: 1.2rem;
    line-height: 30px;
  }
}

/* 下側のあしらい staff_deco2.png */
.menu-detail__pigment {
  position: relative;
}

.menu-detail__pigment::before,
.menu-price-guide__notice::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -270px;
  z-index: 0;
  display: none;
  width: 240px;
  height: 190px;
  background-image: url("/system_panel/uploads/images/staff_deco2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

.menu-detail__pigment::before {
  right: auto;
  left: -170px;
  width: 139px;
  height: 215px;
  background-image: url("/system_panel/uploads/images/staff_deco.png");
}

@media screen and (min-width: 1800px) {
  .menu-detail__pigment::before,
  .menu-price-guide__notice::after {
    display: block;
  }
  .menu-detail__item:has(> .menu-detail__heading > .menu-detail__title--previous) {
    position: relative;
    isolation: isolate;
  }
  .menu-detail__item:has(> .menu-detail__heading > .menu-detail__title--previous)::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline-end: max(25px, (100% - 1250px) / 2);
    z-index: -1;
    width: 240px;
    height: 190px;
    background: url("/system_panel/uploads/images/staff_deco2.png") center/contain no-repeat;
    pointer-events: none;
  }
}

/* メニューページの相談ボタン */
.menu-detail__inner > .c-btn--wide {
  display: flex;
  margin: 60px auto 0;
}

.c-btn__text.c-btn--previous > p {
  white-space: nowrap;
}

.c-btn__text.c-btn--previous br {
  display: none;
}

@media screen and (max-width: 433px) {
  .menu-detail__inner > .c-btn--wide:has(> .c-btn__text.c-btn--previous) {
    padding-inline: 38px;
  }
  .menu-detail__inner > .c-btn--wide:has(> .c-btn__text.c-btn--previous)::after {
    right: 12px;
  }
}

@media screen and (width < 375px) {
  .c-btn__text.c-btn--previous > p {
    font-size: min(14px, 3.3vw);
  }
}

@media screen and (min-width: 375px) and (max-width: 414px) {
  .c-btn__text.c-btn--previous br {
    display: inline;
  }
}

/* Menu 使用する色素 */
.menu-detail__pigment {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #cccccc;
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail__pigment {
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
  }
}

/* 左側：画像 */
.menu-detail__pigment-image-wrap {
  width: 100%;
  min-width: 0;
}

.menu-detail__pigment-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600/400;
  object-fit: cover;
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail__pigment-image-wrap {
    flex: 0 1 600px;
  }
}

/* 右側：テキストエリア */
.menu-detail__pigment-body {
  width: 100%;
  min-width: 0;
}

/* PC */
@media screen and (min-width: 1024px) {
  .menu-detail__pigment-body {
    flex: 0 1 550px;
  }
}

/* タイトル */
.menu-detail__pigment-title {
  margin: 0;
  color: #333;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .menu-detail__pigment-title {
    font-size: 24px;
    line-height: 1.5;
  }
}

/* PHIBROWS */
.menu-detail__pigment-info {
  margin-top: 30px;
}

/* 小見出し */
.menu-detail__pigment-label {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 15px;
  border: none;
  border: 1px solid #665f53;
  color: #665f53;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .menu-detail__pigment-label {
    font-size: 18px;
  }
}

/* 説明文 */
.menu-detail__pigment-text {
  margin: 10px 0 0;
  color: #333;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.875;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 769px) {
  .menu-detail__pigment-text {
    font-size: 16px;
    line-height: 30px;
  }
}

/* 色味の変化について */
.menu-detail__pigment-change {
  margin-top: 40px;
}

@media screen and (min-width: 1024px) {
  .menu-detail__pigment-change {
    margin-top: 50px;
  }
}

/* 説明文の段落間 */
.menu-detail__pigment-change .menu-detail__pigment-text + .menu-detail__pigment-text {
  margin-top: 30px;
}

/* リップアートメイクの施術事例 */
.menu-detail__cases--lip .menu-detail__cases-image {
  aspect-ratio: 380/520;
  object-fit: cover;
}

/* SPのみ適用 */
@media screen and (max-width: 768px) {
  .menu-detail__lead,
  .menu-detail__consultation-text,
  .menu-detail__pigment-text,
  .menu-price-guide__notice-text {
    text-wrap: pretty;
    overflow-wrap: normal;
    text-align: justify;
    text-wrap: wrap;
  }
}

@media screen and (max-width: 857px) {
  .menu-price-guide__notice-text {
    text-align: left;
  }
}

/* 1024〜1399pxのコンテンツ幅と中央配置 */
@media screen and (min-width: 1024px) and (max-width: 1399px) {
  .menu-detail__overview-body {
    min-width: 320px;
  }
  .menu-intro__inner,
  .menu-detail__inner,
  .menu-price-guide__box,
  .menu-price-guide__notice {
    width: calc(100% - 135px);
    margin-inline: auto;
  }
}

/* 中間幅でもHTMLの改行による中央揃えの4行を保つ */
@media screen and (min-width: 1024px) and (max-width: 1318px) {
  .menu-price-guide__notice {
    width: 100%;
    padding-inline: 60px;
  }
  .menu-price-guide__notice-text {
    text-align: center;
    text-wrap: wrap;
  }
  .menu-price-guide__notice-text br {
    display: inline;
  }
}

/* 1318px以下の対象文のみ、短い最終行が残らないよう折り返しを調整 */
@media screen and (max-width: 1318px) {
  body:has(.menu-detail) .concept-intro__text,
  .menu-price-guide .menu-price-guide__notice-text {
    text-wrap: balance;
  }
}

/* メニュー冒頭文：中央寄せの712〜1327pxで2番目の指定改行を表示 */
body:has(.menu-detail) .concept-intro__text.concept-intro__text--bk br:nth-of-type(2) {
  display: none;
}

@media screen and (min-width: 712px) and (max-width: 1327px) {
  body:has(.menu-detail) .concept-intro__text.concept-intro__text--bk br:nth-of-type(2) {
    display: inline;
  }
}

/* Price guide: show the added break only from 1109px to below 1227px. */
.menu-price-guide .menu-detail__lead > br:nth-of-type(2) {
  display: none;
}

@media screen and (min-width: 1109px) and (width < 1227px) {
  .menu-price-guide .menu-detail__lead > br:nth-of-type(2) {
    display: inline;
  }
}

/* Previous artmake: show the added break only while centered at this width. */
.menu-detail__item:has(.menu-detail__title--previous) .menu-detail__lead > br:nth-of-type(2) {
  display: none;
}

@media screen and (min-width: 1109px) and (width < 1243px) {
  .menu-detail__item:has(.menu-detail__title--previous) .menu-detail__lead > br:nth-of-type(2) {
    display: inline;
  }
}
