:root {
  font-size: 62.5%;
}

#wpadminbar {
  opacity: 0.1;
  transition: opacity 0.1s ease;

  &:hover {
    opacity: 1;
  }
  @media screen and (max-width: 1023px) {
    display: none;
  }
}

html,
body {
  height: auto;
  min-height: 100%;
}
html {
  /* スクロールバーの領域を常に予約し、overflow: hidden時のガタつきを根本から防ぐ */
  scrollbar-gutter: stable;
  margin-top: 0 !important;
  scroll-behavior: auto !important;
}
body {
  font-size: 1.6rem;
  background-color: #EAF2FF;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #2B2D33;
  position: relative;
}
[id] {
  scroll-margin-top: 140px; 
}


body.is_scroll_locked {
  overflow: hidden;
}

.sp {
  display: none;

  @media screen and (max-width: 1023px) {
    display: block;
  }
}

.pc {
  display: block;

  @media screen and (max-width: 1023px) {
    display: none;
  }
}

.sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.c_btn {
  display: inline-flex;
  align-items: center;
  padding: 2rem 4rem;
  width: 100%;
  line-height: 1.8;
  max-width: 400px;
  min-width: 300px;
  background-color: #1E40AF;
  color: #ffffff;
  font-size: clamp(1.6rem, 0.446vw + 1.143rem, 2rem);
  font-weight: bold;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.c_btn:hover {
  background-color: #ffffff;
  color: #1E40AF;
  border-color: #1E40AF;
}

.c_btn_icon {
  position: absolute;
  right: 24px;
  display: flex;
  align-items: center;
}

.c_btn_icon_1 {
  transform: translateX(0);
  opacity: 1;
}

.c_btn_icon_2 {
  transform: translateX(-80px);
  opacity: 0;
}

.c_btn:hover .c_btn_icon_1 {
  transform: translateX(80px);
  opacity: 0;
  transition: all 0.8s ease-in-out;

}

.c_btn:hover .c_btn_icon_2 {
  transform: translateX(0);
  transition: all 0.8s ease-in-out;
  opacity: 1;
}

@media screen and (max-width: 1439px) {
  .c_btn {
    max-width: 30rem;
  }
}

@media screen and (max-width: 767px) {
  .c_btn {
    max-width: 26rem;
    min-width: 0;
    padding: 1.6rem 1.6rem 1.6rem 2.4rem;
    font-size: clamp(1.4rem, 0.446vw + 0.972rem, 1.8rem);
  }

  .c_btn_icon {
    right: 16px;
  }
}

.c_sec_ttl {
  font-size: clamp(2.4rem, 1.786vw + 0.571rem, 4rem);
  font-weight: bold;
  margin-bottom: 4.8rem;
  padding-bottom: 1.6rem;
  position: relative;

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 10rem;
    height: 3px;
    background-color: #1E40AF;
    border-radius: 2px;
  }
}

@media screen and (max-width: 1439px) {
  .c_sec_ttl {
    padding-bottom: 1rem;
    margin-bottom: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .c_sec_ttl {
    font-size: 2rem;
    padding-bottom: 8px;
    margin-bottom: 2.4rem;

    &::after {
      height: 2px;
      width: 5rem;
    }
  }

}

/* ==============================================
   共通コンポーネント（パンくずリスト）
============================================== */
.c_breadcrumb {
  width: 100%;
  padding-top: 15.6rem;
}

.c_breadcrumb_inner {
  max-width: 1200px;
  width: calc(100% - 8rem);
  margin: 0 auto;
}

.c_breadcrumb_list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: #667080;
  padding: 0;
  margin: 0;
}

.c_breadcrumb_list li {
  display: flex;
  align-items: center;
}

.c_breadcrumb_list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 8px;
  margin-left: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3.207' height='5.414' viewBox='0 0 3.207 5.414'%3E%3Cpath d='M9,10l2-2L9,6' transform='translate(-8.293 -5.293)' fill='none' stroke='%23667080' stroke-linecap='round' stroke-linejoin='round' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.c_breadcrumb_list a {
  color: #1E40AF;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.c_breadcrumb_list a:hover {
  text-decoration: none;
}
@media screen and (max-width: 1439px)  {
  .c_breadcrumb {
    padding-top: 12.8rem;
  }
}/* ==============================================
   共通コンポーネント（セクションヘッダー）
============================================== */
.c_sec_header {
  margin-bottom: 4.8rem;
  display: flex;
  align-items: flex-end;
  position: relative;

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 11rem; /* 青線(10rem) + 隙間(1rem) = 11rem */
    width: calc(100% - 11rem);
    height: 3px;
    background-color: #C3CEDE;
  }
}

