@charset "UTF-8";

/* フォント設定 */

@font-face {
  font-family: "Arimo";
  src: url("/common/fonts/Arimo-Regular.woff") format("woff");
  font-weight: 400;
  font-size: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arimo";
  src: url("/common/fonts/Arimo-Medium.woff") format("woff");
  font-weight: 500;
  font-size: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arimo";
  src: url("/common/fonts/Arimo-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arimo";
  src: url("/common/fonts/Arimo-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSansJP";
  src: url("/common/fonts/NotoSansJP-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSansJP";
  src: url("/common/fonts/NotoSansJP-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSansJP";
  src: url("/common/fonts/NotoSansJP-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSansJP";
  src: url("/common/fonts/NotoSansJP-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSerifJP";
  src: url("/common/fonts/NotoSerifJP-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NotoSerifJP";
  src: url("/common/fonts/NotoSerifJP-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 変数 */

:root {
  --color1: #000;
  --color2: #fcfcfc;
  --color3: #eeeeee;
  --color4: #7c7c7c;
  --color5: #bcbcbc;
  --color6: #636363;
  --color7: #5b5b5b;
  --color8: #ff4040;
  --color9: #eacece;
  --color10: #dddddd;
  --color11: #262626;
  --color12: #5daece;
  --color13: #222;
  --color14: #383838;
  --color15: #4c4c4c;
  --color16: #5b5b5b;
  --color-motosu: #85acc1;
  --color-hamu: #d6ca99;
  --ff-normal: "Arimo", "NotoSansJP", sans-serif;
  --ff-mincho: "NotoSerifJP", serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --inner: 1100px;
}

/* 調整用 */

/* 色変更 */
.font-color-gray {
  color: var(--color5);
}

/* PCSP表示 */

.pc-none{
	display: none;
}
.sp-none{
	display: block;
}

@media screen and (max-width: 768px) {

	.pc-none{
		display: block;
	}
  .sp-none{
		display: none;
  }

}

/* margin */
/* 共通 */
.mb-0 {margin-bottom: 0px !important;}
.mb-10 {margin-bottom: 10px !important;}
.mb-15 {margin-bottom: 15px !important;}
.mb-20 {margin-bottom: 20px !important;}
.mb-25 {margin-bottom: 25px !important;}
.mb-30 {margin-bottom: 30px !important;}
.mb-35 {margin-bottom: 35px !important;}
.mb-40 {margin-bottom: 40px !important;}
.mb-45 {margin-bottom: 45px !important;}
.mb-50 {margin-bottom: 50px !important;}
.mb-55 {margin-bottom: 55px !important;}
.mb-60 {margin-bottom: 60px !important;}
.mb-70 {margin-bottom: 70px !important;}
.mb-80 {margin-bottom: 80px !important;}
.mb-95 {margin-bottom: 95px !important;}
.mb-120 {margin-bottom: 120px !important;}
.ml-10 {margin-left: 10px !important;}
.ml-15 {margin-left: 15px !important;}
.ml-20 {margin-left: 20px !important;}
.ml-25 {margin-left: 25px !important;}
.ml-30 {margin-left: 30px !important;}
.ml-35 {margin-left: 35px !important;}
.mr-10 {margin-right: 10px !important;}
.mr-15 {margin-right: 15px !important;}
.mr-20 {margin-right: 20px !important;}
.mr-25 {margin-right: 25px !important;}
.mr-30 {margin-right: 30px !important;}
.mr-35 {margin-right: 35px !important;}
.mt-10 {margin-top: 10px !important;}
.mt-15 {margin-top: 15px !important;}
.mt-20 {margin-top: 20px !important;}
.mt-25 {margin-top: 25px !important;}
.mt-30 {margin-top: 30px !important;}
.mt-35 {margin-top: 35px !important;}
.mt-60 {margin-top: 60px !important;}
/* SP */
@media screen and (max-width: 768px) {
  .mb-60-sp {margin-bottom: 60px !important;}
}

/* scale　拡大 */
.scale-m5 {transform: scale(0.5) !important;}
.scale-m4 {transform: scale(0.6) !important;}
.scale-m3 {transform: scale(0.7) !important;}
.scale-m2 {transform: scale(0.8) !important;}
.scale-m1 {transform: scale(0.9) !important;}
.scale-p1 {transform: scale(1.1) !important;}
.scale-p2 {transform: scale(1.2) !important;}
.scale-p3 {transform: scale(1.3) !important;}
.scale-p4 {transform: scale(1.4) !important;}
.scale-p5 {transform: scale(1.5) !important;}

/* top */
.top-20 {top: 20px !important;}
.top-40 {top: 40px !important;}
.top-60 {top: 60px !important;}
.top-80 {top: 80px !important;}
.top-100 {top: 100px !important;}
.top-120 {top: 120px !important;}

/* bottom */
.bottom-20 {bottom: 20px !important;}
.bottom-40 {bottom: 40px !important;}
.bottom-60 {bottom: 60px !important;}
.bottom-80 {bottom: 80px !important;}
.bottom-100 {bottom: 100px !important;}
.bottom-120 {bottom: 120px !important;}
.bottom-140 {bottom: 120px !important;}
.bottom-160 {bottom: 160px !important;}
.bottom-180 {bottom: 180px !important;}
.bottom-220 {bottom: 220px !important;}
.bottom-320 {bottom: 320px !important;}
.bottom-400 {bottom: 400px !important;}

/* left */
.left-20 {left: 20px !important;}
.left-40 {left: 40px !important;}
.left-60 {left: 60px !important;}
.left-80 {left: 80px !important;}
.left-100 {left: 100px !important;}
.left-120 {left: 120px !important;}
.left-140 {left: 140px !important;}
.left-160 {left: 160px !important;}

/* right */
.right-20 {right: 20px !important;}
.right-40 {right: 40px !important;}
.right-60 {right: 60px !important;}
.right-80 {right: 80px !important;}
.right-100 {right: 100px !important;}
.right-120 {right: 120px !important;}

/* iphoneバグ回避 */
input, select, textarea, button {
 -webkit-appearance: none;
 appearance: none;
 border: none;
 outline: none;
}

body{
  -webkit-text-size-adjust: 100%;
}


/* 初期設定 */

html {
  background-color: var(--color1);
  -webkit-tap-highlight-color: transparent;/* スマホのタップ時に表示される水色を非表示 */
}

ul li,
ol li {
  list-style: none;
}

a {
  text-decoration: none;
}

section {
  margin-bottom: 100px;
}

section:last-child {
  margin-bottom: 0;
}

p {
  margin-bottom: 26px;
}

section p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: var(--fw-semibold);
  background-image: linear-gradient(transparent 40%, var(--color5) 0%);
  padding-bottom: 4px;
}

figure {
  margin-bottom: 50px;
}

figure img {
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

button{
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}


/* アコーディオン */

.accordion.hide + div {
  display: none;
}

/* wrapper */

.wrapper {
  font-family: var(--ff-normal);
  font-weight: var(--fw-regular);
  color: var(--color1);
  min-width: calc(var(--inner) + 40px);
  letter-spacing: 0;
  line-height: 1.9em;
  width: 100%;
}

.wrapper.black-shift {
  color: var(--color2);
}

.wrapper p {
  font-size: 16px;
}

@media screen and (max-width: 768px){

  .wrapper {
    min-width: inherit;
  }

  .wrapper p {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .wrapper section {
    margin-bottom: 65px;
  }

  .wrapper section:last-child {
    margin-bottom: 0;
  }

  .wrapper figure {
    margin-bottom: 40px;
  }

}

/* header */

#header-area {
  margin: auto;
  padding: 0 20px;
}

.header-con {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  min-width: calc(var(--inner) + 40px);
  width: 100%;
}

.header-logo {
  margin-left: 50px;
  margin-top: 27px;
  z-index: 92;
}

.header-logo img {
  width: 254px;
}

#top #header-area > header .header-logo a {
  visibility: hidden;
}

.header-con .global-nav-area {
  margin-right: 50px;
  margin-top: 42px;
  z-index: 91;
}

.header-con .global-nav-first {
  display: flex;
}

.header-con .global-nav-top,
.header-con .global-nav-login {
  display: none;
}

.header-con .global-nav-first > li {
  position: relative;
}

.header-con .global-nav-first > li:not(:nth-last-child(2)) {
  margin-right: 54px;
}

.header-con .global-nav-first li a,
.footer-nav li a {
  -webkit-text-fill-color: transparent;
  background-position-y: 100%;
  background-size: 100% 200%;
  background-clip: text;
  transition: all .5s cubic-bezier(0, 0, .23, 1);
  background-image: linear-gradient(180deg, var(--color4), var(--color4) 50%, var(--color2) 0);
}

.header-con .global-nav-first > li a {
  font-size: 24px;
}

html:has(#mv-con) .header-con .global-nav-first > li a {
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.75));
}

.header-con .global-nav-first > li > .global-nav-second {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -20px;
  transition: visibility 0.3s, opacity 0.3s;
}

.header-con .global-nav-second > ul {
  top: 20px;
  position: relative;
  width: calc(139px - 40px);
  background-color: var(--color11);
  border-radius: 3px;
  border: solid 1px var(--color2);
  padding: 20px;
}

.header-con .global-nav-second li:not(:last-child) {
  margin-bottom: 20px;
}

.header-con .global-nav-second li a {
  font-size: 20px;
}

.header-con .global-nav-area-sp {
  display: none;
}

#header-follow {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 90;
  transform: translateY(-130px);
  transition: .5s;
}

#header-follow.scroll {
  transform: translateY(0);
}

#header-follow .header-con {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.87) 36%, rgba(0, 0, 0, 0));
  height: 130px;
}

.hamburger-menu-btn {
  margin-right: 20px;
  margin-top: 20px;
  display: none;
  z-index: 92;
}

.hamburger-menu-btn button {
  position: relative;
  width: 30px;
  height: 23px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0);
  border: none;
}

.hamburger-menu-btn button span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color2);
  border-radius: 1px;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
}

.hamburger-menu-btn button,
.hamburger-menu-btn button span {
  display: inline-block;
  transition: all .5s;
  box-sizing: border-box;
}

.hamburger-menu-btn button span:nth-of-type(1) {
  top: 0;
}

.hamburger-menu-btn button span:nth-of-type(2) {
  top: 10px;
}

.hamburger-menu-btn button span:nth-of-type(3) {
  bottom: 0;
}

.hamburger-menu-btn button.active span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
}

.hamburger-menu-btn button.active span:nth-of-type(2) {
  left: 50%;
  opacity: 0;
  -webkit-animation: active-btn05-bar02 .8s forwards;
  animation: active-btn05-bar02 .8s forwards;
}

@-webkit-keyframes active-btn05-bar02 {
  100% {
    height: 0;
  }
}

@keyframes active-btn05-bar02 {
  100% {
    height: 0;
  }
}

.hamburger-menu-btn button.active span:nth-of-type(3) {
  -webkit-transform: translateY(-11px) rotate(45deg);
  transform: translateY(-11px) rotate(45deg);
}

