@charset "UTF-8";
/*==================================================
こちらは、デモサンプルのてがろぐスキンとなります。
他の方のご利用は固く禁じております。

また、てがろぐについては制作者様の「にししふぁくとりー」様にてご確認ください。
▼てがろぐ本体
@link https://www.nishishi.com/cgi/tegalog/

このスキンのみで使用しているデザインの著作権は anoSora and Yozora Eto にあります。
@link https://anosora.itsuka-yume.com/
@link https://yozora-eto.com/
==================================================*/
/* ーーーーーーーーーーーーー

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

ーーーーーーーーーーーー */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Antique&family=Material+Symbols+Rounded&display=swap");
/*
リセット
※こちらの内容は基本触らないほうが良いです。
_________________________________________*/
/*　http://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 http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

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

デザインのベース

==================================================*/
/*
ページのベーススタイル
_________________________________________*/
body,
html {
  font-family: "Noto Serif JP", "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  color: var(--color-text);
  box-sizing: border-box;
}

a {
  display: inline-block;
  color: var(--color-main);
  text-decoration: none;
  transition: color var(--transition-all);
}
a img {
  transition: opacity var(--transition-all);
}
a:hover {
  color: var(--color-accent);
}
a:hover img {
  opacity: 0.8;
}

figure {
  display: block;
  margin: unset;
}

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

h1 {
  font-size: clamp(1.625rem, 1.417rem + 1.04vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  /* font-size=>サイズ26px‐36px　画面320px-1280px */
}

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

h3 {
  font-size: clamp(1.25rem, 1.208rem + 0.21vw, 1.375rem);
  font-weight: 500;
  line-height: 1.3;
  /* font-size=>サイズ20px‐22px　画面320px-1280px */
}

h4 {
  font-size: clamp(1.125rem, 1.083rem + 0.21vw, 1.25rem);
  font-weight: 500;
  /* font-size=>サイズ18px‐20px　画面320px-1280px */
}

h5,
h6 {
  font-weight: 500;
}

/* 箇条書きリスト */
ul {
  list-style: disc;
  padding-inline-start: 1.6em;
}

/* 数字付きリスト */
ol {
  list-style: decimal;
  padding-inline-start: 1.6em;
}

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

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

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

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

@keyframes Contents-Appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--color-back);
  padding: 30px;
  z-index: 2000;
  pointer-events: none;
}
.loading::before {
  content: "";
  display: block;
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1/1;
  background-image: url("../../images/default/back-toufuku.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: drop-shadow(0px 0px 20px var(--color-neonred));
  opacity: 10%;
}

body.appear .loading {
  animation-name: Loading-Fadeout;
  animation-delay: 0.6s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}
body.appear .loading::before {
  animation-name: Loading-Blinking;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}

@keyframes Loading-Blinking {
  0% {
    opacity: 10%;
  }
  50% {
    opacity: 20%;
  }
  100% {
    opacity: 10%;
  }
}
@keyframes Loading-Fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/*
ボックス・レイアウト
_________________________________________*/
body {
  background-color: var(--color-back);
}

/* コンテンツのレイアウト */
.body-container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  position: relative;
  font-size: clamp(0.875rem, 0.833rem + 0.21vw, 1rem);
  z-index: 0;
  /* font-size=>サイズ14px‐16px　画面320px-1280px */
}

/* メインコンテンツ部分 */
.maincontents {
  min-width: 1px;
  padding: 60px 20px 80px;
}
@media screen and (min-width: 1024px) {
  .maincontents {
    padding: 80px 20px 100px;
  }
}
@media screen and (min-width: 1280px) {
  .maincontents {
    padding: 80px 20px 120px;
  }
}

.contents-area.is-column {
  display: grid;
  gap: 50px;
  max-width: var(--main-width);
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 1024px) {
  .contents-area.is-column {
    grid-template-columns: 1fr 280px;
    align-items: start;
    gap: 40px;
  }
}

/*
共通パーツ
_________________________________________*/
/* 固定背景 */
.background {
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  left: 0;
  background-image: url("../../images/default/sp-back.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .background {
    background-image: url("../../images/default/pc-back.png");
  }
}
.background::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-image: url("../../images/default/circle-back.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.background__icon {
  min-width: 350px;
  max-width: 480px;
  aspect-ratio: 1/1;
  position: absolute;
  right: -80px;
  bottom: 0px;
  filter: drop-shadow(0px 0px 15px var(--color-neonred));
  z-index: 0;
  opacity: 10%;
  animation-name: Backicon-Blinking;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}
@media screen and (min-width: 768px) {
  .background__icon {
    right: 0px;
  }
}
@media screen and (min-width: 1024px) {
  .background__icon {
    right: 50px;
    bottom: 50px;
  }
}

