@charset "UTF-8";
/*-------------------------------------------
Base styles
-------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

body {
  font-family: "Noto Serif JP", serif;
  background-color: #1a1a1a;
  color: #efefef;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img,
picture {
  max-width: 100%;
  display: block;
  border-radius: 0.125rem;
}

/*-------------------------------------------
Base styles
-------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  letter-spacing: 0.1em;
  line-height: 1.5em;
}

body {
  font-family: "Noto Serif JP", serif;
  background-color: #1a1a1a;
  color: #efefef;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

img,
picture {
  max-width: 100%;
  display: block;
  border-radius: 0.125rem;
}

.title-block {
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  font-size: 1.5rem;
  color: #fffffc;
  padding: 1rem 0;
  margin: 0 auto;
  letter-spacing: 0.05em;
  line-height: 1.5;
  position: relative;
  width: 100%;
  text-align: center;
  /* margin: 4rem auto; */
}
.title-block__title::after {
  content: "";
  display: block;
  width: 10%;
  height: 4px;
  background-color: #fffffc;
  margin: 1rem auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.5rem;
}
@media (min-width: 601px) and (max-width: 1024px) {
  .title-block {
    font-size: 1.25rem;
  }
}
@media (max-width: 600px) {
  .title-block {
    font-size: 1rem;
  }
  .title-block.pageTitle{
    margin-top: 6rem;
  }
}

.subtitle-block {
  font-family: "Sawarabi Mincho", serif;
  color: #fbfdff;
  font-size: 1.25rem;
  text-align: center;
  padding: 1.5rem 0;
  margin: 1rem auto;
  letter-spacing: 0.05em;
  line-height: 1.5;
  max-width: 80%;
}
.subtitle-block.indexCases{
  max-width: max-content;
}
.subtitle-block.cases {
  padding: 0;
  margin: 0;
  height: 1rem;
}
.subtitle-block.settle {
  height: 2rem;
}
.subtitle-block.settle .renewal__subtitle {
  width: 100%;
  max-width: max-content;
}
@media (min-width: 601px) and (max-width: 1024px) {
  .subtitle-block {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .subtitle-block {
    font-size: 0.85rem;
  }
}

.description-block {
  font-family: "Noto Serif JP", serif;
  color: #fefdfc;
  font-size: 1rem;
  text-align: center;
  margin: 1rem auto;
  letter-spacing: 0.05em;
  line-height: 1.5;
  /* max-width: 90%; */
}
.description-block.service,.description-block.cases{
  display: flex;
  align-items: center;
  height: 9rem;
}
.description-block.cases{
  height: 14rem;
}
@media (min-width: 601px) and (max-width: 1024px) {
  .description-block {
    font-size: 0.9rem;
  }
}
@media (max-width: 600px) {
  .description-block {
    font-size: 0.75rem;
  }
}

.link-block {
  font-family: "Noto Sans JP", sans-serif;
  display: inline-block;
  text-align: center;
  position: relative;
  color: #fffffc;
  border: 0.125rem solid #d0d0d0;
  border-radius: 0.125rem;
  padding: 1rem 2rem;
  margin: 0 auto;
  background-color: #161616;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transform: skewX(-20deg);
  transition: all 0.3s ease;
}
.link-block:before {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100%;
  background-color: #05868e;
  transform: skewX(20deg);
  transition: left 0.3s ease;
  z-index: -1;
}
.link-block:hover {
  background-color: #05868e;
  color: #fbfdff;
  border-color: #024044;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.link-block:hover:before {
  left: 0;
}
.link-block a {
  color: inherit;
  text-decoration: none;
  display: block;
  transform: skewX(20deg);
  transition: transform 0.3s;
}
.link-block a:hover {
  transform: skewX(20deg) translateY(-0.125rem);
}
@media (min-width: 601px) and (max-width: 1024px) {
  .link-block {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 600px) {
  .link-block {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
  }
}

/*-------------------------------------------
Header
-------------------------------------------*/
/* Header component style */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
  border-bottom: 2px solid #d0d0d0;
  font-family: "Sawarabi Mincho", serif;
  font-size: 1.125rem;
  color: #fbfdff;
  background-color: #1a1a1a;
}

.header__logo-link {
  display: block;
  padding: 0;
  margin: 0;
}

.header__logo-image {
  width: 100%;
  height: auto;
}

.header__nav {
  display: flex;
}

.header__nav-link {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 2rem;
  padding-bottom: 0.125rem;
  text-decoration: none;
  color: #fffffc;
  background-color: transparent;
  border: none;
}

.header__nav-icon {
  width: 16px;
  height: 16px;
  margin-left: 0.1rem;
}

.header__nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.125rem;
  background-color: #05868e;
  transition: all 0.3s ease;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 0.125rem;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* Media query for tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  .header {
    padding: 1.5em 1em;
    font-size: 0.8em;
  }
  .header__logo-image {
    width: 80%;
    height: auto;
  }
  .header__nav {
    justify-content: space-around;
  }
  .header__nav-link {
    margin-left: 1em;
    padding-bottom: 0.1em;
  }
}
/* Media query for mobile devices */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: start;
    padding: 0.5rem 0.3rem;
    font-size: 0.8em;
  }
  .header__logo-image {
    width: 70%;
    height: auto;
  }
  .header__nav {
    flex-direction: row;
    justify-content: end;
    width: 100%;
  }
  .header__nav-link {
    margin: 0.5rem 0 0 1rem;
  }
}
/*-------------------------------------------
Navigation
-------------------------------------------*/
.hamburger {
  display: none;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  margin: 0;
  font-family: "Sawarabi Mincho", serif;
  color: #fffffc;
}

