/* ==========================================================
   ARARANO MEMO UI
   Tegalog skin
========================================================== */

:root {
  --ar-bg: #fbfaf3;
  --ar-panel: #f5f7ee;
  --ar-panel-2: #e8efe4;
  --ar-main: #315e55;
  --ar-middle: #6e9887;
  --ar-accent: #b7d77d;
  --ar-light: #e6f1cf;
  --ar-text: #334b46;
  --ar-muted: #71857d;
  --ar-shadow: #70857d;
  --ar-white: #ffffff;

  --ar-font: "BIZ UDPGothic", "Yu Gothic UI", "Meiryo", sans-serif;
  --ar-title-font: "MS UI Gothic", "BIZ UDPGothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 0;
}

body.ar-memo-body {
  margin: 0;
  color: var(--ar-text);
  font-family: var(--ar-font);
  font-size: 13px;
  background-color: #dfe9dc;
  background-image:
    linear-gradient(rgba(72, 105, 91, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 105, 91, .22) 1px, transparent 1px);
  background-size: 24px 24px;
}

a {
  color: var(--ar-main);
}

img {
  max-width: 100%;
}

.ar-memo-shell {
  width: min(calc(100% - 28px), 800px);
  margin: 28px auto 54px;
}

/* ==========================================================
   MAIN APP WINDOW
========================================================== */

.ar-app-window {
  overflow: hidden;
  background: var(--ar-panel);
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #71877f;
  border-bottom: 2px solid #71877f;
  box-shadow: 2px 2px 0 rgba(37, 72, 65, .18), 7px 7px 0 rgba(37, 72, 65, .08);
}

.ar-titlebar,
.ar-post-titlebar,
.ar-subtitlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--ar-title-font);
}

.ar-titlebar {
  min-height: 34px;
  padding: 4px 5px 4px 9px;
  color: #fff;
  background: linear-gradient(90deg, var(--ar-main), var(--ar-middle));
}

.ar-titlebar__title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}

.ar-titlebar__icon {
  font-size: 9px;
}

.ar-window-buttons,
.ar-post-window-buttons {
  display: flex;
  gap: 2px;
}

.ar-window-buttons span,
.ar-post-window-buttons span {
  display: grid;
  place-items: center;
  color: #2d514a;
  background: #e8eee7;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #667d74;
  border-bottom: 1px solid #667d74;
}

.ar-window-buttons span {
  width: 20px;
  height: 18px;
  font-size: 10px;
}

/* ==========================================================
   TOOLBAR
========================================================== */

.ar-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 5px 7px;
  background: #e3e9e1;
  border-bottom: 1px solid #91a39b;
}

.ar-toolbar a {
  padding: 3px 7px;
  color: #405b55;
  font-size: 10px;
  text-decoration: none;
  border: 1px solid transparent;
}

.ar-toolbar a:hover {
  background: #f6f8f1;
  border-top-color: #fff;
  border-left-color: #fff;
  border-right-color: #81968d;
  border-bottom-color: #81968d;
}

.ar-toolbar__admin {
  margin-left: auto;
}

/* ==========================================================
   PROFILE
========================================================== */

.ar-profile-window {
  margin-left: 18px;
  background: rgba(255,255,255,.66);
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #879c93;
  border-bottom: 1px solid #879c93;
}

.ar-subtitlebar {
  min-height: 25px;
  padding: 3px 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--ar-middle);
}

.ar-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.ar-profile__icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  image-rendering: pixelated;
}

.ar-profile__text {
  min-width: 0;
}

.ar-profile__name,
.ar-profile__id {
  display: block;
}

.ar-profile__name {
  color: var(--ar-main);
  font-size: 15px;
}

.ar-profile__id {
  margin-top: 2px;
  color: var(--ar-muted);
  font-size: 9px;
}

.ar-profile__text p {
  margin: 7px 0;
  line-height: 1.65;
}

.tegalog-counter {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 5px;
  color: #657a72;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: .06em;
  background: #edf2e7;
  border: 1px inset #d3ddd2;
}

/* ==========================================================
   SEARCH / SITUATION
========================================================== */

.ar-search-window {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 18px;
  padding: 7px 9px;
  background: #e7ece4;
  border: 1px solid #b2c0b8;
}

.ar-search-label {
  flex-shrink: 0;
  color: var(--ar-muted);
  font-family: monospace;
  font-size: 9px;
}

