/* WordPress Gallery
------------------------------------------ */

.gallery:not(body) {
  margin-left: -0.5em;
  margin-right: -0.5em;
}

.gallery:not(body):after {
  display: table;
  content: "";
  clear: both;
}

.gallery-item {
  margin: 0;
  float: left;
  padding: 0.5em;
}

.gallery-item img {
  width: 100%;
}

.gallery-columns-1 .gallery-item {
  width: 100%;
  float: none;
}

.gallery-columns-2 .gallery-item {
  width: 50%;
}

.gallery-columns-3 .gallery-item {
  width: 33.3333%;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
}

.gallery-columns-5 .gallery-item {
  width: 20%;
}

.gallery-columns-6 .gallery-item {
  width: 16.6667%;
}

.gallery-columns-7 .gallery-item {
  width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
  width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  width: 11.1111%;
}

.gallery-columns-2 .gallery-item:nth-of-type(2n + 1),
.gallery-columns-3 .gallery-item:nth-of-type(3n + 1),
.gallery-columns-4 .gallery-item:nth-of-type(4n + 1),
.gallery-columns-5 .gallery-item:nth-of-type(5n + 1),
.gallery-columns-6 .gallery-item:nth-of-type(6n + 1),
.gallery-columns-7 .gallery-item:nth-of-type(7n + 1),
.gallery-columns-8 .gallery-item:nth-of-type(8n + 1),
.gallery-columns-9 .gallery-item:nth-of-type(9n + 1) {
  clear: left;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*固定ページのクラシック版段落ブロックで画像を張り替えた際のマージン防止*/
body.page img.alignnone {
  margin: 0;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

.logged-in.admin-bar .l-header,
.logged-in.admin-bar .c-slidebar-button {
  margin-top: var(--wp-admin--admin-bar--height) !important;
}

.wp-embedded-content {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 16px;
  margin-bottom: 16px;
}

/* フォーム共通
-------------------------------------------------------------- */

.c-forms__radio.is-column-02 .error,
.c-forms__checkbox.is-column-02 .error {
  grid-column: 1 / -1;
}

.c-forms__file {
  position: relative;
}

/* MW WP Form
-------------------------------------------------------------- */

.mw_wp_form_input .u-hidden-mw-wp-input,
.mw_wp_form_confirm .u-hidden-mw-wp-confirm,
.mw_wp_form_complete .u-hidden-mw-wp-complete {
  display: none !important;
}

.mw_wp_form_confirm .c-forms__privacy {
  display: none !important;
}

.mw_wp_form_confirm #zipauto,
.mw_wp_form_confirm .c-forms__note,
.mw_wp_form_confirm .c-forms__block.is-privacy-policy {
  display: none !important;
}

.mw_wp_form_confirm .c-forms__privacy a,
.mw_wp_form_confirm .c-forms__block a {
  text-decoration: none !important;
  color: inherit !important;
  pointer-events: none !important;
}

.c-forms__privacy-button-wrapper .mwform-checkbox-field.horizontal-item {
  width: 1.5rem;
}

.mw_wp_form .horizontal-item+.horizontal-item {
  margin-left: 0;
}

.mwform-file-delete {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

/* CF7
-------------------------------------------------------------- */

.wpcf7-list-item {
  margin-left: 0;
}

.c-forms__radio .wpcf7-not-valid-tip,
.c-forms__checkbox .wpcf7-not-valid-tip {
  font-size: 0;
}

/* 疑似要素でエラーメッセージをリライト表示 */
.c-forms__radio .wpcf7-not-valid-tip::before,
.c-forms__checkbox .wpcf7-not-valid-tip::before {
  content: "選択してください。";
  font-size: 1rem;
}

.wpcf7-form.submitting .wpcf7-submit {
  opacity: 0.5;
  filter: grayscale(1);
  pointer-events: none;
}

/* Comment
-------------------------------------------------------------- */

.comment-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.comment {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  background-color: #f5f6fa;
}

.comment-author {
  margin-bottom: 10px;
}

.comment-meta {
  font-size: 0.8em;
  color: #666;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
}

.comment-form textarea,
.comment-form input[type="text"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
}

.comment-reply-link {
  margin-top: 10px;
}

.comment-reply-link.c-button.is-sm {
  padding: 0.3rem 1.1rem;
  font-size: 0.75rem;
}

.comment-reply-link:after {
  display: none;
}

.comment-notes {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.comment-form .required {
  color: #ba0000;
}

.comment-form .logged-in-as {
  display: none;
}

.comment-form-cookies-consent {
  margin: 15px 0;
  display: flex;
}

.comment-form-cookies-consent>input {
  margin-top: 2px;
  margin-right: 5px;
}

#cancel-comment-reply-link {
  font-size: 1rem;
  margin-left: 1rem;
}

/* 社員インタビュー
-------------------------------------------------------------- */
.l-section.is-interview-single-header {
  z-index: 2;
}

/* インタビュー本文内の通常の H2（旧インタビュー見出し相当） */
.p-interview-single h2.wp-block-heading {
  margin: 0 0 3.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #22262a;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.5;
}

/* p-interview-single 連続時に l-section.is-lg 相当の上余白を確保 */
.p-interview-single+.p-interview-single,
.wp-block-acf-interview-single+.wp-block-acf-interview-single {
  margin-top: 7.5rem;
  /* l-section.is-lg: 120px */
}

@media (max-width: 749px) {

  .p-interview-single h2.wp-block-heading {
    margin-bottom: 2.25rem;
    padding-bottom: 1.375rem;
    font-size: 1.5rem;
  }

  .p-interview-single+.p-interview-single,
  .wp-block-acf-interview-single+.wp-block-acf-interview-single {
    margin-top: 4rem;
    /* l-section.is-lg (SP): 64px */
  }
}

/* 記事修正
-------------------------------------------------------------- */
.c-post-password__submit .c-button {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem 0.875rem;
  border: 1px solid #d7dadf;
  border-radius: 999px;
  font-size: 0.9375rem;
  background-color: #fff;
}

/* 店舗を探す パーツ修正
-------------------------------------------------------------- */
.p-search-single-block__blocks h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.5;
}

.p-search-single-block__blocks p {
  margin-top: 2.5rem;
}


/* リストスタイル「チェックあり」
 * 本文 / エディタのデフォルト ul>li::before（黒丸 absolute）・li+li 余白を打ち消す
 * エディタは #growp-editor-wrapper（詳細度 ID）があるため同プレフィックス必須
-------------------------------------------------------------- */
:where(.l-post-content) ul.is-style-c-points-list__list,
:where(.l-post-content) ol.is-style-c-points-list__list,
:where(.l-post-content) ul.c-points-list__list,
:where(.l-post-content) ol.c-points-list__list,
ul.is-style-c-points-list__list,
ol.is-style-c-points-list__list,
ul.c-points-list__list,
ol.c-points-list__list,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  list-style: none;
  padding-left: 0;
  margin: 0;
  margin-top: 1.5rem;
  counter-reset: none;
}

@media (max-width: 1023px) {

  :where(.l-post-content) ul.is-style-c-points-list__list,
  :where(.l-post-content) ol.is-style-c-points-list__list,
  :where(.l-post-content) ul.c-points-list__list,
  :where(.l-post-content) ol.c-points-list__list,
  ul.is-style-c-points-list__list,
  ol.is-style-c-points-list__list,
  ul.c-points-list__list,
  ol.c-points-list__list,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

:where(.l-post-content) ul.is-style-c-points-list__list>li,
:where(.l-post-content) ol.is-style-c-points-list__list>li,
:where(.l-post-content) ul.c-points-list__list>li,
:where(.l-post-content) ol.c-points-list__list>li,
ul.is-style-c-points-list__list>li,
ol.is-style-c-points-list__list>li,
ul.c-points-list__list>li,
ol.c-points-list__list>li,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list>li,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list>li {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  gap: 0 0.75rem;
  background-color: #f2f4f7;
  border-radius: 4px;
  padding: 0.75rem;
  margin-top: 0;
}

:where(.l-post-content) ul.is-style-c-points-list__list>li+li,
:where(.l-post-content) ol.is-style-c-points-list__list>li+li,
:where(.l-post-content) ul.c-points-list__list>li+li,
:where(.l-post-content) ol.c-points-list__list>li+li,
ul.is-style-c-points-list__list>li+li,
ol.is-style-c-points-list__list>li+li,
ul.c-points-list__list>li+li,
ol.c-points-list__list>li+li,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list>li+li,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list>li+li {
  margin-top: 0;
}

:where(.l-post-content) ul.is-style-c-points-list__list>li::before,
:where(.l-post-content) ol.is-style-c-points-list__list>li::before,
:where(.l-post-content) ul.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
:where(.l-post-content) ol.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
ul.is-style-c-points-list__list>li::before,
ol.is-style-c-points-list__list>li::before,
ul.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
ol.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list>li::before,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list>li::before {
  content: "check";
  counter-increment: none;
  font-family: "Material Symbols Outlined Variable";
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  overflow: hidden;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  font-size: 0.9375rem;
  display: grid;
  place-items: center;
  /* デフォルト黒丸マーカーの打ち消し */
  position: static;
  top: auto;
  left: auto;
  aspect-ratio: auto;
  background: none;
  border-radius: 0;
}

@media (max-width: 749px) {

  :where(.l-post-content) ul.is-style-c-points-list__list>li,
  :where(.l-post-content) ol.is-style-c-points-list__list>li,
  :where(.l-post-content) ul.c-points-list__list>li,
  :where(.l-post-content) ol.c-points-list__list>li,
  ul.is-style-c-points-list__list>li,
  ol.is-style-c-points-list__list>li,
  ul.c-points-list__list>li,
  ol.c-points-list__list>li,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list>li,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list>li {
    font-size: 14px;
    gap: 0 10px;
    padding: 10px;
  }

  :where(.l-post-content) ul.is-style-c-points-list__list>li::before,
  :where(.l-post-content) ol.is-style-c-points-list__list>li::before,
  :where(.l-post-content) ul.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
  :where(.l-post-content) ol.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
  ul.is-style-c-points-list__list>li::before,
  ol.is-style-c-points-list__list>li::before,
  ul.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
  ol.c-points-list__list>li:not(:has(.c-icon-font, .is-icon))::before,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-c-points-list__list>li::before,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-c-points-list__list>li::before {
    font-size: 14px;
  }
}

/* リストスタイル「注釈」（is-style-note-list）※ マーカー
 * エディタの #growp-editor-wrapper ul>li::before より詳細度を上げる
-------------------------------------------------------------- */
:where(.l-post-content) ul.is-style-note-list,
:where(.l-post-content) ol.is-style-note-list,
ul.is-style-note-list,
ol.is-style-note-list,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-note-list,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-note-list {
  list-style: none;
  counter-reset: none;
}

:where(.l-post-content) ul.is-style-note-list>li,
:where(.l-post-content) ol.is-style-note-list>li,
ul.is-style-note-list>li,
ol.is-style-note-list>li,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-note-list>li,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-note-list>li {
  position: relative;
  padding-left: 1.25em;
}

:where(.l-post-content) ul.is-style-note-list>li::before,
:where(.l-post-content) ol.is-style-note-list>li::before,
ul.is-style-note-list>li::before,
ol.is-style-note-list>li::before,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ul.is-style-note-list>li::before,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) ol.is-style-note-list>li::before {
  content: "※";
  counter-increment: none;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-content: center;
  width: 1.25em;
  height: 1lh;
  aspect-ratio: auto;
  background: none;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}

/* フォーム
-------------------------------------------------------------- */
.c-forms__submit {
  pointer-events: all;
  opacity: 1;
}

.c-forms__submit .wpcf7-submit {
  transition: opacity .3s ease;
}

.c-forms__submit .wpcf7-submit:disabled {
  pointer-events: none;
  opacity: .3;
}

/* l-post-content: 画像リンク・figure の上余白（フロント / ブロックエディタ共通）
 * a は inline のため margin-top が効かない → inline-block にする
-------------------------------------------------------------- */
:where(.l-post-content) a:has(img),
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) a:has(img) {
  display: inline-block;
  margin-top: 1em;
}

