@charset "UTF-8";
/*==================================================
Skin design by anoSora
@link https://anosora.itsuka-yume.com/

スキンのデザイン、およびスキン独自コードの著作権は anoSora いつか にあります。
利用規約をご確認の上ご利用ください。

「お手軽マイクロブログCGI「てがろぐ」」は、「にししふぁくとりー」様が配布しているCGIです。
てがろぐについては、配布元をご確認ください。
@link https://www.nishishi.com/cgi/tegalog/
==================================================*/
/* ーーーーーーーーーーーーー

■メディアクエリ　ブレイクPoint
デフォルトをスマホ用デザインとして、モバイルファースト設計にしています。
min-width: 425px（デザイン調整用）
min-width: 768px（タブレット想定）
min-width: 1024px（ラップトップ想定）
min-width: 1280px（PC想定）
min-width: 1440px（デザイン調整用）
min-width: 1500px（デザイン調整用）

ーーーーーーーーーーーー */
@import url("https://fonts.googleapis.com/css2?family=Oooh+Baby&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&family=Material+Symbols+Rounded&display=swap");
/*
リセット
※こちらの内容は基本触らないほうが良いです。
_________________________________________*/
/*　https://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126　*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 h1 {
    font-size: 2em;
    margin: 0.67em 0;
}
 */
/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/* リセット　ここまで */
/*==================================================

デザインのベース

==================================================*/
/*
ページのベーススタイル
_________________________________________*/
body,
html {
  box-sizing: border-box;
  font-family: Roboto, "Segoe UI", Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}

a {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: var(--color-second);
  text-decoration-style: dashed;
  color: var(--color-text);
  transition: all var(--transition-all);
}
a img {
  transition: all var(--transition-all);
}
a:hover {
  transform: translateY(-3px);
}
a:hover img {
  opacity: 0.8;
}

figure {
  margin: unset;
}

img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: bottom;
}

h1 {
  font-size: clamp(1.5rem, 1.333rem + 0.83vw, 2rem);
  font-weight: 400;
  /* font-size=>サイズ24px-32px　画面320px-1280px */
}

h2 {
  font-family: var(--font-sans);
  font-size: clamp(1.375rem, 1.208rem + 0.83vw, 1.875rem);
  line-height: 1.3;
  font-weight: 400;
  /* font-size=>サイズ22px-30px　画面320px-1280px */
}

h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1.042rem + 0.42vw, 1.375rem);
  line-height: 1.3;
  font-weight: 400;
  /* font-size=>サイズ18px-22px　画面320px-1280px */
}

h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-size: 16px;
}
@media screen and (min-width: 1024px) {
  h4,
  h5,
  h6 {
    font-size: 18px;
  }
}