.menu__list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
}

.menu__item + .menu__item {
  margin-left: 2rem;
}

.menu__link {
  overflow: hidden;
  position: relative;
  padding: 1rem;
  margin: 0 auto;
  color: #fffffc;
  background-color: #1a1a1a;
  font-weight: bold;
  font-size: 1.275rem;
  transition: background-color 0.3s, color 0.3s;
}

.menu__link:hover {
  color: #fbfdff;
  background-color: #05868e;
  border-radius: 0.125rem;
}

/* Ripple effect for the contact item */
.menu__item--contact .menu__link {
  overflow: visible;
}

.menu__item--contact .menu__link:hover {
  animation: ripple-effect 1s;
}

@keyframes ripple-effect {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 137, 208, 0.5);
  }
  100% {
    box-shadow: 0 0 0 2rem rgba(37, 137, 208, 0);
  }
}
/* Media query for tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  .hamburger {
    display: none;
  }
  .menu {
    padding: 1.5em 0;
  }
  .menu__list {
    padding: 0.5em 0;
  }
  .menu__item + .menu__item {
    margin-left: 0.75em;
  }
  .menu__link {
    padding: 0.75em;
    font-size: 1em;
  }
  @keyframes ripple-effect {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 137, 208, 0.5);
    }
    100% {
      box-shadow: 0 0 0 1.5rem rgba(37, 137, 208, 0);
    }
  }
}
@media (max-width: 600px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  .menu {
    display: none;
  }
  .hamburger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
  }
  /* ハンバーガーメニュー関連のCSS */
  .hamburger__checkbox {
    display: none;
  }
  .hamburger__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 100;
    cursor: pointer;
  }
  .hamburger__icon span,
  .hamburger__icon span:before,
  .hamburger__icon span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #161616;
    transition: 0.5s;
    position: absolute;
  }
  .hamburger__icon span:before {
    bottom: 8px;
  }
  .hamburger__icon span:after {
    top: 8px;
  }
  #drawer-checkbox:checked ~ .hamburger__icon span {
    background: rgba(255, 255, 255, 0);
  }
  #drawer-checkbox:checked ~ .hamburger__icon span:before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #drawer-checkbox:checked ~ .hamburger__icon span:after {
    top: 0;
    transform: rotate(-45deg);
  }
  .hamburger__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: #1a1a1a;
    transition: 0.5s;
    text-align: center;
    padding-top: 20px;
    transform: translateY(-100%);
  }
  .hamburger__list {
    list-style: none;
  }
  .hamburger__link {
    color: #fffffc;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: 1px solid #d0d0d0;
  }
  #drawer-checkbox:checked ~ .hamburger__menu {
    transform: translateY(0);
  }
}
/* Base Styling for the Main Visual */
.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
  font-family: "Noto Sans JP", sans-serif;
}

.main-visual--top {
  /* Additional styling if needed for the top variant */
}

.main-visual__image {
  display: block;
  width: 100%;
  padding: 0.5rem;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.8;
  border-radius: 0.5rem;
}

/* Styling for the Message Container */
.main-visual__message {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding: 1rem;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  color: white;
  border-radius: 0.5rem;
}

.main-visual__text {
  margin: 0 auto;
}

/* Responsive adjustments for tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .main-visual__text {
    font-size: 1rem;
  }
}
/* Responsive adjustments for mobiles */
@media (max-width: 600px) {
  .main-visual__image {
    padding: 6rem 0 0 0;
    border-radius: 0.125rem; /* 角丸の大きさ */
    margin: 0;
  }
  .main-visual__image--top {
    content: url("/images/mainTop_sp.png");
    padding: 6rem 0 0 0;
    border-radius: 0.125rem; /* 角丸の大きさ */
    margin: 0;
  }
  /* メッセージコンテナの位置を静的にし、変形を解除 */
  .main-visual__message {
    position: static;
    transform: none;
    width: 100%;
    padding: 0.25rem;
    border-radius: 0.5rem; /* 角丸の大きさ */
    margin: 0 auto;
  }
  /* テキストのフォントサイズを調整 */
  .main-visual__text {
    font-size: 0.65rem;
    margin: 0 auto;
  }
}
section {
  width: 100%;
  max-width: 1024px;
  text-align: center;
  padding: 2rem 0;
  margin: 0 auto;
  /* margin: 5rem auto 0; */
  /* margin-bottom: 5rem; */
  border-radius: 0.125rem;
}

