@charset "utf-8";

:root {
  /* 基本リンク色 */
  --color-base-link: #9971B3;
  --color-base-link-hover: #F97BA5;
  /* サブリンク色 */
  --color-sub: #9971B3;
  --color-sub-02: #F97BA5;
  --color-sub-03: #FDCDDD;
  --color-sub-04: #FDEFF5;

  /* 文字色 */
  --color-base: #4B4E61;
  /* 文字サイズ */
  --font_size-base: 1.6rem;
  /* 基本行間 */
  --line_height-base: 1.5;

  /* 背景色 */
  --bgcolor-body: rgb(250, 250, 250);
  /* 全体横幅 */
  --width-main: 93%;
  /* 最大横幅 */
  --width-main-max: 1300px;

  /* NEWS 背景色 */
  --bgcolor-news: rgb(250, 250, 250);

  /* footer 色 */
  --color-footer-bg: #FDEFF5;
  --color-footer-line: #FDCDDD;

  /* ハンバーガーメニュー */
  --side-menu-button: #9971B3;
  --side-menu-icon: #9971B3;
  --side-menu-heading: #4B4E61;
  --side-menu-bg: #fafafa;
  ;
}


/***==========================================
      基本設定
==========================================***/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  margin: 0;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bgcolor-body);
  color: var(--color-base);
  font-size: var(--font_size-base);
  line-height: var(--line_height-base);
  font-family: "ＭＳ Ｐ明朝,メイリオ";
  font-family: Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', YuGothic, Meiryo, 'Yu Gothic', sans-serif;
  letter-spacing: 0.6px;
}

a {
  color: var(--color-base-link);
  text-decoration: none;
  transition: .3s ease-in-out;
}

@media (hover: hover) {
  a:hover {
    color: var(--color-base-link-hover);
  }
}


/***==========================================
      text
==========================================***/

h1 {
  /* 最小1.8rem | SP:2rem | TB:2.5rem | PC:3rem | 最大3.2rem */
  font-size: clamp(1.8rem, calc(1.25vw + 1.5rem), 2.4rem);
}

.h1_deco::before {
  content: "✦ "
}

.h1_sub {
  font-size: 1.6rem;
}

.h1_deco .h1_sub {
  margin-left: 1.2rem;
  font-size: 1.6rem;
}

h2 {
  /* 最小1.8rem | SP:2rem | TB:2.5rem | PC:3rem | 最大3.2rem */
  font-size: clamp(1.1rem, calc(1.25vw + 1.5rem), 1.25rem);
}

.h2_deco {
  margin-bottom: 0.7rem;
  border-bottom: 1px solid #FDCDDD;
}

.h2_sub {
  margin-left: 0.7rem;
  font-size: 1.1rem;
}

div:not([class]) {
  /* 最小1.2rem | SP:1.4rem | TB:1.5rem | PC:1.6rem | 最大1.4rem */
  font-size: clamp(1.2rem, calc(0.25vw + 1.3rem), 1.4rem);
}

main p {
  /* 最小1.2rem | SP:1.4rem | TB:1.5rem | PC:1.6rem | 最大1.4rem */
  font-size: clamp(1.0rem, calc(0.25vw + 1.3rem), 1.2rem);
}

.text_small {
  box-sizing: border-box;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
}

.italic {
  font-style: italic;
  font-family: Times New Roman, "ＭＳ Ｐゴシック";
}

.under {
  border-bottom: double 6px var(--color-base-link);
}

.bold {
  font-weight: bold;
}

.br {
  word-break: break-all;
}

.new::after {
  content: "NEW";
  margin-left: 1rem;
  color: red;
  font-weight: normal;
  font-size: 1rem;
  letter-spacing: normal;
  animation: blink 1s ease-in-out infinite alternate;
}

.spl:after {
  content: " / ";
  color: var(--color-base);
}


/***==========================================
      option
==========================================***/

.center {
  margin: auto;
  text-align: center;
}

.hidden {
  display: none;
}

.noselect {
  user-select: none;
}


/***==========================================
      img
==========================================***/

img {
  display: block;
}

.radius {
  border-radius: 50%;
  user-select: none;
}