@keyframes Backicon-Blinking {
  0% {
    opacity: 10%;
  }
  60% {
    opacity: 10%;
  }
  80% {
    opacity: 5%;
  }
  100% {
    opacity: 10%;
  }
}
/* サイト名 */
.sitename {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
  transition: all var(--transition-all);
  pointer-events: all;
}
@media screen and (min-width: 425px) {
  .sitename {
    border: 1px solid rgba(var(--color-neonred-rgb), 0.3);
    border-radius: 5px;
    padding: 10px 25px;
    box-shadow: 0 0 10px 0 rgba(var(--color-neonred-rgb), 0.3), inset 0 0px 10px 0 rgba(var(--color-neonred-rgb), 0.3);
  }
}
@media screen and (min-width: 1024px) {
  .sitename {
    gap: 10px;
    background-color: rgba(var(--color-back-rgb), 0.5);
  }
}
@media screen and (min-width: 1280px) {
  .sitename {
    padding: 13px 30px;
  }
}
@media screen and (min-width: 1440px) {
  .sitename {
    gap: 15px;
    background-color: transparent;
    writing-mode: vertical-rl;
    border-radius: 10px;
    padding: 30px;
  }
}
@media screen and (min-width: 1620px) {
  .sitename {
    gap: 20px;
    padding: 40px 30px;
  }
}
.sitename:hover {
  border-color: rgba(var(--color-neonred-rgb), 0.8);
  box-shadow: 0 0 10px 0 rgba(var(--color-neonred-rgb), 0.5), inset 0 0px 10px 0 rgba(var(--color-neonred-rgb), 0.5);
}
.sitename span {
  line-height: 1.3;
  color: var(--color-white);
}
.sitename__ja {
  font-family: var(--font-ja);
  font-size: 22px;
  letter-spacing: 0.1em;
  text-shadow: 0 0 5px rgba(var(--color-white-rgb), 0.4), 0 0 13px var(--color-neonred), 0 0 15px var(--color-neonred);
}
@media screen and (min-width: 1024px) {
  .sitename__ja {
    font-size: 28px;
  }
}
@media screen and (min-width: 1280px) {
  .sitename__ja {
    font-size: 32px;
  }
}
@media screen and (min-width: 1440px) {
  .sitename__ja {
    font-size: 40px;
    letter-spacing: 0.25em;
  }
}
@media screen and (min-width: 1620px) {
  .sitename__ja {
    font-size: 48px;
  }
}
.sitename__en {
  font-family: var(--font-en);
  font-size: 16px;
  text-shadow: 0 0 4px rgba(var(--color-white-rgb), 0.4), 0 0 13px var(--color-neonblue), 0 0 15px var(--color-neonblue);
}
@media screen and (min-width: 1024px) {
  .sitename__en {
    font-size: 20px;
  }
}
@media screen and (min-width: 1280px) {
  .sitename__en {
    font-size: 22px;
  }
}
@media screen and (min-width: 1440px) {
  .sitename__en {
    font-size: 28px;
    letter-spacing: 0.05em;
  }
}
@media screen and (min-width: 1620px) {
  .sitename__en {
    font-size: 32px;
  }
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 65px;
  position: sticky;
  top: 0;
  left: 0;
  padding: 5px 15px;
  z-index: 998;
}
@media screen and (min-width: 425px) {
  .header {
    height: 70px;
    padding: 5px 20px;
  }
}
@media screen and (min-width: 1024px) {
  .header {
    align-items: flex-start;
    height: 96px;
    padding: 0px 20px;
  }
}
@media screen and (min-width: 1280px) {
  .header {
    height: 106px;
    padding: 0px 40px;
  }
}
@media screen and (min-width: 1440px) {
  .header {
    padding-left: 0px;
  }
}
@media screen and (min-width: 1620px) {
  .header {
    height: 116px;
    padding-right: 60px;
  }
}
.header::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, var(--color-back) 0%, rgba(var(--color-back-rgb), 0.5) 70%, transparent 100%);
  transition: opacity var(--transition-all);
  z-index: -1;
  opacity: 0;
}
@media screen and (min-width: 1024px) {
  .header::after {
    display: none;
  }
}
.header.is-fix::after {
  opacity: 1;
}
.header__namearea {
  pointer-events: none;
}
@media screen and (min-width: 1024px) {
  .header__namearea {
    padding-top: 35px;
  }
}
@media screen and (min-width: 1440px) {
  .header__namearea {
    display: flex;
    justify-content: center;
    width: calc((100% - 980px) / 2);
  }
}
@media screen and (min-width: 1620px) {
  .header__namearea {
    padding-top: 45px;
  }
}
.header__navarea {
  width: 100%;
  position: fixed;
  top: -110%;
  right: 0;
  transition: top 0.4s ease;
  z-index: 1001;
  pointer-events: none;
}
@media screen and (min-width: 1024px) {
  .header__navarea {
    width: auto;
    height: auto;
    position: static;
    background-color: transparent;
  }
}
.header__navarea.active {
  top: 0;
}
.header__navback {
  content: "";
  width: 100%;
  height: 100dvh;
  position: fixed;
  top: 0;
  right: 0;
  background-color: rgba(var(--color-back-rgb), 0.8);
  transition: opacity var(--transition-all);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
}
@media screen and (min-width: 1024px) {
  .header__navback {
    display: none;
  }
}
.header__navback.active {
  opacity: 1;
  pointer-events: all;
}
.header__pole {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 110px;
  max-width: 250px;
  margin-left: auto;
  margin-right: 10px;
}
@media screen and (min-width: 1024px) {
  .header__pole {
    justify-content: space-between;
    gap: 20px;
    max-width: unset;
    padding-left: 45px;
    padding-right: 45px;
    margin-right: 0;
  }
}
.header__pole span {
  display: inline-block;
  width: 4px;
  height: 75px;
  background-color: var(--color-gray);
}
@media screen and (min-width: 1024px) {
  .header__pole span {
    height: 35px;
  }
}
@media screen and (min-width: 1620px) {
  .header__pole span {
    height: 45px;
  }
}
.header__nav {
  max-width: 250px;
  margin-left: auto;
  margin-right: 10px;
  pointer-events: all;
}
@media screen and (min-width: 1024px) {
  .header__nav {
    max-width: unset;
    margin-left: unset;
    margin-right: unset;
  }
}

/* メニュー */
.menu,
.sub-menu {
  list-style: none;
  padding-left: 0;
}

.menu {
  display: flex;
  flex-direction: column;
  background-image: url("../../images/default/cross.png");
  background-size: 8%;
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  padding: 15px 10px;
}
@media screen and (min-width: 1024px) {
  .menu {
    flex-direction: row;
    background-color: rgba(var(--color-back-rgb), 0.8);
    background-size: 4%;
    padding: 0px 10px;
  }
}
@media screen and (min-width: 1280px) {
  .menu {
    padding: 0px 20px;
  }
}
.menu__link {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 8px 20px;
  z-index: 1;
}
@media screen and (min-width: 1024px) {
  .menu__link {
    padding: 15px;
  }
}
@media screen and (min-width: 1280px) {
  .menu__link {
    padding: 20px;
  }
}
.menu__link::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity var(--transition-all);
  z-index: 0;
}
.menu__link.neon-red {
  color: var(--color-neonred);
  filter: url(#effect-neon) drop-shadow(0 0 5px rgba(var(--color-neonred-rgb), 0.3));
}
.menu__link.neon-red::after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--color-neonred-rgb), 0.1) 0%, transparent 90%);
  opacity: 0;
}
.menu__link.neon-red:hover {
  filter: url(#hover-neon) drop-shadow(0 0 5px rgba(var(--color-neonred-rgb), 0.5));
}
.menu__link.neon-red:hover::after {
  opacity: 1;
}
.menu__link.neon-blue {
  color: var(--color-neonblue);
  filter: url(#effect-neon) drop-shadow(0 0 5px rgba(var(--color-neonblue-rgb), 0.3));
}
.menu__link.neon-blue::after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--color-neonblue-rgb), 0.1) 0%, transparent 90%);
  opacity: 0;
}
.menu__link.neon-blue:hover {
  filter: url(#hover-neon) drop-shadow(0 0 5px rgba(var(--color-neonblue-rgb), 0.5));
}
.menu__link.neon-blue:hover::after {
  opacity: 1;
}
.menu__link.neon-pink {
  color: var(--color-neonpink);
  filter: url(#effect-neon) drop-shadow(0 0 5px rgba(var(--color-neonpink-rgb), 0.3));
}
.menu__link.neon-pink::after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--color-neonpink-rgb), 0.1) 0%, transparent 90%);
  opacity: 0;
}
.menu__link.neon-pink:hover {
  filter: url(#hover-neon) drop-shadow(0 0 5px rgba(var(--color-neonpink-rgb), 0.5));
}
.menu__link.neon-pink:hover::after {
  opacity: 1;
}

@media screen and (min-width: 1024px) {
  .menu li.has-child {
    position: relative;
  }
}

.sub-menu-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
@media screen and (min-width: 1024px) {
  .sub-menu-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width: 1024px) {
  .sub-menu-container::before {
    content: "";
    display: block;
    width: 4px;
    height: 20px;
    background-color: var(--color-gray);
    margin-left: auto;
    margin-right: auto;
  }
}

.sub-menu {
  background-color: rgba(var(--color-back-rgb), 0.6);
  border-radius: 10px;
  padding: 10px;
}
@media screen and (min-width: 1024px) {
  .sub-menu {
    min-width: 160px;
    background-image: url("../../images/default/cross.png");
    background-size: 15%;
    background-color: rgba(var(--color-back-rgb), 0.8);
    border: 1px solid var(--color-gray);
  }
}
.sub-menu__link {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  font-family: var(--font-ja);
  font-size: 18px;
  line-height: normal;
  text-align: center;
  padding: 8px 20px;
}
.sub-menu__link::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity var(--transition-all);
  z-index: 0;
}
.sub-menu.neon-red .sub-menu__link {
  color: var(--color-neonred);
  text-shadow: 0 0 10px var(--color-neonred);
}
.sub-menu.neon-red .sub-menu__link::after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--color-neonred-rgb), 0.5) 0%, transparent 90%);
  opacity: 0.3;
}
.sub-menu.neon-red .sub-menu__link:hover::after {
  opacity: 1;
}
.sub-menu.neon-blue .sub-menu__link {
  color: var(--color-neonblue);
  text-shadow: 0 0 10px var(--color-neonblue);
}
.sub-menu.neon-blue .sub-menu__link::after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--color-neonblue-rgb), 0.5) 0%, transparent 90%);
  opacity: 0.3;
}
.sub-menu.neon-blue .sub-menu__link:hover::after {
  opacity: 1;
}
.sub-menu.neon-pink .sub-menu__link {
  color: var(--color-neonpink);
  text-shadow: 0 0 10px var(--color-neonpink);
}
.sub-menu.neon-pink .sub-menu__link::after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(var(--color-neonpink-rgb), 0.5) 0%, transparent 90%);
  opacity: 0.3;
}
.sub-menu.neon-pink .sub-menu__link:hover::after {
  opacity: 1;
}