section + section {
  /* margin-top: 5rem; */
}

@media (min-width: 601px) and (max-width: 1024px) {
  section {
    padding: 1.5rem 0.5rem;
  }
}
@media (max-width: 600px) {
  section {
    padding: 1rem 0.5rem;
  }
}
/*-------------------------------------------
Footer
-------------------------------------------*/
/* Footer component style */
.footer {
  padding: 2rem 1rem;
  font-family: "Sawarabi Mincho", serif;
  font-size: 0.95rem;
  border-top: 2px solid #d0d0d0;
  color: #efefef;
  background-color: #1a1a1a;
}

.footer__logo-link {
  display: block;
  width: 20%;
}

.footer__logo-image {
  width: 100%;
  height: auto;
}

@media (max-width:1024px) {
  .footer__logo-image {
    margin-top: 1rem;
  }
}

/* Navigation list style */
.footer__nav,
.footer__policy {
  text-align: center;
}

.footer__list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
}

.footer__item {
  display: inline-block;
  margin: 0 5px;
}

/* Footer navigation link style */
.footer__link {
  position: relative;
  display: inline-block;
  margin-left: 2rem;
  padding-bottom: 0.125rem;
  color: #efefef;
  text-decoration: none;
  overflow: visible;
}

/* Animated underline for the navigation link */
.footer__link::after {
  content: "";
  position: absolute;
  width: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 0.125rem;
  background-color: #05868e;
  transition: width 0.3s ease, left 0.3s ease;
  transition-timing-function: ease-out;
}

.footer__link:hover::after,
.footer__link:focus::after {
  width: 100%;
  left: 0;
}

.footer__item {
  margin-left: 2rem;
  overflow: visible;
}

/* Copyright style */
.footer__copyright {
  text-align: center;
  color: #c9c9c4;
  margin: 0 auto;
  padding: 0;
  font-size: 0.75rem;
  font-family: "Noto Sans JP", sans-serif;
}

/* Media query for tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  .footer {
    padding: 0 1rem;
    font-size: 1rem;
  }
  .footer__logo-link {
    width: 50%;
    margin: 0 auto;
  }
  .footer__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
  }
  .footer__item {
    margin: 0 auto;
    flex-basis: 50%;
  }
  .footer__item.menu__item--contact {
    text-align: center;
    padding: 1rem;
    flex-basis: auto;
    font-size: 1rem;
  }
  .footer__link {
    padding: 0.75rem 0;
    margin: 0 auto;
    text-align: center;
  }
  .footer__link::after {
    display: none;
  }
  .footer__policy {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.75rem;
    margin: 0 auto;
    padding: 1rem 0;
  }
  .footer__policy .footer__list {
    justify-content: space-between;
  }
  .footer__policy .footer__item {
    flex-basis: auto;
    margin: 0 0.5rem;
    padding: 0.75rem 0;
  }
  .menu__item--contact .menu__link {
    overflow: visible;
    padding: 0.5rem;
    font-size: 1rem;
  }
  .menu__item--contact .menu__link:hover {
    animation: ripple-effect 1s;
  }
  .footer__copyright {
    font-size: 0.65rem;
    padding: 0.75rem;
    text-align: center;
    margin: 0 auto;
  }
}
/* Media query for smartphone devices */
@media (max-width: 600px) {
  .footer {
    padding: 0;
    font-size: 0.75rem;
  }
  .footer__logo-link {
    width: 50%;
    margin: 0 auto;
  }
  .footer__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    font-size: 0.65rem;
  }
  .footer__item {
    margin: 0 auto;
    flex-basis: 100%;
  }
  .footer__item:nth-child(-n+3),
  .footer__item:nth-child(n+4):nth-child(-n+6) {
    flex-basis: 33.333%;
  }
  .footer__item.menu__item--contact {
    text-align: center;
    padding: 0.5rem;
    flex-basis: auto;
  }
  .footer__link {
    padding: 0.5rem;
    margin: 0 auto;
    text-align: center;
  }
  .footer__link::after {
    display: none;
  }
  .footer__policy {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.5rem;
    margin: 0 auto;
    padding: 0;
  }
  .footer__policy .footer__list {
    justify-content: center;
  }
  .footer__policy .footer__item {
    flex-basis: auto;
    margin: 0 auto;
    padding: 0.5rem 0;
  }
  .menu__item--contact .menu__link {
    overflow: visible;
    padding: 0.25rem;
    font-size: 0.75rem;
  }
  .menu__item--contact .menu__link:hover {
    animation: ripple-effect 1s;
  }
  .footer__copyright {
    font-size: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    margin: 0 auto;
  }
}
/*-------------------------------------------
Header
-------------------------------------------*/
/* Header component style */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem;
  border-bottom: 2px solid #d0d0d0;
  font-family: "Sawarabi Mincho", serif;
  font-size: 1.125rem;
  color: #fbfdff;
  background-color: #1a1a1a;
}