@media screen and (min-width: 769px){

  .header-con .global-nav-first > li::before {
    content: "";
    background: url(/common/images/w-icon_info.svg) no-repeat center / 100% auto;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 10px;
    height: 12px;
    opacity: 0;
    transition: opacity .5s;
  }

  .header-con .global-nav-first > li.now::before {
    opacity: 1;
  }

  .header-con .global-nav-first li a:hover,
  .footer-nav li a:hover {
    background-position-y: 0;
  }

  .header-con .global-nav-first > li:hover > .global-nav-second {
    opacity: 1;
    visibility: visible;
    transition: visibility 0.5s, opacity 0.5s;
  }

}

@media screen and (max-width: 768px){

  html:has(.hamburger-menu-btn button.active) {
    overflow: hidden;
  }

  .header-con {
    min-width: inherit;
  }

  .header-logo {
    margin-left: 20px;
    margin-top: 15px;
  }

  .header-logo img {
    width: 117px;
  }

  .header-con .global-nav-area {
    display: none;
  }

  .header-con .global-nav-area-sp {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    width: 100%;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1) 88%, rgba(0, 0, 0, 0));
    transition: all 0.6s;
    margin-top: 0;
    opacity: 0;
  }

  .header-con:has(.hamburger-menu-btn button.active) .global-nav-area-sp {
    transform: translateY(0%);
    opacity: 1;
  }

  .header-con .global-nav-first {
    flex-direction: column;
    padding: 87px 0 97px;
  }

  .header-con .global-nav-top,
  .header-con .global-nav-login {
    display: block;
  }

  .header-con .global-nav-first > li {
    text-align: center;
  }

  .header-con .global-nav-first > li:not(:nth-last-child(2)) {
    margin-right: 0;
  }

  .header-con .global-nav-first > li:not(:first-child) {
    margin-top: 28px;
  }

  .header-con .global-nav-first > li a {
    font-size: 19px;
  }

  .header-con .global-nav-first > li > .global-nav-second {
    display: none;
  }

  .hamburger-menu-btn {
    display: block;
  }

  #header-follow .header-con {
    height: 64px;
  }

}

/* h1-area */

#h1-area {
  max-width: var(--inner);
  margin: auto;
  padding: 240px 20px 140px;
}

@media screen and (max-width: 768px){

  #h1-area {
    padding: 101px 20px 26px;
  }

}

/* breadcrumbs */

#breadcrumbs {
  width: var(--inner);
  margin: auto;
  padding: 0 20px 8px;
  z-index: 1;
  position: relative;
}

#breadcrumbs ul {
  display: flex;
}

#breadcrumbs ul li {
  position: relative;
  font-size: 14px;
}

#breadcrumbs ul li:not(:first-child) {
  padding-left: 20px;
}

#breadcrumbs ul li:not(:first-child)::before {
  content: "/";
  position: absolute;
  top: 0;
  left: 7px;
}

#breadcrumbs ul li,
#breadcrumbs ul li a {
  color: var(--color14);
}

#breadcrumbs ul li a {
  transition: color 0.3s;
}

@media screen and (min-width: 769px){

  #breadcrumbs ul li a:hover {
    color: var(--color2);
  }

}

@media screen and (max-width: 768px){

  #breadcrumbs {
    width: inherit;
    padding: 0 20px;
  }

  #breadcrumbs ul {
    display: block;
    padding-bottom: 2px;
  }

  #breadcrumbs ul li {
    font-size: 13px;
    display: inline-block;
    line-height: 1.5em;
  }

}

/* content */

#content {
  background-color: var(--color3);
  border-radius: 20px;
  padding: 137px 0;
}

.black-shift #content {
  background-color: var(--color14);
}

@media screen and (max-width: 768px){

  #content {
    border-radius: 10px;
    padding: 60px 0;
  }

}

/* inner */

.inner {
  max-width: var(--inner);
  margin: auto;
  padding: 0 20px;
}

/* footer フッター */

#footer-area {
  background-color: var(--color1);
}

.device-change {
  display: none;
  justify-content: space-between;
  max-width: var(--inner);
  margin: auto;
  padding: 50px 20px 0;
}

.device-change.active {
  display: flex;
}

[class^="device-change-"] {
  width: calc((100% - 60px) / 2);
}

.device-change button {
  color: var(--color2);
  text-align: center;
  border: solid 1px var(--color2);
  width: 100%;
  font-size: 16px;
  padding: 12px 0;
  border-radius: 3px;
}

.footer-con {
  display: flex;
  justify-content: space-between;
  max-width: var(--inner);
  margin: auto;
  padding: 0 20px;
}

.footer-logo {
  margin-top: 138px;
}

.footer-logo img {
  width: 265px;
  height: auto;
}

.footer-nav-area {
  margin-top: 149px;
}

.footer-nav li a {
  color: var(--color2);
}

.footer-con .global-nav-top,
.footer-con .global-nav-login {
  display: none;
}


.footer-con .global-nav-first {
  display: flex;
}

.footer-con .global-nav-first > li:not(:nth-last-child(2)) {
  margin-right: 49px;
}

.footer-con .global-nav-second li {
  font-size: 12px;
  padding-left: 15px;
  position: relative;
  margin-top: -2px;
}

.footer-con .global-nav-second li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 2px;
  width: 6px;
  height: 1px;
  background: var(--color4);
}

.footer-related ul {
  display: flex;
}

.footer-related ul li:not(:first-child) {
  margin-left: 20px;
}

.footer-related figure {
  margin-bottom: 0;
}

.footer-related figure img {
  width: auto;
  height: 22px;
}

.footer-bottom-area {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  max-width: var(--inner);
  margin: auto;
  padding: 97px 20px 29px;
}

.footer-bottom-area ul {
  display: flex;
}

.footer-bottom-area li:not(:last-child) {
  margin-right: 37px;
}

.footer-bottom-area li a,
#copyright {
  color: var(--color4);
  font-size: 12px;
}

@media screen and (max-width: 768px){

  .device-change {
    padding: 50px 20px 0;
  }

  [class^="device-change-"] {
    width: calc((100% - 20px) / 2);
  }

  .device-change button {
    font-size: 15px;
    padding: 6px 0;
    border-radius: 2px;
  }

  .footer-con {
    flex-direction: column;
  }

  .footer-logo {
    text-align: center;
    margin-top: 100px;
  }

  .footer-logo img {
    width: 124px;
  }

  .footer-nav-area {
    margin-top: 16px;
  }

  .footer-con .global-nav-first {
    justify-content: center;
  }

  .footer-con .global-nav-first > li {
    font-size: 13px;
  }

  .footer-con .global-nav-first > li:not(:nth-last-child(2)) {
    margin-right: 28px;
  }

  .footer-con .global-nav-second li {
    font-size: 10px;
    padding-left: 13px;
  }

  .footer-con .global-nav-second li::before {
    width: 5px;
  }

  .footer-related ul {
    justify-content: center;
    padding-top: 10px;
  }

  .footer-related figure img {
    height: 17px;
  }

  .footer-bottom-area {
    flex-direction: column;
    padding: 29px 20px 38px;
  }

  .footer-bottom-area ul {
    justify-content: center;
  }

  .footer-bottom-area li:not(:last-child) {
    margin-right: 29px;
  }

  #copyright {
    text-align: center;
    padding-top: 20px;
  }

}

/* h 見出し */

.h1-normal {
  color: var(--color14);
  font-weight: var(--fw-semibold);
  font-size: 84px;
  line-height: 1.5em;
}

.h2-normal {
  position: relative;
  font-weight: var(--fw-semibold);
  font-size: 30px;
  padding-left: 40px;
  line-height: 1.6em;
  margin-bottom: 28px;
}

.h2-normal::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  background: url(/common/images/icon_h2.svg) no-repeat center / 100% auto;
  display: inline-block;
  width: 24px;
  height: 28px;
}

.h3-normal {
  font-weight: var(--fw-medium);
  font-size: 22px;
  line-height: 1.8em;
  margin-bottom: 30px;
  background: var(--color7);
  padding: 0.2px 20px;
  border-radius: 3px;
  color: var(--color2);
}

.black-shift .h3-normal {
  background: var(--color16);
}

.h4-normal {
  font-weight: var(--fw-semibold);
  font-size: 18px;
  margin-bottom: 17px;
  border-bottom: solid 1px var(--color6);
  padding-bottom: 4px;
}

.h5-normal {
  font-weight: var(--fw-semibold);
  font-size: 17px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px){

  .h1-normal {
    font-size: 32px;
  }

  .h2-normal {
    font-size: 22px;
    padding-left: 28px;
    margin-bottom: 22px;
  }

  .h2-normal::before {
    top: 5px;
    width: 19.5px;
    height: 22.5px;
  }

  .h3-normal {
    font-size: 19px;
    padding: 1.2px 14px;
    margin-bottom: 20px;
    border-radius: 2px;
  }

  .h4-normal {
    font-size: 17px;
  }

  .h5-normal {
    font-size: 16px;
  }

}

/* pattern　パターン */

[class^="pattern"] {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

[class^="pattern"].reverse {
  flex-direction: row-reverse;
}

[class^="pattern"] > .col {
  flex-shrink: 0;
}

[class^="pattern"] > .col > figure:last-of-type {
  margin-bottom: 0;
}

.pattern1-1 > .col {
  width: calc((100% - 60px) / 2);
}

.pattern2-3 > .col:first-child,
.pattern3-2 > .col:last-child {
  width: calc(((100% - 60px) / 5) * 2);
}

.pattern2-3 > .col:last-child,
.pattern3-2 > .col:first-child {
  width: calc(((100% - 60px) / 5) * 3);
}

.pattern1-2 > .col:first-child,
.pattern2-1 > .col:last-child {
  width: calc((100% - 59px) / 3);
}

.pattern1-2 > .col:last-child,
.pattern2-1 > .col:first-child {
  width: calc(((100% - 59px) / 3) * 2);
}

.pattern1-1-1 > .col {
  width: calc((100% - 119px) / 3);
}

.pattern1-1-1-1 > .col {
  width: calc((100% - 180px) / 4);
}

@media screen and (max-width: 768px) {

  [class^="pattern"],
  [class^="pattern"].reverse {
    flex-direction: column;
    margin-bottom: 40px;
  }

  [class^="pattern"] > .col,
  [class^="pattern"] > .col:first-child,
  [class^="pattern"] > .col:last-child {
    width: 100%;
  }

  [class^="pattern"] > .col:not(:last-child) {
    margin-bottom: 20px;
  }

  img.decide {
    width: 100% !important;
  }

}

/* round 角丸 */

.round {
  border-radius: 3px;
}

@media screen and (max-width: 768px){

  .round {
    border-radius: 2px;
  }

}

/* flame-color 画像枠 */

.flame-color-white {
  border: solid 1px var(--color2);
}

.flame-color-gray {
  border: solid 1px var(--color5);
}

.flame-color-black {
  border: solid 1px var(--color1);
}

/* caution 注意文 */

p.caution {
  position: relative;
  padding-left: 23px;
}

span.caution {
  position: relative;
  padding-right: 18px;
}

p.caution::before,
span.caution::before {
  content: "※";
  font-size: 20px;
  color: var(--color8);
  font-family: var(--ff-normal);
  font-weight: var(--fw-medium);
  position: absolute;
}

p.caution::before {
  top: -1px;
  left: 0;
}

span.caution::before {
  top: -6px;
  right: 4px;
}

.caution-color {
  color: var(--color8);
}

[class^="caution-box"] {
  border-radius: 3px;
  padding: 26px 30px;
  margin-bottom: 30px;
}

.caution-box {
  border: solid 2px var(--color8);
  background-color: var(--color9);
}

.caution-box-white {
  border: solid 2px var(--color2);
  background-color: var(--color10);
}

@media screen and (max-width: 768px){

  p.caution::before,
  span.caution::before {
    font-size: 19px;
  }

  [class^="caution-box"] {
    border-radius: 2px;
    padding: 16px 22px;
    margin-bottom: 22px;
  }

}

/* 各種寄せ */

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

/* list リスト */

ul.list,
ol.list-number,
ol.list-number-2 {
  margin-bottom: 30px;
}

ul.list > li,
ol.list-number > li,
ol.list-number-2 > li,
.blog-index li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
}

