:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #45505b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #c4ba91; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

:root {
  --nav-color: #45505b;  /* The default color of the main navmenu links */
  --nav-hover-color: #e5c74a; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #c4ba91; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}


@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .header {
    background-color: var(--default-color);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    width: 230px;
    left: -100%;
  }
}

@media (min-width: 1200px) and (max-width: 1600px) {

  .header~main {
    margin-left: 160px;
  }

  .header~main .hero {
    margin-left: -160px;
    width: 100vw;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

@media (max-width: 768px) {
  .hero .logo{
    width:300px !important;
    margin:0 auto;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
  width: 180px;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  font-family: var(--nav-font);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-radius: 50px;
  background: #c4c291;
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
  font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
  padding: 0 5px 0 7px;
}

@media (min-width: 992px) {

  .navmenu a,
  .navmenu a:focus {
    max-width: 56px;
  }

  .navmenu a span,
  .navmenu a:focus span {
    display: none;
  }
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover>a {
  color: var(--contrast-color);
  background: var(--nav-hover-color);
}

.navmenu a:hover,
.navmenu li:hover>a {
  max-width: 100%;
  color: var(--contrast-color);
}

.navmenu a:hover span,
.navmenu li:hover>a span {
  display: block;
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 26px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
}



.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14pt;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

@media (max-width: 480px) {
  .section-title {
    padding-bottom: 0px;
  }
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

.ttl_frame1 {
  width:80%;
  font-weight: bold;
  padding: 0.5em 1em;
  border: 3px solid var(--accent-color);
  overflow: hidden;
  position: relative;
}

.ttl_frame1::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  border-width: 25px 25px 0 0;
  border-style: solid;
  border-color: var(--accent-color) #fff var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neon-frame {
  position: relative;
}

.neon-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 
    inset 0 0 25px rgba(255, 215, 0, 0.5),  /* 少し強めの光 */
    inset 0 0 50px rgba(255, 165, 0, 0.4),  /* ぼかしを増やす */
    inset 0 0 80px rgba(255, 140, 0, 0.3);  /* 柔らかい外側の光 */
  z-index: 1;
  pointer-events: none;
}


.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .logo{
  width: 600px;
  height: 350px;
  background-image: url(../img/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.hero .social-links a{
  color:#fff;
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
}

.hero p {
  margin: 5px 0 0 0;
  font-size: 26px;
}

.hero p span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 20px;
  display: inline-block;
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 20px;
  }

  .ttl_frame1{
    margin: 0 auto;
    margin-bottom:30px ;
  }
  .box-003{
    max-width:100% !important;
  }
}



/*--------------------------------------------------------------
# stage_bunkyo Section
--------------------------------------------------------------*/
.stage_bunkyo .stage_bunkyo-title-img{
  margin-top:-50px;
  height: 200px;
  max-width: 100%;
}

.stage_bunkyo .map-area {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}
.stage_bunkyo .bunkyo-map {
  max-width: 100%;
  height: auto;
 }

 .stage_bunkyo ul {
  background: color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0px 0px 0px 10px #fffde8;
  border: dashed 2px var(--accent-color);
  border-radius: 9px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 0.5em 0.5em 0.5em 2em;
}

 .stage_bunkyo ul li{
  line-height: 1.5;
  padding: 0.5em 0;
}


/*--------------------------------------------------------------
# case_file Section
--------------------------------------------------------------*/

.case_file .casefile-title-img{
  margin-top:-50px;
  height: 200px;
  max-width: 100%;

}

.case_file .case_file-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.case_file .case_file-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.case_file .case_file-filters li:hover,
.case_file .case_file-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.case_file .case_file-filters li:first-child {
  margin-left: 0;
}

.case_file .case_file-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .case_file .case_file-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.case_file .case_file-item {
  position: relative;
  overflow: hidden;
}

.case_file .case_file-item .case_file-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  padding: 15px;
}

.case_file .case_file-item .case_file-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.case_file .case_file-item .case_file-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.case_file .case_file-item .case_file-info .preview-link,
.case_file .case_file-item .case_file-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.case_file .case_file-item .case_file-info .preview-link:hover,
.case_file .case_file-item .case_file-info .details-link:hover {
  color: var(--accent-color);
}

.case_file .case_file-item .case_file-info .details-link {
  right: 14px;
  font-size: 28px;
}

.case_file .case_file-item:hover .case_file-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}

.services .service-item.item-cyan:hover .icon i {
  color: #fff;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}

.services .service-item.item-orange:hover .icon i {
  color: #fff;
}

.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}

.services .service-item.item-teal:hover .icon i {
  color: #fff;
}

.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}

.services .service-item.item-red:hover .icon i {
  color: #fff;
}

.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-indigo:hover .icon i {
  color: #fff;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}

.services .service-item.item-pink:hover .icon i {
  color: #fff;
}

.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/*--------------------------------------------------------------
# character Section
--------------------------------------------------------------*/
.character .character-title-img{
  margin-top:-50px;
  height: 200px; 
  max-width: 100%;
 
}

.character .character-carousel,
.character .character-slider {
  overflow: hidden;
}

.character .character-item .character-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.character .character-item .character-img {
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.character .character-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.character .character-item h4 {
  font-size: 14px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 10px 0;
}

.character .character-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.character .character-item .quote-icon-left,
.character .character-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.character .character-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.character .character-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.character .character-item p {
  font-style: italic;
}

.character .swiper-wrapper {
  height: auto;
}

.character .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.character .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.character .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}


/*--------------------------------------------------------------
# case_file Details Section
--------------------------------------------------------------*/
.case_file-details .case_file-details-slider img {
  width: 100%;
}

.case_file-details .swiper-wrapper {
  height: auto;
}

.case_file-details .swiper-button-prev,
.case_file-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.case_file-details .swiper-button-prev:after,
.case_file-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.case_file-details .swiper-button-prev:hover:after,
.case_file-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .case_file-details .swiper-button-prev,
  .case_file-details .swiper-button-next {
    display: none;
  }
}