/* ハンバーガーボタン(SPメニューボタン) */
.hamburger {
  width: 38px;
  height: 38px;
  position: relative;
  border: 1px solid rgba(var(--color-neonred-rgb), 0.5);
  border-radius: 3px;
  box-shadow: 0 0 8px 0 rgba(var(--color-neonred-rgb), 0.5), inset 0 0px 8px 0 rgba(var(--color-neonred-rgb), 0.5);
  z-index: 1002;
  cursor: pointer;
}
@media screen and (min-width: 1024px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  display: inline-block;
  width: 50%;
  height: 1px;
  position: absolute;
  left: 50%;
  background-color: var(--color-neonred);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all var(--transition-all);
  box-shadow: 0 0 5px 0 var(--color-neonred);
}
.hamburger span:nth-of-type(1) {
  top: 11px;
}
.hamburger span:nth-of-type(2) {
  top: 17px;
  opacity: 1;
}
.hamburger span:nth-of-type(3) {
  top: 23px;
}
.hamburger.active span:nth-of-type(1) {
  left: 8px;
  transform: translateY(7px) rotate(-45deg);
  width: 60%;
}
.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active span:nth-of-type(3) {
  left: 8px;
  transform: translateY(-5px) rotate(45deg);
  width: 60%;
}

/* フッター */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  min-width: 1px;
  padding: 15px 20px;
}
.footer__copy {
  font-size: 14px;
  text-align: center;
  color: var(--color-gray);
}

/* トップスクロール */
.topscroll {
  position: fixed;
  bottom: 20px;
  right: 15px;
  transition: opacity var(--transition-all);
}
@media screen and (min-width: 768px) {
  .topscroll {
    bottom: 35px;
    right: 35px;
  }
}
@media screen and (min-width: 1280px) {
  .topscroll {
    bottom: 50px;
    right: 50px;
  }
}
.topscroll__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-image: url("../../images/default/china-frame.png");
  background-repeat: no-repeat;
  background-size: contain;
  transition: all var(--transition-all);
  filter: drop-shadow(0 0 10px var(--color-neonred));
  opacity: 0.8;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .topscroll__inner {
    width: 70px;
    height: 70px;
    opacity: 0.5;
  }
}
@media screen and (min-width: 1280px) {
  .topscroll__inner {
    width: 85px;
    height: 85px;
  }
}
.topscroll__inner:hover {
  opacity: 1;
}
.topscroll__inner span {
  font-size: 24px;
  color: var(--color-neonred);
}
@media screen and (min-width: 768px) {
  .topscroll__inner span {
    font-size: 26px;
  }
}
@media screen and (min-width: 1280px) {
  .topscroll__inner span {
    font-size: 28px;
  }
}
.topscroll.js-noappear {
  opacity: 0;
}
.topscroll.js-appear {
  opacity: 1;
}