ul.list > li:not(:last-child),
ol.list-number > li:not(:last-child),
ol.list-number-2 > li:not(:last-child) {
  margin-bottom: 6px;
}

ul.list > li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--color4);
  border-radius: 1px;
}

ol.list-number,
ol.list-number-2,
.blog-index ul {
  counter-reset: num 0;
}

ol.list-number > li::before,
ol.list-number-2 > li::before,
.blog-index li::before {
  counter-increment: num;
  position: absolute;
  left: 0;
  color: var(--color4);
  font-size: 16px;
}

ol.list-number > li::before,
.blog-index li::before {
  content: counter(num, decimal) ".";
  top: 0;
}

ol.list-number-2 > li {
  padding-left: 28px;
}

ol.list-number-2 > li::before {
  content: "(" counter(num, decimal) ")";
  top: -1px;
}

@media screen and (max-width: 768px){

  ul.list > li,
  ol.list-number > li,
  ol.list-number-2 > li,
  .blog-index li {
    padding-left: 17px;
    font-size: 15px;
  }

  ol.list-number-2 > li {
    padding-left: 26px;
  }

  ul.list > li::before {
    width: 5px;
    height: 5px;
  }

}

/* dl 定義リスト */

dl {
  margin-bottom: 30px;
}

dl dt,
dl dd {
  font-size: 16px;
  padding-left: 20px;
}

dl dt {
  position: relative;
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}

dl dt::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  background: url(/common/images/icon_dt.svg) no-repeat center / 100% auto;
  display: inline-block;
  width: 10px;
  height: 15px;
}

dl dd:not(:last-child) {
  margin-bottom: 20px;
}

@media screen and (max-width: 768px){

  dl dt,
  dl dd {
    font-size: 15px;
  }

}

/* link リンク */

p.link-text a {
  color: var(--color7);
  padding-bottom: 0px;
  padding-left: 20px;
  position: relative;
  display: inline-block;
}

p.link-text a::before {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  left: 0;
  background: url(/common/images/icon_link-text.svg) no-repeat center / 100% auto;
  display: inline-block;
  width: 7px;
  height: 14px;
}

p.link-text a::after,
a.link::after {
  content: "";
  display: inline-block;
  width: calc(100% - 20px);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 20px;
  background-position: 100%;
  background-size: 200% 100%;
  transition: all .5s cubic-bezier(0, 0, .23, 1);
  background-image: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0) 50%, var(--color7) 0);
}

p.link-text a > span.blank,
a.link > span.blank,
.link-box a > span.blank,
.link-box-full a > span.blank {
  position: relative;
}

p.link-text a > span.blank::before,
a.link > span.blank::before,
.link-box a > span.blank::before,
.link-box-full a > span.blank::before {
  content: "";
  background: url(/common/images/icon-elink.svg) no-repeat center / 100% auto;
  display: inline-block;
  height: 15px;
  width: 16px;
  position: absolute;
  bottom: calc(50% - 8px);
  right: -22px;
}

.black-shift p.link-text a > span.blank::before,
.black-shift a.link > span.blank::before,
.black-shift .link-box a > span.blank::before,
.black-shift .link-box-full a > span.blank::before {
  background: url(/common/images/w-icon-elink.svg) no-repeat center / 100% auto;
}

a.link {
  color: var(--color7);
  position: relative;
  display: inline-block;
}

a.link::after {
  width: 100%;
  bottom: 4px;
  left: 0;
}

a.link:has(.blank) {
  margin-right: 30px;
}

[class^="link-box"] {
  border: solid 1px var(--color1);
  border-radius: 3px;
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
}

.black-shift [class^="link-box"] {
  border: solid 1px var(--color2);
}

.link-box-full {
  display: block;
}

.link-box,
.link-box-back {
  width: 285px;
}

[class^="link-box"]::before {
  content: "";
  position: absolute;
  margin: auto 0;
  top: 0;
  bottom: 0;
  width: 1px;
  height: calc(100% - 10px);
  background: var(--color1);
}

.black-shift [class^="link-box"]::before {
  background: var(--color2);
}

.link-box::before,
.link-box-full::before {
  right: 52px;
}

[class^="link-box"]::after {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  display: inline-block;
  background-size: contain;
  width: 7px;
  height: 14px;
}

.link-box::after,
.link-box-full::after {
  right: 23px;
  background: url(/common/images/icon_link-box.svg) no-repeat center / 100% auto;
}

.black-shift .link-box::after,
.black-shift .link-box-full::after {
  background: url(/common/images/w-icon_link-box.svg) no-repeat center / 100% auto;
}

[class^="link-box"]::after {
  animation-duration: .8s;
  animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  animation-fill-mode: forwards;
}

[class^="link-box"] a {
  display: block;
  width: calc(100% - 20px);
  color: var(--color1);
  font-size: 16px;
}

.black-shift [class^="link-box"] a {
  color: var(--color2);
}

.link-box a,
.link-box-full a {
  padding: 11px 0 9px 20px;
}

.link-box-back::before {
  left: 52px;
}

.link-box-back::after {
  left: 23px;
  background: url(/common/images/icon_link-box-back.svg) no-repeat center / 100% auto;
}

.black-shift .link-box-back::after {
  background: url(/common/images/w-icon_link-box-back.svg) no-repeat center / 100% auto;
}

.link-box-back a {
  text-align: right;
  padding: 11px 20px 9px 0;
}

@keyframes link-forward {
  0% {
    transform: translate(0%);
  }
  30% {
    opacity: 0;
    transform: translate(100%);
  }
  30.1% {
    opacity: 0;
    transform: translate(-100%);
  }
  100% {
    opacity: 1;
    transform: translate(0%);
  }
}

@keyframes link-back {
  0% {
    transform: translate(0%);
  }
  30% {
    opacity: 0;
    transform: translate(-100%);
  }
  30.1% {
    opacity: 0;
    transform: translate(100%);
  }
  100% {
    opacity: 1;
    transform: translate(0%);
  }
}

@media screen and (min-width: 769px){

  p.link-text a:hover::after,
  a.link:hover::after {
    background-position: 0;
  }

  .link-box:hover::after,
  .link-box-full:hover::after {
    animation-name: link-forward;
  }

  .link-box-back:hover::after {
    animation-name: link-back;
  }

  p.link-text a:hover::before {
    animation-name: link-forward;
    animation-duration: .8s;
    animation-timing-function: cubic-bezier(.215, .61, .355, 1);
    animation-fill-mode: forwards;
  }

}

@media screen and (max-width: 768px) {

  .link-box,
  .link-box-back {
    margin-left: auto;
    margin-right: auto;
  }

  [class^="link-box"] a {
    font-size: 15px;
  }

}

/* comment コメント */

[class^="comment-icon-"] {
  display: flex;
  margin-bottom: 50px;
}

.comment-img img {
  width: 120px;
  height: 120px;
  border-radius: 3px;
}

.comment-icon-motosu .comment-img img {
  background: var(--color-motosu);
}

.comment-icon-hamu .comment-img img {
  background: var(--color-hamu);
}

.comment-text {
  position: relative;
  color: var(--color1);
  max-width: calc(100% - (120px + 50px));
  height: 100%;
  border-radius: 3px;
  padding: 16px 20px 14px;
  margin-left: 50px;
  margin-top: 32px;
}

.comment-icon-motosu .comment-text {
  background: var(--color-motosu);
}

.comment-icon-hamu .comment-text {
  background: var(--color-hamu);
}

.comment-text::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 18px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.comment-icon-motosu .comment-text::before {
  border-right: 41px solid var(--color-motosu);
}

.comment-icon-hamu .comment-text::before {
  border-right: 41px solid var(--color-hamu);
}

@media screen and (max-width: 768px) {

  [class^="comment-icon-"] {
    margin-bottom: 30px;
  }

  .comment-img img {
    width: 80px;
    height: 80px;
    border-radius: 2px;
  }

  .comment-text {
    border-radius: 2px;
    margin-top: 10px;
  }

}

/* prism ソースコードブロック */
.code-toolbar {
  margin-bottom: 30px;
}

.code-toolbar:has(pre.mb-10) {
  margin-bottom: 10px;
}

pre[class*='language-'] {
  border-radius: 3px;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 20px;
}

pre[class*='language-'],
code[class*='language-'] {
  white-space: pre-wrap;
  font-size: 14px;
}

:not(pre)>code[class*=language-],
pre[class*=language-] {
  background: var(--color11);
  border: solid 1px var(--color1);
}

.code-toolbar button {
  cursor: pointer;
}

@media screen and (max-width: 768px) {

  pre[class*='language-'] {
    border-radius: 2px;
  }

}

/* Information */

.info-list {
  position: relative;
}

.info-item {
  position: relative;
}

.info-list::after,
.info-item::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color4);
}

.info-list::after {
  bottom: 0;
}

.info-item::before {
  top: 0;
}

.info-item::after {
  content: "";
  background: url(/common/images/icon_info.svg) no-repeat center / 100% auto;
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  width: 10px;
  height: 12px;
  opacity: 0;
  transition: opacity .5s cubic-bezier(0, .55, .45, 1);
}

.black-shift .info-item::after {
  background: url(/common/images/w-icon_info.svg) no-repeat center / 100% auto;
}

.info-item  a {
  display: block;
  padding: 35px 16px 32px;
  transition: transform .5s;
}

.info-item .sup,
#h1-area-info .sup {
  display: flex;
  margin-bottom: 22px;
}

#h1-area-info .sup {
  margin-bottom: 19px;
}

.info-item .date,
#h1-area-info .date {
  font-size: 15px;
  color: var(--color1);
  line-height: 1;
  margin: 5px 13px 0 0;
  letter-spacing: -0.01em;
}

.black-shift .info-item .date {
  color: var(--color2);
}

#h1-area-info .date {
  font-size: 16px;
}

.info-item .cat,
#h1-area-info .cat,
.blog-item .cat,
#h1-area-blog .cat {
  font-size: 12px;
  color: var(--color1);
  font-weight: var(--fw-medium);
  background: var(--color5);
  margin-bottom: 0;
  border-radius: 4px;
  line-height: 1;
  padding: 8px 11px 6px;
}

.info-item .title {
  font-size: 14px;
  color: var(--color1);
  margin-bottom: 0;
}

.black-shift .info-item .title {
  color: var(--color2);
}