:where(.l-post-content) figure,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) figure {
  margin-top: 1em;
}

:where(.is-root-container, .mce-content-body) a:has(img) {
  background: none;
}

:where(.is-root-container, .mce-content-body, .l-post-content) a:has(img):hover {
  opacity: 0.7;
}

:where(.l-post-content) details,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) details {
  padding: 20px;
  background-color: #f2f4f7;
  border-radius: 4px;
}

/* l-post-content: thead を table td と同じ padding + bold に揃える
 * （.wp-block-table は詳細度が高いため明示セレクタも併記）
-------------------------------------------------------------- */
:where(.l-post-content) table thead th,
:where(.l-post-content) table thead td,
.l-post-content .wp-block-table table thead th,
.l-post-content .wp-block-table table thead td,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table thead th,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table thead td {
  font-weight: bold;
  padding: 40px 0 40px 20px;
}

:where(.l-post-content) table :where(thead) tr:first-child th,
:where(.l-post-content) table :where(thead) tr:first-child td,
.l-post-content .wp-block-table table :where(thead) tr:first-child th,
.l-post-content .wp-block-table table :where(thead) tr:first-child td,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table :where(thead) tr:first-child th,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table :where(thead) tr:first-child td {
  padding-top: 0;
}

@media (max-width: 749px) {

  :where(.l-post-content) table thead th,
  :where(.l-post-content) table thead td,
  .l-post-content .wp-block-table table thead th,
  .l-post-content .wp-block-table table thead td,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table thead th,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table thead td {
    padding: 18px 0 30px 0;
  }

  :where(.l-post-content) table :where(thead) tr:first-child th,
  :where(.l-post-content) table :where(thead) tr:first-child td,
  .l-post-content .wp-block-table table :where(thead) tr:first-child th,
  .l-post-content .wp-block-table table :where(thead) tr:first-child td,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table :where(thead) tr:first-child th,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table :where(thead) tr:first-child td {
    padding-top: 18px;
  }
}