.c_sec_header .c_sec_ttl {
  margin-bottom: 0;
  /* グレーの線の上に青線を重ねる */
  padding-bottom: 1.6rem;
}

.c_sec_sub {
  font-size: 2.4rem;
  font-weight: bold;
  color: #2B2D33;
  margin-left: 2.4rem;
  display: inline-flex; /* align-itemsを効かせるため */
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.6rem;
}

.c_sec_sub::before {
  content: "";
  display: inline-block;
  width: 3.2rem;
  height: 1px;
  background-color: #2B2D33;
}

/* 中央揃え（沿革などで使用、下線グレーなし） */
.c_sec_header.is_center {
  justify-content: center;
}

.c_sec_header.is_center::after {
  display: none; /* 中央揃えの時は灰色の線を非表示に */
}

.c_sec_header.is_center .c_sec_ttl {
  text-align: center;
}

.c_sec_header.is_center .c_sec_ttl::after {
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 1023px) {
  .c_sec_header {
    margin-bottom: 3.2rem;
  }
}

@media screen and (max-width: 767px) {
  .c_breadcrumb {
    padding-top: 10.4rem;
    margin-bottom: 3.2rem;
  }

  .c_breadcrumb_inner {
    width: calc(100% - 4rem);
  }

  .c_sec_header {
    flex-direction: column;
    align-items: flex-start;
  }

  .c_sec_header::after {
    display: none;
  }

  .c_sec_header .c_sec_ttl {
    width: 100%; 
  }

  .c_sec_header:not(.is_center) .c_sec_ttl::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 6rem; 
    width: calc(100% - 6rem);
    height: 2px;
    background-color: #C3CEDE;
  }

  .c_sec_sub {
    margin-left: 0;
    padding-bottom: 0;
    margin-bottom: 0.8rem;
    padding-top: 1.2rem;
  }
}