.info-tab {
  margin-top: 145px;
  position: relative;
  padding-left: 38px;
  font-weight: var(--fw-medium);
  font-size: 27px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.info-tab::before {
  content: "";
  background: url(/common/images/icon_link-box.svg) no-repeat center / 100% auto;
  position: absolute;
  left: 7px;
  top: 6px;
  width: 10px;
  height: 20px;
  transition: transform .5s;
}

.info-tab.active::before {
  transform: rotate(90deg);
}

.info-tab::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: var(--color1);
  margin-left: 21px;
}

.info-tab + .info-con {
  margin-top: 70px;
  opacity: 0;
  transition: opacity .3s;
}

.info-tab.active + .info-con {
  opacity: 1;
}

#info-detail main {
  padding-top: 236px;
}

#h1-area-info {
  margin-bottom: 22px;
}

.h1-info,
.h1-blog {
  font-size: 30px;
  line-height: 1.6em;
  font-weight: var(--fw-semibold);
  border-bottom: solid 2px var(--color4);
  padding-bottom: 20px;
}

@media screen and (min-width: 769px){

  .info-item:not(:has(.nolink)):hover::after {
    opacity: 1;
  }

  .info-item:hover a:not(.nolink) {
    transform: translate(20px);
  }

  #info .info-item a {
    display: flex;
  }

  #info .info-item .title {
    line-height: 1.8em;
  }

  #info .info-item .sup {
    width: 180px;
    margin-bottom: 0;
  }

}

@media screen and (max-width: 768px) {

  .info-item a {
    padding: 20px 19px 16px;
  }

  .info-item .sup {
    margin-bottom: 16px;
  }

  .info-item .date,
  #h1-area-info .date {
    font-size: 14px;
    margin: 5px 21px 0 0;
  }

  .info-item .cat,
  #h1-area-info .cat,
  .blog-item .cat,
  #h1-area-blog .cat {
    border-radius: 2px;
    padding: 6px 12px 4px;
  }

  .info-item .title {
    line-height: 25px;
  }

  .info-tab {
    margin-top: 62px;
    font-size: 21px;
    padding-left: 27px;
  }

  .info-tab::before {
    width: 8px;
    height: 16px;
    left: 5px;
  }

  .info-tab + .info-con {
    margin-top: 35px;
  }

  #info-detail main {
    padding-top: 108px;
  }

  #h1-area-info {
    margin-bottom: 17px;
  }

  #h1-area-info .sup {
    margin-bottom: 13px;
  }

  .h1-info,
  .h1-blog {
    font-size: 20px;
    padding-bottom: 11px;
  }

}

/* Gallery */

.gallery-menu {
  display: flex;
  justify-content: space-between;
}

[class*='gallery-menu-'] {
  width: calc((100% - 60px) / 2);
  position: relative;
}

[class*='gallery-menu-'] figure {
  margin-bottom: 0;
  border-radius: 3px;
  border: solid 1px var(--color2);
  position: relative;
  overflow: hidden;
}

[class*='gallery-menu-'] figure::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: var(--color1);
}

[class*='gallery-menu-'] img {
  filter: blur(3px);
  transform: scale(1.02);
  opacity: 0.3;
}

[class*='gallery-menu-'] p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--color2);
  font-size: 40px;
  font-weight: var(--fw-medium);
  margin-bottom: 0;
}

[class*='gallery-menu-'] span {
  position: absolute;
  display: block;
  width: 120px;
  height: 30px;
  bottom: 20px;
  right: 20px;
}

[class*='gallery-menu-'] span::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 3px;
  border: solid 1px var(--color2);
  z-index: 1;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.75);
}

[class*='gallery-menu-'] span::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 54px;
  background: url(/common/images/w-icon_link-box.svg) no-repeat center / 100% auto;
  width: 6px;
  height: 12px;
  animation-duration: .8s;
  animation-timing-function:
  cubic-bezier(.215, .61, .355, 1);
  animation-fill-mode: forwards;
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.75));
}

.gallery-list {
  display: flex;
  flex-wrap: wrap;
}

.gallery-list > li {
  width: calc((100% - 60px) / 4);
  margin-bottom: 20px;
  margin-right: 20px;
  overflow: hidden;
}

.gallery-list > li:nth-of-type(4n) {
  margin-right: 0;
}

.gallery-list > li > figure {
  margin-bottom: 0;
}

.gallery-list > li > figure > img {
  border-radius: 3px;
  transition: transform .5s;
}

@media screen and (min-width: 769px){

  [class*='gallery-menu-'] a:hover span::after {
    animation-name: link-forward;
  }

  .gallery-list > li:hover > figure > img {
    transform: scale(1.05);
  }

}

@media screen and (max-width: 768px) {

  .gallery-menu {
    flex-direction: column;
  }

  [class*='gallery-menu-'] {
    width: 100%;
  }

  .gallery-menu-original {
    margin-bottom: 40px;
  }

  [class*='gallery-menu-'] span {
    bottom: 15px;
    right: 15px;
    width: 80px;
    height: 20px;
  }

  [class*='gallery-menu-'] span::after {
    width: 4px;
    height: 8px;
    bottom: 5px;
    right: 36px;
  }

  [class*='gallery-menu-'] p {
    font-size: 28px;
    bottom: 15px;
    left: 15px;
  }

  .gallery-list > li {
    width: calc((100% - 13px) / 2);
    margin-bottom: 13px;
    margin-right: 13px;
    overflow: hidden;
  }

  .gallery-list > li:nth-of-type(2n) {
    margin-right: 0;
  }

  .gallery-list > li > figure > img {
    border-radius: 2px;
  }

}

/* modal モーダル */

.modal-open {
  cursor: pointer;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.9);
	padding: 110px 20px 0;
	overflow: auto;
	transition: .3s;
  box-sizing: border-box;
  z-index: 93;
  opacity: 0;
	visibility: hidden;
}

.modal.active {
	opacity: 1;
	visibility: visible;
}

.modal-area {
  width: fit-content;
  margin: auto;
}

.modal-fire .modal-area > figure {
  position: relative;
  margin-bottom: 0;
  width: fit-content;
}

/* タブレットで比率が崩れるのを防止する処理 */
.modal-fire .modal-area > figure img {
  width: auto;
  height: auto;
  max-width: 100%;
}

html:has(.modal.active) {
  /* overflow: hidden; */
}

.modal-fire .modal-area > figure::before,
.modal-fire .modal-area > figure::after {
  content: "";
  position: absolute;
  background-color: var(--color2);
  height: 2px;
  width: 30px;
  top: -40px;
  right: -4px;
  cursor: pointer;
}

.modal-fire .modal-area > figure::before {
  transform: translateY(16px) translateX(0) rotate(45deg);
}

.modal-fire .modal-area > figure::after {
  transform: translateY(16px) translateX(0) rotate(-45deg);
}

.modal-fire .modal-area > p {
  z-index: 95;
  position: relative;
  margin-bottom: 0;
  color: var(--color2);
}

 .modal-fire .date{
  margin-top: 20px;
}

.modal-fire .title {
  margin-top: 4px;
}

.modal-fire .illustrated {
  position: relative;
  padding-left: 86px;
  font-size: 14px;
  margin-top: 2px;
}

.modal-fire .illustrated::before {
  content: "Illustration by";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
}

.modal-area img {
  background-color: var(--color2);
}

@media screen and (max-width: 768px) {

  .modal {
    padding: 80px 20px 0;
  }

}


/* top トップ */

#mv-img {
  position: fixed;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

#mv-img::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 160px;
  margin: auto 0;
  background: url(/common/images/logo_hibari.svg) no-repeat center / 100% auto;
  width: 537px;
  height: 158px;
  z-index: 1;
}

#mv-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1) 9%, rgba(0, 0, 0, .5) 29%, rgba(0, 0, 0, 0)60%);
  width: 100%;
  height: 100%;
}

#mv-img figure {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin-bottom: 0;
}

#mv-img figure:first-child {
  opacity: 1;
  animation: mv-switch-start 20s 0s;
  animation: mv-switch-repeat 20s 20s infinite;
}

#mv-img figure:nth-of-type(2) {
  opacity: 0;
  animation: mv-switch-repeat 20s 10s infinite;
}

@keyframes mv-switch-start {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes mv-switch-repeat {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

#mv-img figure img {
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#mv-scroll {
  position: relative;
  width: 100%;
  height: 100vh;
}

#mv-scroll a {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  color: var(--color2);
  width: fit-content;
  text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.75);
  margin-bottom: 42px;
  padding-bottom: 17px;
  line-height: 1;
  font-size: 12px;
  letter-spacing: 0.2em;
}

#mv-scroll a::before {
  content: "";
  background: url(/common/images/w-icon_link-box.svg) no-repeat center / 100% auto;
  transform: rotate(90deg);
  height: 16px;
  width: 8px;
  filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.75));
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: bottom .5s;
}

#mv-info {
  position: relative;
}

#mv-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color1);
  opacity: .85;
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0 0;
  z-index: -1;
}

.mv-info-area {
  display: flex;
  justify-content: space-between;
  padding: 110px 0;
  position: relative;
}

.mv-info-col-right {
  width: 740px;
}

.h2-info,
.h2-about {
  font-size: 78px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  line-height: 1;
}

.link-info {
  border: solid 1px var(--color2);
  border-radius: 3px;
  position: absolute;
  top: 234px;
  left: 0;
}

.link-info a {
  display: block;
  color: var(--color2);
  font-size: 16px;
  padding: 5px 41px 5px 24px;
}

.link-info a span {
  position: relative;
}

.link-info a span::after {
  content: "";
  position: absolute;
  top: 3px;
  display: inline-block;
  width: 6px;
  height: 12px;
  right: -22px;
  background: url(/common/images/icon_link-box.svg) no-repeat center / 100% auto;
  animation-duration: .8s;
  animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  animation-fill-mode: forwards;
}

.black-shift .link-info a span::after {
  background: url(/common/images/w-icon_link-box.svg) no-repeat center / 100% auto;
}

#mv-info .info-list > li {
  visibility: hidden;
}

#slider-gallery {
  background-color: var(--color1);
  padding: 105px 0 134px;
}

.slider-gallery-text {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.slider-gallery-date p {
  margin-bottom: 0;
  font-size: 15px;
  position: relative;
  white-space: nowrap;
}

.slider-gallery-date p::before {
  content: "Last updated on";
  position: absolute;
  font-size: 15px;
  top: 0;
  left: -112px;
}

.link-slider-gallery {
  margin-left: 30px;
}

.link-slider-gallery a {
  position: relative;
  color: var(--color2);
  padding-right: 15px;
  font-size: 15px;
}

.link-slider-gallery a::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 5px;
  height: 10px;
  top: 3px;
  right: 0;
  background: url(/common/images/icon_link-box.svg) no-repeat center / 100% auto;
  animation-duration: .8s;
  animation-timing-function: cubic-bezier(.215, .61, .355, 1);
  animation-fill-mode: forwards;
}

.black-shift .link-slider-gallery a::after {
  background: url(/common/images/w-icon_link-box.svg) no-repeat center / 100% auto;
}