/* brand-table: SP でも表組み維持 + 横スクロール
-------------------------------------------------------------- */
.l-post-content .wp-block-table:has(table.has-fixed-layout.brand-table),
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) .wp-block-table:has(table.has-fixed-layout.brand-table) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 749px) {

  .l-post-content table.has-fixed-layout.brand-table,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table {
    min-width: 40rem;
  }

  .l-post-content table.has-fixed-layout.brand-table th,
  .l-post-content table.has-fixed-layout.brand-table td,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table th,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table td,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table th,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table td {
    display: table-cell;
  }

  .l-post-content table.has-fixed-layout.brand-table th,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table th,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table th {
    width: 190px;
    border-bottom: 1px solid #d7dadf;
    padding: 40px 0;
  }

  .l-post-content table.has-fixed-layout.brand-table td,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table td,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table td {
    padding: 40px 0 40px 20px;
  }

  .l-post-content table.has-fixed-layout.brand-table thead th,
  .l-post-content table.has-fixed-layout.brand-table thead td,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table thead th,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table thead td,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table thead th,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table thead td {
    padding: 40px 0 40px 20px;
  }

  .l-post-content table.has-fixed-layout.brand-table :where(thead, tbody:first-child) tr:first-child th,
  .l-post-content table.has-fixed-layout.brand-table :where(thead, tbody:first-child) tr:first-child td,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table :where(thead, tbody:first-child) tr:first-child th,
  .l-post-content .wp-block-table table.has-fixed-layout.brand-table :where(thead, tbody:first-child) tr:first-child td,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table :where(thead, tbody:first-child) tr:first-child th,
  #growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) table.has-fixed-layout.brand-table :where(thead, tbody:first-child) tr:first-child td {
    padding-top: 0;
  }
}