/* 画像影 */
.shadow {
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, .1);
}


/***==========================================
      hover
==========================================***/

@media (hover: hover) {
  .hover1 {
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease 0s;
  }

  .hover1:hover {
    opacity: 0.6;
  }
}


/***==========================================
      header
==========================================***/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #FDCDDD;
}

@media screen and (max-width: 960px) {
  header {
    display: block;
    height: 52px;
  }
}

header .logo {
  margin-left: 3rem;
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: 0.02rem;
  font-weight: bold;
}

@media screen and (max-width: 960px) {
  header .logo {
    margin-top: 1.4rem;
    font-size: 3.2rem;
  }
}

header nav ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

@media screen and (max-width: 960px) {
  header nav ul {
    justify-content: space-around;
    display: none;
  }
}

header nav ul li {
  width: 120px;
  text-align: center;
}

header nav ul li .menu {
  display: block;
  padding: 1em;
  color: 000;
  font-size: 1rem;
  text-decoration: none;
}

header nav ul li .menu:hover {
  background: #FDEFF5;
}

header nav ul li .menu::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto 5px;
  background-size: contain;
  background-repeat: no-repeat;
}

header nav ul li .home_icon::before {
  background: url(../img/icon/home.svg);
}

header nav ul li .about_icon::before {
  background: url(../img/icon/about.svg);
}

header nav ul li .original_icon::before {
  background: url(../img/icon/original.svg);
}

header nav ul li .fanart_icon::before {
  background: url(../img/icon/fanart.svg);
}

header nav ul li .contact_icon::before {
  background: url(../img/icon/contact.svg);
}


/***==========================================
      footer
==========================================***/

/* footer下部固定 */
.footer_fixed {
  position: relative;
  min-height: 100vh;
  padding-bottom: 60px;
  box-sizing: border-box;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 14em 0 0;
  padding: 1em 0;
  border-top: 1px solid var(--color-footer-line);
  background: var(--color-footer-bg);
  line-height: 1.4;
}

footer p {
  box-sizing: border-box;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
  text-align: center;
}

/* pagetop */
#pagetop {
  position: fixed;
  right: 5px;
  bottom: 20px;
  z-index: 9998;
  height: 50px;
  padding: 0 0 0 35px;
  text-decoration: none;
  transform: rotate(90deg);
  border-top: solid 1px;
  color: #aaa;
  font-weight: bold;
  font-size: 90%;
  line-height: 1.5rem;
}

#pagetop::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0px;
  transform: rotate(35deg);
  transform-origin: left top;
  width: 15px;
  border-top: solid 1px;
}

#pagetop:hover {
  color: var(--color-base-link);
}


/***==========================================
      hamburger menu
==========================================***/

/* 覆う */
#wrapper {
  display: flex;
  flex-flow: column;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bgcolor-body);
}


/***==========================================
      hamburger menu hidden checkbox
==========================================***/

/* hidden checkbox */
#secondary {
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2000;
  width: 350px;
  height: 100%;
  margin-left: 0;
  background: var(--side-menu-bg);
  color: var(--side-menu-heading);
  font-size: 1.3rem;
  transition: .4s ease-out;
  transform: translate3d(100%, 0, 0);
  pointer-events: none;
}

#side_checkbox {
  display: none;
}

#side_checkbox:checked~#wrapper #secondary {
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

#side_checkbox:checked~#wrapper .navi_container {
  visibility: hidden;
}

#side_toggle {
  position: fixed;
  right: 15px;
  top: 7.5px;
  z-index: 4000;
  width: 48px;
  height: 48px;
}

@media screen and (min-width: 960px) {
  #side_toggle {
    display: none;
  }
}


/***==========================================
      hamburger menu bar
==========================================***/

#side_hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  cursor: pointer;
}

#side_hamburger_bar {
  display: block;
  width: 28px;
  height: 2px;
  margin: auto;
  background: var(--side-menu-icon);
  transition: background .6s;
}

#side_hamburger_bar::before,
#side_hamburger_bar::after {
  content: "";
  display: block;
  position: absolute;
  width: 28px;
  height: 2px;
  background: var(--side-menu-icon);
  transition: transform .6s;
}