/* ページのタイトル */
.title-section {
  max-width: var(--main-width);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
}
@media screen and (min-width: 768px) {
  .title-section {
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 1280px) {
  .title-section {
    margin-bottom: 100px;
  }
}
.title-section > *:not(:first-child) {
  margin-top: 30px;
}
@media screen and (min-width: 1024px) {
  .title-section > *:not(:first-child) {
    margin-top: 50px;
  }
}
.title-section > *:not(:last-child) {
  margin-bottom: 30px;
}
@media screen and (min-width: 1024px) {
  .title-section > *:not(:last-child) {
    margin-bottom: 50px;
  }
}

section.page-title {
  max-width: var(--main-width);
  margin-bottom: 60px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  section.page-title {
    margin-bottom: 80px;
  }
}
@media screen and (min-width: 1280px) {
  section.page-title {
    margin-bottom: 100px;
  }
}

.page-title {
  position: relative;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--color-black-rgb), 0.5) 15%, rgba(var(--color-black-rgb), 0.5) 50%, rgba(var(--color-black-rgb), 0.5) 85%, transparent 100%);
  padding-top: 25px;
  padding-bottom: 25px;
}
@media screen and (min-width: 768px) {
  .page-title {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
.page-title::before, .page-title::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  background-color: rgba(var(--color-text-rgb), 0.5);
  box-shadow: 0 0 8px 0 rgba(var(--color-text-rgb), 0.5), 0 0 10px 0 rgba(var(--color-text-rgb), 0.5);
}
.page-title::before {
  top: 0;
}
.page-title::after {
  bottom: 0;
}
.page-title__title {
  font-family: var(--font-en);
  text-align: center;
  color: var(--color-text);
  font-size: clamp(1.625rem, 1.417rem + 1.04vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  filter: url(#effect-neon);
  /* font-size=>サイズ26px‐36px　画面320px-1280px */
}
.page-title__title.ja {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 1.333rem + 0.83vw, 2rem);
  font-weight: 400;
  /* font-size=>サイズ24px‐32px　画面320px-1280px */
}
.page-title.neon-red {
  background: linear-gradient(90deg, transparent 0%, rgba(var(--color-neonred-rgb), 0.05) 50%, transparent 100%), linear-gradient(90deg, transparent 0%, rgba(var(--color-black-rgb), 0.5) 15%, rgba(var(--color-black-rgb), 0.5) 50%, rgba(var(--color-black-rgb), 0.5) 85%, transparent 100%);
}
.page-title.neon-red::before, .page-title.neon-red::after {
  background-color: rgba(var(--color-neonred-rgb), 0.5);
  box-shadow: 0 0 8px 0 var(--color-neonred), 0 0 10px 0 var(--color-neonred);
}
.page-title.neon-red .page-title__title {
  color: var(--color-neonred);
}
.page-title.neon-blue {
  background: linear-gradient(90deg, transparent 0%, rgba(var(--color-neonblue-rgb), 0.05) 50%, transparent 100%), linear-gradient(90deg, transparent 0%, rgba(var(--color-black-rgb), 0.5) 15%, rgba(var(--color-black-rgb), 0.5) 50%, rgba(var(--color-black-rgb), 0.5) 85%, transparent 100%);
}
.page-title.neon-blue::before, .page-title.neon-blue::after {
  background-color: rgba(var(--color-neonblue-rgb), 0.5);
  box-shadow: 0 0 8px 0 var(--color-neonblue), 0 0 10px 0 var(--color-neonblue);
}
.page-title.neon-blue .page-title__title {
  color: var(--color-neonblue);
}
.page-title.neon-pink {
  background: linear-gradient(90deg, transparent 0%, rgba(var(--color-neonpink-rgb), 0.05) 50%, transparent 100%), linear-gradient(90deg, transparent 0%, rgba(var(--color-black-rgb), 0.5) 15%, rgba(var(--color-black-rgb), 0.5) 50%, rgba(var(--color-black-rgb), 0.5) 85%, transparent 100%);
}
.page-title.neon-pink::before, .page-title.neon-pink::after {
  background-color: rgba(var(--color-neonpink-rgb), 0.5);
  box-shadow: 0 0 8px 0 var(--color-neonpink), 0 0 10px 0 var(--color-neonpink);
}
.page-title.neon-pink .page-title__title {
  color: var(--color-neonpink);
}

/* section */
.main-section:not(:last-child) {
  margin-bottom: 50px;
}
@media screen and (min-width: 768px) {
  .main-section:not(:last-child) {
    margin-bottom: 80px;
  }
}

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

パーツのデザイン

==================================================*/
/*
見出し
_________________________________________*/
/* h2：通常見出し */
.mainh2 {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 0px 5px 12px;
  margin-bottom: calc(1rem + 5px);
}
@media screen and (min-width: 768px) {
  .mainh2 {
    gap: 15px;
    padding: 0px 10px 18px;
  }
}
@media screen and (min-width: 1280px) {
  .mainh2 {
    margin-bottom: calc(1rem + 8px);
  }
}
.mainh2::before, .mainh2::after {
  content: "";
  width: 100%;
  position: absolute;
  left: 0;
  background: linear-gradient(90deg, var(--color-main) 0%, transparent 100%);
}
.mainh2::before {
  height: 2px;
  bottom: 5px;
}
@media screen and (min-width: 768px) {
  .mainh2::before {
    bottom: 6px;
  }
}
.mainh2::after {
  height: 1px;
  bottom: 0px;
}
.mainh2__icon {
  display: block;
  width: 30px;
  height: 30px;
  aspect-ratio: 1/1;
  background-image: url("../../images/default/china-icon-red.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
@media screen and (min-width: 768px) {
  .mainh2__icon {
    width: 40px;
    height: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .mainh2__icon {
    width: 45px;
    height: 45px;
  }
}
.mainh2__icon.color-yellow {
  background-image: url("../../images/default/china-icon-yellow.svg");
}
.mainh2__text {
  font-family: var(--font-ja);
  color: var(--color-main);
}
.mainh2__text.ja {
  font-size: clamp(1.375rem, 1.25rem + 0.63vw, 1.75rem);
  /* font-size=>サイズ22px‐28px　画面320px-1280px */
}
.mainh2.color-red::before, .mainh2.color-red::after {
  background: linear-gradient(90deg, var(--color-sub) 0%, transparent 100%);
}
.mainh2.color-red .mainh2__text {
  color: var(--color-sub);
}

/* h3：通常見出し */
.mainh3 {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(var(--color-sub-rgb), 0.5) 0%, transparent 100%);
  padding: 10px 10px 10px 15px;
  margin-bottom: calc(1rem + 5px);
}
.mainh3::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  aspect-ratio: 1/1;
  background-color: var(--color-sub);
  border-radius: 2px;
  transform: rotate(45deg);
}
@media screen and (min-width: 768px) {
  .mainh3::before {
    width: 16px;
    height: 16px;
  }
}
.mainh3.icon-yellow:before {
  background-color: var(--color-main);
}
.mainh3.color-yellow {
  background: linear-gradient(90deg, rgba(var(--color-main-rgb), 0.5) 0%, transparent 100%);
}
.mainh3 span {
  font-family: var(--font-ja);
  color: var(--color-main);
}
.mainh3 span.color-red {
  color: var(--color-sub);
}

.subh3 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 2px;
  margin-bottom: calc(1rem + 5px);
}
.subh3::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  aspect-ratio: 1/1;
  background-color: var(--color-sub);
  border-radius: 2px;
  transform: rotate(45deg);
}
@media screen and (min-width: 768px) {
  .subh3::before {
    width: 16px;
    height: 16px;
  }
}
.subh3.icon-yellow:before {
  background-color: var(--color-main);
}
.subh3 span {
  font-weight: 600;
}
.subh3 span.color-yellow {
  color: var(--color-main);
}
.subh3 span.color-red {
  color: var(--color-sub);
}

/* h4：通常見出し */
.mainh4 {
  font-weight: 600;
  color: var(--color-main);
  border-left: 2px solid var(--color-main);
  padding: 3px 10px;
}
@media screen and (min-width: 768px) {
  .mainh4 {
    padding: 5px 10px 5px 15px;
  }
}
.mainh4.color-red {
  color: var(--color-sub);
  border-color: var(--color-sub);
}

/*
ライン
_________________________________________*/
.icon-line {
  display: grid;
  align-items: center;
  gap: 15px;
  grid-template-columns: auto 1fr;
}
@media screen and (min-width: 768px) {
  .icon-line {
    gap: 20px;
  }
}
.icon-line span:nth-of-type(1) {
  display: block;
  width: 25px;
  height: 25px;
  aspect-ratio: 1/1;
  background-image: url("../../images/default/china-icon-small.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.5;
  filter: drop-shadow(0 0 3px var(--color-neonred)) drop-shadow(0 0 8px var(--color-neonred));
}
@media screen and (min-width: 768px) {
  .icon-line span:nth-of-type(1) {
    width: 28px;
    height: 28px;
  }
}
.icon-line span:nth-of-type(2) {
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgba(var(--color-sub-rgb), 0.5);
}

/*
入力系
_________________________________________*/
/* ベース */
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=date],
input[type=password],
input[type=search],
textarea {
  width: 100%;
  background-color: rgba(var(--color-black-rgb), 0.5);
  line-height: 1.6;
  color: var(--color-text);
  border: none;
  border-radius: 3px;
  padding: 10px;
  transition: all var(--transition-all);
}
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=password]::-moz-placeholder, input[type=search]::-moz-placeholder, textarea::-moz-placeholder {
  color: rgba(var(--color-text-rgb), 0.5);
}
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=password]::placeholder,
input[type=search]::placeholder,
textarea::placeholder {
  color: rgba(var(--color-text-rgb), 0.5);
}
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=password]:-ms-input-placeholder,
input[type=search]:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: rgba(var(--color-text-rgb), 0.5);
}
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=password]::-webkit-input-placeholder,
input[type=search]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgba(var(--color-text-rgb), 0.5);
}
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=password]::-moz-placeholder,
input[type=search]::-moz-placeholder,
textarea::-moz-placeholder {
  color: rgba(var(--color-text-rgb), 0.5);
  opacity: 1;
}