.slider-gallery-area {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11.25rem, #000 calc(100% - 11.25rem), transparent calc(100% - 0rem));
  mask-image: linear-gradient(to right, transparent 0, #000 11.25rem, #000 calc(100% - 11.25rem), transparent calc(100% - 0rem));
}

.slider-gallery-right,
.slider-gallery-left {
  display: flex;
}

.slider-gallery-right {
  margin-bottom: 2px;
}

.slider-gallery-list {
  display: flex;
}

.slider-gallery-right .slider-gallery-list:first-child {
  animation: slider-right-1 240s linear infinite;
}

.slider-gallery-right .slider-gallery-list:nth-child(2) {
  animation: slider-right-2 240s -160s linear infinite;
}

.slider-gallery-right .slider-gallery-list:last-child {
  animation: slider-right-3 240s -80s linear infinite;
}

.slider-gallery-left .slider-gallery-list:first-child {
  animation: slider-left-1 240s linear infinite;
}

.slider-gallery-left .slider-gallery-list:nth-child(2) {
  animation: slider-left-2 240s -160s linear infinite;
}

.slider-gallery-left .slider-gallery-list:last-child {
  animation: slider-left-3 240s -80s linear infinite;
}

.slider-gallery-list li {
  list-style: none;
  visibility: hidden;
  width: 260px;
  margin-right: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

.slider-gallery-list li figure {
  margin-bottom: 0;
}

.slider-gallery-list li > figure > img {
  transition: transform .5s;
}

@keyframes slider-left-1 {
  0% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes slider-left-2 {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-200%);
  }
}

@keyframes slider-left-3 {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-300%);
  }
}

@keyframes slider-right-1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes slider-right-2 {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes slider-right-3 {
  0% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(0%);
  }
}

#top #content {
  position: relative;
}

#top #content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color1);
  z-index: -1;
}

.h2-about {
  margin-bottom: 50px;
}

.about-area {
  display: flex;
}

.about-area-left {
  width: 436px;
  margin-right: 62px;
  flex-shrink: 0;
}

.about-area-left figure {
  margin-bottom: 0;
}

.about-area-right {
  width: calc(100% - 436px - 62px);
}

.h3-about {
  font-size: 27px;
  font-weight: var(--fw-medium);
  margin-bottom: 40px;
}

.about-link-area {
  display: flex;
  flex-wrap: wrap;
}

.about-link-area .col {
  width: calc((100% - 30px) / 2);
}

.about-link-area .col:nth-of-type(2n) {
  margin-left: 30px;
}


@media screen and (min-width: 769px){

  #mv-scroll a:hover::before {
    bottom: -8px;
  }

  .link-info:hover a span::after {
    animation-name: link-forward;
  }

  .slider-gallery-list li:hover > figure > img {
    transform: scale(1.05);
  }

  .link-slider-gallery:hover a::after {
    animation-name: link-forward;
  }

}

@media screen and (max-width: 768px) {

  #mv-img::before {
    width: 221px;
    height: 56px;
    top: initial;
    bottom: 20px;
    margin: 0;
    left: initial;
    right: 20px;
  }

  #mv-img::after {
    background-image: linear-gradient(-28deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1) 9%, rgba(0, 0, 0, .5) 21%, rgba(0, 0, 0, 0) 43%);
  }

  #mv-scroll a {
    writing-mode: vertical-rl;
    margin: 0;
    margin-left: 20px;
    padding-bottom: 31px;
    line-height: 0.6;
    letter-spacing: 1.3px;
  }

  #mv-scroll a::before {
    bottom: 16px;
    width: 5px;
    height: 10px;
  }

  #mv-info::before {
    border-radius: 10px 10px 0 0;
  }

  .mv-info-area {
    flex-direction: column;
    padding: 78px 0 42px;
  }

  .mv-info-col-left {
    margin-bottom: 25px;
  }

  .h2-info,
  .h2-about {
    font-size: 34px;
    text-align: center;
    letter-spacing: 0.01em;
  }

  .link-info {
    position: relative;
    top: initial;
    left: initial;
    width: calc(100% - 40px);
    margin: 29px auto 0;
  }

  .link-info a {
    font-size: 15px;
    text-align: center;
    padding: 3px 0px 2px;
  }

  .link-info a span::after {
    position: relative;
    margin-left: 8px;
    top: 0.5px;
    right: initial;
  }

  .mv-info-col-right {
    width: 100%;
    margin-right: 0;
  }

  #slider-gallery {
    padding: 49px 0 50px;
  }

  .slider-gallery-text {
    justify-content: space-between;
    margin-bottom: -1px;
  }

  .slider-gallery-date p {
    font-size: 14px;
  }

  .slider-gallery-date p::before {
    position: relative;
    font-size: 14px;
    top: 0;
    left: 0;
    margin-right: 4px;
  }

  .slider-gallery-list li {
    width: 165px;
  }

  .slider-gallery-area {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11.25rem, #000 100%, transparent calc(100% - 0rem));
    mask-image: linear-gradient(to right, transparent 0, #000 11.25rem, #000 100%, transparent calc(100% - 0rem));
  }

  .about-area {
    flex-direction: column;
  }

  .about-area-left {
    width: 100%;
    margin-right: 0;
    margin-bottom: 25px;
  }

  .about-area-right {
    width: 100%;
  }

  #content:has(.about-area) {
    padding: 50px 0;
  }

  .h2-about {
    margin-bottom: 23px;
  }

  .h3-about {
    font-size: 21px;
    text-align: center;
    margin-bottom: 11px;
  }

  .about-link-area {
    flex-direction: column;
  }

  .about-link-area .col {
    width: 100%;
  }

  .about-link-area .col:nth-of-type(2n) {
    margin-left: 0;
  }

  .about-area-left figure {
    text-align: center;
  }

  .about-area-left figure img {
    max-width: 330px;
  }

}

/* character キャラクター一覧 */

.character-con {
  display: flex;
  justify-content: space-between;
}

.character-nav {
  width: 195px;
  height: fit-content;
  position: -webkit-sticky;
  position: sticky;
  top: 130px;
  z-index: 11;
}

.character-nav.character-nav-sp {
  display: none;
}

.character-nav nav {
  display: flex;
  flex-wrap: wrap;
  padding: 25px;
  border: solid 1px var(--color2);
  border-radius: 3px;
  background-color: var(--color15);
}

.character-nav a {
  margin-top: 23px;
}

.character-nav a:nth-of-type(2n) {
  margin-left: 23px;
}

.character-nav a:first-of-type,
.character-nav a:nth-of-type(2) {
  margin-top: 0;
}

.character-nav figure {
  margin-bottom: 0;
}

.character-nav img {
  width: 60px;
  height: auto;
}

.character-nav-btn {
  display: none;
  position: absolute;
  width: 20px;
  height: 148px;
  top: -1px;
  right: -21px;
  background-color: var(--color15);
  border-top: solid 1px var(--color2);
  border-bottom: solid 1px var(--color2);
  border-right: solid 1px var(--color2);
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.character-nav-btn::after {
  content: "";
  background: url(/common/images/w-icon_link-box-back.svg) no-repeat center / 100% auto;
  position: absolute;
  top: 67px;
  right: 7px;
  display: inline-block;
  width: 6px;
  height: 12px;
}

.character-nav.active .character-nav-btn::after {
  background: url(/common/images/w-icon_link-box.svg) no-repeat center / 100% auto;
}

.character-inner {
  width: 866px;
}

.character-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(194px, 1fr));
  gap: 47px 30px;
}

.character-con:has(.small.active) .character-list {
  grid-template-columns: repeat(auto-fill, minmax(113px, 1fr));
  gap: 28px;
}

.character-index {
  display: block;
  width: 100%;
  margin-bottom: 55px;
}

.character-index::before {
  content: "";
  height: 2px;
  background-color: var(--color2);
  margin-left: 90px;
  display: block;
  top: 30px;
  position: relative;
}

.character-list-area > span:not(:first-of-type) {
  margin-top: 92px;
}

.character-index figure {
  width: 60px;
  height: auto;
  margin-bottom: 0;
}

.character-item {
  width: 194px;
}

.character-con:has(.small.active) .character-item {
  width: 113px;
}

.character-item figure {
  margin-bottom: 0;
  border-radius: 3px;
  overflow: hidden;
  border: solid 1px var(--color5);
}

.character-item img {
  transition: transform .5s;
}

.character-item p {
  color: var(--color5);
  margin: 3px 0 0;
}

.character-filter {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 126px;
}

.character-filter-size {
  margin-right: 26px;
}

.character-filter-size,
.character-filter-mthm {
  display: flex;
  width: 418px;
  position: relative;
  border: solid 1px var(--color2);
  border-radius: 3px;
}

.character-filter-size::before,
.character-filter-mthm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 1px;
  height: 40px;
  background: var(--color2);
}

.character-filter-size .default.active,
.character-filter-size .small.active,
.character-filter-mthm .motosu.active,
.character-filter-mthm .hamu.active {
  color: var(--color14);
}

.character-filter-size .default,
.character-filter-size .small,
.character-filter-mthm .motosu,
.character-filter-mthm .hamu {
  text-align: center;
  width: 100%;
  padding: 15px 0 11px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-weight: var(--fw-semibold);
  color: var(--color2);
  position: relative;
  z-index: 10;
}

.character-filter-size .default::before,
.character-filter-mthm .motosu::before,
.character-filter-mthm .hamu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color2);
  z-index: -1;
  transition: all .3s;
}

.character-filter-mthm .motosu::before {
  background: var(--color-motosu);
}

.character-filter-mthm .hamu::before {
  background: var(--color-hamu);
}

.character-filter-mthm .motosu::before,
.character-filter-mthm .hamu::before {
  opacity: .2;
}

.character-con:has(.small.active) .default::before {
  transform: translateX(100%);
}

.character-con:has(.small.active) .character-list-area .character-list:not(:first-of-type) {
  display: none;
}

.character-con:has(.motosu.active) .motosu::before,
.character-con:has(.hamu.active) .hamu::before {
  opacity: .7;
}

.character-con:has(.motosu.active) .character-item:has(.cha-hamu),
.character-con:has(.hamu.active) .character-item:has(.cha-motosu) {
  display: none;
}

.character-con:has(.small.active) .character-index,
.character-con:has(.small.active) .character-item p {
  display: none;
}

.character-con:has(.small.active) .character-item img {
  width: 113px;
  height: auto;
}

.character-con:has(.small.active) {
  display: block;
}

.character-con:has(.small.active) .character-nav {
  display: none;
}

.character-con:has(.small.active) .character-inner {
  width: 100%;
}




@media screen and (min-width: 769px){

  .character-item a:hover img {
    transform: scale(1.05);
  }

}