#side_hamburger_bar::before {
  margin-top: -8px;
}

#side_hamburger_bar::after {
  margin-top: 8px;
}

#side_checkbox:checked+#side_toggle #side_hamburger_bar {
  background: transparent;
}

#side_checkbox:checked+#side_toggle #side_hamburger_bar::before {
  transform: translateY(8px) rotate(225deg);
}

#side_checkbox:checked+#side_toggle #side_hamburger_bar::after {
  transform: translateY(-8px) rotate(-225deg);
}

#side_close_menu {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  transition: .3s ease-in-out .1s;
}

#side_checkbox:checked~#side_close_menu {
  background: rgba(255, 255, 255, .8);
  visibility: visible;
  opacity: 1;
}


/***==========================================
      hamburger menu contents
==========================================***/

.aside_scroll_container {
  height: 100%;
  padding: 70px 20px 100px;
  overflow: auto !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.aside_scroll_container::-webkit-scrollbar {
  display: none;
}

.side_menu {
  margin: 0 auto 30px;
  scrollbar-width: auto;
}

.side_menu::-webkit-scrollbar {
  display: block;
}

.side_menu_heading {
  margin: 0 0 20px;
  padding: .6em .8em;
  background: var(--side-menu-heading);
  color: var(--side-menu-bg);
  font-weight: bold;
  font-size: 1.3rem;
  letter-spacing: 1px;
  text-align: center;
  text-indent: 1px;
  user-select: none;
}

.side_menu ul {
  list-style: none;
  margin: 0 1.5rem;
}

.side_menu li {
  font-size: 1.2rem;
  margin-top: 0.3rem;
  line-height: 2.8;
  border-bottom: 1px dotted var(--color-base-link);
}

.side_menu li:last-child {
  border-bottom: none;
}


/***==========================================
      main
==========================================***/

main {
  width: 93%;
  max-width: 960px;
  margin: auto;
}

.breadcrumb {
  display: flex;
  list-style: none;
  margin: 15px 0 20px;
  padding: 0;
  color: var(--color-base);
  font-size: 1.1rem;
}

.breadcrumb li+li::before {
  content: ">";
  margin: 0 6px;
  color: #999;
}

section {
  margin: 30px auto 50px;
}

section:first-child {
  margin-top: 25px;
}


/***==========================================
      kv
==========================================***/

.kv {
  position: relative;
}

.index .kv {
  margin: 15px 0;
}

.index .kv_index {
  content: url("/img/kv.jpg");
  width: 100%;
}

.kv_index {
  width: 100%;
}

.h1_index {
  color: #fff;
  background: var(--color-sub-02);
  padding: 0.3rem 0;
  text-align: center;
}

.kv img {
  display: block;
  width: 100%;
}


/***==========================================
      index
==========================================***/

.about {
  margin: 5rem 0 6rem;
  text-align: center;
}

.about div+div {
  margin-top: 1em;
}

#under_menu {
  display: flex;
  margin: 6rem 0;
}

@media screen and (max-width: 960px) {
  #under_menu {
    display: block;
    flex-direction: column;
    width: 98%;
    margin: 6rem auto;
    box-sizing: border-box;
  }
}

.news {
  position: relative;
  width: 57%;
  padding: 3em 2em 0.5em;
  background: var(--bgcolor-news);
  font-size: 1.1rem;
}

/* 上の文字 */
.news::before {
  content: "⊹⊰⊹⊱{　NEWS / 更新履歴　}⊰⊹⊱⊹";
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3em;
  color: #fff;
  font-family: Georgia, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'YuGothic', 'Meiryo', 'Yu Gothic', sans-serif;
  background: var(--color-base-link);
}

.news p {
  display: block;
  position: relative;
  width: 100%;
  padding: 5px 0;
  border-bottom: 1px dotted var(--color-base-link);
  color: var(--color-base);
  font-size: 1.2rem;
  word-break: break-all;
  text-decoration: none;
}

.news p:first-child {
  margin-top: 1rem;
}

@media screen and (max-width: 960px) {
  .news {
    display: block;
    width: 100%;
  }
}