input:focus,
textarea:focus {
  outline: none;
  background-color: var(--color-black);
}

select {
  width: 100%;
  background-color: rgba(var(--color-black-rgb), 0.5);
  line-height: 1.6;
  color: var(--color-text);
  border: none;
  border-radius: 3px;
  padding: 10px;
  transition: all var(--transition-all);
}
select option {
  background-color: var(--color-black);
}
select:focus, select:focus-visible {
  outline: none;
}

input[type=checkbox] {
  height: 22px;
  width: 22px;
  aspect-ratio: 1/1;
  position: relative;
  border: 1px solid var(--color-text);
  border-radius: 3px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
@media screen and (min-width: 768px) {
  input[type=checkbox] {
    height: 24px;
    width: 24px;
  }
}
input[type=checkbox]:checked {
  background-color: rgba(var(--color-main-rgb), 0.3);
  border-color: var(--color-main);
}
input[type=checkbox]:checked::before {
  content: "\e5ca";
  height: 100%;
  position: absolute;
  left: 50%;
  font-family: "Material Symbols Rounded";
  font-size: 18px;
  color: var(--color-main);
  transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  input[type=checkbox]:checked::before {
    font-size: 20px;
  }
}

input[type=radio] {
  height: 22px;
  width: 22px;
  aspect-ratio: 1/1;
  position: relative;
  border: 1px solid var(--color-text);
  border-radius: 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
@media screen and (min-width: 768px) {
  input[type=radio] {
    height: 24px;
    width: 24px;
  }
}
input[type=radio]:checked {
  border-color: var(--color-main);
}
input[type=radio]:checked::before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--color-main);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
  input[type=radio]:checked::before {
    height: 16px;
    width: 16px;
  }
}

input[type=button],
input[type=submit],
button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-main);
  font-size: clamp(0.875rem, 0.833rem + 0.21vw, 1rem);
  font-weight: 500;
  text-align: center;
  color: var(--color-white);
  border: 1px solid var(--color-main);
  border-radius: 2px;
  padding: 12px 10px;
  transition: all var(--transition-all);
  cursor: pointer;
  /* font-size=>サイズ14px‐16px　画面320px-1280px */
}
@media screen and (min-width: 425px) {
  input[type=button],
  input[type=submit],
  button {
    padding: 15px 20px;
  }
}
input[type=button]:hover,
input[type=submit]:hover,
button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-button-hover);
}
input[type=button]:disabled,
input[type=submit]:disabled,
button:disabled {
  background-color: rgba(var(--color-text-rgb), 0.1);
  color: var(--color-gray);
  border-color: var(--color-gray);
  cursor: not-allowed;
}
input[type=button]:disabled:hover,
input[type=submit]:disabled:hover,
button:disabled:hover {
  transform: none;
  box-shadow: unset;
}
input[type=button]:focus,
input[type=submit]:focus,
button:focus {
  outline: unset;
}

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

てがろぐデザイン

==================================================*/
/*
投稿部分
_________________________________________*/
/* root調整 */
.post-area:not(:has(.postform)) {
  display: none;
}

.post-area .line-textarea textarea {
  display: block;
}

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

/* 掲載領域全体 */
.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-color: rgba(var(--color-text-rgb), 0.5);
  padding: 10px 15px;
}
.decoBtns input[type=button]:hover {
  background-color: rgba(var(--color-text-rgb), 0.3);
  color: var(--color-text);
  transform: none;
}

.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 input[type=file] {
  width: 100%;
  border: 1px solid rgba(var(--color-text-rgb), 0.5);
  border-radius: 3px;
  padding: 10px 15px;
}

.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-neonred);
  text-decoration-style: double;
}
.decoBtns input[type=button] {
  /* 強調  :E */
}
.decoBtns input[type=button].decoBtnE {
  font-weight: bold;
  color: var(--color-main);
}
.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-main);
}
.decoBtns input[type=button] {
  /* 文字色:C */
}
.decoBtns input[type=button].decoBtnC {
  color: var(--color-main);
}
.decoBtns input[type=button] {
  /* 背景色:M */
}
.decoBtns input[type=button].decoBtnM {
  background-color: rgba(var(--color-main-rgb), 0.3);
}

/* ▼直近画像挿入ボタン周り */
.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;
  font-size: 0.9em;
}

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

.catChecks label:hover {
  text-decoration: underline;
}

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

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

/*
メインエリア
_________________________________________*/
.main-area {
  width: 100%;
  min-width: 1px;
}

/* シチュエーションエリア */
.situation-area {
  background-color: rgba(var(--color-black-rgb), 0.2);
  border-top: 1px solid rgba(var(--color-main-rgb), 0.5);
  border-bottom: 1px solid rgba(var(--color-main-rgb), 0.5);
  padding: 5px 0px;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 35px;
}
@media screen and (min-width: 425px) {
  .situation-area {
    border: 1px solid rgba(var(--color-main-rgb), 0.5);
    border-radius: 3px;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1024px) {
  .situation-area {
    margin-bottom: 50px;
  }
}
.situation-area .situation {
  background-color: rgba(var(--color-black-rgb), 0.5);
  padding: 15px 20px;
}
@media screen and (min-width: 425px) {
  .situation-area .situation {
    border-radius: 3px;
  }
}
@media screen and (min-width: 768px) {
  .situation-area .situation {
    padding: 20px;
  }
}

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

/* ログリスト */
.onelog-list {
  display: flex;
  gap: 30px;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .onelog-list {
    gap: 40px;
  }
}
.onelog-list:has(.onelog-box) .icon-line-first {
  display: none;
}

.nodata.nolist {
  text-align: center;
}

/* データセパレーター：設定で非表示推奨 */
.dateseparator {
  background-color: rgba(var(--color-text-rgb), 0.05);
  padding: 20px;
  margin-left: -20px;
  margin-right: -20px;
  box-shadow: var(--shadow-box-inset);
}
@media screen and (min-width: 425px) {
  .dateseparator {
    width: 100%;
    border-radius: 8px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 768px) {
  .dateseparator {
    border-radius: 10px;
    padding: 25px;
  }
}

.datefunclinks a {
  font-size: 14px;
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-main-rgb), 0.5);
  text-underline-offset: 5px;
  padding-left: 5px;
  padding-right: 5px;
}

