/* =========================================================
   TOP PAGE
   AI mockup = layout / composition reference only.
   Temporary images extracted from the customer's AI mockup must
   be replaced with the supplied real images before publication.
   ========================================================= */

.p-mainvisual {
  position: relative;
  min-height: 720px;
  color: var(--white);
  background: #0a0a09;
  overflow: hidden;
  margin-top: 100px;
}

.p-mainvisual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5,5,5,0.97) 0%, rgba(5,5,5,0.92) 28%, rgba(5,5,5,0.34) 55%, rgba(5,5,5,0.05) 100%);
  content: "";
  pointer-events: none;
}

.p-mainvisual__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 74%;
}

.p-mainvisual__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.p-mainvisual__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(calc(100% - 80px), 1500px);
  min-height: inherit;
  margin-inline: auto;
  padding: 50px 0;
}

.p-mainvisual h1 {
  max-width: 560px;
  font-size: 80px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 15px rgba(0,0,0,0.35);
}

.p-mainvisual__lead {
  /* max-width: 520px; */
  color: #f1f1f1;
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

.p-reason {
  display: flex;
  min-height: 470px;
  color: var(--white);
  background: linear-gradient(105deg, #0d0e0d, #191a18);
}

.p-reason__content,
.p-reason__visual {
  flex: 0 0 56%;
  width: 50%;
}

.p-reason__content {
  display: flex;
  justify-content: flex-end;
  padding: 58px 68px 56px 40px;
  flex: 0 0 44%;
}

.p-reason__inner {
  width: 100%;
  max-width: 560px;
}

.p-reason h2 {
  font-size: 44px;
  line-height: 1.6;
}

.p-reason__text {
  max-width: 500px;
  color: var(--text-light);
  font-size: 20px;
  line-height: 1.9;
}

.p-reason__visual {
  overflow: hidden;
  opacity: 0.6;
}

.p-reason__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-choose {
  position: relative;
  padding: 54px 0 62px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.025), transparent 30%),
    linear-gradient(135deg, #111210, #171816 56%, #0e0f0e);
  overflow: hidden;
}

.p-choose::before {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.15) 0, rgba(255,255,255,0.15) 1px, transparent 1px, transparent 8px);
  content: "";
}

.p-choose__inner {
  position: relative;
  width: 1800px;
  margin-inline: auto;
}

.p-choose__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.p-choose__heading-text span {
  display: block;
  color: var(--main);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.p-choose__heading-text h2 {
  margin-top: 3px;
  font-size: 44px;
  line-height: 1.4;
}

.p-choose__list {
  display: flex;
  margin-top: 34px;
}

.p-choose__list li {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 18px 32px 10px;
  text-align: center;
}

.p-choose__list li + li {
  border-left: 1px solid rgba(233,80,24,0.7);
}

.p-choose__back-number {
  position: absolute;
  top: -20px;
  left: 70px;
  color: rgba(216,198,163,0.08);
  font-family: "Oswald", sans-serif;
  font-size: 170px;
  font-weight: 500;
  letter-spacing: 10px;
  line-height: 1;
}

.p-choose__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 166px;
  margin-inline: auto;
  color: #a5a270;
}

.p-choose__icon img {
  width: 100%;
  height: 100%;
}

.p-choose__en {
  /* margin-top: 16px; */
  color: var(--main);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.p-choose__list h3 {
  margin-top: 7px;
  font-size: 44px;
  line-height: 1.45;
}

.p-choose__text {
  margin-top: 8px;
  color: #e3e3e3;
  font-size: 28px;
  line-height: 1.9;
}

.p-service-row {
  display: flex;
  background: #ddcfb7;
}

.p-maintenance,
.p-support {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  min-height: 430px;
  overflow: hidden;
}

.p-maintenance::after,
.p-support::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.p-maintenance {
  background: #d9c9ad;
}

.p-maintenance::after {
  background: linear-gradient(90deg, rgba(225,211,185,0.98) 0%, rgba(225,211,185,0.93) 48%, rgba(225,211,185,0.42) 78%, rgba(225,211,185,0.22) 100%);
}

.p-support {
  background: #e6d8bf;
}

.p-support::after {
  background: linear-gradient(90deg, rgba(230,216,191,0.98) 0%, rgba(230,216,191,0.93) 50%, rgba(230,216,191,0.4) 82%, rgba(230,216,191,0.2) 100%);
}

.p-maintenance__visual,
.p-support__visual {
  position: absolute;
  inset: 0 0 0 48%;
}

.p-maintenance__visual img,
.p-support__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-maintenance__content,
.p-support__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 70px), 800px);
  margin-inline: auto;
  padding: 48px 0 44px;
}