.date {
  margin-right: 1.6rem;
}

.news_more {
  margin: 20px 0 0;
  text-align: right;
}

/* 下矢印 */
.news_more:after {
  content: '';
  display: inline-block;
  -webkit-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  transform: rotate(315deg);
  width: 5px;
  height: 5px;
  margin: 0 0 1px 3px;
  border-right: 1px solid var(--color-base);
  border-bottom: 1px solid var(--color-base);
}

/* ショトカリンク */
@media screen and (min-width: 960px) {
  .sclink {
    margin-left: 20px;
  }
}

@media screen and (max-width: 960px) {
  .sclink {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 98%;
    margin: 10px auto 0;
  }
}

.btn_sclink {
  display: block;
  width: 358px;
  margin: 5px 0;
  padding: 11px 0 10px 20px;
  border-radius: 10px;
  background: var(--color-sub-02);
}

.btn_sclink p {
  font-size: clamp(1.1rem, calc(1.25vw + 1.5rem), 1.25rem);
  color: #fff;
  font-weight: bold;
}

.btn_sclink_small {
  margin-left: 0.7rem;
  font-size: 1.1rem;
}

.btn_sclink:hover {
  background: var(--color-base-link);
  transition: background 0.3s;
}

@media screen and (max-width: 960px) {
  .btn_sclink {
    position: relative;
    width: 49%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 10px auto;
  }
}

@media screen and (max-width: 540px) {
  .btn_sclink p {
    text-align: center;
    margin-right: 20px;
  }
}


/***==========================================
      about info class=index id=about
==========================================***/

#about .text p+p {
  margin-top: 1em;
}

.textbox_info {
  display: inline-block;
  width: 350px;
  position: relative;
  background: var(--color-sub-04);
  box-shadow: 0px 0px 0px 5px var(--color-sub-04);
  border: dashed 2px white;
  padding: 1.6em 1.6em;
  color: #454545;
}

.about .textbox_info {
  margin: 2.4em 0 0.6em;
}

#about .textbox_info {
  margin: 2em 0 2.4em;
  padding: 1em 2.4em;
}

@media screen and (max-width: 540px) {
  #about .infobox {
    text-align: center;
  }
}

.textbox_info:after {
  position: absolute;
  content: '';
  right: -7px;
  top: -7px;
  border-width: 0 15px 15px 0;
  border-style: solid;
  border-color: var(--color-sub-03) var(--bgcolor-body) var(--color-sub-03);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}

.textbox_info p {
  margin: 0;
  padding: 0;
}

.textbox_info p+p {
  margin-top: 0.5rem;
}

#guide .text p+p {
  margin-top: 1em;
}

/***==========================================
      banner
==========================================***/

.banner {
  margin: 14px 0;
}

.text_group {
  margin: 10px 0 0;
}

.banner img {
  display: block;
  margin: 5px 0;
}

pre {
  position: relative;
  padding: 1em 1em 1em 4em;
  overflow-x: auto;
  border-radius: 8px;
  background: #1e1e1e;
  color: #eee;
  font-family: monospace;
}

/* 左の細い枠 */
pre::before {
  content: "</>";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 4.5px;
  width: 3em;
  height: 100%;
  border-radius: 8px 0 0 8px;
  background: #2b2b2b;
  color: #aaa;
  font-weight: bold;
}

.copy_button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  margin: 0 auto;
  padding: 0 1em;
  height: 24px;
  border: none;
  line-height: 1;
  font-weight: bold;
  background: #666;
  color: #fff;
  cursor: pointer;
}

.copy_button:hover {
  background: #999
}


/***==========================================
      prof
==========================================***/

.prof_container {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  align-items: start;
}

.prof_icon img {
  width: 150px;
  margin: 0 30px 0 40px;
  border-radius: 50%;
  user-select: none;
}

.prof_contents {
  margin: 0 30px 10px 20px;
}

.prof_contents p+p {
  margin-top: 1em;
}

.administrator {
  font-size: 1.4rem;
}

@media screen and (max-width: 540px) {
  .prof_container {
    display: block;
  }

  .prof_icon img {
    margin: 20px auto;
  }

  .prof_contents {
    width: 100%;
    margin: 0 0 10px 0;
  }

  .administrator {
    text-align: center;
  }
}