.header__logo-link {
  display: block;
  padding: 0;
  margin: 0;
}

.header__logo-image {
  width: 100%;
  height: auto;
}

.header__nav {
  display: flex;
}

.header__nav-link {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 2rem;
  padding-bottom: 0.125rem;
  text-decoration: none;
  color: #fffffc;
  background-color: transparent;
  border: none;
}

.header__nav-icon {
  width: 16px;
  height: 16px;
  margin-left: 0.1rem;
}

.header__nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.125rem;
  background-color: #05868e;
  transition: all 0.3s ease;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 0.125rem;
  background-color: transparent;
  transition: all 0.3s ease;
}

/* Media query for tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  .header {
    padding: 1.5em 1em;
    font-size: 0.8em;
  }
  .header__logo-image {
    width: 80%;
    height: auto;
  }
  .header__nav {
    justify-content: space-around;
  }
  .header__nav-link {
    margin-left: 1em;
    padding-bottom: 0.1em;
  }
}
/* Media query for mobile devices */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: start;
    padding: 0.5rem 0.3rem;
    font-size: 0.8em;
  }
  .header__logo-image {
    width: 70%;
    height: auto;
  }
  .header__nav {
    flex-direction: row;
    justify-content: end;
    width: 100%;
  }
  .header__nav-link {
    margin: 0.5rem 0 0 1rem;
  }
}
/*-------------------------------------------
Navigation
-------------------------------------------*/
.hamburger {
  display: none;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  margin: 0;
  font-family: "Sawarabi Mincho", serif;
  color: #fffffc;
}

.menu__list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
}

.menu__item + .menu__item {
  margin-left: 2rem;
}

.menu__link {
  overflow: hidden;
  position: relative;
  padding: 1rem;
  margin: 0 auto;
  color: #fffffc;
  background-color: #1a1a1a;
  font-weight: bold;
  font-size: 1.275rem;
  transition: background-color 0.3s, color 0.3s;
}

.menu__link:hover {
  color: #fbfdff;
  background-color: #05868e;
  border-radius: 0.125rem;
}

/* Ripple effect for the contact item */
.menu__item--contact .menu__link {
  overflow: visible;
}

.menu__item--contact .menu__link:hover {
  animation: ripple-effect 1s;
}

@keyframes ripple-effect {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 137, 208, 0.5);
  }
  100% {
    box-shadow: 0 0 0 2rem rgba(37, 137, 208, 0);
  }
}
/* Media query for tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  .hamburger {
    display: none;
  }
  .menu {
    padding: 1.5em 0;
  }
  .menu__list {
    padding: 0.5em 0;
  }
  .menu__item + .menu__item {
    margin-left: 0.75em;
  }
  .menu__link {
    padding: 0.75em;
    font-size: 1em;
  }
  @keyframes ripple-effect {
    0% {
      box-shadow: 0 0 0 0 rgba(37, 137, 208, 0.5);
    }
    100% {
      box-shadow: 0 0 0 1.5rem rgba(37, 137, 208, 0);
    }
  }
}
@media (max-width: 600px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  .menu {
    display: none;
  }
  .hamburger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 100%;
  }
  /* ハンバーガーメニュー関連のCSS */
  .hamburger__checkbox {
    display: none;
  }
  .hamburger__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 100;
    cursor: pointer;
  }
  .hamburger__icon span,
  .hamburger__icon span:before,
  .hamburger__icon span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #161616;
    transition: 0.5s;
    position: absolute;
  }
  .hamburger__icon span:before {
    bottom: 8px;
  }
  .hamburger__icon span:after {
    top: 8px;
  }
  #drawer-checkbox:checked ~ .hamburger__icon span {
    background: rgba(255, 255, 255, 0);
  }
  #drawer-checkbox:checked ~ .hamburger__icon span:before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #drawer-checkbox:checked ~ .hamburger__icon span:after {
    top: 0;
    transform: rotate(-45deg);
  }
  .hamburger__menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: #1a1a1a;
    transition: 0.5s;
    text-align: center;
    padding-top: 20px;
    transform: translateY(-100%);
  }
  .hamburger__list {
    list-style: none;
  }
  .hamburger__link {
    color: #fffffc;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    padding: 10px 0;
    border-bottom: 1px solid #d0d0d0;
  }
  #drawer-checkbox:checked ~ .hamburger__menu {
    transform: translateY(0);
  }
}
/* Base Styling for the Main Visual */
.main-visual {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
  font-family: "Noto Sans JP", sans-serif;
}

.main-visual--top {
  /* Additional styling if needed for the top variant */
}

.main-visual__image {
  display: block;
  width: 100%;
  padding: 0.5rem;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.8;
  border-radius: 0.5rem;
}

/* Styling for the Message Container */
.main-visual__message {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding: 1rem;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  color: white;
  border-radius: 0.5rem;
}

.main-visual__text {
  margin: 0 auto;
}