.l_header {
  position: fixed;
  top: 1.6rem;
  left: 4rem;
  right: 4rem;
  width: calc(100% - 8rem);
  background-color: #ffffff;
  border-radius: 8px;
  /* ハンバーガーに合わせて角丸を設定 */
  z-index: 300;
  /* ボタン周辺の余白と、ロゴ左側の余白のバランス調整 */
  padding: 1.4rem 2rem 1.4rem 4rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* ★ドロワー展開時はヘッダーの白背景を透明にして背面の青を透けさせる */
.l_header.is_drawer_open {
  background-color: transparent;
}

.l_header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.l_header_logo {
  display: block;
  width: 160px;
  max-width: 100%;
}

.c_logo_svg {
  width: 100%;
  height: auto;
  display: block;
}

.c_logo_svg_mark,
.c_logo_svg_text {
  transition: all 0.3s ease;
}

.l_header.is_drawer_open .c_logo_svg_mark,
.l_header.is_drawer_open .c_logo_svg_text {
  fill: #ffffff;
}

.l_header_content {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: 40px;
  transition: all 0.3s ease;
}

/* ドロワー展開時は通常ナビゲーションを隠す */
.l_header.is_drawer_open .l_header_content {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.l_header_utility {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
}

.l_header_utility a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333333;
  font-size: clamp(1.2rem, 0.223vw + 0.972rem, 1.4rem);
  font-weight: bold;
  gap: 4px;
  position: relative;

  &::after {
    content: "";
    width: calc(100% - 32px);
    height: 2px;
    background-color: #1E40AF;
    position: absolute;
    right: 0;
    bottom: 0px;
    transition: all 0.3s ease;
    opacity: 0;
    border-radius: 1px;
  }

  &:hover {
    &::after {
      opacity: 1;
    }
  }
}

.l_header.is_drawer_open .l_header_utility a,
.l_header.is_drawer_open .l_header_nav a {
  color: #ffffff;
}

.c_icon_wrapper {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c_icon_wrapper svg {
  width: 100%;
  height: auto;
}

.l_header.is_drawer_open .c_icon_wrapper svg path,
.l_header.is_drawer_open .c_icon_wrapper svg circle,
.l_header.is_drawer_open .c_icon_wrapper svg rect {
  stroke: #ffffff;
}

.c_icon_wrapper_external {
  width: 16px;
  margin-left: 4px;
  position: relative;
  bottom: 2px;
}

.l_header_nav > ul {
  display: flex;
  gap: 4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l_header_nav > ul > li > a {
  text-decoration: none;
  color: #333333;
  font-size: clamp(1.4rem, 0.223vw + 1.172rem, 1.6rem);
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;

  &::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: #1E40AF;
    position: absolute;
    left: 0;
    bottom: -4px;
    transition: all 0.3s ease;
    opacity: 0;
    border-radius: 1px;
  }

  &:hover {
    &::after {
      opacity: 1;
    }
  }
}

.c_hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1E40AF;
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  width: clamp(5.2rem, 2.232vw + 2.915rem, 7.2rem);
  height: clamp(5.2rem, 2.232vw + 2.915rem, 7.2rem);
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid #1E40AF;
  z-index: 201;
  padding-top: 6px;

  &:hover {
    background-color: #FFF;
    color: #1E40AF;

    .c_hamburger_lines span {
      background-color: currentColor;
    }
  }
}

.c_hamburger[aria-expanded="true"] {
  background-color: #ffffff;
  color: #1E40AF;
}

.c_hamburger_lines {
  position: relative;
  width: clamp(2.8rem, 0.446vw + 2.343rem, 3.2rem);
  height: 20px;
  margin-bottom: 8px;
}

.c_hamburger_lines span {
  position: absolute;
  left: 0;
  display: block;
  width: clamp(2.8rem, 0.446vw + 2.343rem, 3.2rem);
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

.c_hamburger[aria-expanded="true"] .c_hamburger_lines span {
  background-color: #1E40AF;
}

.c_hamburger_lines span:nth-child(1) {
  top: 0;
}

.c_hamburger_lines span:nth-child(2) {
  top: 9px;
}

.c_hamburger_lines span:nth-child(3) {
  top: 18px;
}

.c_hamburger[aria-expanded="true"] .c_hamburger_lines span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.c_hamburger[aria-expanded="true"] .c_hamburger_lines span:nth-child(2) {
  opacity: 0;
}

.c_hamburger[aria-expanded="true"] .c_hamburger_lines span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.c_hamburger_text {
  font-size: clamp(1rem, 0.446vw + 0.544rem, 1.4rem);
  font-weight: bold;
}

.l_drawer_backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(43, 45, 51, 0.25);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.l_drawer_backdrop[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

/* ==============================================
   ドロワー本体とインナー（スクロール・背景の修正）
============================================== */
.l_drawer {
  position: fixed;
  top: 0;
  left: 4rem;
  right: 0;
  bottom: 0;
  z-index: 200;
  /* 背景色と角丸を削除（インナーに移動） */
  background-color: transparent;
  clip-path: circle(0px at var(--click-x, 100%) var(--click-y, 0%));
  transition: all 0.3s ease-in;
  visibility: hidden;
  pointer-events: none;
  will-change: clip-path, visibility;
  /* スクロール設定をドロワー本体に移動 */
  overflow-y: auto;
  overscroll-behavior: contain;
}

.l_drawer[aria-hidden="false"] {
  clip-path: circle(150% at var(--click-x, 100%) var(--click-y, 0%));
  visibility: visible;
  pointer-events: auto;
}

.l_drawer_inner {
  /* 背景色と角丸をインナーに付与してコンテンツと一緒に伸ばす */
  background-color: #1E40AF;
  border-bottom-left-radius: 20rem;
  min-height: 100%;
  /* height: 100% から変更 */
  display: flex;
  flex-direction: column;
  padding: 18.2rem 4rem 4rem;
  box-sizing: border-box;
}

.p_drawer_content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.p_drawer_card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 4rem 6rem 4rem 4.2rem;
  display: flex;
  gap: 6rem;
  color: #2B2D33;
  margin-bottom: 5.6rem;
}

.p_drawer_card_title {
  font-size: clamp(2.4rem, 0.893vw + 1.486rem, 3.2rem);
  font-weight: bold;
  line-height: 1.5;
  flex-shrink: 0;
  align-content: center;
  text-align: center;
  position: relative;
  padding-right: 4.2rem;
}

.p_drawer_card_title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 3px;
  height: 100%;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='351' viewBox='0 0 3 351'%3E%3Cline id='border' y2='348' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: contain;
  pointer-events: none;
  transition: all 0.3s ease;
}

.p_drawer_card_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem 2rem;

  .log_service_item:nth-of-type(odd) {
    padding-right: 2rem;
  }
}

.p_drawer_card_item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2B2D33;
  padding-bottom: 1.6rem;
  border-bottom: 1px dotted #D5E3DB;
  transition: all 0.3s ease;
}

.p_drawer_card_item:hover {
  opacity: 0.7;
}

.p_drawer_card_icon {
  width: 48px;
  height: 48px;
  margin-right: 1.6rem;
  flex-shrink: 0;
}

.p_drawer_card_text h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
}

.p_drawer_card_text p {
  font-size: 1.2rem;
  margin: 0.4rem 0 0 0;
  color: #667080;
}

.log_service_item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #2B2D33;
  position: relative;
  transition: all 0.3s ease;

}

.log_service_item:nth-of-type(odd) {
  padding-right: 4rem;
}

