@charset "UTF-8";
/* ============================================================
   Adjustments for 2026-05-21 update
   - Loaded after asset/css/style.css and edit.css
   - All rules are page-scoped via #page-* IDs.
   - index.html FV (#m without #mt-bg2) is intentionally
     left untouched by using :has(#mt-bg2) scoping for the
     FV-related rules.
   ============================================================ */


/* ============================================================
   service2.html / service2_test.html
   ============================================================ */
#page-service2 .sec01 .top,
#page-service2 .sec02 .top {
  display: block;
  margin-bottom: 40px;
}
#page-service2 .sec01 .top .logo,
#page-service2 .sec02 .top .logo {
  margin-bottom: 18px;
}
#page-service2 .sec01 .top .logo img,
#page-service2 .sec02 .top .logo img {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
}
#page-service2 .sec01 .top .brand,
#page-service2 .sec02 .top .brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
#page-service2 .sec01 p.title,
#page-service2 .sec02 p.title {
  margin: 0;
  font-size: 5.8rem;
  font-weight: bold;
  line-height: 1;
  color: #776764;
}
#page-service2 .sec01 .top .badge,
#page-service2 .sec02 .top .badge {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #776764;
  font-size: 1.6rem;
  font-weight: bold;
  color: #776764;
  white-space: nowrap;
  line-height: 1;
}
#page-service2 .sec01 .btn::after,
#page-service2 .sec02 .btn::after {
  top: 50%;
  height: 10px;
  background-size: contain;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  #page-service2 .sec01 .top,
  #page-service2 .sec02 .top {
    margin-bottom: 28px;
  }
  #page-service2 .sec01 .top .logo img,
  #page-service2 .sec02 .top .logo img {
    width: 220px;
  }
  #page-service2 .sec01 p.title,
  #page-service2 .sec02 p.title {
    font-size: 4.8rem;
  }
  #page-service2 .sec01 .top .brand,
  #page-service2 .sec02 .top .brand {
    gap: 14px;
    flex-wrap: wrap;
    white-space: normal;
  }
  #page-service2 .sec01 .top .badge,
  #page-service2 .sec02 .top .badge {
    font-size: 1.4rem;
    padding: 8px 16px;
  }
}


/* ============================================================
   company2.html / company2_test.html
   ============================================================ */
#page-company2 .obj {
  background-image: none;
  position: relative;
  overflow: hidden;
}
#page-company2 .obj > .container {
  position: relative;
  z-index: 1;
}
#page-company2 #sec00 {
  margin-top: 40px;
}
#page-company2 #sec00 .v-box {
  margin-top: 20px;
}
#page-company2 #sec00 .box h3 {
  font-size: 3rem;
}
#page-company2 #sec01 .v-box .box p,
#page-company2 #sec01 .v-box .box,
#page-company2 #sec00 .v-box .box {
  text-align: center;
}
#page-company2 #sec02 .flex {
  display: block;
}
#page-company2 #sec02 .box1,
#page-company2 #sec02 .box2 {
  width: 100%;
  margin: 80px 0;
}
#page-company2 #sec02 span.en-ttl {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: normal;
}
#page-company2 #sec02 span.ja-ttl {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}
#page-company2 #sec02 span.ja-ttl small {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 12px;
}
#page-company2 #sec02 .box1 h2.require-head__title,
#page-company2 #sec02 .box2 h2.require-head__title {
  margin-bottom: 16px;
}
#page-company2 #sec02 .box1 p,
#page-company2 #sec02 .box2 p {
  line-height: 2.1;
}
#page-company2 .obj::before,
#page-company2 .obj::after {
  content: "";
  position: absolute;
  top: -50px;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
#page-company2 .obj::before {
  background-image: url("../images/obj01.png");
  left: calc(-160px - max(0px, (1200px - 100vw) * 0.35));
}
#page-company2 .obj::after {
  background-image: url("../images/obj02.png");
  right: calc(-160px - max(0px, (1200px - 100vw) * 0.35));
}
@media (max-width: 767px) {
  #page-company2 #sec00 .box h3 {
    font-size: 2.4rem;
  }
  #page-company2 #sec02 span.ja-ttl {
    font-size: 1.8rem;
  }
  #page-company2 #sec02 span.ja-ttl small {
    font-size: 1.3rem;
  }
  #page-company2 #sec02 .flex {
    padding-left: 20px;
    padding-right: 20px;
  }
  #page-company2 .obj::before,
  #page-company2 .obj::after {
    top: -20px;
    width: 280px;
    height: 280px;
  }
  #page-company2 .obj::before {
    left: calc(-80px - max(0px, (768px - 100vw) * 0.2));
  }
  #page-company2 .obj::after {
    right: calc(-80px - max(0px, (768px - 100vw) * 0.2));
  }
}


