/**
 * 見出しパターン - 下線
 * 親テーマの.ark-block-heading、.c-pageTitleを活用
 */

/* ==========================================================================
   H1専用スタイル（.c-pageTitle構造）
   ========================================================================== */
/* H1のサブタイトル */
.u-flex--aic .c-pageTitle__sub {
  font-size: min(1em, 2.5vw);
  letter-spacing: 3px;
  color: #6c757d;
  font-weight: 700;
}

/* H1のメインタイトル */
#content .u-flex--aic h1.c-pageTitle__main {
  font-weight: 700;
  color: #343a40;
  margin: 0;
  padding-bottom: 15px;
  font-size: 1.75em;
}

/* 親テーマのCSS打消し */
#content .u-flex--aic h1.c-pageTitle__main:before,
#content .u-flex--aic h1.c-pageTitle__main:after {
    content: none;
    position: static;
    top: auto;
    width: auto;
    height: auto;
    background-color: transparent;
}
.c-pageTitle__sub:after, .c-pageTitle__sub:before{
    content:"";
}

/* H1の下線装飾 */
#content .u-flex--aic h1.c-pageTitle__main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--restaurant-heading-line-color); 
}

/* 親テーマ調整用 */
.p-page__title.c-pageTitle.u-flex--aic {
    flex-direction: column-reverse;
}



/* ==========================================================================
   H2〜H4用スタイル（.ark-block-heading構造）
   ========================================================================== */
/* サブタイトル部分 */
.ark-block-heading__sub {
    font-size: min(1em, 2.5vw);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #6c757d;
    font-weight: 500;
}

/* メインタイトル部分 */
.ark-block-heading__main {
    font-weight: 700;
    color: #343a40;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* 下線装飾 */
.ark-block-heading__main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--restaurant-heading-line-color);
}

/* H3、H4の個別調整 */
h3.ark-block-heading__main::after {
    width: 50px;
    height: 3px;
}

h4.ark-block-heading__main::after {
    width: 40px;
    height: 3px;
}