/* Responsive adjustments for tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .main-visual__text {
    font-size: 1rem;
  }
}
/* Responsive adjustments for mobiles */
@media (max-width: 600px) {
  .main-visual__image {
    padding: 6rem 0 0 0;
    border-radius: 0.125rem; /* 角丸の大きさ */
    margin: 0;
  }
  .main-visual__image--top {
    content: url("/images/mainTop_sp.png");
    padding: 6rem 0 0 0;
    border-radius: 0.125rem; /* 角丸の大きさ */
    margin: 0;
  }
  /* メッセージコンテナの位置を静的にし、変形を解除 */
  .main-visual__message {
    position: static;
    transform: none;
    width: 100%;
    padding: 0.25rem;
    border-radius: 0.5rem; /* 角丸の大きさ */
    margin: 0 auto;
  }
  /* テキストのフォントサイズを調整 */
  .main-visual__text {
    font-size: 0.65rem;
    margin: 0 auto;
  }
}
section {
  width: 100%;
  max-width: 1024px;
  text-align: center;
  padding: 2rem 0;
  margin: 0 auto;
  /* margin: 5rem auto 0; */
  /* margin-bottom: 5rem; */
  border-radius: 0.125rem;
}

section + section {
  /* margin-top: 5rem; */
}

@media (min-width: 601px) and (max-width: 1024px) {
  section {
    padding: 1.5rem 0.5rem;
  }
}
@media (max-width: 600px) {
  section {
    padding: 1rem 0.5rem;
  }
}
/*-------------------------------------------
Footer
-------------------------------------------*/
/* Footer component style */
.footer {
  padding: 2rem 1rem;
  font-family: "Sawarabi Mincho", serif;
  font-size: 0.95rem;
  border-top: 2px solid #d0d0d0;
  color: #efefef;
  background-color: #1a1a1a;
}

.footer__logo-link {
  display: block;
  width: 20%;
}

.footer__logo-image {
  width: 100%;
  height: auto;
}

/* Navigation list style */
.footer__nav,
.footer__policy {
  text-align: center;
}

.footer__list {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
}

.footer__item {
  display: inline-block;
  margin: 0 5px;
}

/* Footer navigation link style */
.footer__link {
  position: relative;
  display: inline-block;
  margin-left: 2rem;
  padding-bottom: 0.125rem;
  color: #efefef;
  text-decoration: none;
  overflow: visible;
}

/* Animated underline for the navigation link */
.footer__link::after {
  content: "";
  position: absolute;
  width: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 0.125rem;
  background-color: #05868e;
  transition: width 0.3s ease, left 0.3s ease;
  transition-timing-function: ease-out;
}

.footer__link:hover::after,
.footer__link:focus::after {
  width: 100%;
  left: 0;
}

.footer__item {
  margin-left: 2rem;
  overflow: visible;
}

/* Copyright style */
.footer__copyright {
  text-align: center;
  color: #c9c9c4;
  margin: 0 auto;
  padding: 0;
  font-size: 0.75rem;
  font-family: "Noto Sans JP", sans-serif;
}

/* Media query for tablet devices */
@media (min-width: 601px) and (max-width: 1024px) {
  .footer {
    padding: 0 1rem;
    font-size: 1rem;
  }
  .footer__logo-link {
    width: 50%;
    margin: 0 auto;
  }
  .footer__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    font-size: 1rem;
  }
  .footer__item {
    margin: 0 auto;
    flex-basis: 50%;
  }
  .footer__item.menu__item--contact {
    text-align: center;
    padding: 1rem;
    flex-basis: auto;
    font-size: 1rem;
  }
  .footer__link {
    padding: 0.75rem 0;
    margin: 0 auto;
    text-align: center;
  }
  .footer__link::after {
    display: none;
  }
  .footer__policy {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.75rem;
    margin: 0 auto;
    padding: 1rem 0;
  }
  .footer__policy .footer__list {
    justify-content: space-between;
  }
  .footer__policy .footer__item {
    flex-basis: auto;
    margin: 0 0.5rem;
    padding: 0.75rem 0;
  }
  .menu__item--contact .menu__link {
    overflow: visible;
    padding: 0.5rem;
    font-size: 1rem;
  }
  .menu__item--contact .menu__link:hover {
    animation: ripple-effect 1s;
  }
  .footer__copyright {
    font-size: 0.65rem;
    padding: 0.75rem;
    text-align: center;
    margin: 0 auto;
  }
}
/* Media query for smartphone devices */
@media (max-width: 600px) {
  .footer {
    padding: 0;
    font-size: 0.75rem;
  }
  .footer__logo-link {
    width: 50%;
    margin: 0 auto;
  }
  .footer__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    font-size: 0.65rem;
  }
  .footer__item {
    margin: 0 auto;
    flex-basis: 100%;
  }
  .footer__item:nth-child(-n+3),
  .footer__item:nth-child(n+4):nth-child(-n+6) {
    flex-basis: 33.333%;
  }
  .footer__item.menu__item--contact {
    text-align: center;
    padding: 0.5rem;
    flex-basis: auto;
  }
  .footer__link {
    padding: 0.5rem;
    margin: 0 auto;
    text-align: center;
  }
  .footer__link::after {
    display: none;
  }
  .footer__policy {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.5rem;
    margin: 0 auto;
    padding: 0;
  }
  .footer__policy .footer__list {
    justify-content: center;
  }
  .footer__policy .footer__item {
    flex-basis: auto;
    margin: 0 auto;
    padding: 0.5rem 0;
  }
  .menu__item--contact .menu__link {
    overflow: visible;
    padding: 0.25rem;
    font-size: 0.75rem;
  }
  .menu__item--contact .menu__link:hover {
    animation: ripple-effect 1s;
  }
  .footer__copyright {
    font-size: 0.5rem;
    padding: 0.5rem;
    text-align: center;
    margin: 0 auto;
  }
}
.consultation__description{
  margin: 0 auto;
}
.company__section,
.strengths__section {
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: transparent;
  box-shadow: none;
}