@media screen and (max-width: 768px) {

  .character-con {
    display: inherit;
    position: relative;
  }

  .character-nav {
    display: none;
  }

  .character-nav.character-nav-sp {
    display: block;
    width: 140px;
  }

  .character-nav.character-nav-sp nav {
    padding: 19px;
    position: absolute;
    border-radius: 0 0 3px 0;
    border: none;
    border-top: solid 1px var(--color2);
    border-bottom: solid 1px var(--color2);
    border-right: solid 1px var(--color2);
    cursor: pointer;
    transform: translateX(-160px);
    transition: transform .5s;
  }

  .character-nav.character-nav-sp.active nav {
    transform: translateX(-20px);
  }

  .character-nav-btn {
    display: block;
  }

  .character-nav img {
    width: 40px;
    height: 40px;
  }

  .character-nav a {
    margin-top: 20px;
  }

  .character-nav a:nth-of-type(2n) {
    margin-left: 20px;
  }

  .character-inner {
    width: calc(100% - 20px);
    padding-left: 20px;
  }

  .character-filter {
    flex-direction: column;
    margin-bottom: 58px;
  }

  .character-filter-size,
  .character-filter-mthm {
    width: 100%;
  }

  .character-filter-mthm {
    height: 23px;
  }

  .character-filter-size {
    margin-bottom: 19px;
  }

  .character-filter-size::before,
  .character-filter-mthm::before {
    height: 23px;
  }

  .character-list-area > span:not(:first-of-type) {
    margin-top: 43px;
  }

  .character-index::before {
    margin-left: 55px;
    top: 20px;
  }

  .character-index figure {
    width: 40px;
  }

  .character-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 5vw;
  }

  .character-item {
    width: 100%;
  }

  .character-filter-size .default,
  .character-filter-size .small,
  .character-filter-mthm .motosu,
  .character-filter-mthm .hamu {
    font-size: 13px;
    padding: 6px 0 4px;
  }

  .character-index {
    margin-bottom: 39px;
  }

  .character-item p {
    font-size: 13px;
    margin: 0;
  }

  .character-con:has(.small.active) .character-list {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 18px;
  }

  .character-con:has(.small.active) .character-item,
  .character-con:has(.small.active) .character-item img {
    width: 70px;
  }

  .character-con:has(.small.active) .character-inner {
    padding-left: 0;
  }

  .character-con:has(.small.active) .character-filter {
    width: calc(100% - 20px);
    padding-left: 20px;
  }

}

/* character キャラクター詳細 */

#character-detail main {
  padding-top: 236px;
  position: relative;
}

#character-detail #content {
  padding: 200px 0 137px;
}

#char-con {
  position: relative;
  margin-bottom: 94px;
  height: 2000px;/* ちらつき防止　適宜調整　いらなかったら消す */
}

#char-con #honpen,
#char-con #gendai {
  width: 100%;
  transition: all .5s;
  position: absolute;
  top: 0;
  left: 0;
}

#char-con #honpen,
#char-con.change #gendai {
  opacity: 1;
  visibility: visible;
}

#char-con.change #honpen,
#char-con #gendai {
  opacity: 0;
  visibility: hidden;
}

#char-con .button-group {
  transition: all .5s;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 17px;
  width: 100%;
}

#char-con .button-group.active {
  opacity: 1;
  visibility: visible;
}

#char-con .icon-change {
  width: 80px;
  height: 46px;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  grid-area: 1 / 1 / 2 / 3;
  margin-top: 4px;
  margin-left: 53px;
  position: relative;
  border: solid 3px rgba(0, 0, 0, 0.4);
  border-radius: 30px;
  box-shadow: inset 0 0 2px var(--color1);
  transition: background-color .3s, border .3s;
}

#char-con.change .icon-change {
  background-color: rgba(0, 0, 0, 0.4);
  border: solid 3px rgba(0, 0, 0, 0.2);
}

#char-con .icon-change::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  bottom: 0;
  margin: auto 0;
  width: 34px;
  height: 34px;
  background-color: var(--color4);
  box-shadow: 0 0 2px var(--color1);
  border-radius: 50%;
  transition: left .3s;
}

#char-con.change .icon-change::before {
  left: 40px;
}

#char-con .icon-change.icon-change-not {
  cursor: default;
  border: solid 3px rgba(124, 124, 124, 0.4);
  background-color: rgba(124, 124, 124, 0.2);
  box-shadow: inset 0 0 2px var(--color4);
}

#char-con .icon-change.icon-change-not::before {
  background-color: rgba(124, 124, 124, 0.6);
  box-shadow: 0 0 2px var(--color4);
}

#char-con .icon [class*='icon-'] {
  width: 60px;
  height: 60px;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}

#char-con .icon-standing {
  background: url(/character/images/icon-char-standing.svg) no-repeat center / 100% auto;
}

#char-con .icon-face {
  background: url(/character/images/icon-char-face.svg) no-repeat center / 100% auto;
}

#char-con .icon-data {
  background: url(/character/images/icon-char-data.svg) no-repeat center / 100% auto;
}

#char-con .backimage > div {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: var(--color13);
  /* background-color: var(--color6); */
  border-radius: 3px;
  position: relative;
}

#char-con .backimage > div::before {
  content: "";
  position: absolute;
}

#char-con .backimage > div.team-00::before {
  background: url(/common/images/symbol_backimage_not.svg) no-repeat center / 100% auto;
  top: -40px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-01::before {
  background: url(/common/images/symbol_backimage_chiron.svg) no-repeat center / 100% auto;
  top: -40px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-02::before {
  background: url(/common/images/symbol_backimage_hibari.svg) no-repeat center / 100% auto;
  top: -70px;
  right: 0px;
  width: 440px;
  height: 440px;
}

#char-con .backimage > div.team-03::before {
  background: url(/common/images/symbol_backimage_yukiyama.svg) no-repeat center / 100% auto;
  top: -40px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-04::before {
  background: url(/common/images/symbol_backimage_rissenford.svg) no-repeat center / 100% auto;
  top: -132px;
  right: -130px;
  width: 600px;
  height: 600px;
}

#char-con .backimage > div.team-05::before {
  background: url(/common/images/symbol_backimage_noctour.svg) no-repeat center / 100% auto;
  top: -30px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-06::before {
  background: url(/common/images/symbol_backimage_vulcan.svg) no-repeat center / 100% auto;
  top: -40px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-07::before {
  background: url(/common/images/symbol_backimage_harveland.svg) no-repeat center / 100% auto;
  top: -30px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-08::before {
  background: url(/common/images/symbol_backimage_library.svg) no-repeat center / 100% auto;
  top: -30px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .backimage > div.team-09::before {
  background: url(/common/images/symbol_backimage_cliff.svg) no-repeat center / 100% auto;
  top: -40px;
  right: 8px;
  width: 400px;
  height: 400px;
}

#char-con .pager {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 650px;
  top: 773px;
  left: 0;
  z-index: 2;
}

#char-con .pager-tab {
  width: 16px;
  height: 16px;
  background-color: var(--color1);
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .5s;
}

#char-con .pager-tab.active {
  background-color: var(--color4);
  cursor: default;
}

#char-con .pager-tab:not(:first-of-type) {
  margin-left: 30px;
}

#char-con .name {
  position: absolute;
  top: 141px;
  right: 0;
  width: 450px;
  height: fit-content;
  z-index: 2;
}

#char-con .name h1 {
  font-size: 30px;
  font-weight: var(--fw-medium);
  line-height: 1.4em;
}

#char-con .name span {
  font-size: 16px;
}

#char-con .name,
#char-con .voice,
#char-con .text {
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 1);
  z-index: 2;
}

#char-con .char-color {
  margin-top: 10px;
}

#char-con .char-color > span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0);
}

#char-con .char-color > p {
  text-align: right;
  line-height: 1;
  font-size: 8px;
  color: rgba(0, 0, 0, 0);/* 初期値は透明 */
  margin-top: 2px;
  margin-bottom: 0;
}

#char-con .voice {
  position: absolute;
  top: -50px;
  left: 78px;
  width: 60px;
  writing-mode: vertical-rl;
  margin-bottom: 0;
  font-size: 18px;
  font-family: var(--ff-mincho);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
}

#char-con .standing {
  position: absolute;
  top: -117px;
  left: -200px;
  width: 1100px;
  height: 830px;
}

#char-con .standing > img {
  transition: opacity .5s, visibility .5s;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  visibility: hidden;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

#char-con .standing > img.active {
  opacity: 1;
  visibility: visible;
}

#char-con .button,
#char-con .team,
#char-con .text {
  display: block;
  width: 450px;
  margin: 0 0 0 auto;
}

#char-con .button {
  position: relative;
  margin-top: 50px;
}

#char-con .team {
  position: relative;
  z-index: 2;
  border: solid 1px var(--color4);
  width: 368px;
  height: 26px;
  border-radius: 4px;
  font-size: 12px;
  text-align: center;
  line-height: 26px;
  margin-top: 49px;
}

#char-con .team::before {
  content: "所属";
  position: absolute;
  top: 0;
  left: -82px;
  width: 72px;
  height: 26px;
  background-color: var(--color4);
  border-radius: 4px;
  color: var(--color1);
  font-size: 12px;
  font-weight: var(--fw-medium);
  text-align: center;
}

#char-con .text {
  position: relative;
  margin-top: 43px;
  z-index: 2;
}

#char-con .text p:last-child {
  margin-bottom: 0;
}

@media screen and (min-width: 769px){

  #char-con .icon:hover [class*='icon-'] {
    transform: translate(-2px, -2px);
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
  }

}

@media screen and (max-width: 768px) {

  #character-detail #header-area .header-con {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.87) 36%, rgba(0, 0, 0, 0));
    height: 64px;
  }

  #character-detail main {
    padding-top: 0;
    padding-bottom: 31px;
    overflow: hidden;
  }

  #character-detail #content {
    border-radius: 0 0 10px 10px;
    padding: 146px 0 78px;
  }

  #character-detail #breadcrumbs {
    position: absolute;
    bottom: 0;
    left: 0;
  }

  #char-con {
    margin-bottom: 60px;
  }

  #char-con .backimage {
    width: 100vw;
    margin-left: -20px;
  }

  #char-con .backimage > div {
    height: 280px;
  }

  #char-con .backimage > div.team-00::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .backimage > div.team-01::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .backimage > div.team-02::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .backimage > div.team-03::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .backimage > div.team-04::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .backimage > div.team-05::before {
    top: -20px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 310px;
    height: 310px;
  }

  #char-con .backimage > div.team-06::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .backimage > div.team-07::before {
    top: -20px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 310px;
    height: 310px;
  }

  #char-con .backimage > div.team-08::before {
    top: -20px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 310px;
    height: 310px;
  }

  #char-con .backimage > div.team-09::before {
    top: -40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    height: 370px;
  }

  #char-con .pager {
    width: 100%;
    position: relative;
    top: initial;
    margin-top: 129px;
    height: 16px;
  }

  #char-con .pager-tab {
    /* box-shadow: 0px 0px 2px 0px rgba(200, 200, 200, 0.75); */
  }

  #char-con .name {
    position: relative;
    top: initial;
    margin-top: 15px;
  }

  #char-con .name h1 {
    font-size: 28px;
    line-height: 1.3em;
    margin-bottom: -6px;
  }

  #char-con .name span {
    font-size: 15px;
  }

  #char-con .char-color {
    margin-top: 5px;
    position: relative;
    z-index: 2;
  }

  #char-con .char-color > span {
    height: 1px;
  }

  #char-con .char-color > p {
    margin-top: 4px;
  }

  #char-con .voice {
    font-size: 16px;
    top: -53px;
    left: -7px;
  }

  #char-con .standing {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    top: -93px;
  }

  #char-con .standing::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 386px;
    background-image: linear-gradient(0deg, rgba(56, 56, 56, 0.9), rgba(56, 56, 56, 0));
    z-index: 1;
  }

  #char-con .button,
  #char-con .team,
  #char-con .text {
    width: 100%;
  }

  #char-con .button {
    margin-top: 9px;
    z-index: 2;
  }

  #char-con .button-group {
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 19px;
  }

  #char-con .icon-change {
    margin-left: 39px;
    width: 56px;
    height: 32px;
    margin-top: 1px;
    border-width: 2px;
  }

  #char-con.change .icon-change {
    border-width: 2px;
  }

  #char-con .icon-change::before {
    width: 24px;
    height: 24px;
    left: 5px;
  }

  #char-con.change .icon-change::before {
    left: 27px;
  }

  #char-con .icon [class*='icon-'] {
    width: 40px;
    height: 40px;
    border-radius: 2px;
  }

  #char-con .team {
    margin-top: 39px;
    width: calc(100% - 80px);
    height: 22px;
    line-height: 22px;
  }

  #char-con .team::before {
    height: 22px;
    left: -79px;
  }

  #char-con .text {
    margin-top: 32px;
  }

}