/* ページナビ */
.page-navi {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.page-navi__nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

span.omitmark,
a.pagenumlink {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  aspect-ratio: 1/1;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 3px;
}
@media screen and (min-width: 768px) {
  span.omitmark,
  a.pagenumlink {
    width: 40px;
    height: 40px;
  }
}

span.omitmark {
  color: rgba(var(--color-text-rgb), 0.5);
}

a.pagenumlink {
  color: var(--color-text);
  transition: all var(--transition-all);
}

a.pagenumlink:not(.pagenumhere):hover {
  color: var(--color-neonred);
  border-color: rgba(var(--color-neonred-rgb), 0.5);
  text-shadow: 0 0 10px var(--color-neonred), 0 0 15px var(--color-neonred);
  box-shadow: 0 0 10px 0 rgba(var(--color-neonred-rgb), 0.3), inset 0 0px 10px 0 rgba(var(--color-neonred-rgb), 0.3);
}

a.pagenumlink.pagenumhere {
  color: var(--color-neonred);
  text-shadow: 0 0 10px var(--color-neonred), 0 0 15px var(--color-neonred);
}

.page-navi__nums:empty {
  display: none;
}

.page-navi__home {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.page-navi__home a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  position: relative;
  background-color: var(--color-main);
  font-weight: 500;
  text-align: center;
  color: var(--color-white);
  border: 1px solid var(--color-main);
  border-radius: 2px;
  padding: 12px 15px;
  transition: all var(--transition-all);
}
@media screen and (min-width: 425px) {
  .page-navi__home a {
    min-width: 150px;
    padding: 15px 30px;
  }
}
.page-navi__home a::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(var(--color-back-rgb), 0.05);
  transition: opacity var(--transition-all);
  z-index: 1;
  opacity: 0;
}
.page-navi__home a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-button-hover);
}
.page-navi__home a:hover::after {
  opacity: 1;
}

.page-navi__home:empty {
  display: none;
}

/*
1投稿分
_________________________________________*/
.onelog-box {
  padding-left: 5px;
  padding-right: 5px;
}
@media screen and (min-width: 425px) {
  .onelog-box {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 情報エリア */
.log-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
  row-gap: 10px;
  margin-top: 30px;
}
@media screen and (min-width: 768px) {
  .log-info {
    -moz-column-gap: 25px;
         column-gap: 25px;
    margin-top: 40px;
  }
}

/* 新着表示 */
.new-sign:not(:has(.fixed)) {
  font-family: var(--font-en);
  font-weight: 700;
  line-height: normal;
  color: var(--color-neonred);
  text-shadow: 0 0 10px var(--color-neonred), 0 0 15px var(--color-neonred);
  animation-name: Label-Blinking;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

@keyframes Label-Blinking {
  0%, 25%, 75%, 100% {
    text-shadow: 0 0 10px var(--color-neonred), 0 0 15px var(--color-neonred);
  }
  50% {
    text-shadow: 0 0 10px transparent, 0 0 15px transparent;
  }
}
/* 各種リンク部分 */
.post-date {
  font-family: var(--font-ja);
}

.cate-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.cate-link:empty {
  display: none;
}
.cate-link .categorylink {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(0.75rem, 0.708rem + 0.21vw, 0.875rem);
  color: var(--color-text);
  border: 1px solid rgba(var(--color-text-rgb), 0.1);
  border-radius: 3px;
  padding: 5px 20px;
  transition: all var(--transition-all);
  /* font-size=>サイズ12px‐14px　画面320px-1280px */
}
.cate-link .categorylink:hover {
  background-color: rgba(var(--color-text-rgb), 0.1);
  border-color: rgba(var(--color-text-rgb), 0.5);
}

.edit-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.edit-link:empty {
  display: none;
}
.edit-link a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(0.75rem, 0.708rem + 0.21vw, 0.875rem);
  border: 1px solid rgba(var(--color-main-rgb), 0.5);
  border-radius: 3px;
  padding: 5px 20px;
  transition: all var(--transition-all);
}
.edit-link a:hover {
  background-color: rgba(var(--color-main-rgb), 0.1);
  color: var(--color-main);
  border-color: rgba(var(--color-main-rgb), 0.8);
}

/* 詳細ページのリンク軍 */
.utilitylinks ul {
  list-style: none;
  padding-inline-start: 0px;
}
.utilitylinks > ul > li {
  border-top: 1px solid rgba(var(--color-text-rgb), 0.1);
  padding: 10px;
}
.utilitylinks > ul > li:last-child {
  border-bottom: 1px solid rgba(var(--color-text-rgb), 0.1);
}
.utilitylinks > ul > li a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: rgba(var(--color-main-rgb), 0.5);
  text-underline-offset: 5px;
}
.utilitylinks > ul > li > ul {
  display: flex;
  gap: 8px;
  flex-direction: column;
  list-style: disc;
  padding-inline-start: 1.6em;
}
.utilitylinks span.udhead {
  display: block;
  background-color: rgba(var(--color-main-rgb), 0.1);
  font-family: var(--font-ja);
  color: var(--color-main);
  padding: 5px;
  margin-bottom: 8px;
}

/* 本文内の特殊装飾 */
.log-body .readmorebutton {
  display: inline-block;
  border: 1px solid rgba(var(--color-main-rgb), 0.5);
  border-radius: 3px;
  padding: 3px 10px;
  transition: all var(--transition-all);
}
.log-body .readmorebutton:hover {
  background-color: rgba(var(--color-main-rgb), 0.1);
  color: var(--color-main);
  border-color: rgba(var(--color-main-rgb), 0.8);
}
.log-body .taglink {
  display: inline-block;
  color: var(--color-text);
  border: 1px solid rgba(var(--color-text-rgb), 0.1);
  border-radius: 3px;
  padding: 3px 10px;
  transition: all var(--transition-all);
}
.log-body .taglink:hover {
  background-color: rgba(var(--color-text-rgb), 0.1);
  border-color: rgba(var(--color-text-rgb), 0.5);
}