.company__wrapper,
.strengths__wrapper {
  flex: 1;
  padding: 0 0 2rem 0;
  margin: 0 auto;
  border: 0.125rem solid #d0d0d0;
  border-radius: 0.125rem;
  position: relative;
  z-index: 0;
}

.company__description,
.strengths__description {
  height: auto;
  padding: 0;
  margin: 0.5rem auto;
  text-align: left;
  max-width: fit-content;
}

.image-block {
  flex: 1;
  text-align: right;
  padding: 10rem 0;
  position: relative;
  top: -8rem;
  left: -2rem;
  z-index: 1;
  background-color: transparent;
  box-shadow: none;
}
.image-block.sales{
  top: 0;
  padding: 0;
}
.image-block.cases{
  top: 0;
  left: 0;
  padding: 0;
}

/* レスポンシブ対応のメディアクエリ */
@media (min-width: 601px) and (max-width: 1024px) {
  .company__section,
  .strengths__section {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    margin: 0 auto;
  }
  .company__wrapper,
  .strengths__wrapper {
    width: 100%;
    order: 2;
    padding: 1rem;
    /* margin-top: -5rem; */
    /* top: -2rem; */
    z-index: 1;
  }
  .image-block {
    width: 100%;
    order: 1;
    top: -5rem;
    left: 0;
    padding: 0;
    text-align: center;
    z-index: 2;
  }
  .company__image,
  .strengths__image {
    max-width: 80%;
    height: auto;
  }
}
@media (max-width: 600px) {
  .company__section,
  .strengths__section {
    flex-direction: column;
    align-items: center;
  }
  .company__wrapper,
  .strengths__wrapper {
    width: 100%;
    order: 2;
    padding: 0.5rem;
    margin-top: 0.5rem;
    z-index: 1;
  }
  .image-block {
    width: 100%;
    order: 1;
    top: 0;
    left: 0;
    padding: 0;
    text-align: center;
    z-index: 2;
  }
  .image-block.sales{
    padding-top: 6rem;
  }
}
.service__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  justify-content: center;
  align-items: start;
}

.sales__description,
.store__description {
  height: auto;
  padding: 0;
  margin: 0.5rem auto;
  text-align: left;
}

/* "Cases" セクションのスタイル */
.service__section,
.cases__section,
.strengths__section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5rem;
  justify-content: center;
  align-items: start;
  margin-bottom: 1rem;
}

.grid__item {
  background-color: #161616;
  border-radius: 0.125rem;
  overflow: hidden;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  height: auto;
}

.grid__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.sales__image,.store__image{
  height: 100%;
  width: auto;
  margin: auto;
}

.development__image,
.devise__image,
.machine__image {
  display: block;
  width: 100%;
  height: 30vh;
  -o-object-fit: cover;
     object-fit: cover;
}