.log_service_item:nth-of-type(even) {
  padding-left: 2rem;

  .log_service_item_bg {
    left: 40px;
  }
}

.fv_service {

  .p_drawer_card_item:nth-of-type(odd)::after,
  .log_service_item:nth-of-type(odd)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0rem;
    transform: translateY(-50%);
    width: 3px;
    height: 103px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='103' viewBox='0 0 3 103'%3E%3Cline id='border' y2='100' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transition: all 0.3s ease;
  }
}


.log_service_item_bg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 60px;
  height: 60px;
  background-color: #EAF2FF;
  border-radius: 50%;
  z-index: 0;
  transition: all 0.3s ease;
}

.log_service_item:hover .log_service_item_bg {
  transform: translateY(-50%) scale(1);
}

.log_service_item_icon {
  width: clamp(54px, 5.134vw + 1.43px, 100px);
  height: clamp(54px, 5.134vw + 1.43px, 100px);
  margin-right: 2rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.log_service_item p {
  font-size: clamp(1.6rem, 0.446vw + 1.143rem, 2rem);
  line-height: 1.5;
  font-weight: bold;
  margin: 0;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  margin-right: 2.4rem;
  flex-shrink: 0;
}

.log_service_item p span {
  font-size: clamp(1rem, 0.446vw + 0.543rem, 1.4rem);
  font-weight: 500;
  margin-top: 0.4rem;
  text-decoration: none !important;
  display: inline-block;
}

.log_service_item .c_btn_arrow_square {
  margin-left: auto;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(24px, 0.893vw + 14.85px, 32px);
  height: clamp(24px, 0.893vw + 14.85px, 32px);
}

.log_service_item:hover p {
  color: #1E40AF;
  text-decoration: underline;
  /* text-underline-offset: 4px; */
}

.log_service_item:hover .log_service_item_icon {
  transform: translateY(-10px);
}

.c_btn_arrow_blue {
  margin-left: auto;
  width: 24px;
  height: 24px;
  background-color: #1E40AF;
  border-radius: 4px;
  position: relative;
}

.c_btn_arrow_blue::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: translate(-60%, -50%) rotate(45deg);
}

.p_drawer_nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.2rem 4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p_drawer_nav li {
  list-style: none;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='273' height='3' viewBox='0 0 273 3'%3E%3Cline id='border' x2='270' transform='translate(1.5 1.5)' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: bottom left;
  background-size: 273px 3px;
}

.p_drawer_nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #ffffff;
  font-size: clamp(1.6rem, 0.446vw + 1.143rem, 2rem);
  font-weight: bold;
  padding-bottom: 1.6rem;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .p_drawer_nav li:hover {
    opacity: 0.7;
  }

  .p_drawer_nav li:hover a {
    transform: translateX(10px);
  }
}

.p_drawer_nav a svg {
  width: clamp(2.4rem, 0.893vw + 1.486rem, 3.2rem);
  height: clamp(2.4rem, 0.893vw + 1.486rem, 3.2rem);
  flex-shrink: 0;
}

.drawer_privacy {
  margin-top: 7.2rem;
  text-align: right;
  margin-left: auto;
  font-size: 1.4rem;
  font-weight: 500;
  color: #FFF;
  display: block;
  width: fit-content;

  &:hover {
    text-decoration: underline;
  }
}

.c_btn_arrow_white {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 4px;
  position: relative;
}

@media screen and (max-width: 1439px) {
  .l_header {
    left: 2rem;
    right: 2rem;
    top: 1.6rem;
    width: auto;
    padding: 1rem 2rem;
  }

  .l_header_logo {
    width: 149px;
  }

  .l_header_nav ul {
    gap: 2.4rem;
  }

  .l_header_content {
    margin-right: 2.4rem;
  }

  .l_header_utility {
    gap: 2.4rem;
  }

  .c_hamburger_lines span:nth-child(2) {
    top: 7px;
  }

  .c_hamburger_lines {
    height: 14px;
  }

  .c_hamburger_lines span:nth-child(3) {
    top: 14px;
  }

  .l_drawer {
    left: 2rem;
  }

  .l_drawer_inner {
    padding: 12rem 2rem 2rem;
  }

  .p_drawer_content {
    width: 100%;
    padding: 0 2rem;
  }

  .p_drawer_card {
    gap: 4rem;
    padding: 2rem 4rem 2rem 2.4rem;
    margin-bottom: 3.2rem;
  }

  .p_drawer_card_grid {
    gap: 1.6rem 2rem;
  }

  .p_drawer_nav {
    gap: 1.6rem 2.4rem;
  }

  .log_service_item:nth-of-type(odd) {
    padding-right: 2rem;
  }

  .log_service_item:nth-of-type(even) {
    padding-left: 1rem;
  }

  .fv_service {

    .p_drawer_card_item:nth-of-type(odd)::after,
    .log_service_item:nth-of-type(odd)::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      width: 2px;
      height: 100%;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2' height='56' viewBox='0 0 2 56'%3E%3Cline id='border' y2='54' transform='translate(1 1)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='2' stroke-dasharray='1 8'/%3E%3C/svg%3E");
      background-repeat: repeat-y;
      background-size: 2px auto;
      transform: none;
      pointer-events: none;
    }
  }

  .log_service_item p,
  .log_service_item_icon {
    margin-right: 0.8rem;
  }
}