.p-maintenance h2,
.p-support h2 {
  margin-top: 17px;
  font-size: 50px;
  line-height: 1.4;
}

.p-maintenance__lead,
.p-support__lead {
  margin-top: 13px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.9;
}

.p-maintenance__list,
.p-support__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 28px;
  width: 100%;
  max-width: 460px;
}

.p-maintenance__list li,
.p-support__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 calc(50% - 14px);
  width: calc(50% - 14px);
  font-size: 22px;
  font-weight: 700;
}

.p-maintenance__list li::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--white);
  font-size: 12px;
  line-height: 1;
  background: var(--olive);
  content: "✓";
}

.p-support__list img {
  width: 30px;
  height: 30px;
  font-weight: bolder;
  flex: 0 0 30px;
}

.p-contact {
  padding: 46px 0 44px;
  color: var(--white);
  background: linear-gradient(90deg, #0b0d0c, #141917 52%, #070808);
}

.p-contact__inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 80px), 1450px);
  margin-inline: auto;
  position: relative;
}

.p-contact__left,
.p-contact__right {
  flex: 0 0 50%;
  width: 50%;
}

.p-contact__left {
  padding-right: 60px;
}

.p-contact__right {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-left: 60px;
  
}
.p-contact__right::before{
  content: '';
  height: 160px;
  width: 1px;
  background-color: rgba(255,255,255);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.p-contact h2 {
  margin-top: 10px;
  font-size: 54px;
  line-height: 1.45;
  letter-spacing: 0.8px;
}

.p-contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  color: #d7d7d7;
  font-family: "Oswald", sans-serif;
  font-size: 70px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.p-contact__tel img {
  width: 80px;
  /* height: 80px; */
  transform: translateY(9px);
}

.p-contact__line-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  flex: 0 0 100px;
  color: #05b826;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  background: var(--white);
  border: 12px solid #05b826;
  border-radius: 18px;
}

.p-contact__line-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, 400px);
  font-size: 26px;
  min-height: 76px;
  border-radius: 5px;
  padding: 12px 30px;
  color: var(--white);
  font-weight: 700;
  background: #05b826;
}