/* レスポンシブ対応のメディアクエリ */
@media (min-width: 960px) {
  .cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.company__table {
  padding: 0;
  margin: 2rem auto;
  border-collapse: collapse;
}

.company__row th,
.company__row td {
  text-align: left;
  padding: 1rem 1.5rem;
  margin: 0 auto;
  border-bottom: 2px solid #d0d0d0;
}

.company__header {
  font-weight: bold;
  color: #fbfdff;
}

.company__data {
  color: #fefdfc;
}

.facility__section {
  padding: 2rem;
  margin: 0 auto;
}

.facility__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.facility__item {
  text-align: left;
  background-color: #1a1a1a;
  margin-bottom: 0.5rem;
  padding: 0.75rem 1rem;
  border-left: 4px solid #05868e;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 601px) and (max-width: 1024px) {
  .facility__section {
    padding: 1rem;
    margin: 0 auto;
    max-width: 85%;
  }
  .company__row th,
  .company__row td,
  .facility__list {
    font-size: 0.85rem;
    text-align: left;
    padding: 0.5rem;
    margin: 0 auto;
    border-bottom: 2px solid #d0d0d0;
  }
}
@media (max-width: 600px) {
  .company__section,
  .facility__section {
    padding: 0.5rem;
    margin: 0 auto;
    max-width: 95%;
    padding: 6rem 0 2rem 0;
  }
  .company__section.company{
    padding: 0;
  }
  .facility__section{
    padding: 2rem 0 0 0;
  }
  .company__row th,
  .company__row td,
  .facility__list {
    font-size: 0.65rem;
    text-align: left;
    padding: 0.225rem;
    margin: 0 auto;
    border-bottom: 2px solid #d0d0d0;
  }
}
/* Timeline Styles */
.timeline {
  display: flex;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
}

.timeline__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  color: #969da3;
  font-size: 1rem;
}
.timeline__item::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 6px;
  content: "";
  border: 2px solid #d0d0d0;
  border-radius: 50%;
  background-color: #fffffc;
  transition: all 0.3s ease;
}
.timeline__item--prev {
  color: #d0d0d0;
}
.timeline__item--prev::before {
  border-color: #006934;
}
.timeline__item--prev:not(:last-child)::after {
  background-color: #006934;
}
.timeline__item--current {
  color: #05868e;
  font-weight: bold;
}
.timeline__item--current::before {
  width: 18px;
  height: 18px;
  border-color: #05868e;
  background-color: #05868e;
  box-shadow: 0 0 8px rgba(5, 134, 142, 0.6);
}
.timeline__item:not(:last-child)::after {
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 2px;
  background-color: #fefdfc;
  content: "";
}

.description-block--voice,
.description-block--settle,
.description-block--repair,
.description-block--make {
  position: relative;
  padding: 2rem;
  margin: 2rem auto;
  border: 1px solid #d0d0d0;
  border-radius: 0.25rem;
}