@media screen and (max-width: 1023px) {
  .l_header {
    top: 1.6rem;
    left: 2rem;
    right: 2rem;
    width: calc(100% - 4rem);
    padding: 1.2rem 2rem;
    border-radius: 8px;
  }

  .l_header_logo {
    width: 130px;
  }

  .l_header_content {
    display: none;
  }

  .c_hamburger {
    width: 48px;
    height: 48px;
    padding-top: 4px;
  }

  .c_hamburger_lines {
    width: 22px;
    height: 14px;
    margin-bottom: 5px;
  }

  .c_hamburger_lines span {
    width: 22px;
  }

  .c_hamburger_lines span:nth-child(2) {
    top: 6px;
  }

  .c_hamburger_lines span:nth-child(3) {
    top: 12px;
  }

  .c_hamburger[aria-expanded="true"] .c_hamburger_lines span:nth-child(1),
  .c_hamburger[aria-expanded="true"] .c_hamburger_lines span:nth-child(3) {
    top: 6px;
  }

  .c_hamburger_text {
    font-size: 0.8rem;
    margin-top: 2px;
  }

  .l_drawer {
    left: 0;
    border-bottom-left-radius: 0;
    /* リセット */
  }

  .l_drawer_inner {
    border-bottom-left-radius: 8rem;
    padding: 10rem 2rem 4rem;
  }

  .p_drawer_card {
    flex-direction: column;
    gap: 3.2rem;
    padding: 3.2rem;
  }

  .p_drawer_card_title::after {
    background-image: none;
    inset: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 2px;
    background-color: #1E40AF;

  }

  .p_drawer_card_title {
    padding-right: 0;
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
    border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='273' height='3' viewBox='0 0 273 3'%3E%3Cline id='border' x2='270' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E") 100% 0 0 0 stretch;
  }

  .p_drawer_nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .l_header {
    top: 1.6rem;
    left: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    padding: 0.8rem 1rem;
  }

  .l_header_logo {
    width: 130px;
  }

  .l_header.is_drawer_open.is_drawer_overlap .c_logo_svg_mark,
  .l_header.is_drawer_open.is_drawer_overlap .c_logo_svg_text {
    fill: #4a4a4a !important;
  }

  .l_drawer {
    border-bottom-left-radius: 0;
    /* リセット */
  }

  .l_drawer_inner {
    border-bottom-left-radius: 4.8rem;
    padding: 10.4rem 2rem 6.4rem;
  }

  .p_drawer_content {
    padding: 0;
  }

  .p_drawer_card {
    padding: 3.2rem 2rem;
    margin-bottom: 4rem;
    gap: 0;
  }

  .p_drawer_card_title {
    font-size: 2rem;
  }

  .p_drawer_card_grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .log_service_item:nth-of-type(odd),
  .log_service_item:nth-of-type(even) {
    padding: 1.6rem 0 0.8rem !important;
  }

  .log_service_item:nth-of-type(even) .log_service_item_bg {
    left: 0;
  }

  .fv_service .log_service_item:nth-of-type(odd)::after,
  .fv_service .p_drawer_card_item:nth-of-type(odd)::after {
    display: none;
  }

  .log_service_item {
    border-bottom: none;
    /* 元の点線をリセット */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='297' height='2' viewBox='0 0 297 2'%3E%3Cline id='border' x2='295' transform='translate(1 1)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='2' stroke-dasharray='1 8'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: 297px 2px;
  }


  .log_service_item_icon {
    margin-right: 1.2rem;
  }

  .log_service_item p {
    font-size: 1.6rem;
  }

  .log_service_item p span {
    font-size: 1rem;
    margin-top: 0px;
  }

  .log_service_item .c_btn_arrow_square {
    width: 24px;
    height: 24px;
  }

  .p_drawer_nav {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .p_drawer_nav a {
    font-size: 1.6rem;
    padding: 2.4rem 0 1.4rem;
  }

  .p_drawer_nav li:first-of-type a {
    padding-top: 0;
  }

  .drawer_privacy {
    margin-top: 4.8rem;
  }

  .c_hamburger_lines span {
    width: 22px;
    height: 1px;
  }

  .c_hamburger_lines {
    margin-bottom: 3px;
  }
}

/* main.css */
.bg_wrapper {
  width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

.bg_stage {
  width: 117.96875%;
  position: relative;
  left: -6.770833%;
  pointer-events: none;
}

@media screen and (min-width: 1921px) {
  .bg_stage {
    width: 2265px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 1440px) {
  .bg_stage:nth-of-type(2) {
    margin-top: 80% !important;
  }
}

@media screen and (max-width: 1023px) {
  .bg_stage {
    width: 119.46875%;
    left: -12.6953%;
  }

  .bg_stage:first-of-type {
    margin-top: -97% !important;
  }

  .bg_stage:nth-of-type(2) {
    margin-top: 8% !important;
  }
}

@media screen and (max-width: 550px) {
  .bg_stage {
    width: 680px;
    left: -44%;
  }

  .bg_stage:first-of-type {
    margin-top: -22% !important;
  }

  .bg_stage:nth-of-type(2) {
    margin-top: 16% !important;
  }
}

.bg_stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.bg_src {
  opacity: 1;
  transition: all 0.5s ease;
}

.is_animated .bg_src {
  opacity: 0;
}




.l_cta {
  width: 100%;
  background-color: #ffffff;
  padding: 8rem 8rem;
  border-radius: 20rem 20rem 0 0;
}

.l_cta_inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
}

.l_cta_box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
}

.l_cta_box:first-child {
  border-right: none;
  position: relative;
}

.l_cta_box:first-child::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='351' viewBox='0 0 3 351'%3E%3Cline id='border' y2='348' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: contain;
}