.material-symbols-rounded {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

/*
ルートコンテンツ調整
_________________________________________*/
:root :where(.section, .box, .textbox, .backbox, .stripebox) > * {
  margin-bottom: 0.8rem;
}
@media screen and (min-width: 1024px) {
  :root :where(.section, .box, .textbox, .backbox, .stripebox) > * {
    margin-bottom: 1rem;
  }
}
:root :where(.section, .box, .textbox, .backbox, .stripebox) > :last-child {
  margin-bottom: 0px;
}

/*
読み込みアニメーション
_________________________________________*/
.body-container {
  opacity: 0;
  pointer-events: none;
}

body.appear .body-container {
  animation-name: Contents-Appear;
  animation-duration: 0.3s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
  pointer-events: auto;
}

@keyframes Contents-Appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.loading-bg,
.loading-bg2 {
  opacity: 0;
  pointer-events: none;
}

body.appear .loading-bg,
body.appear .loading-bg2 {
  width: 100%;
  height: 100svh;
  position: fixed;
  top: 0;
  background-color: var(--color-main);
  transform: scaleX(1);
  animation-duration: 0.8s;
  animation-delay: 0.1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
}
body.appear .loading-bg {
  left: 50%;
  animation-name: loading-curtain01;
}
body.appear .loading-bg2 {
  right: 50%;
  animation-name: loading-curtain02;
}

@keyframes loading-curtain01 {
  0% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
@keyframes loading-curtain02 {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}
/*
ボックス・レイアウト
_________________________________________*/
.body-container {
  font-size: 14px;
}

.main-contents {
  max-width: 1000px;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 50px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 1024px) {
  .main-contents {
    padding-bottom: 80px;
    margin-top: 80px;
  }
}
@media screen and (min-width: 1280px) {
  .main-contents {
    padding-bottom: 100px;
    margin-top: 100px;
  }
}
.main-contents > *:not(:first-child) {
  margin-top: 80px;
}
@media screen and (min-width: 1024px) {
  .main-contents > *:not(:first-child) {
    margin-top: 120px;
  }
}
@media screen and (min-width: 1280px) {
  .main-contents > *:not(:first-child) {
    margin-top: 150px;
  }
}
.main-contents > *:not(:last-child) {
  margin-bottom: 80px;
}
@media screen and (min-width: 1024px) {
  .main-contents > *:not(:last-child) {
    margin-bottom: 120px;
  }
}
@media screen and (min-width: 1280px) {
  .main-contents > *:not(:last-child) {
    margin-bottom: 150px;
  }
}

/*
共通パーツ
_________________________________________*/
/* サイト名 */
.sitename {
  font-family: var(--font-script);
  font-size: clamp(1.875rem, 1.667rem + 1.04vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  /* font-size=>サイズ20px-40px　画面320px-1280px */
}
.sitename.jp {
  font-size: clamp(1.25rem, 1.167rem + 0.42vw, 1.5rem);
  /* font-size=>サイズ20px-24px　画面320px-1280px */
}
.sitename a {
  text-decoration: none;
}

.subtitle {
  font-family: var(--font-sans);
  text-align: center;
}
.subtitle.en {
  font-family: var(--font-script);
  font-size: 18px;
}

/* ヘッダー */
.header {
  margin-bottom: 30px;
}
.header__stripe {
  width: 100%;
  height: 40px;
  background-image: repeating-linear-gradient(305deg, var(--color-main), var(--color-main) 10px, transparent 10px, transparent 25px);
}
@media screen and (min-width: 1024px) {
  .header__stripe {
    height: 60px;
    background-image: repeating-linear-gradient(305deg, var(--color-main), var(--color-main) 25px, transparent 25px, transparent 65px);
  }
}
@media screen and (min-width: 1280px) {
  .header__stripe {
    height: 80px;
  }
}
.header__main {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 1000px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}
@media screen and (min-width: 1024px) {
  .header__main {
    margin-top: 30px;
  }
}

/* ホームボタン */
.home-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  position: fixed;
  top: 20px;
  right: 15px;
  background-color: var(--color-main);
  text-decoration: none;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  z-index: 1000;
  cursor: pointer;
}
@media screen and (min-width: 1024px) {
  .home-btn {
    right: 20px;
    transform: translateY(-100px);
    opacity: 0;
  }
}

@media screen and (min-width: 1024px) {
  .js-upmove {
    animation: UpAnime 0.5s forwards;
  }
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
@media screen and (min-width: 1024px) {
  .js-downmove {
    animation: DownAnime 0.5s forwards;
  }
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* フッター */
.footer {
  background-color: var(--color-main);
  padding: 20px 15px;
}
.footer > *:not(:last-child) {
  margin-bottom: 10px;
}
.footer__links, .footer__credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 5px;
  -moz-column-gap: 15px;
       column-gap: 15px;
}
.footer .admin-link {
  display: block;
  background: var(--back-stripe) var(--color-white);
  text-decoration: none;
  border: 1px solid var(--color-second);
  border-radius: 20px;
  padding: 3px 10px;
}

.credit {
  text-align: center;
}

/* トップスクロール */
.topscroll {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 20px;
  right: 15px;
  background-color: var(--color-main);
  border: 1px solid var(--color-text);
  border-radius: 50%;
  transition: opacity var(--transition-all);
  z-index: 1001;
  cursor: pointer;
}
@media screen and (min-width: 1024px) {
  .topscroll {
    right: 20px;
  }
}
.topscroll span {
  font-size: 24px;
  color: var(--color-text);
}
.topscroll.js-noappear {
  opacity: 0;
}
.topscroll.js-appear {
  opacity: 1;
}

/*==================================================

パーツのデザイン

==================================================*/
/*
フォームパーツ
_________________________________________*/
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=date],
input[type=search],
input[type=password],
textarea {
  max-width: 100%;
  background-color: transparent;
  line-height: 1.6;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  padding: 10px;
}
input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder, input[type=url]::-moz-placeholder, input[type=tel]::-moz-placeholder, input[type=number]::-moz-placeholder, input[type=date]::-moz-placeholder, input[type=search]::-moz-placeholder, input[type=password]::-moz-placeholder, textarea::-moz-placeholder {
  color: var(--color-glay4);
}
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=url]::placeholder,
input[type=tel]::placeholder,
input[type=number]::placeholder,
input[type=date]::placeholder,
input[type=search]::placeholder,
input[type=password]::placeholder,
textarea::placeholder {
  color: var(--color-glay4);
}
input[type=text]:-ms-input-placeholder,
input[type=email]:-ms-input-placeholder,
input[type=url]:-ms-input-placeholder,
input[type=tel]:-ms-input-placeholder,
input[type=number]:-ms-input-placeholder,
input[type=date]:-ms-input-placeholder,
input[type=search]:-ms-input-placeholder,
input[type=password]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: var(--color-glay4);
}
input[type=text]::-webkit-input-placeholder,
input[type=email]::-webkit-input-placeholder,
input[type=url]::-webkit-input-placeholder,
input[type=tel]::-webkit-input-placeholder,
input[type=number]::-webkit-input-placeholder,
input[type=date]::-webkit-input-placeholder,
input[type=search]::-webkit-input-placeholder,
input[type=password]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: var(--color-glay4);
}
input[type=text]::-moz-placeholder,
input[type=email]::-moz-placeholder,
input[type=url]::-moz-placeholder,
input[type=tel]::-moz-placeholder,
input[type=number]::-moz-placeholder,
input[type=date]::-moz-placeholder,
input[type=search]::-moz-placeholder,
input[type=password]::-moz-placeholder,
textarea::-moz-placeholder {
  color: var(--color-glay4);
  opacity: 1;
}

input:focus {
  background-color: var(--color-white);
  outline: 2px solid var(--color-main);
}

textarea:focus {
  background-color: var(--color-white);
  outline: 2px solid var(--color-main);
}

input[type=checkbox] {
  height: 24px;
  width: 24px;
  aspect-ratio: 1/1;
  position: relative;
  border: 1px solid var(--color-second);
  border-radius: 4px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
input[type=checkbox]:checked {
  background-color: var(--color-main);
  border: 1px solid var(--color-second);
}
input[type=checkbox]:checked::before {
  content: "\e5ca";
  height: 100%;
  position: absolute;
  left: 50%;
  font-family: "Material Symbols Rounded";
  font-size: 18px;
  color: var(--color-text);
  transform: translateX(-50%);
}
input[type=checkbox]:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}

