@charset "UTF-8";
:root {
  --color-brightest: #fff;
  --color-contrast: #f4f4f6;
  --color-base: #222;
  --color-main: #001482;
  --color-accent: #ff5d4a;
  --color-primary: #000;
  --color-link: #00f;
  --color-inactive: #ccc;
  --color-gray: #e5e5e5;
  --color-gray02: #b5b5b5;
  --color-gray03: #808080;
  --color-gray04: #9b9b9b;
  --z-index-loading: 9999;
  --z-index-loading-bg: 9998;
  --z-index-burger: 9100;
  --z-index-header: 9000;
  --z-index-on: 2;
  --transition-duration: 0.5s;
  --notosans-top-offset: 0.07em;
  --reverse-notosans-top-offset: -0.07em;
}

@font-face {
  font-family: noto-sans-jp;
  font-weight: normal;
  src: url("../fonts/Noto-Sans-JP/NotoSansJP-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: noto-sans-jp;
  font-weight: bold;
  src: url("../fonts/Noto-Sans-JP/NotoSansJP-Bold.woff") format("woff");
  font-display: swap;
}
/* ビジュアルエディタのフォント変更 */
#tinymce {
  font-family: noto-sans-jp, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

#tinymce > * + *,
.c-single-cont > * + * {
  margin-top: 1.5em;
}
#tinymce > * + .c-single-works-def, #tinymce > * + .c-toc-details,
.c-single-cont > * + .c-single-works-def,
.c-single-cont > * + .c-toc-details {
  margin-top: 4em;
}
#tinymce > * + .c-single-works-ttl,
.c-single-cont > * + .c-single-works-ttl {
  margin-top: 2em;
}
#tinymce p img,
.c-single-cont p img {
  display: block;
}
#tinymce p img.aligncenter,
.c-single-cont p img.aligncenter {
  margin-inline: auto;
}
#tinymce p img.alignright,
.c-single-cont p img.alignright {
  margin-left: auto;
}
#tinymce .c-single-works-def,
.c-single-cont .c-single-works-def {
  padding: 32px 16px;
  color: var(--color-main);
  background-color: var(--color-contrast);
}
#tinymce .c-single-works-dttl,
.c-single-cont .c-single-works-dttl {
  display: grid;
  grid-template-columns: auto 1fr;
  font-weight: 700;
}
#tinymce .c-single-works-dttl:not(:first-of-type),
.c-single-cont .c-single-works-dttl:not(:first-of-type) {
  margin-top: 1.5em;
}
#tinymce .c-single-works-dttl::before,
.c-single-cont .c-single-works-dttl::before {
  width: 26px;
  aspect-ratio: 1;
  content: "";
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#tinymce .c-single-works-dttl.--assignment::before,
.c-single-cont .c-single-works-dttl.--assignment::before {
  background-image: url("../images/works/icon-assignment.svg");
}
#tinymce .c-single-works-dttl.--effect::before,
.c-single-cont .c-single-works-dttl.--effect::before {
  background-image: url("../images/works/icon-effect.svg");
}
#tinymce .c-single-works-dttl-inner,
.c-single-cont .c-single-works-dttl-inner {
  display: flex;
}
#tinymce .c-single-works-dttl-inner::before,
.c-single-cont .c-single-works-dttl-inner::before {
  content: "【";
}
#tinymce .c-single-works-dttl-inner::after,
.c-single-cont .c-single-works-dttl-inner::after {
  content: "】";
}
#tinymce .c-single-works-ditem ul li,
.c-single-cont .c-single-works-ditem ul li {
  display: grid;
  grid-template-columns: auto 1fr;
}
#tinymce .c-single-works-ditem ul li::before,
.c-single-cont .c-single-works-ditem ul li::before {
  width: 8px;
  aspect-ratio: 1;
  margin: 9px;
  content: "";
  background-color: var(--color-main);
  border-radius: calc(infinity * 1px);
}
#tinymce .c-single-works-ttl,
.c-single-cont .c-single-works-ttl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5em;
  font-size: 24px;
  font-weight: 700;
  line-height: calc(34/24);
  color: var(--color-main);
}
#tinymce .c-single-works-ttl::before,
.c-single-cont .c-single-works-ttl::before {
  width: calc(4/24 * 1em);
  height: 100%;
  content: "";
  background-color: var(--color-main);
}
#tinymce .c-single-works-subttl,
.c-single-cont .c-single-works-subttl {
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: 18px;
  font-weight: 700;
  line-height: calc(34/18);
}
#tinymce .c-single-works-subttl::before,
.c-single-cont .c-single-works-subttl::before {
  content: "ーー";
}
#tinymce .c-toc-details,
.c-single-cont .c-toc-details {
  padding: 32px 24px;
  border: 1px solid var(--color-base);
}
#tinymce .c-toc-details-summary,
.c-single-cont .c-toc-details-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5em;
  font-weight: 700;
  pointer-events: none;
}
#tinymce .c-toc-details-summary-status-inner,
.c-single-cont .c-toc-details-summary-status-inner {
  display: inline-flex;
  font-weight: 400;
  line-height: calc(26/16);
  pointer-events: auto;
  cursor: pointer;
  transition-timing-function: ease;
  transition-duration: var(--transition-duration);
  transition-property: opacity, color;
  will-change: opacity, color;
  translate: 0 -1px;
}
#tinymce .c-toc-details-summary-status-inner:focus-visible,
.c-single-cont .c-toc-details-summary-status-inner:focus-visible {
  color: var(--color-main);
  opacity: 0.7;
}
@media (any-hover: hover) {
  #tinymce .c-toc-details-summary-status-inner:hover,
  .c-single-cont .c-toc-details-summary-status-inner:hover {
    color: var(--color-main);
    opacity: 0.7;
  }
}
#tinymce .c-toc-details-summary-status-inner::before,
.c-single-cont .c-toc-details-summary-status-inner::before {
  content: "[";
}
#tinymce .c-toc-details-summary-status-inner::after,
.c-single-cont .c-toc-details-summary-status-inner::after {
  content: "]";
}
#tinymce .c-toc-details-summary::before,
.c-single-cont .c-toc-details-summary::before {
  content: "";
}
#tinymce .c-toc-details-content-inner,
.c-single-cont .c-toc-details-content-inner {
  margin-top: 1.5em;
  color: var(--color-main);
}
#tinymce .c-toc-details-h2-item,
.c-single-cont .c-toc-details-h2-item {
  position: relative;
  padding-left: 1.25em;
  font-weight: 700;
}
#tinymce .c-toc-details-h2-item::before,
.c-single-cont .c-toc-details-h2-item::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "▶";
}
#tinymce .c-toc-details-h3-item,
.c-single-cont .c-toc-details-h3-item {
  display: grid;
  grid-template-columns: auto 1fr;
  font-weight: 400;
}
#tinymce .c-toc-details-h3-item::before,
.c-single-cont .c-toc-details-h3-item::before {
  content: "▶";
}
#tinymce .c-toc-details a,
.c-single-cont .c-toc-details a {
  color: var(--color-main);
  text-decoration: none;
}