/*
鍵付き(パスワード保護)投稿に表示される鍵入力フォームの装飾
_________________________________________*/
.passkeyform {
  display: block;
  padding: 15px;
  background-color: rgba(var(--color-black-rgb), 0.2);
  border: 1px solid rgba(var(--color-main-rgb), 0.3);
  border-radius: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ▼鍵違いエラーの表示 */
.passkeyerror {
  display: block;
  background-color: rgba(var(--color-sub-rgb), 0.8);
  text-align: center;
  color: var(--color-text);
  border-radius: 3px;
  padding: 5px 15px;
  margin-bottom: 10px;
}

/* ▼入力フォーム枠 */
.passkeybox {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ▼鍵入力欄 */
.passkeybox input[type=text] {
  max-width: 300px;
}

/* ▼送信ボタン */
.submitcovert {
  display: block;
}

/*
サブエリア
_________________________________________*/
.sub-area {
  display: grid;
  align-items: start;
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 40px;
  width: 100%;
  min-width: 1px;
}
@media screen and (min-width: 425px) {
  .sub-area {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1024px) {
  .sub-area {
    grid-template-columns: auto;
    row-gap: 50px;
  }
}
.sub-area > * {
  min-width: 1px;
}

/* タイトル */
.sub-title {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);
  padding: 10px 10px 10px 15px;
}
.sub-title::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  aspect-ratio: 1/1;
  background-color: var(--color-main);
  border-radius: 1px;
  transform: rotate(45deg);
}
@media screen and (min-width: 768px) {
  .sub-title::before {
    width: 12px;
    height: 12px;
  }
}
.sub-title.color-red {
  border-color: var(--color-sub);
}
.sub-title.color-red::before {
  background-color: var(--color-sub);
}
.sub-title span {
  font-family: var(--font-en);
  font-size: clamp(1rem, 0.958rem + 0.21vw, 1.125rem);
  font-weight: 700;
  /* font-size=>サイズ16px‐18px　画面320px-1280px */
}

/* リスト系のリセット */
.sub-section ul {
  list-style: none;
  padding-inline-start: 0px;
}

/* 検索 */
.search-item input[type=text] {
  padding-right: 50px;
}
@media screen and (min-width: 768px) {
  .search-item input[type=text] {
    padding-right: 55px;
  }
}
.search-item input[type=submit] {
  min-width: 1px;
  background-color: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  border: none;
  padding: 10px;
}
.search-item input[type=submit]:hover {
  background-color: rgba(var(--color-text-rgb), 0.2);
  transform: none;
  box-shadow: unset;
}
.search-item .searchinputs {
  display: block;
  position: relative;
  background-color: rgba(var(--color-black-rgb), 0.2);
  border: 1px solid rgba(var(--color-main-rgb), 0.3);
  border-radius: 3px;
  padding: 5px;
  transition: all var(--transition-all);
}
.search-item .searchinputs:has(:focus) {
  border-color: rgba(var(--color-main-rgb), 0.5);
  box-shadow: var(--shadow-box-hover);
}
.search-item .submitcover {
  display: block;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 2;
}
.search-item .searchtarget {
  margin-top: 10px;
}
.search-item .searchoption {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-item .searchoption span {
  font-size: 14px;
}

/* カテゴリ */
.cattree {
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.cattree li.catbranch {
  position: relative;
  flex-grow: 1;
  font-size: 14px;
}
.cattree li.catbranch a.catlink {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  border-radius: 3px;
  padding: 5px 40px 5px 10px;
  transition: background-color var(--transition-all);
}
.cattree li.catbranch a.catlink:hover {
  background-color: rgba(var(--color-text-rgb), 0.1);
}
.cattree li.catbranch .num {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 2;
}

/* ハッシュタグ */
.hashtaglist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.hashtaglist li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  border: 1px solid rgba(var(--color-text-rgb), 0.1);
  border-radius: 3px;
  padding: 5px 10px;
  transition: all var(--transition-all);
}
.hashtaglist li::before {
  content: "#";
  display: inline;
}
.hashtaglist li:has(a:hover) {
  background-color: rgba(var(--color-text-rgb), 0.1);
  border-color: rgba(var(--color-text-rgb), 0.5);
}
.hashtaglist li a.taglink {
  color: var(--color-text);
}

/* 月別 */
.datelimitlist {
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.datelimitlist > li.datelimit-year {
  position: relative;
  flex-grow: 1;
  font-size: 14px;
}
.datelimitlist > li.datelimit-year > a {
  display: block;
  color: var(--color-text);
  border-radius: 3px;
  padding: 5px 40px 5px 10px;
  margin-bottom: 5px;
  transition: background-color var(--transition-all);
}
.datelimitlist > li.datelimit-year > a:hover {
  background-color: rgba(var(--color-text-rgb), 0.1);
}
.datelimitlist > li.datelimit-year > .num {
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 2;
}

.datelimitsublist {
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.datelimitsublist > li.datelimit-month {
  position: relative;
  flex-grow: 1;
  font-size: 14px;
}
.datelimitsublist > li.datelimit-month > a {
  display: block;
  color: var(--color-text);
  border-radius: 3px;
  padding: 5px 40px 5px 10px;
  transition: background-color var(--transition-all);
}
.datelimitsublist > li.datelimit-month > a::before {
  content: "-";
  display: inline;
  padding-right: 10px;
}
.datelimitsublist > li.datelimit-month > a:hover {
  background-color: rgba(var(--color-text-rgb), 0.1);
}
.datelimitsublist > li.datelimit-month > .num {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 2;
}

.datelimitlist > li.datelimit-month {
  position: relative;
  flex-grow: 1;
  font-size: 14px;
}
.datelimitlist > li.datelimit-month > a {
  display: block;
  color: var(--color-text);
  border-radius: 3px;
  padding: 5px 40px 5px 10px;
  transition: background-color var(--transition-all);
}
.datelimitlist > li.datelimit-month > a:hover {
  background-color: rgba(var(--color-text-rgb), 0.1);
}
.datelimitlist > li.datelimit-month > .num {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 2;
}

/* 管理ツールアイコン */
.sub-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.sub-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: var(--color-main);
  border: 1px solid rgba(var(--color-main-rgb), 0.5);
  border-radius: 3px;
  padding: 10px;
  transition: all var(--transition-all);
}
.sub-icons a:hover {
  background-color: var(--color-main);
  color: var(--color-text);
  border-color: var(--color-main);
  box-shadow: var(--shadow-button-hover);
}

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

装飾

==================================================*/
/*
てがろぐ標準機能調整
_________________________________________*/
/* ------------------------- */
/* ▼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;
  /* 内部レイアウトのFlexbox化 */
  background-color: var(--color-back);
  /* 背景色 */
  border: 1px solid rgba(var(--color-main-rgb), 0.5);
  /* 枠線 */
  border-radius: 7px;
  /* 角丸 */
  transition: all var(--transition-all);
  /* 動き */
}

/* (マウスが載ったとき) */
.cardlinkbox:hover {
  border-color: var(--color-main);
  /* 枠線色 */
  box-shadow: var(--shadow-box-hover);
  /* シャドウ */
}

/* ▽リンクカード内の画像枠 (※読み込まれたog:imageは、この枠に《背景画像として》描画されます) */
.cardlinkimage {
  background-image: linear-gradient(90deg, rgba(var(--color-main-rgb), 0.2) 0%, rgba(var(--color-sub-rgb), 0.2) 100%);
  /* プレースホルダ的な背景グラデーション(※og:imageの画像指定が読み込まれたら、この値は上書きされます) */
  background-size: cover;
  /* 背景画像で枠を埋める */
  background-position: center center;
  /* 背景画像を中央に寄せる */
  background-repeat: no-repeat;
  /* 背景画像を繰り返さない */
}

/* ▽リンクカード内のテキスト枠 */
.cardlinktextbox {
  display: flex;
  /* Flexbox化 */
  flex-direction: column;
  /* 子要素を縦方向に並べる */
  gap: 5px;
  /* 子要素の隙間 */
  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 {
  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-gray);
  /* 文字色 */
}

/* ----------------------------------- */
/* リンクカードの装飾(サイズ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 rgba(var(--color-main-rgb), 0.5);
  /* 左側の枠線 */
  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 rgba(var(--color-main-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-main-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-gray);
  /* 文字色 */
  text-decoration-line: line-through;
  /* 取り消し線 */
  text-decoration-color: var(--color-neonred);
  /* 線の色 */
}

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

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

/* Q:引用(Quote) */
.decorationQ {
  display: block;
  /* ※Ver 2.2.0以降必須の記述 */
  background-color: rgba(var(--color-black-rgb), 0.3);
  /* 背景色 */
  font-size: 0.95em;
  /* 文字サイズ */
  border-left: 1px solid var(--color-main);
  /* 左端の枠線 */
  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: rgba(var(--color-main-rgb), 0.5);
  /* 線配色 */
}

/* O:折りたたみ */
.decorationO {
  padding-bottom: 5px;
}
.decorationO .foldswitch {
  color: var(--color-main);
  padding-top: 5px;
  padding-bottom: 5px;
  cursor: pointer;
}

/* ---------------------- */
/* ▼自由装飾用の装飾の例 */
/* 自由装飾は [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: #0e0e0e;
  /* 背景色 */
  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
  /* 等幅フォント */
  color: var(--color-text);
  /* 文字色 */
  border: 1px solid #373737;
  /* 枠線 */
  border-radius: 2px;
  /* 角丸 */
  padding: 1px 5px;
  /* 内側の余白量 */
}

.deco-separator {
  display: block;
  /* ブロック化 */
  border-bottom: 1px dotted rgba(var(--color-main-rgb), 0.5);
  /* 下線 */
  padding-bottom: 1em;
  margin-bottom: 1em;
  /* セパレーター前後に余白を入れる */
}

.deco-flex {
  display: flex;
  /* Flexbox */
  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: 8px ridge rgba(220, 250, 90, 0.6);
  /* 浮き上がる淡緑色の枠線を付加 */
}

/* I:斜体(Italic)に含まれる画像に対する装飾 */
.decorationI img {
  box-shadow: -5px 5px 0px rgba(var(--color-main-rgb), 0.5);
  /* 左下に黄色の影を付ける */
}

/* Q:引用(Quote)に含まれる画像に対する装飾 */
.decorationQ img {
  vertical-align: middle;
  /* 行の上下方向で真ん中に寄せる */
}

/* S:小文字(Small)に含まれる画像に対する装飾 */
.decorationS img {
  border-radius: 15px;
  /* 半径15pxで角丸にする */
  vertical-align: middle;
  /* 行の上下方向で真ん中に寄せる */
}

/* T:極小文字(Tiny)に含まれる画像に対する装飾 */
.decorationT img {
  width: auto;
  /* 横幅は縦横比を維持する */
  max-height: 75px;
  /* 高さを最大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: 1px solid rgba(var(--color-main-rgb), 0.5);
  /* 枠線 */
  border-collapse: collapse;
  /* displayをinline-tableにする場合に必要 */
  vertical-align: top;
  /* 行内では上に寄せる */
}

/* キャプション */
.embeddedpictbox figcaption {
  display: table-caption;
  /* キャプションが画像幅から外に出ないようにする */
  caption-side: bottom;
  /* キャプションの位置(上にしたければtop) */
  background-color: rgba(var(--color-main-rgb), 0.3);
  /* 背景色 */
  font-size: 0.8em;
  /* 文字サイズ */
  text-align: center;
  /* センタリング */
  padding: 3px;
}

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

/* ▽画像リンク */
.imagelink {
  display: inline-block;
  line-height: 1;
  /* 表示形態によっては画像の下に余計な空白が出るのを防ぐ対策 */
  vertical-align: inherit;
  /* 同上 */
}

/* ▽フラグ付き画像 (※設定や採用記法によって出力パターンが複数あるため、あらゆるパターンに対応させるべく同じスタイルを2重に指定しています。) */
figure.nsfw {
  overflow: hidden;
  /* ぼかし領域がfigureのボックスからはみ出ないようにする */
}

.imagelink.nsfw {
  overflow: hidden;
  /* ぼかし領域がfigureのボックスからはみ出ないようにする */
}

img.nsfw {
  filter: blur(9px);
  /* ぼかす */
}

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

/* ▽[VIDEO:キャプション]URL記法で、キャプション付きで掲載される場合のキャプション部分 */
.videotitle {
  background-color: var(--color-black);
  text-align: center;
  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-color: rgba(var(--color-black-rgb), 0.5);
  border: 1px solid rgba(var(--color-main-rgb), 0.5);
  border-radius: 9px;
  margin: 0.3em 0;
  padding: 1em;
  font-size: 0.95em;
  color: #999;
}

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

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

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

.deco-red-color {
  color: var(--color-sub);
}

.deco-neon-red-color {
  color: var(--color-neonred);
}

.deco-neon-blue-color {
  color: var(--color-neonblue);
}

.deco-neon-pink-color {
  color: var(--color-neonpink);
}

.deco-maker-yellow {
  background-color: rgba(var(--color-main-rgb), 0.3);
}

.deco-maker-red {
  background-color: rgba(var(--color-sub-rgb), 0.5);
}

.deco-maker-neon-red {
  background-color: rgba(var(--color-neonred-rgb), 0.2);
}

.deco-maker-neon-blue {
  background-color: rgba(var(--color-neonblue-rgb), 0.2);
}

.deco-maker-neon-pink {
  background-color: rgba(var(--color-neonpink-rgb), 0.2);
}

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

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

.deco-halfmaker-neon-red {
  background: linear-gradient(transparent 50%, rgba(var(--color-neonred-rgb), 0.2) 50%);
}

.deco-halfmaker-neon-blue {
  background: linear-gradient(transparent 50%, rgba(var(--color-neonblue-rgb), 0.2) 50%);
}

.deco-halfmaker-neon-pink {
  background: linear-gradient(transparent 50%, rgba(var(--color-neonpink-rgb), 0.2) 50%);
}

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

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

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

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

.deco-font-jp {
  font-family: var(--font-ja);
}