input[type=radio] {
  height: 24px;
  width: 24px;
  aspect-ratio: 1/1;
  position: relative;
  border: 1px solid var(--color-glay5);
  border-radius: 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
input[type=radio]:checked {
  border: 1px solid var(--color-text);
}
input[type=radio]:checked::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-second);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
input[type=radio]:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 2px;
}

select {
  line-height: 1.6;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  padding: 10px;
}
select option {
  background-color: var(--color-main);
}
select:focus-visible {
  outline: 2px solid var(--color-main);
  outline-offset: 1px;
}

input[type=submit],
button {
  position: relative;
  background: var(--back-stripe);
  font-family: var(--font-sans);
  color: var(--color-text);
  border: 1px solid var(--color-second);
  border-radius: 0px;
  padding: 10px 30px;
  transition: all var(--transition-all);
  cursor: pointer;
}
@media screen and (min-width: 1280px) {
  input[type=submit],
  button {
    padding: 10px 40px;
  }
}
input[type=submit]:hover,
button:hover {
  transform: translateY(-5px);
}
input[type=submit]:disabled,
button:disabled {
  background: var(--color-glay3);
  border-color: var(--color-glay5);
}
input[type=submit]:disabled:hover,
button:disabled:hover {
  transform: unset;
  box-shadow: unset;
}

/*
見出し
_________________________________________*/
.squareh2 {
  position: relative;
  padding-top: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  padding-left: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  margin-bottom: 25px;
}
@media screen and (min-width: 1024px) {
  .squareh2 {
    margin-bottom: 35px;
  }
}
.squareh2::before {
  content: "";
  display: inline-block;
  width: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  height: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-main);
}
.squareh2.en {
  font-family: var(--font-script);
}

/* padding,width,height=>サイズ20px-40px　画面320px-1280px */
.stripeh2 {
  width: -moz-fit-content;
  width: fit-content;
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 25px;
}
@media screen and (min-width: 1024px) {
  .stripeh2 {
    margin-bottom: 35px;
  }
}
.stripeh2::after {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: var(--back-stripe);
  z-index: -1;
}

/*==================================================

各ページのデザイン

==================================================*/
/*
フリースペース
_________________________________________*/
.free-space {
  display: flex;
  gap: 15px;
  flex-direction: column;
  max-width: 1000px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
.free-space:empty {
  display: none;
}

/* 画像 */
.mv-img {
  aspect-ratio: 16/9;
}
@media screen and (min-width: 768px) {
  .mv-img {
    aspect-ratio: 10/3;
  }
}

/* サイトに戻るボタン */
.web-home {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 10px;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.web-home a {
  display: inline-block;
  position: relative;
  font-family: var(--font-sans);
  text-decoration: none;
  padding: 10px 30px;
  z-index: 2;
}
.web-home a::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0px;
  right: 0px;
  border: 1px solid var(--color-text);
  z-index: 0;
}
.web-home a::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -5px;
  right: -5px;
  background-color: var(--color-main);
  transition: all var(--transition-all);
  z-index: -1;
}
.web-home a:hover {
  transform: unset;
}
.web-home a:hover::after {
  background-color: var(--color-second);
  transform: translate(-5px, -5px);
}

/*
投稿部分
_________________________________________*/
.post-area .line-textarea {
  margin-top: 15px;
}
.post-area .line-textarea textarea {
  display: block;
  width: 100%;
}

/* 文字装飾ボタン群 */
/* 注：これはボタンそのものを描画するための装飾です。文字装飾のためのスタイルではありません。 */
.line-control {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
  margin-top: 15px;
}
.line-control > span:not([class]) {
  position: absolute;
  top: 0.6em;
  left: 5px;
  z-index: 2;
}
.line-control .changelink {
  display: block;
  order: 100;
  width: 100%;
  font-size: 14px;
  border-top: 1px dotted var(--color-text);
  padding-top: 15px;
  margin-top: 10px;
}
.line-control .submitcover {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  border-bottom: 1px dotted var(--color-text);
  padding-bottom: 15px;
  margin-bottom: 10px;
}