.bl-post-h2 {
  padding: 2px 16px 6px;
  font-size: calc(22/16 * 1em);
  font-weight: 700;
  line-height: calc(34/22);
  color: var(--color-brightest);
  background-color: var(--color-main);
}
.bl-post-h3 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  font-size: calc(18/16 * 1em);
  line-height: calc(28/18);
}
.bl-post-h3::before {
  width: 4px;
  height: 100%;
  content: "";
  background-color: var(--color-base);
}

/* テキスト */
.bl-post-txt--s {
  font-size: 0.8em;
}

.bl-post-txt--l {
  font-size: 1.2em;
}

.bl-post-txt--ll {
  font-size: 1.4em;
}

.bl-post-txt--xl {
  font-size: 1.8em;
}

/* リンクタグ */
#tinymce a,
.c-single-cont a {
  color: #e25e31;
  text-decoration: underline;
}

/* イタリック文字 */
#tinymce em,
.bl-post-cont em {
  font-family: "游ゴシック", "游ゴシック体";
  font-style: italic;
  font-weight: 500;
}

/* 蛍光マーカー */
.underline-red {
  background: linear-gradient(transparent 60%, #ff7f7f 60%);
}

.underline-blue {
  background: linear-gradient(transparent 60%, #6cf 60%);
}

.underline-green {
  background: linear-gradient(transparent 60%, #6fc 60%);
}

.underline-yellow {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

/* マージン */
.m-20 {
  margin-bottom: 20px !important;
}

.m-30 {
  margin-bottom: 30px !important;
}

.m-40 {
  margin-bottom: 40px !important;
}

/* 画像 */
#tinymce img,
.bl-post-cont img {
  display: block;
  float: none !important;
  width: auto;
  max-width: 100%;
  height: auto;
}

#tinymce img.alignright,
.bl-post-cont img.alignright {
  margin: 0 0 0 auto;
}

#tinymce img.alignleft,
.bl-post-cont img.alignleft {
  margin: 0 auto 0 0;
}

#tinymce img.aligncente,
.bl-post-cont img.aligncenter {
  margin: 0 auto;
}

@media (width <= 750px) {
  #tinymce > * + *,
  .c-single-article > * + * {
    margin-top: 36px;
  }
  #tinymce > * + .c-single-works-def, #tinymce > * + .c-toc-details,
  .c-single-article > * + .c-single-works-def,
  .c-single-article > * + .c-toc-details {
    margin-top: 96px;
  }
  #tinymce > * + .c-single-works-ttl,
  .c-single-article > * + .c-single-works-ttl {
    margin-top: 64px;
  }
  #tinymce .c-single-works-def,
  .c-single-article .c-single-works-def {
    padding: 48px 24px;
  }
  #tinymce .c-single-works-dttl,
  .c-single-article .c-single-works-dttl {
    line-height: 1.5;
  }
  #tinymce .c-single-works-dttl::before,
  .c-single-article .c-single-works-dttl::before {
    width: 39px;
    translate: 0 2px;
  }
  #tinymce .c-single-works-ditem ul li,
  .c-single-article .c-single-works-ditem ul li {
    line-height: 1.5;
  }
  #tinymce .c-single-works-ditem ul li::before,
  .c-single-article .c-single-works-ditem ul li::before {
    width: 12px;
    margin: 15px;
  }
  #tinymce .c-single-works-ttl,
  .c-single-article .c-single-works-ttl {
    font-size: 32px;
  }
  #tinymce .c-single-works-ttl::before,
  .c-single-article .c-single-works-ttl::before {
    width: calc(4/24 * 1em);
  }
  #tinymce .c-single-works-subttl,
  .c-single-article .c-single-works-subttl {
    font-size: 28px;
  }
  #tinymce .c-toc-details,
  .c-single-article .c-toc-details {
    padding: 48px 32px;
    border-width: 2px;
  }
  #tinymce .c-toc-details-summary-status-inner,
  .c-single-article .c-toc-details-summary-status-inner {
    translate: 0 -2px;
  }
}