@charset "UTF-8";
:root {
  --noto: "Noto Sans JP", sans-serif;
  --mont: "Montserrat", sans-serif;
  --word: #333333;
  --footerBg: #1f2e35;
  --white: #ffffff;
  --grayBg: #f5f5f5;
  --grayLine: #cccccc;
  --blue: #2a74ba;
  --green: #4c9b5f;
  --ggreen: #00573d;
  --fw4: 400;
  --fw5: 500;
  --fw6: 600;
  --fw7: 700;
  --fz10: calc(10 / 16 * 1rem);
  --fz12: calc(12 / 16 * 1rem);
  --fz14: calc(14 / 16 * 1rem);
  --fz16: 1rem;
  --fz18: calc(18 / 16 * 1rem);
  --fz10_12: clamp(0.625rem, 0.529rem + 0.29vw, 0.75rem);
  --fz12_16: clamp(0.75rem, 0.559rem + 0.59vw, 1rem);
  --fz14_16: clamp(0.875rem, 0.779rem + 0.29vw, 1rem);
  --fz14_18: clamp(0.875rem, 0.684rem + 0.59vw, 1.125rem);
  --fz16_18: clamp(1rem, 0.904rem + 0.29vw, 1.125rem);
  --fz16_20: clamp(1rem, 0.809rem + 0.59vw, 1.25rem);
  --fz16_24: clamp(1rem, 0.618rem + 1.18vw, 1.5rem);
  --fz18_20: clamp(1.125rem, 1.029rem + 0.29vw, 1.25rem);
  --fz18_24: clamp(1.125rem, 0.838rem + 0.88vw, 1.5rem);
  --fz20_24: clamp(1.25rem, 1.059rem + 0.59vw, 1.5rem);
  --fz20_32: clamp(1.25rem, 0.676rem + 1.76vw, 2rem);
  --fz24_28: clamp(1.5rem, 1.309rem + 0.59vw, 1.75rem);
  --fz22_28: clamp(1.375rem, 1.088rem + 0.88vw, 1.75rem);
  --fz24_32: clamp(1.5rem, 1.118rem + 1.18vw, 2rem);
  --fz28_40: clamp(1.75rem, 1.176rem + 1.76vw, 2.5rem);
  --fz28_48: clamp(1.75rem, 0.794rem + 2.94vw, 3rem);
  --fz32_40: clamp(2rem, 1.618rem + 1.18vw, 2.5rem);
  --fz48_56: clamp(3rem, 2.618rem + 1.18vw, 3.5rem);
  --pad: 32px;
  --max: 1024px;
}
@media (min-width: 520px) {
  :root :root {
    --pad: 80px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: var(--fz14_16);
  font-family: var(--noto);
  font-weight: var(--fw4);
  background-color: var(--white);
  color: var(--word);
  overflow-wrap: break-word;
  line-height: 1.75;
  letter-spacing: 0.08em;
  overflow-x: hidden;
}

picture,
figure {
  line-height: 1;
}

.tablet-in {
  display: none;
}
@media (min-width: 520px) {
  .tablet-in {
    display: inline-block;
  }
}

.desktop-in {
  display: none;
}
@media (min-width: 960px) {
  .desktop-in {
    display: inline-block;
  }
}

@media (min-width: 960px) {
  .desktop-none {
    display: none;
  }
}

.link a {
  display: inline-block;
  background-color: var(--white);
  color: var(--green);
  font-weight: var(--fw5);
  padding-top: 24px;
  padding-bottom: 24px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  border-radius: 40px;
  position: relative;
  width: min(100%, 544px);
  transition: opacity 0.3s;
}
@media (hover: hover) {
  .link a:where(:-moz-any-link, :enabled, summary):hover {
    opacity: 0.6;
  }
  .link a:where(:any-link, :enabled, summary):hover {
    opacity: 0.6;
  }
}
.link a::before, .link a::after {
  content: "";
  background-color: var(--blue);
  position: absolute;
}

/* .target {
  opacity: 0;
}
.target.active {
  animation-name: fluffy;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: both;
} */

@media (min-width: 960px) {
  .service li:nth-child(1) {
    animation-delay: calc(1 * 0.3s) !important;
  }
  .service li:nth-child(2) {
    animation-delay: calc(2 * 0.3s) !important;
  }
  .service li:nth-child(3) {
    animation-delay: calc(3 * 0.3s) !important;
  }
}

@media (min-width: 960px) {
  .person li:nth-child(1) {
    animation-delay: calc(1 * 0.3s) !important;
  }
  .person li:nth-child(2) {
    animation-delay: calc(2 * 0.3s) !important;
  }
}

@media (min-width: 960px) {
  .case .caseItem:nth-of-type(1) {
    animation-delay: calc(1 * 0.3s) !important;
  }
  .case .caseItem:nth-of-type(2) {
    animation-delay: calc(2 * 0.3s) !important;
  }
}

@keyframes fluffy {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.sec {
  padding-top: 64px;
  width: min(100% - var(--pad), var(--max));
  margin-inline: auto;
}
@media (min-width: 960px) {
  .sec {
    padding-top: 120px;
  }
}

.secHeader {
  font-weight: var(--fw5);
  text-align: center;
}
.secHeader h2 {
  font-size: var(--fz24_32);
  font-family: var(--mont);
  color: var(--blue);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.1em;
}
.secHeader p {
  font-size: var(--fz16);
  margin-top: 8px;
}
@media (min-width: 960px) {
  .secHeader p {
    margin-top: 16px;
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background-color: var(--blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#nav {
  position: static;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  padding: 10px;
}

.nav-list a {
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--white);
  margin-bottom: 4px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: var(--blue);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .nav-list li {
    padding: 10px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-list.active {
    display: flex;
  }
}

.main {
  padding-top: 100px;
}
.top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 薄黒の透過カラーを設定 */
  z-index: 1;
}

.top {
  position: relative;
  padding-bottom: 80px;
  background-color: var(--blue);
  background-image: url(../images/top_m.jpg);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}
.top .inner {
  position: relative;
  z-index: 2;
  width: min(100% - var(--pad), var(--max));
  margin-inline: auto;
  padding-top: 150px;
}
.top h2 {
  font-weight: var(--fw6);
  font-size: var(--fz32_40);
  letter-spacing: 0.1em;
  margin-bottom: 160px;
}
.top h3 {
  font-weight: var(--fw5);
  font-size: var(--fz18_24);
  line-height: 1.5;
}

.about {
  padding-top: 100px;
  margin-top: -100px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 64px;
  background-color: var(--grayBg);
  text-align: center;
}
.about h1 {
  padding-top: 32px;
  font-size: var(--fz20_24);
  font-weight: var(--fw6);
  letter-spacing: 0.1em;
  color: var(--blue);
  line-height: 2;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--blue);
}
.about p {
  padding-top: 32px;
  font-size: var(--fz16_20);
  font-weight: var(--fw5);
  letter-spacing: 0.1em;
  line-height: 2;
  padding-bottom: 32px;
}

/* 会社概要セクションのスタイル */
/* 会社概要セクションのスタイル */
.option {
  background-color: #f8f9fa; /* 明るいグレーの背景色 */
  padding: 80px 0;
}

.sec {
  width: min(100% - var(--pad), var(--max));
  margin-inline: auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secHeader h2 {
  font-size: var(--fz28_40);
  color: var(--blue);
  text-transform: uppercase;
  font-weight: var(--fw6);
  margin-bottom: 32px;
  text-align: center;
}

.contents {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

dl {
  display: flex;
  flex-direction: column;
  background: #e9ecef; /* ライトグレーの背景色 */
  border-radius: 4px;
  padding: 16px;
  margin: 0;
  border: 1px solid #dee2e6; /* 枠線 */
}

dt {
  font-weight: var(--fw5);
  color: #495057; /* ダークグレーのテキスト色 */
  margin-bottom: 8px;
}

dd {
  margin: 0;
  color: #212529; /* ダークグレーのテキスト色 */
  font-weight: var(--fw4);
}



.footer {
  background-color: var(--footerBg);
  color: var(--white);
  padding: 32px 0 24px;
  text-align: center;
}
.footer ul {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.footer ul li {
  font-size: var(--fz12);
}
.footer ul li:not(:last-child)::after {
  position: relative;
  left: 4px;
  display: inline-block;
  content: "/";
}
.footer p {
  margin-top: 12px;
  font-size: var(--fz10_12);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.swiper-button-next::before,
.swiper-button-prev::before {
  font-size: 24px;
  color: var(--blue);
}

.swiper-button-next {
  top: 230px !important;
}
.swiper-button-next::before {
  content: "＞";
}

.swiper-button-prev {
  top: 230px !important;
}
.swiper-button-prev::before {
  content: "＜";
}

.swiper-pagination {
  top: 150px !important;
  left: 28% !important;
}
.swiper-pagination .swiper-pagination-bullet {
  margin: 0 8px !important;
}
.swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--blue);
}