/***==========================================
      contact
==========================================***/

.formmailer-embed {
  margin: 1.6em 0;
}


/***==========================================
      summary / details
==========================================***/

/* summary */
summary {
  margin: 0 0 10px 6px;
  color: var(--color-base-link);
  font-size: 1.1rem;
  cursor: pointer;
}

summary:hover, summary:hover a {
  color: var(--color-base-link-hover);
  transition: .3s ease-in-out;
}

/* summary animation */
:root {
  interpolate-size: allow-keywords;
}

summary {
  border-bottom: 1px dotted var(--color-base-link);
}

summary .open2 {
  display: block;
  margin: -4px 0 0 15px;
  word-break: break-all;
}

#news_log summary, #news_log details, #haikavh_comic summary, #haikavh_novel summary, #zhongchi_comic summary {
  box-sizing: border-box;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
}

.summary_news_container {
  margin: 10px 0 12px 18px;
  font-size: 1.1rem;
}

/* シリーズ説明 */
.summary_oclist_container {
  margin: 0 0 10px 3px;
  color: var(--color-base-link);
  font-size: 1.1rem;
  cursor: pointer;
}

/* details */
details {
  &::details-content {
    @media (prefers-reduced-motion: no-preference) {
      overflow: clip;
      transition-duration: 300ms;
      transition-property: content-visibility, block-size;
      transition-behavior: allow-discrete;
    }
  }

  &:not(:open)::details-content {
    block-size: 0;
  }
}

details p {
  margin-left: 1.5rem;
  font-size: 1.1rem;
}

#pointer {
  margin: 0 0 10px 3px;
  color: var(--color-base-link);
  cursor: pointer;
}


/***==========================================
      list
==========================================***/

ul .spl a+a::before {
  content: "　/　";
  color: var(--color-base);
}

ul .spl:after {
  display: none;
}


/***==========================================
      comic list
==========================================***/

.comic_container {
  display: flex;
  justify-content: space-between;
}

.comic_list {
  margin: 0 30px 12px;
  box-sizing: border-box;
  font-size: 1.1rem;
  letter-spacing: 0.6px;
}

.comic_list li:nth-child(odd) {
  background-color: #e3e3f0;
}


/***==========================================
      1 pic
==========================================***/

/* 画像１枚中央揃え */
.pic1 {
  display: -webkit-box;
  /* fallback old Android */
  display: -webkit-flex;
  /* fallback old safari */
  display: flex;
  -webkit-box-flex: 1;
  /* fallback old Android */
  flex: 1 1 0;
  align-items: center;
  position: relative;
  margin: 10px 10px 10px 0;
}

.pic1>.pic1:last-child {
  margin-right: 0;
}

.pic1:before {
  content: "";
  display: block;
  padding-top: 65%;
  /* 画像の縦幅が横幅の65% */
}

.pic1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/***==========================================
      2 pic
==========================================***/

/* 画像横並び TRPGでも使用 */
.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex img {
  width: calc(98% / 2);
  margin-bottom: 10px;
}

@media screen and (max-width: 420px) {
  .flex {
    display: block;
  }

  .flex img {
    width: 100%;
    margin-bottom: 10px;
  }
}


/***==========================================
      その他
==========================================***/

/* 外部リンク */
.exlink:after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.12em;
  background-color: currentColor;
  vertical-align: text-top;
  background-size: contain;
  background-repeat: no-repeat;
  mask: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>\
<path d='M9 2 L9 3 L12.292969 3 L6.023438 9.273438 L6.726563 9.976563 L13 3.707031 L13 7 L14 7 L14 2 Z M4 4 C2.894531 4 2 4.894531 2 6 L2 12 C2 13.105469 2.894531 14 4 14 L10 14 C11.105469 14 12 13.105469 12 12 L12 7 L11 8 L11 12 C11 12.550781 10.550781 13 10 13 L4 13 C3.449219 13 3 12.550781 3 12 L3 6 C3 5.449219 3.449219 5 4 5 L8 5 L9 4 Z'/>\
</svg>");
}