.ar-search-window .searchbox,
.ar-search-window .searchinputs {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.ar-search-window .queryinput {
  min-width: 0;
  width: 100%;
  padding: 4px 6px;
  color: var(--ar-text);
  font: inherit;
  font-size: 10px;
  background: #fff;
  border: 1px inset #a6b5ad;
}

.ar-search-window .submitbutton {
  padding: 3px 9px;
  color: #3e5953;
  font: inherit;
  font-size: 9px;
  background: #e6ece4;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #788d84;
  border-bottom: 1px solid #788d84;
  cursor: pointer;
}

.ar-situation:empty {
  display: none;
}

.ar-situation {
  margin: 10px 18px;
  padding: 6px 8px;
  color: #5b7169;
  font-size: 10px;
  background: var(--ar-light);
  border-left: 4px solid var(--ar-accent);
}

/* ==========================================================
   POST LIST
========================================================== */

.ar-post-list {
  display: grid;
  gap: 18px;
  padding: 10px 18px 18px;
}

.ar-post-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
}

/* 投稿アイコンは原寸 */
.memo-post-icon {
  flex-shrink: 0;
}

.memo-post-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  image-rendering: pixelated;
}

.ar-post-window {
  min-width: 0;
  overflow: hidden;
  background: #fafbf7;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid var(--ar-shadow);
  border-bottom: 2px solid var(--ar-shadow);
  box-shadow: 2px 2px 0 rgba(41, 77, 70, .10);
}

.ar-post-titlebar {
  min-height: 27px;
  padding: 3px 4px 3px 7px;
  color: #fff;
  background: linear-gradient(90deg, var(--ar-main), #729687);
}

.ar-post-titlebar__link {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ar-post-window-buttons span {
  width: 17px;
  height: 16px;
  font-size: 8px;
}

.ar-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 25px;
  padding: 4px 9px;
  color: #74877f;
  font-size: 8px;
  background: #e8ede5;
  border-bottom: 1px solid #b4c0b9;
}

.ar-post-number {
  font-family: monospace;
}

.ar-post-new {
  margin-left: auto;
  color: #718d50;
  font-weight: 700;
}

.ar-post-content {
  padding: 13px 14px;
  color: #354e48;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.ar-post-content p:first-child {
  margin-top: 0;
}

.ar-post-content p:last-child {
  margin-bottom: 0;
}

.ar-post-content img {
  width: auto;
  height: auto;
  max-width: min(100%, 500px);
  max-height: 600px;
  object-fit: contain;
}

.ar-post-content a[data-lightbox] img,
.ar-post-content a[href] > img {
  cursor: zoom-in;
}

.ar-post-content a {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.ar-post-categories {
  padding: 0 13px 7px;
  color: var(--ar-muted);
  font-size: 8px;
}

.ar-post-categories:empty {
  display: none;
}

/* ==========================================================
   REACTIONS
========================================================== */

.ar-post-footer {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 7px 9px;
  background: #edf1e9;
  border-top: 1px dotted #9ead9f;
}

.tegalog-reactions {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.tegalog-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 2px 5px;
  color: #64776f;
  font: inherit;
  font-size: 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, border-color .15s ease;
}

.tegalog-reaction:hover {
  transform: translateY(-1px);
  background: rgba(175, 210, 145, .18);
  border-color: rgba(92, 140, 108, .18);
}

.tegalog-reaction.is-reacted {
  background: rgba(184, 224, 190, .24);
  border-color: rgba(92, 150, 112, .30);
}

.tegalog-reaction-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  min-width: 0;
}

.tegalog-reaction-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  image-rendering: pixelated;
}

.tegalog-reaction-count {
  min-width: 1ch;
  font-size: 9px;
  line-height: 1;
}

.tegalog-reaction.is-pop {
  animation: ar-reaction-pop .22s ease;
}

.tegalog-reaction-status {
  flex-basis: 100%;
  min-height: 1.4em;
  color: #8a4c45;
  font-size: 11px;
  line-height: 1.4;
}

.tegalog-reaction-status:empty {
  display: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ar-main);
  outline-offset: 3px;
}

@keyframes ar-reaction-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.16); }
  100% { transform: scale(1); }
}

.ar-post-permalink {
  margin-left: auto;
  padding: 3px 6px;
  flex: 0 0 auto;
  color: #5c746c;
  font-size: 8px;
  text-decoration: none;
  background: #e5ece3;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #81968d;
  border-bottom: 1px solid #81968d;
}

