/* Local Font Face Declarations (Self-hosted) */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/NotoSansJP.woff2') format('woff2');
}

@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/NotoSerifJP.woff2') format('woff2');
}

@font-face {
  font-family: 'Times New Roman';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/timesbd.woff2') format('woff2');
}

/* Base Page Styling */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #0c0d0e;
  /* color: #fff; */
  overflow-x: hidden;
}

/* 9 Explicit Helper Classes for Font Styles from design checklist */
.font-notoserif-black {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
}

.font-notoserif-heavy {
  font-family: 'Noto Serif JP', serif;
  font-weight: 800;
}

.font-notoserif-bold {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
}

.font-notoserif-medium {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
}

.font-dnp-b {
  font-family: 'dnp-shuei-mincho-pr6', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-weight: 700;
}

.font-notosans-regular {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

.font-notosans-medium {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

.font-notosans-bold {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
}

.font-times-bold {
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
}

/* Background WebP Tile Classes */
.bg-brick-wall {
  background-image: url('../assets/01_hero/01_bg_brick_wall.webp');
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-sunset-network {
  position: relative;
  isolation: isolate;
  background: linear-gradient(to bottom, #384a5e, #172630);
}

.bg-sunset-network::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/03_about/03_about_bg_sunset_network.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.bg-about-statement {
  position: relative;
  isolation: isolate;
  background-color: #264963;
}

.bg-about-statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/03_about/03_B.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.bg-about-cta {
  position: relative;
  isolation: isolate;
  background-color: #051328;
}

.bg-about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/03_about/03_C.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Section 4 Services Menu Styling */
.bg-services {
  position: relative;
  isolation: isolate;
  background-color: #e8e3dd;
  overflow: hidden;
}

.bg-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2396px;
  height: 932px;
  transform: translateX(-50%);
  background-image: url('../assets/04_services/04_bg.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 2396px 934px;
  pointer-events: none;
  z-index: -1;
}

.bg-service-card {
  background: linear-gradient(to bottom, #c7ccd3, #a9b5c4);
  box-shadow: 7px 7px 9px rgba(71, 79, 84, 0.25);
}

/* Section 5 Reasons Styling */
.bg-reasons {
  position: relative;
  isolation: isolate;
  background-color: #fff;
  overflow: hidden;
}

.bg-reasons::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1956px;
  height: 1270px;
  transform: translateX(-50%);
  background-image: url('../assets/05_reasons/05_bg.webp');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1956px 1270px;
  pointer-events: none;
  z-index: -1;
}

/* Section 7 Process Styling */
.bg-process {
  position: relative;
  isolation: isolate;
  background-color: #3a5268;
  overflow: hidden;
}

.bg-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/07_process/bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}

/* Section 8 FAQ Styling */
.bg-faq {
  position: relative;
  isolation: isolate;
  background-color: #efe9e8;
  overflow: hidden;
}

.bg-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/08_faq/bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}

/* Section 9 & 10: Contact Form Styling */
.bg-contact-form {
  position: relative;
  isolation: isolate;
  background-color: #3a3a3a;
  overflow: hidden;
}

.bg-contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/09_10_form/bg.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}

.vertical-title {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  text-orientation: upright;
  -webkit-text-orientation: upright;
}

.hero-vertical-text {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  font-family: 'Noto Serif JP', serif;
  font-weight: 900; /* Black */
  letter-spacing: 0.01em;
  line-height: 1.38;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
}




/* Hero Section Feature Boxes */
.hero-box-container {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 32px;
}

.hero-box {
  width: 161.9px;
  height: 151px;
  background-image: url('../assets/01_hero/Asset 5.webp');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-sizing: border-box;
  padding: 0 14px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.hero-box-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 34.01px;
  letter-spacing: -0.6px;
  color: #D1B38F;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 4px;
}

.hero-box-desc {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 18.07px;
  letter-spacing: -0.52px;
  color: #D1B38F;
  margin-top: 10px;
  text-align: left;
}

/* Responsive Scaling for Desktop Feature Boxes */
@media (max-width: 1550px) {
  .hero-box-container {
    gap: 12px;
    margin-top: 24px;
  }
}

@media (max-width: 1400px) {
  .hero-box-container {
    gap: 8px;
    margin-top: 20px;
  }
  .hero-box {
    width: 145px;
    height: 135px;
    padding: 0 12px;
  }
  .hero-box-title {
    font-size: 17px;
    line-height: 30px;
    height: 42px;
    margin-top: 3px;
  }
  .hero-box-desc {
    font-size: 11.5px;
    line-height: 16px;
    margin-top: 8px;
  }
}

@media (max-width: 1200px) {
  .hero-box-container {
    gap: 6px;
  }
  .hero-box {
    width: 126px;
    height: 118px;
    padding: 0 10px;
  }
  .hero-box-title {
    font-size: 14.5px;
    line-height: 26px;
    height: 36px;
    margin-top: 2px;
  }
  .hero-box-desc {
    font-size: 10px;
    line-height: 14px;
    margin-top: 6px;
  }
}

@media (max-width: 640px) {
  .hero-box-container {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
  }
  .hero-box {
    width: 161.9px;
    height: 151px;
    padding: 0 14px;
  }
  .hero-box-title {
    font-size: 20px;
    line-height: 34.01px;
    height: 48px;
    margin-top: 4px;
  }
  .hero-box-desc {
    font-size: 13px;
    line-height: 18.07px;
    margin-top: 10px;
  }
}