.l_cta_icon {
  margin-bottom: 2rem;
  width: 6rem;

  svg {
    width: 100%;
    height: auto;
    display: block;
  }
}

.l_cta_ttl {
  font-size: clamp(2.4rem, 1.786vw + 0.571rem, 4rem);
  font-weight: bold;
  margin: 0 0 4rem 0;
}

.l_cta_txt {
  font-size: clamp(1.6rem, 0.223vw + 1.172rem, 1.6rem);
  line-height: 1.8;
  font-weight: 500;
  margin: 0 0 4rem 0;
}

.l_cta_note {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 7.8rem;
  text-align: left;
  font-weight: 500;
}

.l_cta_note a {
  color: #1E40AF;
  text-decoration: underline;
}

.l_cta_box_recruit .c_btn_icon_1 {
  transition: all 0.3s ease !important;
}

.l_cta_box_recruit .c_btn:hover {
  .c_btn_icon_1 {
    transform: none;
    opacity: 1;
  }

  .c_btn_icon_2 {
    display: none;
  }
}

@media screen and (max-width: 1439px) {
  .l_cta {
    border-radius: 12rem 12rem 0 0;
    padding: 4.8rem 2rem 3.6rem;
  }

  .l_cta_box {
    padding: 0;
    padding-bottom: 1.2rem;
  }

  .l_cta_icon {
    width: 3.6rem;
    margin-bottom: 1.2rem;
  }

  .l_cta_ttl {
    margin-bottom: 2.4rem;
  }

  .l_cta_note {
    font-size: 1rem;
    margin-top: 3.2rem;
  }


}

/* ==============================================
   CTAセクション（main.css / フッター直前）
============================================== */
@media screen and (max-width: 1023px) {
  .l_cta {
    padding: 0 2rem;
    border-radius: 4.8rem 4.8rem 0 0;
  }

  .l_cta_inner {
    flex-direction: column;
  }

  .l_cta_box:first-child::after {
    width: 100%;
    height: 3px;
    top: auto;
    bottom: 0;
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='273' height='3' viewBox='0 0 273 3'%3E%3Cline id='border' x2='270' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 273px 3px;
  }

  .l_cta_box {
    padding: 4.8rem 0;
  }
}

@media screen and (max-width: 767px) {
  .l_cta {
    padding: 0rem 2rem;
    border-radius: 4.8rem 4.8rem 0 0;
  }

  .l_cta_ttl {
    font-size: 2.4rem;
  }

  .l_cta_txt {
    font-size: 1.4rem;
    margin-bottom: 3.2rem;
  }

  .l_cta_box {
    padding: 4rem 0;
  }

  .l_cta_icon {
    margin-bottom: 0.8rem;
  }

  .l_cta_ttl {
    font-size: 2rem;
  }
}

.l_footer {
  background-color: #1E40AF;
  color: #ffffff;
  padding: 8rem 0 0 0;
  position: relative;
}

