@charset "utf-8";

/* 英字セクション見出し：PC・SP共通 */
.greatlocal-page .greatlocal-section-title {
  font-family: "EB Garamond", Georgia, serif;
}

/* PCも見出しをサブタイトルの上に配置 */
@media (min-width: 821px) {
  .greatlocal-page .greatlocal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .greatlocal-page .greatlocal-section-title {
    writing-mode: horizontal-tb;
    font-size: 30px;
    margin-block-end: 10px;
  }
}

@media (max-width: 820px) {
  .greatlocal-page .greatlocal-section-title {
    font-size: 24px;
  }

  .greatlocal-page .greatlocal-section-subtitle {
    font-size: 16px;
  }

  /* SPでは柄名の高さを内容に合わせ、画像の上下の余白を統一 */
  .greatlocal-page .greatlocal-pattern-name {
    min-height: 0;
    margin-block-end: 24px;
  }

  .greatlocal-page .greatlocal-pattern-card > a {
    display: block;
  }

  .greatlocal-page .greatlocal-pattern-card > p {
    margin-block-start: 24px;
  }
}