/* 掲載領域全体 */
.decoBtns {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.decoBtns input[type=button] {
  display: inline-block;
  min-width: 32px;
  min-height: 28px;
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  border-radius: 0px;
  padding: 10px 15px;
  transition: all var(--transition-all);
  cursor: pointer;
}
.decoBtns input[type=button]:hover {
  background-color: rgba(var(--color-main-rgb), 0.5);
  color: var(--color-text);
  transform: translateY(-5px);
}

.decoBtns > span:nth-child(n+2):not(:first-child) select,
.decoBtns > span:nth-child(n+2):not(:first-child) input[type=button] {
  margin: 0.2em;
}
.decoBtns > span:nth-child(n+2):not(:first-child) select {
  padding: 10px 15px;
}

.decoBtns input[type=file] {
  border: 1px solid rgba(var(--color-text-rgb), 0.5);
  border-radius: 3px;
  padding: 10px;
}

.decoBtns input[type=button] {
  /* 太字  :B */
}
.decoBtns input[type=button].decoBtnB {
  font-weight: bold;
}
.decoBtns input[type=button] {
  /* 取消線:D */
}
.decoBtns input[type=button].decoBtnD {
  text-decoration: line-through;
  text-decoration-color: var(--color-text);
  text-decoration-style: double;
}
.decoBtns input[type=button] {
  /* 強調  :E */
}
.decoBtns input[type=button].decoBtnE {
  font-weight: bold;
  color: var(--color-emphasis);
}
.decoBtns input[type=button] {
  /* 斜体  :I */
}
.decoBtns input[type=button].decoBtnI {
  font-style: italic;
}
.decoBtns input[type=button] {
  /* 下線  :U */
}
.decoBtns input[type=button].decoBtnU {
  text-decoration: underline;
  text-decoration-color: var(--color-second);
}
.decoBtns input[type=button] {
  /* 文字色:C */
}
.decoBtns input[type=button].decoBtnC {
  color: var(--deco-color);
}
.decoBtns input[type=button] {
  /* 背景色:M */
}
.decoBtns input[type=button].decoBtnM {
  background-color: rgba(var(--color-accent-rgb), 0.5);
}

/* 直近画像挿入ボタン周り */
.recentimginsertbtns {
  margin: 0 0.5em;
}

.recentimginsert {
  display: inline-block;
  vertical-align: middle;
}

.recentimginsert img {
  display: block;
  max-height: 100px;
}

/* カテゴリ選択チェックボックス群 */
/* ★Ver 3.0.0以降で使用 */
.catChecks {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.catChecks label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.catChecks input {
  min-width: 0;
  min-height: 0;
}

/* 投稿欄下部：「鍵付き」チェックボックスと「個別鍵」ボタン */
.funcUIs .catChecks {
  margin-right: 1em;
}

/*
メインエリア
_________________________________________*/
.main-area > *:not(:first-child) {
  margin-top: 30px;
}
@media screen and (min-width: 1024px) {
  .main-area > *:not(:first-child) {
    margin-top: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .main-area > *:not(:first-child) {
    margin-top: 50px;
  }
}
.main-area > *:not(:last-child) {
  margin-bottom: 30px;
}
@media screen and (min-width: 1024px) {
  .main-area > *:not(:last-child) {
    margin-bottom: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .main-area > *:not(:last-child) {
    margin-bottom: 50px;
  }
}

/* シチュエーションエリア */
.situation-area {
  width: 100%;
  padding: 20px 25px;
  background: var(--back-stripe-main);
}
@media screen and (min-width: 1024px) {
  .situation-area {
    padding: 25px 30px;
  }
}
.situation-area .situation {
  font-family: var(--font-sans);
  font-size: 15px;
}

.situation-area:has(.situation:empty) {
  display: none;
}

/* データセパレーター */
.dateseparator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 5px;
  -moz-column-gap: 15px;
       column-gap: 15px;
  position: relative;
  background-color: var(--color-main);
  padding: 15px;
}
@media screen and (min-width: 768px) {
  .dateseparator {
    row-gap: 10px;
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .dateseparator {
    padding: 20px;
  }
}
.dateseparator::before {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  position: absolute;
  top: 15px;
  left: -3px;
  border-bottom: 1px solid var(--color-text);
  transform: rotate(-45deg);
  transform-origin: top left;
}
@media screen and (min-width: 1024px) {
  .dateseparator::before {
    width: 30px;
    top: 15px;
    left: -5px;
  }
}
.dateseparator .datetitle {
  font-family: var(--font-sans);
  font-size: 16px;
}
.dateseparator .datefunclinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 5px;
  -moz-column-gap: 15px;
       column-gap: 15px;
}
@media screen and (min-width: 768px) {
  .dateseparator .datefunclinks {
    row-gap: 10px;
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
.dateseparator .datefunclinks a {
  font-family: var(--font-sans);
  font-size: 13px;
  text-decoration: none;
  border: 1px solid var(--color-text);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ナビゲーション */
.page-navi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  row-gap: 5px;
  -moz-column-gap: 10px;
       column-gap: 10px;
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  padding: 20px 10px;
}
.page-navi:empty {
  display: none;
}
.page-navi a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  aspect-ratio: 1/1;
  text-decoration: none;
  border-radius: 50%;
}
.page-navi a.pagenumhere {
  background-color: rgba(var(--color-main-rgb), 0.5);
}
.page-navi a:hover {
  background-color: var(--color-main);
}
.page-navi .omitmark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  aspect-ratio: 1/1;
}

/* データなし */
.nodata.nolist {
  text-align: center;
}

/*
1投稿
_________________________________________*/
.onelog-box {
  position: relative;
  padding-bottom: 30px;
}
@media screen and (min-width: 1024px) {
  .onelog-box {
    padding-bottom: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .onelog-box {
    padding-bottom: 50px;
  }
}
.onelog-box::before {
  content: "";
  display: inline-block;
  width: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  height: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  aspect-ratio: 1/1;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--color-main);
  /* width,height=>サイズ20px-40px　画面320px-1280px */
}
.onelog-box__inner {
  padding-top: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  padding-left: clamp(1.25rem, 0.833rem + 2.08vw, 2.5rem);
  /* padding=>サイズ20px-40px　画面320px-1280px */
}
.onelog-box__inner > *:not(:first-child) {
  margin-top: 20px;
}
@media screen and (min-width: 1024px) {
  .onelog-box__inner > *:not(:first-child) {
    margin-top: 35px;
  }
}
.onelog-box__inner > *:not(:last-child) {
  margin-bottom: 20px;
}
@media screen and (min-width: 1024px) {
  .onelog-box__inner > *:not(:last-child) {
    margin-bottom: 35px;
  }
}

.log-header {
  display: flex;
  flex-direction: column;
  -moz-column-gap: 15px;
       column-gap: 15px;
  row-gap: 5px;
}
@media screen and (min-width: 425px) {
  .log-header {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.log-header__categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  -moz-column-gap: 15px;
       column-gap: 15px;
  row-gap: 5px;
}
.log-header__categories .categorylink {
  background: linear-gradient(transparent 50%, var(--color-main) 50%);
  font-family: var(--font-sans);
  text-decoration: none;
  padding: 2px 3px;
}

.log-title__date a {
  font-family: var(--font-script);
  text-decoration: none;
}
.log-title__date span {
  font-family: var(--font-script);
  font-size: clamp(1.125rem, 1.042rem + 0.42vw, 1.375rem);
  padding-left: 15px;
  /* font-size=>サイズ18px-22px　画面320px-1280px */
}
@media screen and (min-width: 768px) {
  .log-title__date span {
    padding-left: 20px;
  }
}

.log-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 5px;
}
@media screen and (min-width: 768px) {
  .log-footer {
    -moz-column-gap: 25px;
         column-gap: 25px;
  }
}
@media screen and (min-width: 1280px) {
  .log-footer {
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
.log-footer .edit-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.log-footer .edit-link::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--color-main);
  transform: rotate(45deg);
}

.log-body {
  line-height: 1.8;
}
.log-body .taglink {
  background-color: rgba(var(--color-main-rgb), 0.5);
  text-decoration: none;
  line-height: 1.6;
  border-radius: 3px;
  padding: 2px 10px;
}
.log-body img {
  width: auto;
  max-width: 100%;
}

/* New */
.newsign {
  display: inline-block;
  background-color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: 16px;
  border-radius: 20px;
  padding: 2px 10px;
  margin-left: 15px;
}
@media screen and (min-width: 768px) {
  .newsign {
    margin-left: 20px;
  }
}
.newsign:empty {
  display: none;
}

/* ユーティリティ */
.utilitylinks {
  border-top: 1px dotted var(--color-text);
  border-bottom: 1px dotted var(--color-text);
  padding: 20px;
}
@media screen and (min-width: 1024px) {
  .utilitylinks {
    padding: 25px;
  }
}
.utilitylinks ul {
  width: 100%;
}
.utilitylinks li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.utilitylinks ul li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--color-main);
  transform: rotate(45deg);
}
.utilitylinks ul li ul {
  margin-left: 15px;
}
@media screen and (min-width: 1024px) {
  .utilitylinks ul li ul {
    margin-left: 20px;
  }
}
.utilitylinks ul li ul li::before {
  width: 10px;
  height: 3px;
  transform: unset;
}

/*
鍵付き(パスワード保護)投稿に表示される鍵入力フォームの装飾
_________________________________________*/
.passkeyform {
  display: block;
  border: 1px solid var(--color-second);
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.passkeyform .passkeybox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.passkeyform input[type=text] {
  width: 100%;
  max-width: 300px;
}
.passkeyform .submitcovert {
  display: block;
}
.passkeyform .passkeyerror {
  display: block;
  background-color: rgba(var(--color-primary-rgb), 0.8);
  text-align: center;
  color: var(--color-text);
  border-radius: 3px;
  padding: 5px 15px;
  margin-bottom: 10px;
}

/*
サブエリア
_________________________________________*/
/* 全体 */
.sub-area {
  display: grid;
  row-gap: 50px;
  -moz-column-gap: 25px;
       column-gap: 25px;
}
@media screen and (min-width: 768px) {
  .sub-area {
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
}
@media screen and (min-width: 1024px) {
  .sub-area {
    row-gap: 80px;
    -moz-column-gap: 50px;
         column-gap: 50px;
  }
}
@media screen and (min-width: 1280px) {
  .sub-area {
    row-gap: 100px;
    -moz-column-gap: 80px;
         column-gap: 80px;
  }
}
.sub-area__section {
  min-width: 1px;
}
@media screen and (min-width: 768px) {
  .sub-area__section.is-wide {
    grid-column: 1/span 2;
  }
}

/* 検索 */
.search-container {
  display: flex;
  flex-direction: column;
  row-gap: 25px;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
@media screen and (min-width: 768px) {
  .search-container {
    flex-direction: row;
    align-items: center;
  }
}
@media screen and (min-width: 1280px) {
  .search-container {
    -moz-column-gap: 50px;
         column-gap: 50px;
  }
}
.search-container .stripeh2 {
  margin-bottom: 0px;
}
.search-container form.searchbox {
  flex-grow: 1;
}
.search-container .searchinputs {
  display: grid;
  grid-template-columns: 70% 30%;
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
}
@media screen and (min-width: 768px) {
  .search-container .searchinputs {
    grid-template-columns: 1fr 150px;
  }
}
.search-container .searchinputs input[type=text] {
  width: 100%;
  min-width: 1px;
  border: none;
}
.search-container .submitcover {
  display: block;
  min-width: 1px;
}
.search-container .submitcover input[type=submit] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(var(--color-main-rgb), 0.5);
  border: none;
  padding: 10px;
}
.search-container .submitcover input[type=submit]:hover {
  background: rgba(var(--color-main-rgb), 1);
  transform: unset;
}
.search-container .searchoption {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-container .searchtarget {
  margin-top: 15px;
}
.search-container .searchtarget br {
  display: none;
}

/* カテゴリ */
/* 日別 */
.category-container ul,
.date-container ul {
  width: 100%;
}
.category-container li,
.date-container li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  padding-top: 5px;
  padding-bottom: 5px;
}
.category-container li a,
.date-container li a {
  font-size: 15px;
}
.category-container ul li::before,
.date-container ul li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: var(--color-main);
  transform: rotate(45deg);
}
.category-container ul li ul,
.date-container ul li ul {
  margin-left: 15px;
}
@media screen and (min-width: 1024px) {
  .category-container ul li ul,
  .date-container ul li ul {
    margin-left: 20px;
  }
}
.category-container ul li ul li::before,
.date-container ul li ul li::before {
  width: 10px;
  height: 3px;
  transform: unset;
}

/* ハッシュタグ */
.hashtag-container ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.hashtag-container li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
}
.hashtag-container .taglink {
  background-color: rgba(var(--color-main-rgb), 0.5);
  font-size: 15px;
  text-decoration: none;
  border-radius: 3px;
  padding: 3px 10px;
}

/* カレンダー */
.calendar-container table {
  width: 100%;
  border-bottom: 1px solid var(--color-text);
}
.calendar-container caption {
  background: var(--back-stripe-main);
  border-top: 1px solid var(--color-second);
  border-bottom: 1px solid var(--color-second);
  padding: 10px 15px;
  margin-bottom: 15px;
}
.calendar-container thead {
  background-color: rgba(var(--color-main-rgb), 0.5);
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
}
.calendar-container th {
  text-align: center;
  padding: 10px 5px;
}
@media screen and (min-width: 1024px) {
  .calendar-container th {
    padding: 13px 5px;
  }
}
.calendar-container td {
  text-align: center;
  padding: 5px 0px;
}
.calendar-container td span,
.calendar-container td a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  aspect-ratio: 1/1;
  padding: 3px;
  margin-left: auto;
  margin-right: auto;
}
.calendar-container td a {
  background-color: rgba(var(--color-main-rgb), 0.5);
  text-decoration: none;
  border-radius: 50%;
}
.calendar-container .calendar-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.calendar-container .calendar-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 15px;
  text-decoration: none;
}