/* l-post-content: table の th, td を table-cell に揃える
-------------------------------------------------------------- */
@media screen and (width < 46.875em) {

  :where(.l-post-content) table th,
  :where(.l-post-content) table td {
    display: table-cell !important;
  }

  :where(.l-post-content) table th {
    width: 11.875rem !important;
  }
}

/* l-post-content: .c-button の text-link 下線背景を打ち消し
-------------------------------------------------------------- */
:where(.l-post-content) .c-button,
#growp-editor-wrapper:where(.post-type-post, .growp-post-content) :where(.is-root-container, .mce-content-body) .c-button {
  background: none;
}

/* リンクボタン: 未設定時にエディタで挿入箇所を示すプレースホルダ
 * block.php が $is_preview（エディタ）時のみ出力する。フロントには出ない。
-------------------------------------------------------------- */
.p-link-button-placeholder {
  display: block;
  padding: 12px 16px;
  border: 1px dashed #b0b6bf;
  border-radius: 4px;
  background-color: #f2f4f7;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

/* アマノカード FAQ: カテゴリリンクを FAQ デザインに揃える
-------------------------------------------------------------- */
.p-amanocard-faq-scroll {
  padding: 0 39px 120px;
}

.p-amanocard-faq-scroll__list {
  gap: 8px 0;
}

.p-amanocard-faq-scroll__link {
  gap: 0 4px;
  padding: 4px 0;
  font-size: 15px;
}

.p-amanocard-faq-scroll__link span.is-icon {
  width: 36px;
  height: 36px;
}

.p-amanocard-faq-scroll__link span.is-icon::after {
  font-size: 24px;
}

@media (max-width: 749px) {
  .p-amanocard-faq-scroll {
    padding: 0 0 64px;
  }
}

/* つながる薬局・EPARK: 管理画面から登録した画像のサイズ制御
 * Image ユーティリティが画像の実寸を出力するため、CSS で表示サイズを固定する
-------------------------------------------------------------- */
.c-service-links__icon img {
  display: block;
  width: 120px;
  height: auto;
}

.c-service-links__button-link img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 100%;
}

.c-service-links__code img {
  display: block;
  width: 56px;
  height: 56px;
}

/* アマノカード会員規約: PC の文字サイズを本文系ページに揃える
-------------------------------------------------------------- */
@media (min-width: 750px) {
  .p-amanocard-membership-terms .c-amanocard-heading.is-border-bottom {
    font-size: 32px;
  }

  .p-amanocard-membership-terms .c-amanocard-heading.is-border-left {
    font-size: 28px;
  }

  .p-amanocard-membership-terms__text,
  .p-amanocard-membership-terms .c-amanocard-text,
  .c-table.is-amanocard-membership-terms th,
  .c-table.is-amanocard-membership-terms td {
    font-size: 15px;
  }
}

/* フッターメニュー: PC ではアイコン部分もリンクとして機能させる
 * アコーディオン JS は PC 幅でリンク以外のクリックを無効化するため、
 * アイコンをクリック透過させて a 要素にクリックを渡す
 * （SP はアコーディオン開閉なので対象外）
-------------------------------------------------------------- */
@media (min-width: 750px) {
  .l-footer__block-link .c-button-icon {
    pointer-events: none;
  }
}