/* CS キャラシページ */

[class*='link-box-'] button {
  display: block;
  width: 100%;
  line-height: 1.9em;
  width: calc(100% - 20px);
  color: var(--color2);
  font-size: 16px;
  padding: 11px 0 9px 20px;
  text-align: left;
}

.cs-list {
  display: flex;
  flex-wrap: wrap;
}

.cs-item {
  width: calc((100% - 40px * 5)/6);
  margin-bottom: 30px;
}

.cs-item:not(:nth-of-type(6n)) {
  margin-right: 40px;
}

.cs-item figure {
  border: solid 1px var(--color5);
  border-radius: 3px;
  margin-bottom: 0;
  overflow: hidden;
}

.cs-item img {
  transition: transform .5s;
}

p.cs-name {
  color: var(--color5);
  margin: 6px 0 12px;
}

.cs-list-sub li a  {
  border-radius: 3px;
  background-position: 100%;
  background-size: 200% 100%;
  transition: all .5s
  cubic-bezier(0, 0, .23, 1);
  background-image: linear-gradient(90deg, var(--color1), var(--color1) 50%, var(--color16) 0);
  display: block;
  color: var(--color2);
  padding: 7px;
  line-height: 1;
  text-align: center;
}

.cs-list-sub li:not(:first-of-type) {
  margin-top: 20px;
}

@media screen and (min-width: 769px){

  .cs-item a:has(figure):hover img {
    transform: scale(1.05);
  }

  .cs-list-sub li:hover a {
    background-position: 0;
  }

}

@media screen and (max-width: 768px) {

  [class*='link-box-'] button {
    font-size: 15px;
  }

  .cs-item {
    width: calc((100% - 24px * 2)/3);
  }

  .cs-item:not(:nth-of-type(6n)) {
    margin-right: inherit;
  }

  .cs-item:not(:nth-of-type(3n)) {
    margin-right: 24px;
  }

  p.cs-name {
    margin: 0 0 5px;
    font-size: 13px;
  }

  .cs-list-sub li:not(:first-of-type) {
    margin-top: 16px;
  }

  .cs-list-sub li a {
    font-size: 13px;
    padding: 6px;
  }

}

/* coc COCディスプレイ */

.cocdisplay-list {
  display: flex;
  flex-wrap: wrap;
}

.cocdisplay-item {
  width: calc((100% - 10px * 2)/3);
  margin-bottom: 40px;
}

.cocdisplay-item:not(:nth-of-type(3n)) {
  margin-right: 10px;
}

.cocdisplay-item figure {
  margin: 0 auto;
  position: relative;
  width: fit-content;
  overflow: hidden;
}

.cocdisplay-item figure::before {
  position: absolute;
  content: "";
  top: 0;
  left: -144%;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: skewX(-30deg);
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
}

@keyframes shine {
  100% {
    left: 100%;
  }
}

.cocdisplay-item img {
  max-height: 380px;
  width: auto;
}

@media screen and (min-width: 769px){

  .cocdisplay-item figure:hover::before {
    animation: shine 1s;
  }

}

@media screen and (max-width: 768px) {

  .cocdisplay-item {
    width: calc((100% - 10px)/2);
    margin-bottom: 30px;
  }

  .cocdisplay-item:not(:nth-of-type(3n)) {
    margin-right: inherit;
  }

  .cocdisplay-item:not(:nth-of-type(2n)) {
    margin-right: 10px;
  }

  .cocdisplay-item img {
    max-height: 200px;
  }

}

/* novel 読み物 */

.novel-head {
  position: relative;
  margin-bottom: 100px;
}

.novel-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  background: var(--color1);
}

.novel-hakuaki {
  display: flex;
  align-items: flex-end;
  position: relative;
  z-index: 1;
  padding-top: 24px;
}

.novel-hakuaki figure {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  border: solid 2px var(--color2);
  margin-bottom: 0;
  margin-right: 21px;
}

.novel-hakuaki .title {
  font-size: 20px;
  font-weight: var(--fw-medium);
  position: relative;
}

.novel-hakuaki .title::before {
  content: "#";
  padding-right: 6px;
}

.novel-hakuaki .number {
  font-size: 16px;
  padding-bottom: 3px;
}

.novel-hakuaki .number span {
  color: var(--color4);
  padding-left: 5px;
}

.novel-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.novel-item {
  display: flex;
  width: 45%;
  margin-bottom: 60px;
}

.novel-item [class*='cover-'] {
  position: relative;
  width: 80px;
  height: 112px;
  border-radius: 8px;
}

.novel-item [class*='cover-']::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 112px;
  background: var(--color1);
  opacity: .3;
  border-radius: 8px;
  transition: opacity .5s;
}

.cover-mksk {
  background: linear-gradient(to right, #ffec47 0%, #ffec47 50%, #26499d 50%, #26499d 100%);
}

.cover-htzk {
  background: linear-gradient(to right, #7058a3 0%, #7058a3 50%, #F6BFBC 50%, #F6BFBC 100%);
}

.cover-hkmt {
  background: linear-gradient(to right, #ead7a4 0%, #ead7a4 50%, #4682b4 50%, #4682b4 100%);
}

.cover-hrro {
  background: linear-gradient(to right, #F3981D 0%, #F3981D 50%, #48d1cc 50%, #48d1cc 100%);
}

.cover-tlfr {
  background: linear-gradient(to right, #483d8b 0%, #483d8b 50%, #B22222 50%, #B22222 100%);
}

.cover-hsks {
  background: linear-gradient(to right, #8b008b 0%, #8b008b 50%, #ADFF2F 50%, #ADFF2F 100%);
}

.cover-hnku {
  background: linear-gradient(to right, #d2b48c 0%, #d2b48c 50%, #82cddd 50%, #82cddd 100%);
}

.cover-arsn {
  background: linear-gradient(to right, #000000 0%, #000000 50%, #3f4995 50%, #3f4995 100%);
}

.cover-snrb {
  background: linear-gradient(to right, #3f4995 0%, #3f4995 50%, #000000 50%, #000000 100%);
}

.cover-arsnao {
  background: linear-gradient(to right, #000000 0%, #000000 33%, #3f4995 33%, #3f4995 66%, #00afcc 66%, #00afcc 100%);
}

.cover-rktf {
  background: linear-gradient(to right, #ca3f43 0%, #ca3f43 50%, #e3e548 50%, #e3e548 100%);
}

.cover-knel {
  background: linear-gradient(to right, #f3f3f2 0%, #f3f3f2 50%, #bafff5 50%, #bafff5 100%);
}

.cover-snky {
  background: linear-gradient(to right, #fdd35c 0%, #fdd35c 50%, #003f8e 50%, #003f8e 100%);
}

.novel-item .col:has([class*='cover-']) {
  margin-right: 17px;
}

.novel-item .title {
  color: var(--color2);
  font-size: 14px;
  top: -8px;
  position: relative;
}

.novel-item .tag {
  color: var(--color12);
  font-size: 14px;
  top: -12px;
  position: relative;
  margin-bottom: 0;
}

.novel-item .tag span:not(:first-of-type) {
  margin-left: 3px;
}

.novel-item .tag span::before {
  content: "#";
  padding-right: 3px;
}

.novel-item .caption {
  font-size: 14px;
  position: relative;
  top: -15px;
  color: var(--color5);
  line-height: 1.7em;
}

#hk-novel-detail main {
  padding-top: 231px;
}

#hk-novel-detail #breadcrumbs {
  padding-bottom: 15px;
}

#hk-novel-detail #content {
  background-color: inherit;
  padding: 10px 0 137px;
}

.novel-con {
  background-color: var(--color14);
  border-radius: 20px;
  padding-bottom: 52px;
}

#hk-novel-detail .novel-item .col:has([class*='cover-']) {
  margin-right: 32px;
}

#hk-novel-detail .novel-item {
  padding: 50px 50px 53px;
  width: inherit;
  position: relative;
  margin-bottom: 0;
}

#hk-novel-detail .novel-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color1);
}

#hk-novel-detail .novel-item [class*='cover-'] {
  width: 136px;
  height: 190px;
}

#hk-novel-detail .novel-item [class*='cover-']::before {
  content: none;
}

#hk-novel-detail .novel-item .title {
  font-size: 20px;
  font-weight: var(--fw-medium);
  top: inherit;
  margin-top: 17px;
}

#hk-novel-detail .novel-item .caption {
  top: inherit;
  margin-bottom: 0;
  margin-top: 4px;
}

#hk-novel-detail .novel-item .tag {
  top: inherit;
  margin-top: 3px;
}

.novel-text {
  padding: 94px 100px;
  position: relative;
  margin-bottom: 51px;
}

.novel-text::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color1);
}

#hk-novel-detail .title-top {
  display: none;
}

@media screen and (min-width: 769px){

  .novel-item a:has([class*='cover-']):hover [class*='cover-']::before {
    opacity: 0;
  }

}

@media screen and (max-width: 768px) {

  #content:has(.novel-hakuaki) {
    padding-top: 54px;
  }

  .novel-head {
    margin-bottom: 39px;
  }

  .novel-hakuaki {
    display: block;
    text-align: center;
  }

  .novel-head::before {
    content: none;
  }

  .novel-hakuaki .title {
    font-size: 16px;
  }

  .novel-hakuaki .title::before {
    padding-right: 5px;
  }

  .novel-hakuaki .number {
    font-size: 12px;
    padding-bottom: 0;
    margin-top: 3px;
  }

  .novel-head .col:has(figure) {
    display: none;
  }

  .novel-hakuaki {
    padding-top: 0;
  }

  .novel-list {
    flex-direction: column;
  }

  .novel-item {
    width: 100%;
  }

  .novel-item [class*='cover-'] {
    width: 64px;
    height: 90px;
    border-radius: 4px;
  }

  .novel-item [class*='cover-']::before {
    width: 64px;
    height: 90px;
    border-radius: 4px;
  }

  .novel-item .tag {
    font-size: 12px;
    top: -16px;
  }

  .novel-item .caption {
    font-size: 12px;
    top: -24px;
  }

  #hk-novel-detail main {
    padding-top: 98px;
  }

  #hk-novel-detail #content {
    padding-top: 238px;
    padding-bottom: 77px;
  }

  .novel-con {
    border-radius: 10px;
    width: 100vw;
    margin-left: -20px;
    padding-bottom: 30px;
  }

  #hk-novel-detail .novel-item {
    display: block;
    padding: 0;
  }

  #hk-novel-detail .title-top {
    display: block;
    text-align: center;
    margin-bottom: 14px;
    font-size: 14px;
  }

  #hk-novel-detail .novel-item [class*='cover-'] {
    width: 128px;
    height: 179px;
  }

  #hk-novel-detail .novel-item .col:has([class*='cover-']) {
    margin-right: 0;
    position: absolute;
    top: -224px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
  }

  #hk-novel-detail .novel-item .col:not(:has([class*='cover-'])) {
    padding: 20px;
  }

  #hk-novel-detail .novel-item .title {
    font-size: 14px;
    margin-top: 0;
  }

  #hk-novel-detail .novel-item .caption {
    font-size: 12px;
    margin-top: -11px;
  }

  #hk-novel-detail .novel-item .tag {
    font-size: 12px;
    margin-top: -12px;
  }

  .novel-text {
    padding: 34px 20px;
    margin-bottom: 30px;
  }

}


