@charset "UTF-8";
/* ------------------------------
  変数
------------------------------ */

:root {
  --color-white: #fff;
  --color-gray: #666;
  --color-black: #211815;
  --color-text: #4d483a;
  --color-text-base: #444;
  --color-text-dark: #b8b3a0;
  --color-border: #b09c5f;
  --color-border-base: #b19d60;
  --color-border-light: #ccc; 
  --color-hover: #7b6b2f;
}

/* ------------------------------
  背景のデザイン変更
------------------------------ */

body {
  background-repeat: repeat;
  background-position: top;
  background-color: var(--color-black);
  background-image: url(https://image.romasaga.info/assets/images/bg.png);
}

/* ------------------------------
  デザインの初期化
------------------------------ */

/* 画像の周りの不要な余白削除 */

.notion-asset-wrapper {
  margin: 0;
}

.notion-asset-wrapper + * {
  margin-top: 8px !important;
}

.notion-asset-wrapper img {
  vertical-align: top;
}

/* ------------------------------
  テキストのデザイン変更
------------------------------ */

/* フォント設定 */

.lang-ja {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* 全体共通のWrapperスタイル設定 */

.notion {
  color: var(--color-text-base);
  background: transparent;
}
@media screen and (min-width: 641px) {
  .notion {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  .notion {
    font-size: 14px;
  }
}

@media screen and (min-width: 641px) {
  .page {
    margin-left: 280px;
    padding: 0;
  }
}

@media screen and (max-width: 640px) {
  .page {
    padding-top: 60px;
  }
}

/* テキスト設定 */

.notion-text {
  padding: 0;
  margin: 0;
}

@media screen and (min-width: 641px) {
  .notion-text + * {
    margin-top: 24px !important;
  }
}

@media screen and (max-width: 640px) {
  .notion-text + * {
    margin-top: 16px !important;
  }
}

/* リンク設定 */

.notion-link,
.notion-page-link {
  color: var(--color-text);
  opacity: 1;
  border: none;
  border-radius: 0;
  text-decoration: underline;
  transition: opacity 100ms ease-in, text-decoration 100ms ease-in;
  margin-bottom: 0;
}

.notion-link:hover,
.notion-page-link:hover {
  color: var(--color-hover);
  border-color: var(--color-hover);
  background: transparent;
}

.notion-page-link-titleArea {
  padding: 0;
}

.notion-page-link-titleArea .notion-page-title {
  color: var(--color-text);
  text-decoration: inherit;
  line-height: 1.5;
}

.notion-page-link-titleArea .notion-page-title-icon {
  margin-right: 8px;
  height: 24px;
  width: 24px;
  font-size: 24px;
}

.notion-page-link-titleArea img.notion-page-icon {
  border-radius: 0;
  max-width: 24px;
  max-height: 24px;
}

.notion-page-link-titleArea .notion-page-title-text {
  position: relative;
  top: 1px;
  border-bottom: none;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-text);
}

/* ------------------------------
  リストのデザイン変更
------------------------------ */

.notion-list + * {
  margin-top: 12px;
} 

.notion-list li {
  padding: 0;
}

/* ------------------------------
  ボタンリンクのデザイン変更
------------------------------ */

.wraptas-button {
  width: 100%;
  max-width: 240px;
  padding: 11px 0;
  margin: 24px auto 0;
  color: var(--color-text);
  background-color: var(--color-white);
  border-bottom: none;
  border: 1px solid var(--color-border-base);
  border-radius: 4px;
  line-height: 1;
  font-size: 16px;
  font-weight: 600;
}

.wraptas-button:hover {
  opacity: 1;
  color: var(--color-hover);
}

.wraptas-button-nocolor {
  border: 1px solid var(--color-border-base);
  color: var(--color-text);
  background-color: var(--color-white);
}

/* ------------------------------
  見出しのデザイン変更
------------------------------ */

.notion-h1 {
  background-color: var(--color-hover);
  border-radius: 4px;
  color: var(--color-white);
  padding: 8px;
  margin: 0;
  line-height: 1;
}
@media screen and (min-width: 641px) {
  .notion-h1 {
    font-size: 24px;
  }
}
@media screen and (max-width: 640px) {
  .notion-h1 {
    font-size: 20px;
  }
}

.notion-h1 + * {
  margin-top: 24px;
}

.notion-h2 {
  border-bottom: solid 2px var(--color-hover);
  color: var(--color-text);
  padding: 12px 0 4px;
  margin-top: 24px;
  margin-bottom: 24px;
  line-height: 1.5;
}
@media screen and (min-width: 641px) {
  .notion-h2 {
    font-size: 24px;
  }
}
@media screen and (max-width: 640px) {
  .notion-h2 {
    font-size: 18px;
  }
}

.notion-h3 {
  color: var(--color-text);
  line-height: 1.5;
  padding: 0;
  margin: 0 0 24px;
}
@media screen and (min-width: 641px) {
  .notion-h3 {
    font-size: 20px;
  }
}
@media screen and (max-width: 640px) {
  .notion-h3 {
    font-size: 18px;
  }
}

.notion-column .notion-h3 {
  margin-bottom: 8px;
}

/* ------------------------------
  コンテンツエリアのデザイン変更
------------------------------ */

.container {
  max-width: 1000px;
}
@media screen and (min-width: 641px) {
  .container {
    padding: 40px 40px 0;
  }
}
@media screen and (max-width: 640px) {
  .container {
    padding: 20px 14px 0;
  }
}

.contents {
  padding-top: 0;
}

.notion-column {
  padding-top: 0;
  padding-bottom: 24px;
}

/* ------------------------------
  カバー画像のデザイン変更
------------------------------ */

.coverImage {
  height: auto;
}

/* ------------------------------
  タイトルのデザイン変更
------------------------------ */

.titleSection {
  margin-bottom: 24px;
}

.titleSection__contentsWrapper {
  display: grid;
  row-gap: 12px;
}
@media screen and (min-width: 641px) {
  .titleSection__contentsWrapper {
    grid-template-columns: 96px 1fr;
    column-gap: 16px;
  }
}
@media screen and (max-width: 640px) {
  .titleSection__contentsWrapper {
    grid-template-columns: 48px 1fr;
    column-gap: 10px;
  }
}

/* パンくずの設定 */

.titleSection .breadcrumbs {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  line-height: 1.5;
  margin-bottom: 0;
}
@media screen and (min-width: 641px) {
  .titleSection .breadcrumbs {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  .titleSection .breadcrumbs {
    font-size: 14px;
  }
}

.titleSection .breadcrumbs .breadcrumb__link {
  color: var(--color-text);
}

.titleSection .breadcrumbs .breadcrumb__link .breadcrumb__icon {
  display: none;
}

/* タイトルの設定 */

.title {
  margin-bottom: 0;
  color: var(--color-text);
}
@media screen and (min-width: 641px) {
  .title {
    font-size: 36px;
  }
}
@media screen and (max-width: 640px) {
  .title {
    font-size: 24px;
  }
}

.titleSection .pageIcon-cover {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.titleSection .title {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
@media screen and (min-width: 641px) {
  .titleSection .title {
    padding-top: 16px;
  }
}
@media screen and (max-width: 640px) {
  .titleSection .title {
    padding-top: 4px;
  }
}

/* 見出しアイコンの設定 */

.pageIcon-cover {
  line-height: 1;
  position: relative;
  top: 0;
  border-radius: 0;
}
@media screen and (min-width: 641px) {
  .pageIcon-cover {
    width: 96px;
    height: 96px;
    font-size: 96px;
  }
}
@media screen and (max-width: 640px) {
  .pageIcon-cover {
    width: 48px;
    height: 48px;
    font-size: 48px;
  }
}

.pageIconSpacer {
  height: 0;
}

/* ------------------------------
  セクションのフレーム装飾
------------------------------ */

.separatedSection {
  padding: 4px;
  position: relative;
  background: rgba(255,255,255,1);
  border: 1px solid var(--color-border);
  border-image: linear-gradient(90deg,#b09c5f 0,#e4ce94 50%,#b09c5f);
  border-image-slice: 1;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,.2));
}
@media screen and (min-width: 641px) {
  .separatedSection {
    margin-top: 40px;
  }
}
@media screen and (max-width: 640px) {
  .separatedSection {
    margin-top: 36px;
  }
}

.separatedSection#section-first {
  margin-top: 0;
}

.separatedSection:before {
  transform: rotate(0deg);
  top: 5px;
  left: 5px;
}

.separatedSection:after {
  transform: rotate(90deg);
  top: 5px;
  right: 5px;
}

.separatedSection:after,
.separatedSection:before {
  content: "";
  position: absolute;
  background-image: url(https://image.romasaga.info/assets/images/img-frame.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 38px 38px;
  width: 38px;
  height: 38px;
}

.separatedSection__contentsWrapper {
  border: 1px solid var(--color-border);
  border-image: linear-gradient(90deg,rgba(176,156,95,.4) 0,hsla(44,60%,74%,.4) 50%,rgba(176,156,95,.4));
  border-image-slice: 1;
}
@media screen and (min-width: 641px) {
  .separatedSection__contentsWrapper {
    padding: 55px;
  }
}
@media screen and (max-width: 640px) {
  .separatedSection__contentsWrapper {
    padding: 31px 19px;
  }
}

.separatedSection__contentsWrapper:before {
  transform: rotate(270deg);
  bottom: 5px;
  left: 5px;
}

.separatedSection__contentsWrapper:after {
  transform: rotate(180deg);
  bottom: 5px;
  right: 5px;
}

.separatedSection__contentsWrapper:after,
.separatedSection__contentsWrapper:before {
  content: "";
  position: absolute;
  background-image: url(https://image.romasaga.info/assets/images/img-frame.svg);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 38px 38px;
  width: 38px;
  height: 38px;
}

/* ------------------------------
  データベースのデザイン変更
------------------------------ */

/* ヘッドパーツの非表示設定 */

.notion-collection-header {
  display: none;
}

/* アコーディオンの非表示設定 */

.notion-collection-group-title {
  display: none;
}

/* トピックス下層の上部プロパティを非表示 */

.notion-collection-row-wrapper {
  display: none;
}

/* ギャラリーの設定 */

.notion-gallery-grid {
  gap: 24px;
  border-top: none;
  padding-top: 0;
  padding-bottom: 0;
  grid-auto-rows: auto;
}

.notion-gallery-grid-size-large {
  grid-template-columns: repeat(auto-fill, minmax(378px, 1fr));
}

.notion-gallery-grid-size-medium {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.notion-gallery-grid-size-small {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (min-width: 1081px) {
  .notion-gallery-grid-size-medium,
  .notion-gallery-grid-size-small {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 961px) and (max-width: 1080px) {
  .notion-gallery-grid-size-medium,
  .notion-gallery-grid-size-small {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 641px) and (max-width: 960px) {
  .notion-gallery-grid-size-medium,
  .notion-gallery-grid-size-small {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* カードの設定 */

.notion-collection-card {
  box-shadow: none;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
}

.notion-collection-card-cover {
  height: auto;
}

.notion-collection-card-body {
  padding: 12px 12px 12px;
  color: var(--color-gray);
}

.notion-collection-card-body .notion-page-title-text {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}
@media screen and (min-width: 641px) {
  .notion-collection-card-body .notion-page-title-text {
    font-size: 16px !important;
  }
}
@media screen and (max-width: 640px) {
  .notion-collection-card-body .notion-page-title-text {
    font-size: 14px !important;
  }
}

.notion-collection-card .notion-page-title-icon {
  display: none;
}

.notion-collection-card-property:first-child {
  padding: 0;
}

.notion-collection-card-property:not(:first-child) {
  padding: 8px 0 0;
  white-space: normal;
}

.notion-collection-card-property b {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}
@media screen and (min-width: 641px) {
  .notion-collection-card-property b {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  .notion-collection-card-property b {
    font-size: 14px;
  }
}

.notion-item-default {
  background-color: transparent;
}

.notion-property-select-item {
  padding: 0;
  border-radius: 0;
  height: auto;
  line-height: 1.5;
}

.notion-collection-card .notion-property-select {
  margin: 0;
}

.notion-gallery-grid-size-medium a.notion-collection-card {
  pointer-events: none;
}

.notion-gallery-grid-size-medium a.notion-collection-card a.notion-link {
  pointer-events: initial;
}

.notion-collection-card:hover {
  background: transparent;
}

.notion-gallery-grid-size-small .notion-collection-card {
  border: none;
  border-radius: 0;
  background: none;
}

.notion-gallery-grid-size-small .notion-collection-card-body {
  padding: 8px 0 0;
}

@media screen and (min-width: 641px) {
  .notion-gallery-grid-size-small .notion-collection-card-property {
    font-size: 16px;
  }
}
@media screen and (max-width: 640px) {
  .notion-gallery-grid-size-small .notion-collection-card-property {
    font-size: 14px;
  }
}

.notion-collection-group[open] {
  margin-bottom: 0;
}

.notion-collection-group .notion-gallery-grid {
  padding: 0;
}

.notion-collection-group .notion-gallery-grid + * {
  margin-top: 16px;
}

/* カードサイズ小で画像の高さを固定にしない */

.notion-collection-card-size-small .notion-collection-card-cover {
  height: auto;
}

/* カードサイズ小で画像の下borderを非表示 */

.notion-collection-card-size-small .notion-collection-card-cover {
  border-bottom: none;
}

/* カードサイズ小でテキストリンクのスタイルを適用 */

.notion-collection-card-size-small .notion-collection-card-body .notion-page-title-text {
  color: var(--color-text);
  opacity: 1;
  border: none;
  text-decoration: underline;
  transition: opacity 100ms ease-in, text-decoration 100ms ease-in;
}

.notion-collection-card-size-small .notion-collection-card-body .notion-page-title-text:hover {
  color: var(--color-hover);
}

.notion-collection-card-size-small .notion-collection-card-body .notion-page-title {
  display: inline-block;
}

/* グリッドシステムの設定 */

.notion-row + *:not(.wraptas-button-wrapper) {
  margin-top: 24px;
}
@media (min-width: 641px) and (max-width: 960px) {
  .notion-row + *:not(.wraptas-button-wrapper) {
    margin-top: 24px;
  }
}
@media screen and (max-width: 640px) {
 .notion-row + *:not(.wraptas-button-wrapper) {
    margin-top: 12px;
  }
}

.notion-column {
  padding: 0;
}

@media (min-width: 641px) and (max-width: 960px) {  
  .notion-row {
    flex-direction: column;
  }
}

@media (min-width: 641px) and (max-width: 960px) {
  .notion-row > *,
  .notion-column > * {
    width: 100% !important;
    box-sizing: border-box;
  }
}

@media (min-width: 641px) and (max-width: 960px) { 
  .notion-spacer {
    height: 24px;
  }
}
@media screen and (max-width: 640px) {
  .notion-spacer {
    height: 16px;
  }
}

/* ------------------------------
  ヘッダーのデザイン変更
------------------------------ */

@media screen and (min-width: 641px) {
  .header {
    width: 280px;
    height: auto;
    top: 0;
    bottom: 0;
    padding: 4px;
    border: 1px solid var(--color-border);
    border-image: linear-gradient(90deg,#b09c5f 0,#e4ce94 50%,#b09c5f);
    border-image-slice: 1;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.2));
  }
}
@media screen and (max-width: 640px) {
  .header {
    height: 60px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.12);
  }
}

/* ナビゲーションの設定 */

@media screen and (max-width: 640px) {
  .header__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 100%;
    max-height: 100svh;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
  }
}

@media screen and (max-width: 640px) {
  .header__menuWrapper {
    height: 100%;
    padding: 0 32px;
  }
  .header__menuWrapper::before,
  .header__menuWrapper::after {
    content: '';
    width: 100%;
    height: 40px;
    display: inline-block;
  }
}

@media screen and (min-width: 641px) {
  .header__contentsWrapper {
    flex-direction: column;
    justify-content: start;
    align-items: start;
    height: 100%;
    padding: 24px 26px 56px;
    border: 1px solid var(--color-border);
    border-image: linear-gradient(90deg,#b09c5f 0,#e4ce94 50%,#b09c5f);
    border-image-slice: 1;
  }
}
@media screen and (max-width: 640px) {
  .header__contentsWrapper {
    min-height: 60px;
    padding: 0 12px 0 16px;
    gap: 12px;
  }
  .header__contentsWrapper .header__logoArea img {
    height: 50%;
  }
}

@media screen and (min-width: 641px) {
  .header__logoArea {
    width: 100%;
    flex-grow: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-base);
  }
}

@media screen and (min-width: 641px) {
  .header__img {
    height: auto;
  }
}

@media screen and (min-width: 641px) {
  .header__btns {
    flex-direction: column;
    margin-left: 0;
    flex-grow: 1;
    justify-content: start;
    width: 100%;
    overflow: auto;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border-base);
  }
}

.header__btn,
.header__menuBtn {
  color: var(--color-text);
}
.header__btn:hover,
.header__menuBtn:hover {
  color: var(--color-hover);
  opacity: 1;
}

@media screen and (min-width: 641px) {
  .header__btn:not(:first-child) {
    margin-left: 0;
  }
}

.header__menuBtn:not(:nth-last-child(2)) {
  margin-bottom: 0;
}

.header__btn.level-2,
.header__menuBtn.level-2 {
  font-weight: bold;
}

.header__btn.level-2:not(:nth-of-type(1)),
.header__menuBtn.level-2:not(:nth-of-type(1)) {
  margin-top: 8px;
}

.header__btn.level-3,
.header__menuBtn.level-3 {
  font-weight: 600;
  margin-left: 24px;
  margin-bottom: 4px;
  color: var(--color-text);
}

.header__btn.level-3:hover,
.header__menuBtn.level-3:hover {
  color: var(--color-hover);
}

.header__btn.level-3.current,
.header__menuBtn.level-3.current {
  color: var(--color-black);
}

.header__btn.level-3:has(+ .level-2) {
  margin-bottom: 8px;
}

.header__menuBtn.level-3:has(+ .level-2) {
  margin-bottom: 18px;
}

.header__btn.level-2:not(:has(+ .level-3)),
.header__menuBtn.level-2:not(:has(+ .level-3)) {
  color: var(--color-text);
}

.header__btn.level-2:not(:has(+ .level-3)):hover,
.header__menuBtn.level-2:not(:has(+ .level-3)):hover {
  color: var(--color-hover);
}

.header__btn.level-2:not(:has(+ .level-3)).current,
.header__menuBtn.level-2:not(:has(+ .level-3)).current {
  color: var(--color-black);
}

.header__btn.level-2:has(+ .level-3),
.header__menuBtn.level-2:has(+ .level-3) {
  padding-left: 32px;
  background: url(https://image.romasaga.info/assets/images/chevron_right_black_24dp.png) no-repeat;
  color: var(--color-text-dark);
  pointer-events: none;
}

.header__btn.level-2:has(+ .level-3) {
  margin-bottom: 8px;
}

.header__menuBtn.level-2:has(+ .level-3) {
  margin-bottom: 18px;
}

/* メニューの新規追加スタイルの設定 */

.header__btn.level-2.new::after,
.header__btn.level-3.new::after,
.header__menuBtn.level-2.new::after,
.header__menuBtn.level-3.new::after {
  content: 'New!';
  color: var(--notion-red);
  padding-left: 8px;
}

/* 検索ボタンの設定 */

.header__searchOpenBtn svg {
  fill: var(--color-text);
}

.header__searchOpenBtn:hover svg {
  fill: var(--color-hover);
}

@media screen and (min-width: 641px) {
  .header__searchOpenBtn {
    justify-content: left;
    margin-left: 0;
    position: absolute;
    bottom: 16px;
    left: 30px;
    right: 30px;
    width: calc(100% - 30px * 2);
    height: 24px;
  }
  
  .header__searchOpenBtn:hover {
    background-color: transparent;
  }
  
  .header__searchOpenBtn::after {
    content: 'サイト内検索';
    margin-left: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
  }
  
  .header__searchOpenBtn:hover::after {
    color: var(--color-hover);
  }
}

/* ハンバーガーメニューの設定 */

@media screen and (max-width: 640px) {
  .header__menuCloseBtn {
    top: 18px;
    right: 12px;
  }
}

@media screen and (max-width: 640px) {
  .header__menuOpenBtn,
  .header__menuCloseBtn,
  .header__searchOpenBtn {
    border-radius: 0;
    width: 24px;
    height: 24px;
  }
  
  .header__menuOpenBtn:hover,
  .header__menuCloseBtn:hover,
  .header__searchOpenBtn:hover {
    background-color: transparent;
  }
  
  .header__menuOpenBtn svg,
  .header__searchOpenBtn svg {
    width: 18px;
  }
  
  .header__menuCloseBtn svg {
    width: 14px;
  }
}

/* ------------------------------
  フッターのデザイン変更
------------------------------ */

.footer {
  text-align: center;
  margin-top: 0;
  padding: 28px 0 24px;
}

.footer small {
  font-size: 12px;
  color: var(--color-gray);
}

/* ------------------------------
  外部リンク・マップのアイコン追加
------------------------------ */

/* マップのアイコン設定 */

a.is-map:not(.notion-collection-card),
a.is-map.notion-collection-card .notion-page-title-text {
  position: relative;
  z-index: 0;
  text-decoration: underline;
  display: inline-block;
}
@media screen and (min-width: 641px) {
  a.is-map:not(.notion-collection-card),
  a.is-map.notion-collection-card .notion-page-title-text {
    padding-left: 28px;
  }
}
@media screen and (max-width: 640px) {
  a.is-map:not(.notion-collection-card),
  a.is-map.notion-collection-card .notion-page-title-text {
    padding-left: 24px;
  }
}

a.is-map:not(.notion-collection-card)::before,
a.is-map.notion-collection-card .notion-page-title-text::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  background-image: url(https://image.romasaga.info/assets/images/icon-map.svg);
  background-repeat: no-repeat;
}
@media screen and (min-width: 641px) {
  a.is-map:not(.notion-collection-card)::before,
  a.is-map.notion-collection-card .notion-page-title-text::before {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
  }
}
@media screen and (max-width: 640px) {
  a.is-map:not(.notion-collection-card)::before,
  a.is-map.notion-collection-card .notion-page-title-text::before {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
  }
}

a.is-map .notion-collection-card-cover:has(.notion-collection-card-cover-empty) {
  display: none;
}

/* 外部リンクのアイコン設定 */

a[target="_blank"].is-external:not(.wraptas-button):not(.asset-link) {
  position: relative;
  z-index: 0;
  display: inline-block;
}
@media screen and (min-width: 641px) {
  a[target="_blank"].is-external:not(.wraptas-button):not(.asset-link) {
    padding-left: 28px;
  }
}
@media screen and (max-width: 640px) {
  a[target="_blank"].is-external:not(.wraptas-button):not(.asset-link) {
    padding-left: 24px;
  }
}

a[target="_blank"].is-external:not(.wraptas-button):not(.asset-link)::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  background-image: url(https://image.romasaga.info/assets/images/icon-external-link.svg);
  background-repeat: no-repeat;
}
@media screen and (min-width: 641px) {
  a[target="_blank"].is-external:not(.wraptas-button):not(.asset-link)::before {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
  }
}
@media screen and (max-width: 640px) {
  a[target="_blank"].is-external:not(.wraptas-button):not(.asset-link)::before {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
  }
}

/* 内部リンクのアイコン設定 */

a.is-internal:not(.wraptas-button):not(.asset-link):not(.notion-hash-link) {
  position: relative;
  z-index: 0;
  display: inline-block;
}
@media screen and (min-width: 641px) {
  a.is-internal:not(.wraptas-button):not(.asset-link):not(.notion-hash-link) {
    padding-left: 28px;
  }
}
@media screen and (max-width: 640px) {
  a.is-internal:not(.wraptas-button):not(.asset-link):not(.notion-hash-link) {
    padding-left: 24px;
  }
}

a.is-internal:not(.wraptas-button):not(.asset-link):not(.notion-hash-link)::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  background-image: url(https://image.romasaga.info/assets/images/icon-internal-link.svg);
  background-repeat: no-repeat;
}
@media screen and (min-width: 641px) {
  a.is-internal:not(.wraptas-button):not(.asset-link):not(.notion-hash-link)::before {
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
  }
}
@media screen and (max-width: 640px) {
  a.is-internal:not(.wraptas-button):not(.asset-link):not(.notion-hash-link)::before {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
  }
}