/* 画像リスト */
.image-list {
  display: grid;
  justify-items: center;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
@media screen and (min-width: 425px) {
  .image-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
@media screen and (min-width: 768px) {
  .image-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
.image-list .imagelistitem {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1/1;
  position: relative;
  padding-bottom: 10px;
  padding-right: 10px;
}
.image-list .imagelistitem::after {
  content: "";
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  position: absolute;
  bottom: 0px;
  right: 0px;
  background-color: var(--color-main);
  z-index: -1;
}
.image-list .imagesearch {
  width: 100%;
  height: 100%;
}
.image-list img.oneimage {
  height: 100%;
  background-color: var(--color-white);
}

/*==================================================

装飾

==================================================*/
/*
てがろぐ標準機能調整
_________________________________________*/
/* ------------------------- */
/* ▼URLが書かれた場合の装飾 */
/* ------------------------- */
.url {
  word-break: break-all;
}

/* ---------------------- */
/* ▼カード型リンクの装飾 */
/* ---------------------- */
.cardlink {
  display: inline-block;
  width: 100%;
  max-width: 500px;
  /* ↑最大幅 (※横幅を制限したくない場合はこれを削除して下さい) */
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.9rem;
  text-decoration: none;
  vertical-align: middle;
}

/* ------------------------------------- */
/* リンクカードの装飾(サイズS/L共通部分) */
/* ※後述の「サイズS用の追記」や「サイズL用の追記」と合わせて、1つのカードデザインになります。 */
/* ------------------------------------- */
/* カード外枠 */
.cardlinkbox {
  display: flex;
  border: 1px solid rgba(var(--color-text-rgb), 0.5);
  border-radius: 8px;
  transition: all var(--transition-all);
}

/* (マウスが載ったとき) */
.cardlinkbox:hover {
  border-color: var(--color-text);
}

/* ▽リンクカード内の画像枠 (※読み込まれたog:imageは、この枠に《背景画像として》描画されます) */
.cardlinkimage {
  background-image: var(--back-stripe);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ▽リンクカード内のテキスト枠 */
.cardlinktextbox {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5em 1em;
}

/* ▽リンクカードのテキスト枠内の3要素共通 */
.cardlinktitle,
.cardlinkdescription,
.cardlinkurl {
  /* ↓表示行数を制限するための準備 (※システム側では文字数は制限せずに「記述されている全文字」をHTMLに出力しますので、表示分量を制限したい場合はCSSで制御する必要があります。) */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
}

/* リンクタイトル */
.cardlinktitle {
  font-size: 1.2em;
}

/* リンク概要文 */
.cardlinkdescription {
  line-height: 1.3;
  color: var(--color-text);
  line-clamp: 2;
  /* ↑(既存指定の上書き) 最大2行まで見せる */
  -webkit-line-clamp: 2;
  /* ↑(既存指定の上書き) 最大2行まで見せる */
}

/* リンクドメイン */
.cardlinkurl {
  color: var(--color-glay6);
}

/* ----------------------------------- */
/* リンクカードの装飾(サイズS用の追記) */
/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
/* ----------------------------------- */
.cardsize-S {
  flex-direction: row;
}

/* ▽リンクカード内の画像枠 */
.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 rgba(var(--color-text-rgb), 0.5);
  justify-content: center;
}

/* ▽リンクカードのテキスト枠内の3要素 */
.cardsize-S .cardlinktitle {
  order: 2;
}

.cardsize-S .cardlinkdescription {
  order: 3;
}

.cardsize-S .cardlinkurl {
  order: 1;
}

/* ----------------------------------- */
/* リンクカードの装飾(サイズL用の追記) */
/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
/* ----------------------------------- */
.cardsize-L {
  flex-direction: column;
}

/* ▽リンクカード内の画像枠 */
.cardsize-L .cardlinkimage {
  aspect-ratio: 1.91/1;
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
}

/* ▽リンクカード内のテキスト枠 */
.cardsize-L .cardlinktextbox {
  border-top: 1px solid rgba(var(--color-text-rgb), 0.5);
}

/* ▽リンクカードのテキスト枠内の3要素 */
.cardsize-L .cardlinktitle {
  font-weight: bold;
}

/* 太字 */
.cardsize-L .cardlinkdescription {
  min-height: 2.5em;
}

/* 内容量が少ない場合でも一定の高さを確保 */
.cardsize-L .cardlinkurl {
  border-top: 1px solid rgba(var(--color-text-rgb), 0.5);
  margin-top: 0.5em;
  padding-top: 0.5em;
  font-size: 0.75rem;
}

/* ---------------------------------------------------- */
/* ▼汎用装飾(てがろぐ専用記法で書かれた場合のみ)：文字 */
/* ---------------------------------------------------- */
/* B:太字(Bold) */
.decorationB {
  font-weight: bold;
}

/* D:削除(Delete) */
.decorationD {
  color: var(--color-glay5);
  text-decoration-line: line-through;
  text-decoration-color: var(--color-text);
}

/* E:強調(Emphasis) */
.decorationE {
  font-style: normal;
  font-weight: bold;
  color: var(--color-emphasis);
}

/* I:斜体(Italic) */
.decorationI {
  font-style: italic;
}

/* Q:引用(Quote) */
.decorationQ {
  display: block;
  /* ↑※Ver 2.2.0以降必須の記述 */
  background-color: rgba(var(--color-main-rgb), 0.3);
  border-left: 2px solid var(--color-second);
  padding: 15px 20px;
  margin-top: 1em;
  margin-bottom: 1em;
}

/* S:小文字(Small) */
.decorationS {
  font-size: 0.8em;
}

/* T:極小文字(Tiny) */
.decorationT {
  font-size: 0.6em;
}

/* U:下線(Underline) */
.decorationU {
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--color-second);
}

/* L:リスト */
.decorationL {
  list-style: disc;
  padding-inline-start: 1.6em;
}

/* H:隠しテキスト */
.decorationH .readmorebutton {
  background-color: var(--color-main);
  border-radius: 20px;
  padding: 2px 15px;
}

/* O:折りたたみ */
.decorationO {
  padding-bottom: 5px;
}
.decorationO .foldswitch {
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--color-main);
  border-radius: 20px;
  padding: 5px 15px;
  transition: transform var(--transition-all);
  cursor: pointer;
}
.decorationO .foldswitch:hover {
  transform: translateY(-3px);
}
.decorationO .foldedarea {
  padding-top: 10px;
  padding-left: 15px;
}

/* ---------------------- */
/* ▼自由装飾用の装飾の例 */
/* 自由装飾は [F:myclass:対象文字] の記法で <span class="deco-myclass">対象文字</span> のようにマークアップされる機能です。あらかじめclassを用意しておくことで自由な装飾を個数制限なく使い分けられます。 */
/* ここでは、初期に入っている装飾を入れております。 */
/* ---------------------- */
/* 投稿者の自由な記述によって意図せずページが崩れてしまうのを防ぐために、適用されるclass名の先頭には必ず deco- が付加されます。 */
/* 文字サイズ */
.deco-scream {
  font-size: 1.67em;
  /* ↑文字サイズ(1.67倍) */
}

/* インラインコード */
.deco-code {
  display: inline-block;
  background-color: var(--color-codeback);
  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
  color: var(--color-text);
  border: 1px solid var(--color-codeline);
  border-radius: 2px;
  padding: 1px 5px;
}

/* セパレーター */
.deco-separator {
  display: block;
  border-bottom: 1px dotted var(--color-text);
  padding-bottom: 1em;
  margin-bottom: 1em;
}

/* Flexbox */
.deco-flex {
  display: flex;
  gap: 1em;
  align-items: start;
  justify-content: start;
  flex-wrap: wrap;
}

/* ---------------------------------------------------- */
/* ▼汎用装飾(てがろぐ専用記法で書かれた場合のみ)：画像 */
/* この部分は、文字装飾領域内に含まれた画像を装飾するための記述です。 */
/* ---------------------------------------------------- */
/* B:太字(Bold)に含まれる画像に対する装飾 */
.decorationB img {
  outline: 3px solid var(--color-main);
}

/* D:削除(Delete)に含まれる画像に対する装飾 */
.decorationD img {
  opacity: 0.5;
}

/* E:強調(Emphasis)に含まれる画像に対する装飾 */
.decorationE img {
  outline: 5px solid var(--color-second);
}

/* I:斜体(Italic)に含まれる画像に対する装飾 */
.decorationI img {
  box-shadow: -5px 5px 0px var(--color-main);
}

/* Q:引用(Quote)に含まれる画像に対する装飾 */
.decorationQ img {
  vertical-align: middle;
}

/* S:小文字(Small)に含まれる画像に対する装飾 */
.decorationS img {
  border-radius: 15px;
  vertical-align: middle;
}

/* T:極小文字(Tiny)に含まれる画像に対する装飾 */
.decorationT img {
  width: auto;
  max-height: 75px;
  vertical-align: middle;
}

/* U:下線(Underline)に含まれる画像に対する装飾 */
.decorationU img {
  box-shadow: 5px 5px 0px rgba(var(--color-main-rgb), 0.5);
}

/* -------------- */
/* ▼埋め込み画像 */
/* -------------- */
/* ▽画像ボックス(FIGオプション指定時) */
.embeddedpictbox {
  display: inline-table;
  border-collapse: collapse;
  vertical-align: top;
}

/* キャプション */
.embeddedpictbox figcaption {
  display: table-caption;
  caption-side: bottom;
  /* ↑キャプションの位置(上にしたければtop) */
  background: var(--back-stripe-main);
  border: 1px solid var(--color-second);
  border-radius: 5px;
  text-align: center;
  padding: 3px;
  margin-top: 10px;
}

/* 画像ボックスに含まれる画像 */
.embeddedpictbox img {
  vertical-align: middle;
}

/* ▽画像リンク */
.imagelink {
  display: inline-block;
  line-height: 1;
  vertical-align: inherit;
}

/* ▽フラグ付き画像 */
figure.nsfw {
  overflow: hidden;
}

.imagelink.nsfw {
  overflow: hidden;
}

img.nsfw {
  filter: blur(9px);
}

/* -------------- */
/* ▼埋め込み動画 */
/* -------------- */
/* ▽[VIDEO:キャプション]URL記法で、キャプション付きで掲載される場合の外側要素 */
figure.embeddedvideo {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column-reverse;
  row-gap: 10px;
}

/* ▽[VIDEO:キャプション]URL記法で、キャプション付きで掲載される場合のキャプション部分 */
.videotitle {
  background: var(--back-stripe-main);
  text-align: center;
  border: 1px solid var(--color-second);
  border-radius: 5px;
  padding: 5px;
}

/* ▽[VIDEO]URL記法（または [VIDEO:キャプション]URL記法）で掲載されるvideo要素部分 */
video.embeddedvideo {
  display: inline-block;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* YouTube埋め込み */
@media all and (max-width: 600px) {
  .embeddedmovie {
    display: inline-block;
    max-width: 100%;
    width: auto;
    height: auto;
  }
}
/* --------------- */
/* ▼埋め込みTweet */
/* これはツイートが埋め込まれる処理「前」用の装飾です。実際に埋め込まれるツイートはTwitter側のiframeで装飾されますので、てがろぐ側では指定できません。(ただし横幅を制限することはできます。→後述) */
/* --------------- */
blockquote.twitter-tweet {
  background: var(--back-stripe-main);
  border: 1px solid var(--color-main);
  border-radius: 10px;
  margin: 0.3em 0;
  padding: 1em;
  font-size: 0.95em;
  color: var(--color-glay5);
}

/* ▼埋め込みツイートの横幅を強制的に制限 */
div.twitter-tweet {
  max-width: 350px !important;
}

/* -------------------- */
/* ▼検索語のハイライト */
/* -------------------- */
.searchword {
  font-weight: bold;
  background: linear-gradient(transparent 50%, rgba(var(--color-primary-rgb), 0.5) 50%);
}

/*
オリジナル装飾をてがろぐ内で実装
_________________________________________*/
.deco-colormain {
  color: var(--color-main);
}

.deco-coloraccent {
  color: var(--color-accent);
}

.deco-maker01 {
  background-color: rgba(var(--color-main-rgb), 0.5);
}

.deco-maker02 {
  background-color: rgba(var(--color-accent-rgb), 0.5);
}

.deco-maker03 {
  background-color: rgba(var(--color-primary-rgb), 0.5);
}

.deco-halfmaker01 {
  background: linear-gradient(transparent 50%, rgba(var(--color-main-rgb), 0.5) 50%);
}

.deco-halfmaker02 {
  background: linear-gradient(transparent 50%, rgba(var(--color-accent-rgb), 0.5) 50%);
}

.deco-halfmaker03 {
  background: linear-gradient(transparent 50%, rgba(var(--color-primary-rgb), 0.5) 50%);
}

.deco-strong {
  font-weight: 700;
}

.deco-textright {
  display: block;
  text-align: end;
}

.deco-textcenter {
  display: block;
  text-align: center;
}

.deco-fontsands {
  font-family: var(--font-sans);
}

.deco-fontscript {
  font-family: var(--font-script);
}

.deco-fontmedium {
  font-size: 16px;
}

.deco-fontlarge {
  font-size: 18px;
}

.deco-fontx-large {
  font-size: 20px;
}

.deco-box-main, .deco-box-accent, .deco-box-primary {
  display: block;
  padding: 20px;
}
.deco-box-main {
  background-color: rgba(var(--color-main-rgb), 0.5);
}
.deco-box-accent {
  background-color: rgba(var(--color-accent-rgb), 0.5);
}
.deco-box-primary {
  background-color: rgba(var(--color-primary-rgb), 0.5);
}

.deco-stripebox-main, .deco-stripebox-accent, .deco-stripebox-primary {
  display: block;
  padding: 20px;
}
.deco-stripebox-main {
  background: var(--back-stripe-main);
}
.deco-stripebox-accent {
  background: var(--back-stripe-accent);
}
.deco-stripebox-primary {
  background: var(--back-stripe-primary);
}