.l_footer_inner {
  max-width: 1440px;
  width: calc(100% - 8rem);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-bottom: 8rem;
}

.l_footer_left {
  width: 320px;
}

.l_footer_logo {
  width: 230px;
  margin-bottom: 4rem;
}

.l_footer_copy {
  font-size: clamp(1.6rem, 0.446vw + 1.143rem, 2rem);
  line-height: 1.8;
  font-weight: bold;
}

.l_footer_right {
  max-width: 800px;
}

.l_footer_nav_wrap {
  display: flex;
  justify-content: space-between;
  width: fit-content;
  gap: clamp(4rem, 4.464vw - 0.571rem, 8rem);
}

.l_footer_nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;

  li {
    margin-bottom: 4rem;
  }
}

.l_footer_nav_title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 3.8rem;
}

li.l_footer_nav_item {
  margin-bottom: 1.6rem;
}

.l_footer_nav a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  transition: border-color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.l_footer_nav a:hover {
  border-bottom-color: #ffffff;
}

.l_footer_nav_item {
  display: flex;
  align-items: baseline;
}

.l_footer_nav_item::before {
  margin-right: 8px;
  content: "";
  width: 8px;
  height: 1px;
  background-color: currentColor;
  align-self: center;
}

.l_footer_nav_item a {
  border-bottom-width: 1px;
  font-size: 1.4rem;
  font-weight: 500;
}

.l_footer_bottom {
  border-top: 1px solid #C3CEDE;
  padding: 4rem 0 10rem;
  max-width: 1440px;
  width: calc(100% - 8rem);
  margin: 0 auto;
}

.l_footer_bottom_inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.l_footer_privacy {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.4rem;
  text-decoration: none;
  transition: border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.l_footer_privacy:hover {
  border-bottom-color: #ffffff;
}

.l_footer_copyright {
  font-size: 1.4rem;
  font-weight: 500;
  color: #C3CEDE;
}

@media screen and (max-width: 1439px) {
  .l_footer {
    padding-top: 4.8rem;
  }

  .l_footer_logo {
    margin-bottom: 3.2rem;
  }

  .l_footer_nav {
    li {
      margin-bottom: 2.4rem;
    }
  }

  li.l_footer_nav_item {
    margin-bottom: 1.2rem;
  }

  .l_footer_nav_wrap {
    gap: 6.4rem;
  }

  .l_footer_inner {
    padding-bottom: 4.8rem;
  }

  .l_footer_bottom {
    padding-top: 2.4rem;
  }
}

/* ==============================================
   フッター（タブレット・スマホ共通でアコーディオン化）
============================================== */
@media screen and (max-width: 1023px) {
  .l_footer {
    padding-top: 6.4rem;
  }

  .l_footer_inner {
    display: flex;
    flex-direction: column-reverse;
    width: calc(100% - 8rem);
    padding-bottom: 6.4rem;
    gap: 6.4rem;
  }

  .l_footer_right {
    max-width: none;
  }

  .l_footer_nav_wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .l_footer_nav {
    width: 100%;
  }

  .l_footer_nav>li {
    margin-bottom: 0;
  }

  .l_footer_nav a {
    border-bottom: none;
    padding-bottom: 0;
  }

  .l_footer_nav a:hover {
    border-bottom-color: transparent;
  }

  .l_footer_nav>li>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.4rem 0;
    border-bottom: 1px solid #C3CEDE;
    font-size: 1.6rem;
    font-weight: bold;
    width: 100%;
  }

  .l_footer_nav>li>a::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg id='arrow-right' transform='translate(2 2)'%3E%3Crect id='area' width='24' height='24' transform='translate(-2 -2)' fill='none'/%3E%3Cpath d='M5,12H17' transform='translate(-1 -2)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3Cpath d='M12,5l6,6-6,6' transform='translate(-2 -1)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }

  .c_icon_wrapper_external {
    display: none;
  }

  .l_footer_nav>li>a.is_external::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
  }

  .js_accordion_btn {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 2.4rem 0;
    margin-bottom: 0;
    border-bottom: none;
    font-size: 1.6rem;
    font-weight: bold;
    width: 100%;
  }

  .js_accordion_btn::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
  }

  .js_accordion_btn::before {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 14px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .js_accordion_btn.is_open::before {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }

  .js_accordion_body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid #C3CEDE;
  }

  .js_accordion_body_inner {
    padding: 2.4rem 0 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .l_footer_nav_item {
    margin-bottom: 0;
    padding-left: 0.8rem;
  }

  .l_footer_nav_item::before {
    content: "-";
    width: auto;
    height: auto;
    background-color: transparent;
    margin-right: 8px;
  }

  .l_footer_nav_item a {
    font-size: 1.4rem;
  }

  .l_footer_left {
    width: 100%;
  }

  .l_footer_logo {
    width: clamp(180px, 20vw, 230px);
    margin-bottom: 3.2rem;
  }

  .l_footer_copy {
    font-size: 1.6rem;
  }

  .l_footer_bottom {
    width: calc(100% - 8rem);
    padding: 3.2rem 0 8rem;
    border-top: transparent;
  }

  .l_footer_bottom_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.4rem;
  }

  .l_footer_copyright {
    border-top: 1px solid #C3CEDE;
    width: 100%;
    padding-top: 2.4rem;
  }
}