/* スマホ：4リアクション + OPEN を必ず1行に収める */
@media screen and (max-width: 600px) {

  .ar-post-footer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2px;
    padding: 5px;
  }

  .tegalog-reactions {
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    min-width: 0;
  }

  .tegalog-reaction {
    flex: 0 1 auto;
    min-width: 0;
    padding: 1px 2px;
    gap: 2px;
    overflow: visible;
  }

  .tegalog-reaction-icon {
    flex-shrink: 0;
  }

  .tegalog-reaction-icon img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    object-fit: contain;
  }

  .tegalog-reaction-count {
    min-width: 0;
    font-size: 8px;
  }

  .ar-post-permalink {
    flex-shrink: 0;
    margin-left: 2px;
    padding: 2px 4px;
    font-size: 7px;
  }
}


/* ==========================================================
   PAGINATION / STATUS
========================================================== */

.ar-pagination {
  padding: 10px 18px 14px;
  text-align: center;
  font-size: 10px;
}

.ar-pagination a {
  display: inline-block;
  margin: 2px;
  padding: 3px 6px;
  text-decoration: none;
  background: #e5ece3;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #81968d;
  border-bottom: 1px solid #81968d;
}

.ar-pagination__prevnext,
.ar-pagination__home {
  margin-top: 5px;
}

.ar-statusbar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 4px;
  padding: 4px;
  color: #60746d;
  font-size: 8px;
  background: #dfe6de;
  border-top: 1px solid #8fa198;
}

