/* Main CSS - LLOYD BROTHERS */

@import url("reset.css");
@import url("header.css");
@import url("footer.css");

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.first-view {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100dvh;
}
.first-view .bg {
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.first-view .copy-area {
  width: 780px;
  margin-top: 32px;
  animation: fadeIn 1.2s ease-out forwards;
}
.first-view .copy-area .sub {
  width: 177px;
}
.first-view .copy-area > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}
.first-view .copy-area .main {
  width: 544px;
  margin-top: 10px;
}
.first-view .copy-area .slash {
  position: absolute;
  bottom: 32px;
  left: 482px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}
.first-view .copy-area .copy {
  position: absolute;
  right: 0;
  bottom: 32px;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 7px;
}
@media (max-width: 768px) {
  .first-view .bg {
    top: 40px;
  }
  .first-view .copy-area {
    padding-left: 16px;
    padding-right: 16px;
    animation: fadeIn 1.2s ease-out 1.5s forwards;
  }
  .first-view .copy-area .slash {
    width: 24px;
    height: 24px;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
  }
  .first-view .copy-area .copy {
    bottom: -40px;
    font-size: 14px;
    letter-spacing: 4px;
  }
}

.section1 {
  position: absolute;
  top: 80px;
  right: 0;
  height: 700px;
  z-index: -2;
}
.bg-ovarlay {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}
.bg-gradient-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
}
.bluelight {
  position: absolute;
  left: -100px;
  top: -70px;
  width: 544px;
  z-index: -1;
}
.bluelight.bluelight-page {
  left: 0;
  top: -100px;
}
@media (max-width: 768px) {
  .bg-gradient-overlay {
    left: 0;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0) 70%
    );
  }
  .section1 {
    max-width: 120%;
    right: -10%;
    height: auto;
  }
  .bluelight {
    left: -80px;
    top: -20px;
  }
}

.section2,
.section3,
.section4 {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.works-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 16px 0 24px;
}
.works {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid #333;
}
.work {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-top: 1px solid #333;
  width: 100%;
}
.work-info {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.work-info-top {
  display: flex;
  align-items: center;
  gap: 32px;
}
.work-info .category {
  min-width: 64px;
  padding: 4px 8px;
  border-radius: 2px;
  background-color: #616161;
  text-align: center;
}
.work-info .date {
  color: #aeaeb2;
}
.work-info .title {
  flex: 1;
}
.work-info .title a {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .works-container {
    padding: 16px 0;
  }
  .work {
    padding: 16px 8px;
  }
  .work-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .work-info-top {
    gap: 16px;
  }
}

.btn-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding: 24px 0;
}
.btn-container.mt-96 {
  margin-top: 96px;
}
.img-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding: 16px 0;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 360px;
  background-size: cover;
}
.page-header.works {
  background-image: url(../images/works/header_works.png);
}
.page-header.company {
  background-image: url(../images/company/header_company.png);
}
.page-header.recruit {
  background-image: url(../images/recruit/header_recruit.png);
}
.page-header.contact {
  background-image: url(../images/contact/header_contact.png);
}
.page-header .legend {
  width: 100%;
  max-width: 980px;
  margin-top: -20px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .page-header {
    height: 250px;
    padding: 16px;
  }
  .page-header.works {
    background-image: url(../images/works/header_works_sp.png);
  }
  .page-header.company {
    background-image: url(../images/company/header_company_sp.png);
  }
  .page-header.recruit {
    background-image: url(../images/recruit/header_recruit_sp.png);
  }
  .page-header.contact {
    background-image: url(../images/contact/header_contact_sp.png);
  }
  .page-header .legend {
    margin-top: 0;
  }
}

.works-overview {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid #fff;
}
.works-overview .title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.works-overview .body {
  margin-top: 40px;
}
@media (max-width: 768px) {
  .works-overview {
    flex-direction: column;
    gap: 56px;
  }
  .works-overview .body {
    margin-top: 24px;
  }
}

.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 16px 8px;
  border-bottom: 1px solid #fff;
}
.list-item .title {
  width: 80px;
}
.list-item .body {
  flex: 1;
}

.access-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px 16px;
}
.access-item .title {
  min-width: 90px;
}

.pp-item + .pp-item {
  margin-top: 32px;
}
.pp-item .title {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #fff;
}
.pp-item .body {
  padding: 4px 16px;
  margin-top: 16px;
}
.pp-item .body :is(ul, ol) {
  margin-left: 20px;
}
.pp-item .body :is(ul, ol) :is(ul, ol) {
  margin-left: 40px;
}
.pp-item .body ol > li {
  list-style: decimal;
}
.pp-item .body ol > li ol > li {
  list-style: lower-alpha;
}
.pp-item .body ul > li {
  list-style: circle;
}

.to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 75px;
  height: 75px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 768px) {
  .to-top {
    bottom: 16px;
    right: 16px;
    width: 65px;
    height: 65px;
  }
}

.required {
  color: #3ce2ee;
  font-weight: 300;
}
.contact-form > label,
.contact-form fieldset legend {
  display: block;
  font-weight: 600;
}
.contact-form > :is(label, fieldset, div) + :is(label, fieldset, div) {
  margin-top: 32px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  height: 44px;
  padding: 8px 16px;
  margin-top: 8px;
}
.contact-form textarea {
  width: 100%;
  height: 150px;
  padding: 10px;
  margin-top: 8px;
  resize: vertical;
}
.contact-form fieldset {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none;
  padding: 8px 0;
}
.contact-form .radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  cursor: pointer;
}
.contact-form .radio-group input[type="radio"] {
  display: none;
}
.contact-form .radio-group .custom-radio {
  width: 24px;
  height: 24px;
  border: 1px solid #aaa;
  border-radius: 50%;
  background: white;
  position: relative;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}
/* 選択されていない時は中の丸を非表示 */
.contact-form .radio-group .custom-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
/* 選択時だけ塗りつぶし＋内側白丸 */
.contact-form .radio-group input[type="radio"]:checked + .custom-radio {
  background: #3ce2ee;
  border: none;
}
.contact-form .radio-group input[type="radio"]:checked + .custom-radio::after {
  width: 12px;
  height: 12px;
  background: white;
}
.contact-form .privacy-section {
  padding: 40px 0;
}
.contact-form .privacy-section h2 {
  font-weight: 600;
}
.contact-form .privacy-box {
  height: 150px;
  padding: 16px 24px;
  margin-top: 8px;
  background: #d1d1d6;
  color: #000;
  overflow-y: auto;
}
.contact-form .privacy-check label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
.contact-form .privacy-check label .underline {
  text-decoration: underline;
}
.privacy-check input[type="checkbox"] {
  display: none;
}
.privacy-check label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
}
.privacy-check input[type="checkbox"] {
  display: none;
}
/* カスタムチェックボックス */
.privacy-check .custom-check {
  position: relative;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ccc;
  transition:
    background 0.3s ease,
    border 0.3s ease;
}
/* チェックが入ったとき */
.privacy-check input[type="checkbox"]:checked + .custom-check {
  background: #3ce2ee;
  border: none;
}
/* チェックマーク */
.privacy-check .custom-check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 7px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.privacy-check input[type="checkbox"]:checked + .custom-check::after {
  opacity: 1;
}

.section-desc {
  margin-top: 8px;
  color: #aeaeb2;
}