.cases__subtitle,
.renewal__subtitle,
.repair__subtitle,
.circuit__subtitle {
  position: absolute;
  top: -1.5rem;
  left: 1.5rem;
  background-color: #fbfdff;
  color: #1a1a1a;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cases__description,
.renewal__description,
.machine__description,
.circuit__description {
  padding: 0;
  text-align: left;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.voice__icon,
.settle__icon,
.repair__icon,
.make__icon {
  width: 20px;
  height: 20px;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .cases__section,
  .renewal__section,
  .machine__section,
  .circuit__section {
    padding: 1.5rem;
  }
  .description-block--voice,
  .description-block--settle,
  .description-block--repair,
  .description-block--make {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  .cases__subtitle,
  .renewal__subtitle,
  .repair__subtitle,
  .circuit__subtitle {
    top: -1.25rem;
    left: 1.25rem;
  }
  .cases__description,
  .renewal__description,
  .machine__description,
  .circuit__description {
    margin: 1rem 0;
  }
}
@media (max-width: 600px) {
  .cases__section,
  .renewal__section,
  .machine__section,
  .circuit__section {
    padding: 1rem;
  }
  .description-block--voice,
  .description-block--settle,
  .description-block--repair,
  .description-block--make {
    padding: 1rem;
    margin: 1rem auto;
  }
  .cases__subtitle,
  .renewal__subtitle,
  .repair__subtitle,
  .circuit__subtitle {
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    width: auto;
    box-shadow: none;
  }
  .cases__description,
  .renewal__description,
  .machine__description,
  .circuit__description {
    margin: 0.5rem 0;
    padding-left: 2rem;
    align-items: flex-start;
  }
}
.image-block {
  display: flex;
  justify-content: space-between;
  width: 960px;
  margin: 0 auto;
}

.repair__image,
.circuit__image {
  width: calc((100% - 40px) / 3);
  height: auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.renewal__image {
  width: 100%;
  height: auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* "Thank" セクションのスタイル */
.thank__section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
}

.thank__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.5rem;
  justify-content: center;
  align-items: start;
}

.grid__item--thank {
  background-color: #161616;
  border-radius: 0.125rem;
  overflow: hidden;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  margin-bottom: 2rem;
  height: auto;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.grid__image--thank {
  width: 100%;
  height: auto;
}

.thank__image {
  display: block;
  width: 100%;
  height: 50vh;
  -o-object-fit: cover;
     object-fit: cover;
}

.thank__description {
  text-align: left;
}

/* レスポンシブ対応のメディアクエリ */
@media (min-width: 601px) and (max-width: 1024px) {
  .description-block--voice,
  .description-block--settle,
  .description-block--repair,
  .description-block--make {
    padding: 1rem;
    margin: 0 auto;
    max-width: 85%;
  }
  .cases__subtitle,
  .renewal__subtitle,
  .repair__subtitle,
  .circuit__subtitle {
    top: -1.25rem;
    left: 1.25rem;
  }
  .cases__description,
  .renewal__description,
  .machine__description,
  .circuit__description {
    margin: 1rem 0;
  }
  .repair__image,
  .circuit__image {
    width: calc((100% - 20px) / 3);
    height: auto;
  }
  .renewal__image {
    width: 100%;
    height: auto;
  }
  .image-block {
    width: 100%;
    margin: 0 auto;
  }
  .thank__image {
    height: 40vh;
  }
}
@media (max-width: 600px) {
  .description-block--voice,
  .description-block--settle,
  .description-block--repair,
  .description-block--make {
    padding: 0.225rem;
    margin: 0 auto;
  }
  .cases__subtitle,
  .renewal__subtitle,
  .repair__subtitle,
  .circuit__subtitle {
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    padding: 0.15rem 0.45rem;
    width: auto;
    box-shadow: none;
  }
  .cases__description,
  .renewal__description,
  .machine__description,
  .circuit__description {
    margin: 0.5rem 0;
    padding: 0.1rem;
    padding-top: -2rem;
    align-items: flex-start;
  }
  .repair__image,
  .circuit__image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
  }
  .renewal__image {
    width: 100%;
    height: auto;
  }
  .image-block {
    flex-direction: column;
    width: 100%;
  }
  .thank__image {
    height: 30vh;
  }
}
.title-block {
  margin-bottom: 1rem;
}

.description-block {
  font-size: 1rem;
  line-height: 1.6;
}

.contacts__description {
  margin-bottom: 0.5rem;
}

.contacts__description a {
  color: #05868e;
  text-decoration: none;
}

.contacts__description a:hover {
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contacts__section {
    padding: 2rem 1rem;
  }
  .contacts__title {
    font-size: 1.75rem;
  }
  .contacts__subtitle {
    font-size: 1rem;
  }
}/*# sourceMappingURL=style.css.map */

/* 2025.03 Add */
  /* トップスローガン追加に伴うCSS追加 */
  .slogan__title{
    font-size: 3rem;
    text-align: center;
    font-family: "Source Serif 4", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    /* 以下アニメーションのため */
    width: fit-content;
    margin: auto;
    position: relative;
    padding: 0 2rem;
    color: #fff;
  }
  .slogan__title::before {
    position: absolute;
    left: 0;
    width: 0;
    height: 100%;
    content: "";
    background-color: #fff;
    mix-blend-mode: difference; /* difference（差分） */
    transition: 2s;
  }
  .slogan__titleBack::before{
    width: 100%;
  }
  .slogan__fadeup{
    animation: fadeUp 4s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }
  .slogan__fadein {
    animation: fadeIn 4s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }
  .slogan__subtitle{
    font-size: 1.5rem;
    text-align: center;
    border-top: #fff 1px dashed;
    width: fit-content;
    margin:auto;
    padding: 1rem 0;
    margin-top: 1rem;
  }
  .slogan__br{
    display: none;
  }
  @media (max-width: 600px) {
    .slogan__title{
      font-size: 2rem;
    }
    .slogan__subtitle{
      font-size: 1rem;
    }
    .slogan__br{
      display: block;
    }
  }
  @keyframes fadeUp {
    0% {
      transform: translateY(30px);
      opacity: 0;
    }
    80% {
      opacity: 1;
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  /* 当社の強み 内容差し替えに伴うCSS追加 */
  .main-visual--strengths{
    background-image: url("images/top_strenghts.png");
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 350px;
    max-height: 400px;
  }
  .strength__exsample{
    width: 100%;
    padding: 1.5rem;
    margin-top: 1rem;
  }
  .strength__exsampleList{
    max-width: 800px;
    padding: 2rem;
    color: #252525;
    background-color: #fafafa;
    margin: auto;
    text-align: left;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
  }
  .strength__exsampleList li{
    min-width: fit-content;
    font-size: 0.9rem;
  }
  .strength__bold{
    font-weight: bold;
    font-size: 1.2rem;
  }
  .strength__font-xs{
    font-size: 0.7rem;
  }
  .strength__border{
    border-bottom: #fff 1px dashed;
  }
  .strength__box{
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: #fafafa50;
    padding: 2rem;
    text-align: left;
  }
  .strengths__customerList{
    margin: 0 10px;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    line-height: 2rem;
    background-color: #fafafa;
    color: #161616;
    text-align: left;
    padding: 2rem;
    border-radius: 30px;
    position: relative;
  }
  .strengths__customerList::after {
    content: "";
    position: absolute;
    top: 99%;
    left: 20%;
    z-index: -1;
    width: 40px;
    height: 34px;
    transform: translateX(-50%);
    box-sizing: border-box;
    background-color: #fafafa;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .strengths__customerList-bold{
    font-weight: bold;
    border-bottom: #c1cecf 3px double;
    color: #1a868e;
  }
  @media (max-width: 600px) {
    .strengths__customerList{
      line-height: 1.4rem;
    }
  }
  /* PCサイズのみ 改行させないCSS */
  @media (min-width: 1024px) {
    .strength__nowrap{
      text-wrap: nowrap;
    }
  }

/* 採用情報 */
.recruitment__section{
  margin-top: 0px;
}
.recruit .company__header{
  font-size: 1rem;
}
.recruit .company__data{
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  .recruit .company__header{
    width: 28%;
  }
}

/* 2025.03 Add end */