/* ============================================================
   recruit.html / recruit_test.html
   ============================================================ */
#page-recruit .logo {
  text-align: center;
}
#page-recruit .logo img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin-top: 100px;
}
#page-recruit .purpose-intro {
  text-align: center;
  margin-bottom: 80px;
}
#page-recruit .purpose-intro img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: inline-block;
}
#page-recruit .obj {
  background-image: none;
  position: relative;
  overflow: hidden;
}
#page-recruit .obj > .container {
  position: relative;
  z-index: 1;
}
#page-recruit .obj::before,
#page-recruit .obj::after {
  content: "";
  position: absolute;
  top: -50px;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
#page-recruit .obj::before {
  background-image: url("../images/obj01.png");
  left: calc(-160px - max(0px, (1200px - 100vw) * 0.35));
}
#page-recruit .obj::after {
  background-image: url("../images/obj02.png");
  right: calc(-160px - max(0px, (1200px - 100vw) * 0.35));
}
@media (max-width: 767px) {
  #page-recruit .purpose-intro img {
    max-width: 320px;
  }
  #page-recruit .obj::before,
  #page-recruit .obj::after {
    top: -20px;
    width: 280px;
    height: 280px;
  }
  #page-recruit .obj::before {
    left: calc(-80px - max(0px, (768px - 100vw) * 0.2));
  }
  #page-recruit .obj::after {
    right: calc(-80px - max(0px, (768px - 100vw) * 0.2));
  }
}


/* ============================================================
   index.html / index_test.html
   - Header sub-logo applies to both prod and test.
   - FV (#m / #mt-bg / #mt-bg2) rules are scoped with
     :has(#mt-bg2) so that the production FV (single mt-bg)
     remains unaffected.
   ============================================================ */

/* Header sub-logo */
#pc-head .logo a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
#pc-head .logo img.logo-sub {
  height: auto;
  max-height: 32px;
}

/* FV — test (index_test.html) only, scoped via :has(#mt-bg2) */
#m:has(#mt-bg2) #mt-bg,
#mt-bg2 {
  width: 397px;
  height: 397px;
  padding: 40px;
  box-sizing: border-box;
}
#mt-bg2 {
  display: table;
  color: #fff;
  background-image: url("../images/bg-c.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
#m:has(#mt-bg2) #mt-bg #mt,
#mt-bg2 .mt {
  width: 100%;
  max-width: none;
  text-align: center;
}
#mt-bg2 .mt .ttt {
  display: block;
  margin-bottom: 0.8em;
}
#page-index #mt-bg2 span {
  visibility: visible;
  opacity: 1;
  -webkit-animation: anim2 1.5s ease-in 1.5s both;
  animation: anim2 1.5s ease-in 1.5s both;
}
#mt-bg2 .bg {
  padding: 130px 0;
  background-image: url("../images/youredgesl-mark.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 95%;
}
#page-index #mt-bg .logo-svg,
#page-index #mt-bg2 .logo-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}
#page-index #mt-bg .logo-svg path,
#page-index #mt-bg2 .logo-svg path {
  stroke: #fff;
  stroke-width: 1.5px;
  fill: transparent;
  stroke-dasharray: 1800px;
  stroke-dashoffset: 1800px;
  -webkit-animation: drawLogo 2.5s ease-in 1s forwards;
  animation: drawLogo 2.5s ease-in 1s forwards;
}
@-webkit-keyframes drawLogo {
  0% { stroke-dashoffset: 1800px; fill: transparent; }
  60% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: #fff; }
}
@keyframes drawLogo {
  0% { stroke-dashoffset: 1800px; fill: transparent; }
  60% { stroke-dashoffset: 0; fill: transparent; }
  100% { stroke-dashoffset: 0; fill: #fff; }
}

@media (max-width: 991px) {
  #page-index #m:has(#mt-bg2) {
    flex-direction: row;
  }
}
@media (max-width: 767px) {
  #m:has(#mt-bg2) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
  }
  #m:has(#mt-bg2) #mt-bg,
  #mt-bg2 {
    margin: 0;
    width: calc(100vw - 40px);
    max-width: 397px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  #m:has(#mt-bg2) #mt-bg {
    padding-top: 0;
    padding-bottom: 0;
  }
  #pc-head .logo img {
    max-height: 28px;
    width: auto;
  }
  #pc-head .logo img.logo-sub {
    max-height: 18px;
  }
  #pc-head .logo a {
    gap: 8px;
  }
  #pc-head .main-logo {
    padding-right: 60px;
  }
}
@media screen and (max-width: 576px) {
  #m:has(#mt-bg2) #mt-bg {
    padding-left: 25px;
    padding-right: 25px;
  }
  #mt-bg2 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