/* blog ブログ */

.blog-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.blog-item {
  width: calc((100% - 40px*2)/3);
  margin-bottom: 40px;
  background-color: var(--color13);
  border-radius: 3px;
}

.blog-item:not(:nth-of-type(3n)) {
  margin-right: 40px;
}

figure.blog-upper {
  height: 210px;
  overflow: hidden;
  border-radius: 3px 3px 0 0;
  margin-bottom: 0;
}

.blog-upper img {
  top: -40px;
  position: relative;
  transition: transform .5s;
}

.blog-lower {
  padding: 30px 30px 22px 29px;
}

.blog-item .cat {
  width: fit-content;
}

.blog-item .title {
  font-size: 18px;
  font-weight: var(--fw-medium);
  margin-top: 16px;
  line-height: 1.6em;
  color: var(--color2);
}

.blog-item .date {
  font-size: 15px;
  color: var(--color4);
  margin-top: 3px;
}

#blog-detail main {
  padding-top: 236px;
}

#blog-detail section:first-of-type {
  margin-top: 60px;
}

#h1-area-blog {
  margin-bottom: 28px;
}

#h1-area-blog .cat {
  width: fit-content;
  margin-bottom: 19px;
}

.blog-overview {
  display: flex;
}

.blog-overview .left-col {
  margin-right: 30px;
}

.blog-overview .left-col figure {
  width: 200px;
  height: 200px;
  margin-bottom: 0;
}

.blog-overview .left-col img {
  border-radius: 3px;
}

.blog-overview .right-col {
  background-color: var(--color10);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  width: calc(100% - 200px - 30px);
}

.blog-overview .lead {
  padding: 25px 30px 0;
}

.blog-overview .date-area {
  margin-top: auto;
  padding: 0 30px 28px;
}

.blog-overview .date,
.blog-overview .lastupdated {
  margin-bottom: 0;
  line-height: 1;
}

.blog-overview .lastupdated {
  margin-top: 12px;
}

.blog-overview .lastupdated::before {
  content: "Last updated on";
  padding-right: 4px;
}

.blog-index {
  position: relative;
  border: solid 2px var(--color4);
  border-radius: 3px;
  display: flex;
  padding: 4px 0 4px 103px;
  margin-top: 50px;
}

.blog-index::before {
  content: "";
  position: relative;
  width: 2px;
  height: auto;
  background: var(--color4);
}

.blog-index::after {
  content: "Index";
  font-size: 18px;
  font-weight: var(--fw-semibold);
  position: absolute;
  top: 22px;
  left: 28px;
  color: var(--color4);
}

.blog-index ul {
  padding: 20px 28px 20px;
}

.blog-index li:not(:last-child) {
  margin-bottom: 13px;
}

.blog-index li a,
.link-related .title p {
  -webkit-text-fill-color: transparent;
  background-position: 100%;
  background-size: 200% 100%;
  transition: all .5s cubic-bezier(0, 0, .23, 1);
  background-image: linear-gradient(90deg, var(--color6), var(--color6) 50%, var(--color1) 0);
  background-clip: text;
}

.link-related-area {
  margin-bottom: 70px;
}

.h3-center {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 22px;
  margin-bottom: 45px;
}

.h3-center::before,
.h3-center::after {
  content: "";
  display: block;
  height: 2px;
  flex-grow: 1;
  background: var(--color7);
}

.h3-center::before {
  margin-right: 30px;
}

.h3-center::after {
  margin-left: 30px;
}

.link-related-list {
  display: flex;
  flex-wrap: wrap;
}

.link-related {
  width: calc((100% - 60px*2)/3);
}

.link-related figure {
  width: 200px;
  height: 200px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 3px;
}

.link-related figure img {
  transition: transform .5s;
}

.link-related .title {
  position: relative;
  background-color: var(--color3);
  width: 297px;
  margin-top: -50px;
  margin-left: 30px;
  color: var(--color2);
  border-radius: 3px;
}

.link-related .title p {
  padding: 24px 0 0 29px;
  line-height: 1.8em;
  margin-bottom: 0;
  font-weight: var(--fw-medium);
}

@media screen and (min-width: 769px){

  .blog-item:hover .blog-upper img {
    transform: scale(1.05);
  }

  .link-related:not(:nth-of-type(3n)) {
    margin-right: 60px;
  }

  .link-related:not(:nth-of-type(-n+3)) {
    margin-top: 60px;
  }

  .link-related a:hover figure img {
    transform: scale(1.05);
  }

  .blog-index li a:hover,
  .link-related a:hover .title p {
    background-position: 0;
  }

}

@media screen and (max-width: 768px) {

  .blog-list {
    flex-direction: column;
    margin-bottom: 0;
  }

  .blog-item {
    width: 100%;
    border-radius: 0 0 2px 2px;
    margin-bottom: 20px;
  }

  .blog-item:not(:nth-of-type(3n)) {
    margin-right: 0;
  }

  .blog-item:last-of-type {
    margin-bottom: 0;
  }

  figure.blog-upper {
    height: 207px;
    margin-bottom: 0;
    border-radius: 2px 2px 0 0;
  }

  .blog-lower {
    padding: 25px 25px 16px;
  }

  .blog-item .title {
    font-size: 17px;
  }

  .blog-item .date {
    font-size: 14px;
  }

  #blog-detail main {
    padding-top: 108px;
  }

  #h1-area-blog {
    margin-bottom: 25px;
  }

  #h1-area-blog .cat {
    margin-bottom: 13px;
  }

  .blog-overview {
    flex-direction: column;
  }

  .blog-overview .left-col {
    margin-right: 0;
  }

  .blog-overview .left-col figure {
    width: 190px;
    height: 190px;
    margin: 0 auto;
  }

  .blog-overview .right-col {
    width: 100%;
    margin-top: 26px;
  }

  .blog-overview .lead {
    padding: 14px 20px 0;
  }

  .blog-overview .date-area {
    margin-top: 20px;
    padding: 0 20px 18px;
  }

  .blog-index {
    border-radius: 2px;
    margin-top: 30px;
    flex-direction: column;
    padding: 50px 4px 0 4px;
  }

  .blog-index::before {
    width: 100%;
    height: 2px;
  }

  .blog-index::after {
    font-size: 16px;
    top: 10px;
    left: 18px;
  }

  .blog-index ul {
    padding: 12px 14px 11px;
  }

  .blog-index li:not(:last-child) {
    margin-bottom: 6px;
  }

  .link-related-area {
    margin-bottom: 60px;
  }

  .h3-center {
    font-size: 21px;
    margin-bottom: 35px;
  }

  .h3-center::before {
    margin-right: 22px;
  }

  .h3-center::after {
    margin-left: 22px;
  }

  .link-related-list {
    flex-direction: column;
    align-items: center;
  }

  .link-related {
    max-width: 242px;
    width: inherit;
  }

  .link-related:not(:first-child) {
    margin-top: 40px;
  }

  .link-related figure {
    width: 150px;
    height: 150px;
    border-radius: 2px;
  }

  .link-related .title {
    border-radius: 2px;
    width: inherit;
    max-width: 222px;
    margin-left: 20px;
    margin-top: -35px;
  }

  .link-related .title p {
    padding: 14px 0 0 21px;
  }

}


/* roulette ルーレット */

.roulette-loading {
  display: none;
}

.roulette-area {
  position: relative;
}

.roulette-name {
  width: 300px;
  padding: 13px 0 11px;
  background-color: var(--color11);
  border: solid 1px var(--color5);
  border-radius: 3px;
  text-align: center;
  margin: 0 auto;
}

.roulette-area .start,
.roulette-area .stop,
.roulette-area .restart {
  position: relative;
  cursor: pointer;
  background-color: var(--color5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 40px auto 0;
}

.roulette-area .stop,
.roulette-area .restart {
  display: none;
}

.roulette-area .start {
  color: var(--color14);
  font-size: 40px;
}

.roulette-area .start::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  width: 0px;
  height: 0px;
  border: 0.3em solid transparent;
  border-left: 0.5em solid currentColor;
  box-sizing: border-box;
}

.roulette-area .stop {
  color: var(--color14);
  font-size: 40px;
}

.roulette-area .stop::before,
.roulette-area .stop::after {
  content: "";
  position: absolute;
  top: 25px;
  transform: translateX(-50%) translateY(-50%);
  width: 5px;
  height: 24px;
  box-sizing: border-box;
  background-color: currentColor;
}

.roulette-area .stop::before {
  left: 19px;
}

.roulette-area .stop::after {
  right: 14px;
}

.roulette-area .restart {
  vertical-align: middle;
  color: var(--color14);
  transform: rotate(45deg);
}

.roulette-area .restart::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  width: 24px;
  height: 24px;
  border: 4px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  transform: rotate(-45deg);
}

.roulette-area .restart::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 22px;
  width: 7px;
  height: 7px;
  border: 4px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: content-box;
  transform: translateX(2px) rotate(38deg);
  transform-origin: top right;
}

.roulette-history {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
}

.roulette-history .title {
  font-size: 16px;
  color: var(--color5);
  font-weight: var(--fw-medium);
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.roulette-history .title::after {
  content: "";
  display: block;
  height: 1px;
  flex-grow: 1;
  background: var(--color5);
  margin-left: 10px;
}

.roulette-history .reset {
  font-size: 13px;
  margin-left: 6px;
  cursor: pointer;
  margin-bottom: -1px;
  transition: color .3s;
}

.roulette-history .history p {
  margin-bottom: 2px;
  font-size: 14px;
}

.roulette-history .history p:nth-child(n+11) {
  display: none;
}

@media screen and (min-width: 769px){

  section:has(.roulette-area) {
    margin-bottom: 300px;
  }

  .roulette-history .reset:hover {
    color: var(--color4);
  }

}

@media screen and (max-width: 768px) {

  .roulette-history {
    position: relative;
    margin: 70px auto 0;
    width: 300px;
  }

  .roulette-history .title::before {
    content: "";
    display: block;
    height: 1px;
    flex-grow: 1;
    background: var(--color5);
    margin-right: 10px;
  }

  .roulette-history .history p {
    text-align: center;
    margin-bottom: 0;
  }

}