.ar-statusbar span {
  padding: 3px 5px;
  overflow: hidden;
  background: #edf1ea;
  border-top: 1px solid #91a39a;
  border-left: 1px solid #91a39a;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ==========================================================
   MOBILE
========================================================== */

@media screen and (max-width: 600px) {
  .ar-memo-shell {
    width: min(calc(100% - 14px), 860px);
    margin: 10px auto 28px;
  }

  .ar-toolbar {
    gap: 1px;
  }

  .ar-toolbar a {
    padding-inline: 5px;
    font-size: 9px;
  }

  .ar-toolbar__admin {
    margin-left: 0;
  }

  .ar-profile-window,
  .ar-search-window,
  .ar-situation {
    margin-left: 9px;
    margin-right: 9px;
  }

  .ar-profile {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
  }

  .ar-search-window {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .ar-post-list {
    gap: 20px;
    padding: 9px;
  }

  /* モバイルもアイコンを投稿窓の左側に固定 */
  .ar-post-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 7px;
  }

  .memo-post-icon {
    justify-self: start;
  }

  .ar-post-content {
    padding: 11px;
    font-size: 15px;
    line-height: 1.85;
  }

  .ar-statusbar {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 390px) {
  .ar-titlebar__title {
    font-size: 10px;
  }

  .ar-profile {
    grid-template-columns: 1fr;
  }

  .ar-profile__icon {
    justify-self: center;
  }

  .ar-profile__text {
    text-align: center;
  }

  .ar-post-meta {
    gap: 5px;
  }

  .ar-post-permalink {
    margin-left: 0;
  }
}

/* ==========================================================
   2026-08 COMMON POST ICON / MATCHED WINDOW WIDTH

   投稿窓と PROFILE.ini の横幅を揃えるため、
   左側に共通アイコン用の同じ幅のガターを取ります。
========================================================== */

:root {
  --ar-post-icon-width: 64px;
  --ar-post-icon-gap: 11px;
}

/* PROFILE.ini の左端を投稿窓の左端に揃える */
.ar-profile-window {
  margin-left: calc(18px + var(--ar-post-icon-width) + var(--ar-post-icon-gap));
}

.ar-post-row {
  grid-template-columns: var(--ar-post-icon-width) minmax(0, 1fr);
  gap: var(--ar-post-icon-gap);
  width: 100%;
}

.memo-post-icon {
  width: var(--ar-post-icon-width);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.memo-post-icon img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  image-rendering: pixelated;
}

.ar-post-window {
  width: 100%;
}

/* ==========================================================
   NSFW IMAGE CUSHION
========================================================== */

.ar-nsfw-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  padding: 7px 8px;
  color: #664d42;
  font-size: 10px;
  background: #f4eadb;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #a88f7c;
  border-bottom: 1px solid #a88f7c;
}

.ar-nsfw-notice__label {
  font-weight: 700;
  letter-spacing: .05em;
}

.ar-nsfw-reveal {
  margin-left: auto;
  padding: 3px 7px;
  color: #59483f;
  font: inherit;
  font-size: 9px;
  background: #eee6da;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #8f7c6e;
  border-bottom: 1px solid #8f7c6e;
  cursor: pointer;
}

.ar-nsfw-reveal:disabled {
  color: #83776f;
  cursor: default;
}

.ar-post-content img.ar-nsfw-image {
  transition: filter .18s ease, opacity .18s ease;
}

.ar-post-content img.ar-nsfw-image.is-nsfw-blurred {
  filter: blur(18px);
  opacity: .72;
  cursor: pointer;
  user-select: none;
}

/* blurで画像の外周が少し膨らむのを抑える */
.ar-post-content a:has(> img.ar-nsfw-image.is-nsfw-blurred),
.ar-post-content p:has(> img.ar-nsfw-image.is-nsfw-blurred) {
  overflow: hidden;
}

@media screen and (max-width: 600px) {
  :root {
    --ar-post-icon-width: 46px;
    --ar-post-icon-gap: 7px;
  }

  .ar-profile-window {
    margin-left: calc(9px + var(--ar-post-icon-width) + var(--ar-post-icon-gap));
    margin-right: 9px;
  }

  .ar-post-row {
    grid-template-columns: var(--ar-post-icon-width) minmax(0, 1fr);
    gap: var(--ar-post-icon-gap);
  }

  .ar-nsfw-notice {
    align-items: flex-start;
  }

  .ar-nsfw-reveal {
    margin-left: 0;
  }
}

@media screen and (max-width: 390px) {
  /* プロフィールも投稿窓と同じ横幅を維持 */
  .ar-profile-window {
    margin-left: calc(9px + var(--ar-post-icon-width) + var(--ar-post-icon-gap));
  }
}


/* ==========================================================
   FIX: MOBILE PROFILE ALIGNMENT
========================================================== */
@media screen and (max-width: 600px) {
  /* モバイルでは PROFILE.ini を通常幅へ戻す。
     末尾で強制上書きし、投稿アイコン用ガターを完全に無効化する。 */
  .ar-memo-shell .ar-app-window .ar-profile-window {
    margin: 16px 9px 10px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }
}

/* ==========================================================
   PC PROFILE 左余白調整
========================================================== */

@media screen and (min-width: 601px) {
  .ar-memo-shell .ar-app-window .ar-profile-window {
    margin-left: 18px !important;
    margin-right: 18px !important;
  }
}

/* 投稿画像はPCで最大500px、スマホでは投稿欄に収める */
@media screen and (max-width: 600px) {
  .ar-post-content img {
    max-height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ================================================================ */
/* てがろぐVer 4.5.5β以降で使える、カード型リンク用CSSの抜粋です。 */
/* お使いのスキンのCSSに追記するなどしてご活用下さい。              */
/* ================================================================ */

	/* ---------------------- */
	/* ▼カード型リンクの装飾 */
	/* ---------------------- */
	.cardlink {
		display: inline-block;
		width: 100%;
		max-width: 500px;               /* 最大幅 (※横幅を制限したくない場合はこれを削除して下さい) */
		padding: 0 0.25em 0.5em 0;      /* 内側の余白量 */
		font-size: 0.9rem;              /* 文字サイズ */
		text-decoration: none;          /* リンク文字の下線を消す */
		vertical-align: middle;         /* 行内の上下方向では中央配置 */
	}

		/* ------------------------------------- */
		/* リンクカードの装飾(サイズS/L共通部分) */		/* ※後述の「サイズS用の追記」や「サイズL用の追記」と合わせて、1つのカードデザインになります。 */
		/* ------------------------------------- */
		/* カード外枠 */
		.cardlinkbox {
			border: 1px solid #ccc;    /* 枠線 */
			border-radius: 7px;        /* 角丸 */
			background-color: white;   /* 背景色 */
			display: flex;             /* 内部レイアウトのFlexbox化 */
		}
		/* (マウスが載ったとき) */
		.cardlinkbox:hover {
			background-color: #f5fff5; /* 背景色 */
			border-color: #8c8;        /* 枠線色 */
		}
			/* ▽リンクカード内の画像枠 (※読み込まれたog:imageは、この枠に《背景画像として》描画されます) */
			.cardlinkimage {
				background-image: linear-gradient(-30deg, #8a8, #e0f0e0);  /* プレースホルダ的な背景グラデーション(※og:imageの画像指定が読み込まれたら、この値は上書きされます) */
				background-size: cover;             /* 背景画像で枠を埋める */
				background-position: center center; /* 背景画像を中央に寄せる */
				background-repeat: no-repeat;       /* 背景画像を繰り返さない */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardlinktextbox {
				display: flex;          /* Flexbox化 */
				flex-direction: column; /* 子要素を縦方向に並べる */
				padding: 0.5em 1em;     /* 内側の余白量 */
			}
				/* ▽リンクカードのテキスト枠内の3要素共通 */
				.cardlinktitle,
				.cardlinkdescription,
				.cardlinkurl {
					/* ↓表示行数を制限するための準備 (※システム側では文字数は制限せずに「記述されている全文字」をHTMLに出力しますので、表示分量を制限したい場合はCSSで制御する必要があります。) */
					display: -webkit-box;          /* -webkit-line-clampを使うために必要な記述1 ※A */
					-webkit-box-orient: vertical;  /* -webkit-line-clampを使うために必要な記述2 ※A */
					overflow: hidden;              /* 表示量を制限する場合に必須の記述 */
					/* ↓制限の仕様 */
					line-clamp: 1;                 /* 1行だけ見せる (将来的にはこれだけで実現可能かも) */
					-webkit-line-clamp: 1;         /* 1行だけ見せる (今のブラウザにはこちらが必要で、そのためには上記「※A」も必要) */
					text-overflow: ellipsis;       /* 省略記号(三点リーダー) */
				}
				/* リンクタイトル */
				.cardlinktitle {
					padding-bottom: 0.25em;        /* 内側下端の余白量 */
				}
				/* リンク概要文 */
				.cardlinkdescription {
					line-height:1.3;               /* 行の高さ */
					color:#555;                    /* 文字色 */
					line-clamp: 2;                 /* (既存指定の上書き) 最大2行まで見せる */
					-webkit-line-clamp: 2;         /* (既存指定の上書き) 最大2行まで見せる */
				}
				/* リンクドメイン */
				.cardlinkurl {
					color: #999;                   /* 文字色 */
				}

		/* ----------------------------------- */
		/* リンクカードの装飾(サイズS用の追記) */		/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
		/* ----------------------------------- */
		.cardsize-S {
			flex-direction: row;                /* 画像とテキストは横に並べる(Flexbox) */
		}
			/* ▽リンクカード内の画像枠 */
			.cardsize-S .cardlinkimage {
				min-width: 100px;           /* 最小の横幅 */
				min-height: 100px;          /* 最小の高さ */
				border-radius: 6px 0 0 6px; /* 左側だけ角丸 */
				flex-shrink: 0;             /* 枠サイズを自動縮小させない */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardsize-S .cardlinktextbox {
				border-left: 1px solid #ccc; /* 左側の枠線 */
				justify-content:center;      /* Flexboxの上下方向での中央寄せ */
			}
				/* ▽リンクカードのテキスト枠内の3要素 */
				.cardsize-S .cardlinktitle { order: 2; }        /* タイトルは、2番目に表示 */
				.cardsize-S .cardlinkdescription { order: 3; }  /* 概要文　は、3番目に表示 */
				.cardsize-S .cardlinkurl { order: 1; }          /* ドメインは、1番上に表示 */

		/* ----------------------------------- */
		/* リンクカードの装飾(サイズL用の追記) */		/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
		/* ----------------------------------- */
		.cardsize-L {
			flex-direction: column;             /* 画像とテキストは縦に並べる(Flexbox) */
		}
			/* ▽リンクカード内の画像枠 */
			.cardsize-L .cardlinkimage {
				aspect-ratio: 1.91 / 1;     /* 画像枠の縦横比を指定= (横)1.91：(縦)1 */
				width: 100%;                /* 横幅は枠最大に拡げる */
				height: auto;               /* 高さは自動計算 */
				border-radius: 6px 6px 0 0; /* 上側だけ角丸 */
			}
			/* ▽リンクカード内のテキスト枠 */
			.cardsize-L .cardlinktextbox {
				border-top: 1px solid #ccc; /* 上側の枠線 */
			}
				/* ▽リンクカードのテキスト枠内の3要素 */
				.cardsize-L .cardlinktitle { font-weight: bold; }        /* 太字 */
				.cardsize-L .cardlinkdescription { min-height: 2.5em; }  /* 内容量が少ない場合でも一定の高さを確保 */
				.cardsize-L .cardlinkurl {
					border-top: 1px solid #ddd;  /* 上側の枠線 */
					margin-top:0.5em;            /* 上側の枠線より上の余白量 */
					padding-top:0.5em;           /* 上側の枠線より下の余白量 */
					font-size:0.75rem;           /* 文字サイズ(小さめ) */
				}