@media screen and (max-width: 767px) {
  .l_footer {
    padding-top: 6.4rem;
  }

  .l_footer_inner {
    width: calc(100% - 4rem);
    padding-bottom: 4.8rem;
    gap: 8rem;
  }

  .l_footer_nav>li>a,
  .js_accordion_btn {
    padding: 1.6rem 0;
  }

  .js_accordion_body_inner {
    padding-top: 0.8rem;
  }

  .l_footer_logo {
    width: 180px;
  }

  .l_footer_bottom {
    width: calc(100% - 3.2rem);
    padding: 2.4rem 0 8rem;
  }
}

.c_pagetop {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 7.2rem;
  height: 7.2rem;
  background-color: #1E40AF;
  color: #ffffff;
  border: 1px solid #FFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.c_pagetop_icon {
  position: absolute;
  width: 28px;
  height: 28px;
}

.c_pagetop_icon_1 {
  transform: translateY(0);
  opacity: 1;
  transition: all 0.5s ease-in-out;
}

.c_pagetop_icon_2 {
  transform: translateY(60px);
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.c_pagetop:hover {
  background-color: #ffffff;
  color: #1E40AF;
  border-color: #1E40AF;
}

.c_pagetop:hover .c_pagetop_icon_1 {
  transform: translateY(-60px);
  opacity: 0;
}

.c_pagetop:hover .c_pagetop_icon_2 {
  transform: translateY(0);
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .c_pagetop {
    width: 5.2rem;
    height: 5.2rem;
  }

  .c_pagetop_icon {
    width: 24px;
    height: 24px;
  }
}





@media (hover: none) {

  /* ボタン系のホバー時背景・色変化を無効化 */
  body .c_btn:hover {
    background-color: #1E40AF !important;
    color: #ffffff !important;
    border-color: transparent !important;
  }

  /* ボタン内矢印のアニメーションを無効化 */
  body .c_btn:hover .c_btn_icon_1 {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }

  body .c_btn:hover .c_btn_icon_2 {
    transform: translateX(-80px) !important;
    opacity: 0 !important;
  }

  /* サービス項目の背景拡大・テキスト色変化を無効化 */
  body .log_service_item:hover p {
    color: #2B2D33 !important;
    text-decoration: none !important;
  }

  body .log_service_item:hover .log_service_item_bg {
    transform: translateY(-50%) scale(0) !important;
  }

  body .log_service_item:hover .log_service_item_icon {
    transform: translateY(0) !important;
  }

  body .l_footer_nav>li>a:hover {
    border-bottom-color: #C3CEDE !important;
  }

  body .l_footer_privacy:hover {
    border-bottom-color: transparent !important;
  }

  body .p_about_card:hover .p_about_card_img img {
    transform: scale(1) !important;
  }

  body .p_about_card:hover .p_about_card_name h3 {
    color: #2B2D33 !important;
    text-decoration: none !important;
  }

  body .c_pagetop:hover {
    background-color: #1E40AF !important;
    color: #ffffff !important;
    border-color: #FFF !important;
  }

  body .c_pagetop:hover .c_pagetop_icon_1 {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  body .c_pagetop:hover .c_pagetop_icon_2 {
    transform: translateY(60px) !important;
    opacity: 0 !important;
  }
}



/* ヘッダーナビゲーションのサブメニュー */
.l_header_nav li.has_child {
  position: relative;
}

.l_header_subnav {
  position: absolute;
  top: 100%;
  left: 0%;
  background-color: #1E40AF;
  border-radius: 8px;
  padding: 2rem ;
  width: 34.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
  margin-top: 2rem;
}

.l_header_nav li.has_child:hover .l_header_subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.l_header_subnav::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 2rem;
}

.l_header_subnav_list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.6rem;
}

.l_header_subnav_list li {
  width: 100%;
}

.l_header_subnav_list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.l_header_subnav_list a:hover {
  transform: translateX(10px);
}

.l_header_subnav_list a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.l_header_subnav_txt {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.l_header_subnav_list a:hover .l_header_subnav_txt {
  border-color: #ffffff;
}