.p-contact__line-button::after {
  width: 14px;
  height: 14px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  content: "";
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.p-contact__line-button:hover {
  opacity: 0.9;
}

.p-contact__line-button:hover::after {
  transform: translateX(4px) rotate(45deg);
}
.btn-logo a{
  display: block;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 100%;
  max-width: 480px;
}

.btn-logo a img{
  width: 100%;
  margin: auto;
  max-width: 400px;
  display: block;
}
@media (max-width: 1199px) {
  .p-mainvisual {
    min-height: 650px;
  }

  .p-mainvisual__content {
    width: min(calc(100% - 56px), 1080px);
  }

  .p-mainvisual h1 {
    font-size: 62px;
  }

  .p-reason__content {
    padding-right: 44px;
  }
  .p-reason h2{
    font-size: 30px;
  }
  .p-reason__text{
    font-size: 16px;
  }

  .p-choose__inner {
    width: calc(100% - 40px);
  }

  .p-choose__list li {
    padding-inline: 18px;
  }

  .p-choose__list h3 {
    font-size: 22px;
  }
  .p-choose__text{
    font-size: 16px;
  }

  .p-maintenance__content,
  .p-support__content {
    width: calc(100% - 44px);
  }

  .p-contact__inner {
    width: calc(100% - 48px);
  }

  .p-contact h2{
    font-size: 30px;
  }
  .p-contact__tel{
    font-size: 34px;
    gap: 6px;
  }
  .p-contact__tel img{
    width: 40px;
    transform: translateY(5px);
  }
  .p-contact__line-button{
    font-size: 16px;
  }
  .p-contact__line-button::after{
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }
  .p-maintenance h2, .p-support h2{
    font-size: 36px;
  }
  .p-maintenance__lead, .p-support__lead,
  .p-maintenance__list li, .p-support__list li{
    font-size: 16px;
  }
  
}

@media (max-width: 767px) {
  .p-mainvisual {
    min-height: 0;
    padding-bottom: 0;
    margin-top: 70px;
    background: #0b0c0b;
  }

  .p-mainvisual::after {
    background: linear-gradient(180deg, rgba(5,5,5,0.92) 0%, rgba(5,5,5,0.72) 52%, rgba(5,5,5,0.06) 77%, rgba(5,5,5,0.02) 100%);
  }

  .p-mainvisual__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .p-mainvisual__visual img {
    object-position: 58% center;
  }

  .p-mainvisual__content {
    width: calc(100% - 40px);
    min-height: 650px;
    padding: 52px 0 38px;
    justify-content: flex-start;
  }

  .p-mainvisual h1 {
    max-width: 330px;
    font-size: 47px;
    line-height: 1.16;
  }

  .p-mainvisual__lead {
    max-width: 335px;
    font-size: 14px;
    line-height: 1.85;
  }

  .p-mainvisual .c-button {
    /* margin-top: auto !important; */
  }

  .p-reason {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .p-reason__content,
  .p-reason__visual {
    flex: 0 0 auto;
    width: 100%;
  }

  .p-reason__content {
    padding: 44px 20px 42px;
  }

  .p-reason__inner {
    max-width: none;
  }

  .p-reason h2 {
    font-size: 27px;
    line-height: 1.6;
  }

  .p-reason__text {
    font-size: 14px;
  }

  .p-reason__visual {
    height: 270px;
  }

  .p-choose {
    padding: 44px 0 48px;
  }

  .p-choose__inner {
    width: calc(100% - 40px);
  }

  .p-choose__heading {
    justify-content: flex-start;
  }

  .p-choose__heading-text h2 {
    font-size: 27px;
  }

  .p-choose__list {
    flex-wrap: wrap;
    margin-top: 28px;
  }

  .p-choose__list li {
    flex: 0 0 50%;
    width: 50%;
    min-height: 270px;
    padding: 20px 14px 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .p-choose__list li + li {
    border-left: 0;
  }

  .p-choose__list li:nth-child(even) {
    border-left: 1px solid rgba(233,80,24,0.7);
  }

  .p-choose__back-number {
    left: 8px;
    font-size: 76px;
  }

  .p-choose__icon {
    width: 60px;
    height: 52px;
  }

  .p-choose__en {
    font-size: 11px;
  }

  .p-choose__list h3 {
    font-size: 20px;
  }

  .p-choose__text {
    font-size: 13px;
    line-height: 1.75;
  }

  .p-service-row {
    display: block;
  }

  .p-maintenance,
  .p-support {
    width: 100%;
    min-height: 430px;
  }

  .p-maintenance__visual,
  .p-support__visual {
    inset: 0 0 0 40%;
  }

  .p-maintenance__content,
  .p-support__content {
    width: calc(100% - 40px);
    padding: 42px 0 40px;
  }

  .p-maintenance h2,
  .p-support h2 {
    font-size: 27px;
  }

  .p-maintenance__list,
  .p-support__list {
    display: block;
    margin-top: 22px;
  }

  .p-maintenance__list li,
  .p-support__list li {
    width: 100%;
    margin-top: 11px;
  }

  .p-contact {
    padding: 42px 0 38px;
  }

  .p-contact__inner {
    display: block;
    width: calc(100% - 40px);
  }

  .p-contact__left,
  .p-contact__right {
    width: 100%;
  }

  .p-contact__left {
    padding-right: 0;
  }

  .p-contact__right {
    gap: 14px;
    margin-top: 30px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-left: 0;
  }

  .p-contact h2 {
    font-size: 28px;
  }

  .p-contact__tel {
    font-size: 34px;
  }

  .p-contact__tel img {
    width: 28px;
    height: 28px;
  }

  .p-contact__line-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-width: 9px;
    border-radius: 15px;
    font-size: 13px;
  }

  .p-contact__line-button {
    min-height: 58px;
    padding-inline: 18px;
    font-size: 14px;
  }
  .p-contact__right::before{
    display: none;
  }
}

@media (max-width: 374px) {
  .p-mainvisual h1 {
    font-size: 42px;
  }

  .p-choose__list li {
    flex-basis: 100%;
    width: 100%;
  }

  .p-choose__list li:nth-child(even) {
    border-left: 0;
  }

  .p-contact__tel {
    font-size: 30px;
  }
}