.case_file-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.case_file-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.case_file-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.case_file-details .case_file-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.case_file-details .case_file-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.case_file-details .case_file-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.case_file-details .case_file-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.case_file-details .case_file-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.case_file-details .case_file-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.case_file-details .case_file-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.case_file-details .case_file-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.case_file-details .case_file-description p {
  padding: 0;
}

.case_file-details .case_file-description .character-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.case_file-details .case_file-description .character-item .character-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.case_file-details .case_file-description .character-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.case_file-details .case_file-description .character-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.case_file-details .case_file-description .character-item .quote-icon-left,
.case_file-details .case_file-description .character-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.case_file-details .case_file-description .character-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.case_file-details .case_file-description .character-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.case_file-details .case_file-description .character-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

.character .character-item .character-img {
  width: 500px
}


@media (min-width: 759px) and (max-width: 1199px) {
  .character .character-item .character-img {
    width: 450px;
  }
}

@media (max-width: 758px) {
  .character .character-item .character-img {
    width: 80vw;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# case_file_detail Section
--------------------------------------------------------------*/
.case_file_detail_001 .casefile-title-img,
.case_file_detail_002 .casefile-title-img,
.case_file_detail_003 .casefile-title-img{
  margin-top:-50px;
  height: 200px;
  max-width: 100%;

}

.case_file_detail_001 .prologue,
.case_file_detail_002 .prologue,
.case_file_detail_003 .prologue {
  text-align: center;
}


.case_file_detail_001 .box-003,
.case_file_detail_003 .box-003 {
  max-width: 80%;
  margin-bottom: 30px;
  padding: 1em 2em;
  box-shadow: 0 4px 4px rgb(0 0 0 / 5%), 0 2px 3px -2px rgb(0 0 0 / 1%);
  background-image: linear-gradient(transparent calc(100% - 1px), #e6edf3 50%, #e6edf3), linear-gradient(90deg, transparent calc(100% - 1px), #e6edf3 50%, #e6edf3);
  background-size: 15px 15px;
  background-repeat: repeat;
  background-color: #ffffff;
  color: #333333;
}

.case_file_detail_001 .content-box,
.case_file_detail_003 .content-box {
  border-bottom: 2px dashed #c4ba91;
  margin-bottom: 30px;
  padding-bottom:30px;
}


.case_file_detail_001 .ttl_h3,
.case_file_detail_003 .ttl_h3 {
  position: relative;
  display: inline-block;
  padding: 1em 3em;
}
.case_file_detail_001 .ttl_h3::before, .case_file_detail_001 .ttl_h3::after,
.case_file_detail_003 .ttl_h3::before, .case_file_detail_003 .ttl_h3::after {
  position: absolute;
  content: '';
  top: calc(50% - 1px);
  width: 2em;
  height: 2px;
  background-color: var(--accent-color);
}
.case_file_detail_001 .ttl_h3::before,
.case_file_detail_003 .ttl_h3::before {
  left:0;
}
.case_file_detail_001 .ttl_h3::after,
.case_file_detail_003 .ttl_h3::after{
  right: 0;
}

.case_file_detail_001 .detail_map,
.case_file_detail_003 .detail_map{
  width:80%;
  margin:0 auto;
}


.case_file_detail_001 .content-box2,
.case_file_detail_003 .content-box2 {
  width:80%;
  margin:10px auto !important;
  padding: 1em 1.5em;
  margin: 2em 0 0;
  background: -webkit-repeating-linear-gradient(-45deg, #f2edd8, #f2edd8 5px, #ffffff 5px, #ffffff 10px);/*ストライプ*/
  background: repeating-linear-gradient(-45deg, #f2edd8, #f2edd8 5px, #ffffff 5px, #ffffff 10px);/*ストライプ*/
  color: var(--heading-color);
  font-weight: 700;
  font-size:large;

}
.case_file_detail_001 .content-box2 p,
.case_file_detail_003 .content-box2 p {
  margin: 0; 
  padding: 0;
}

.case_file_detail_001 .content-box p,
.case_file_detail_003 .content-box p{
  padding:0 15px;
}

.case_file_detail_003 .img-80{
  width:80%;
}



.memo {
  position: relative;
  padding: 0.5rem;
  background-color: #e6edf3;
  box-shadow: 0 0 0 0.5rem #e6edf3;
  border-left: 10px dotted white;
  width: 80%;
  margin: 0 auto;
}

.memo::before {
  position: absolute;
  top: 2.5rem;
  left: 0.5rem;
  width: calc(100% - 1rem);
  height: calc(100% - 2rem);
  background-image: repeating-linear-gradient(#bcbcbc 0 1px, transparent 1px 37px);
  content: '';
}

.memo::after {
  position: absolute;
  bottom: 0.5rem;
  right: 0;
  width: 50%;
  height: 20%;
  box-shadow: 0 10px 15px #333;
  transform: rotate(4deg);
  content: '';
  z-index: -1;
}


.memo p {
  color: #333;
  line-height: 2.3;
  text-align: left;
}


@media (max-width: 768px) {
  .pc_view{
    display: none;
  }
  .sp_view{
    display: block;
  }
}

@media (min-width: 769px) {
  .pc_view{
    display: block;
  }
  .sp_view{
    display: none;
  }
}