* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

.mv {
  width: 100%;
  overflow: hidden;
  margin-top: -2.5%;
  position: relative;
  z-index: -1;
}

.mv.mv-variant-b {
  margin-top: 0;
}

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

section {
  width: 100%;
  overflow: visible;
  position: relative;
}

section#sec1 {
  z-index: 9;
}

section#sec2 {
  z-index: 8;
  margin-top: -4vw;
}

section#sec3 {
  z-index: 7;
  margin-top: -6vw;
}

section#sec4 {
  z-index: 6;
  position: relative;
  margin-top: -4.5vw;
}

section#sec5 {
  z-index: 5;
  margin-top: -4.5vw;
}

/* Section 6 Background - stays below sec5 */
section#sec6-bg {
  z-index: 4;
  background-color: #1e5ad6;
  min-height: 120vh;
  margin-top: -5vw;
}

/* Section 6 Content - stays above sec5 */
section#sec6 {
  z-index: 10;
  min-height: 120vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: calc(-120vh - 7rem);
  background: transparent;
}

section#sec6 img {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  transform: translateX(-4rem);
}

.video-placeholder {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 80px auto -6rem;
  display: block;
}

.video-placeholder video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #000;
}

.video-placeholder .video-sp {
  display: none;
}

.video-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: none !important;
}

section#sec7 {
  z-index: 3;
  position: relative;
}

section#sec8 {
  z-index: 3;
  margin-top: -5vw;
}

section#sec9 {
  z-index: 1;
  margin-top: -7vw;
}

section img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.01);
}

.section-cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

section#sec4 .section-cta {
  bottom: 200px;
}

section#sec7 .section-cta {
  bottom: 300px;
}

.section-cta a {
  display: block;
  transition: opacity 0.3s ease;
}

.section-cta a:hover {
  opacity: 0.8;
}

.section-cta img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.button-container {
  text-align: center;
  padding: 20px;
}

.cta-button {
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.8;
}

.cta-button img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

/* Header Styles */
.header {
  background-color: #1e5ad6;
  position: relative;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 20px 40px;
}

.header-container .logo {
  margin-right: auto;
}

.header-container .nav {
  margin-right: 30px;
}

.logo h1 {
  color: white;
  font-size: 42px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.logo h1 .company-prefix {
  font-size: 20px;
  line-height: 1.2;
  margin-right: 8px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-item a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: 2px solid white;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-item a:hover {
  color: #ffed00;
  border-bottom: 2px solid #ffed00;
}

.nav-item .icon {
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-item a:hover .icon {
  color: #ffed00;
}

.header-cta-btn {
  background-color: #ffed00;
  color: #1e5ad6;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.header-cta-btn:hover {
  opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.header-cta-btn-mobile {
  display: none;
}

.header-cta-btn-desktop {
  display: inline-block;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Contact Form Styles */
.contact-section {
  background-image: url("img/sec9.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 40px 120px;
  position: relative;
}

.contact-container {
  max-width: 780px;
  margin: 0 auto;
  background-color: #f5f5f5;
  padding: 60px 50px;
  border-radius: 12px;
}

.contact-title {
  color: #1e5ad6;
  font-size: 56px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

.contact-description {
  color: #1e5ad6;
  font-size: 17px;
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.9;
}

.contact-form {
  background-color: transparent;
  padding: 0;
}

.form-group {
  margin-bottom: 50px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.badge {
  font-size: 13px;
  padding: 5px 18px;
  border-radius: 25px;
  font-weight: 500;
}

.badge-required {
  background-color: #1e5ad6;
  color: white;
}

.badge-optional {
  background-color: transparent;
  color: #1e5ad6;
  border: 2px solid #1e5ad6;
  padding: 3px 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 20px 22px;
  font-size: 16px;
  border: 1px solid #c5c5c5;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background-color: white;
}

.form-input {
  height: 65px;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #1e5ad6;
}

.form-textarea {
  resize: vertical;
  min-height: 260px;
}

.form-submit {
  width: 100%;
  background-color: #1e5ad6;
  color: white;
  font-size: 22px;
  font-weight: bold;
  padding: 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-bottom: 25px;
}

.form-submit:hover {
  opacity: 0.9;
}

.form-note {
  font-size: 13px;
  color: #333;
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

/* Footer Styles */
.footer {
  background-color: #2563eb;
  color: white;
  padding: 80px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
}

.footer-links {
  display: flex;
  gap: 100px;
  flex: 0 0 auto;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.footer-column a::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-58%);
  font-weight: bold;
  font-size: 28px;
  line-height: 1;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffed00;
}

.footer-column a:hover::before {
  color: #ffed00;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-logo h2 {
  color: white;
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
}

.footer-logo h2 .company-prefix {
  font-size: 20px;
  line-height: 1.2;
  margin-right: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.line-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-details p {
  margin: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
}

.footer-details .icon {
  font-size: 24px;
}

.footer-details .phone {
  font-size: 20px;
  font-weight: 500;
}

.footer-details .license .label-left {
  display: block;
}

.footer-details .license .license-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.footer-details .license .license-number {
  font-size: 18px;
}

.footer-details .address a,
.footer-details .phone-link {
  color: white;
  text-decoration: none;
}

.footer-details .address a {
  transition: color 0.3s ease;
}

.footer-details .address a:hover {
  color: #ffed00;
}

.footer-details .phone-link {
  pointer-events: none;
  cursor: default;
  transition: color 0.3s ease;
}

/* SP only: Enable phone link on mobile */
@media (max-width: 768px) {
  .footer-details .phone-link {
    pointer-events: auto;
    cursor: pointer;
  }

  .footer-details .phone-link:hover {
    color: #ffed00;
  }
}

/* Responsive Design */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  section {
    margin-top: -60px;
  }

  .hamburger {
    display: flex;
  }

  .header-container {
    padding: 20px 30px;
    position: relative;
  }

  .header-container .logo {
    margin-right: 0;
  }

  .header-container .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: #1e5ad6;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    margin-right: 0;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-item a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    border-bottom: none;
  }

  .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 10px;
  }

  .header-cta-btn-desktop {
    display: none;
  }

  .header-cta-btn-mobile {
    display: block;
    background-color: #ffed00;
    color: #1e5ad6;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    margin-top: 30px;
  }

  .logo h1 {
    font-size: 36px;
  }

  .logo h1 .company-prefix {
    font-size: 17px;
    margin-right: 6px;
  }

  .footer {
    padding: 60px 40px;
  }

  .footer-container {
    flex-direction: column;
    gap: 50px;
  }

  .footer-links {
    flex-direction: row;
    gap: 40px;
    width: 100%;
  }

  .footer-column {
    gap: 25px;
    flex: 1;
  }

  .footer-column a {
    font-size: 16px;
  }

  .footer-info {
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }

  .footer-logo {
    flex-direction: row;
    gap: 20px;
  }

  .footer-logo h2 {
    font-size: 32px;
  }

  .footer-logo h2 .company-prefix {
    font-size: 15px;
    margin-right: 8px;
  }

  .line-icon {
    width: 60px;
    height: 60px;
  }

  .footer-details p {
    font-size: 14px;
  }

  .footer-details .license .license-number {
    font-size: 14px;
  }

  .footer-details .address a {
    margin-left: 0;
  }

  .contact-container {
    max-width: 700px;
    padding: 50px 40px;
  }

  .contact-title {
    font-size: 42px;
  }

  .contact-description {
    font-size: 16px;
    margin-bottom: 50px;
  }

  .form-group {
    margin-bottom: 40px;
  }

  .form-label {
    font-size: 17px;
  }

  .form-input {
    height: 60px;
  }

  .form-textarea {
    min-height: 220px;
  }

  .form-submit {
    font-size: 20px;
  }

  .section-cta img {
    max-width: 350px;
  }

  section#sec4 .section-cta {
    bottom: 80px;
  }

  section#sec7 .section-cta {
    bottom: 130px;
  }

  section#sec6 {
    min-height: 90vh;
    margin-top: calc(-90vh - 3rem);
    padding: 40px 0;
  }

  section#sec6-bg {
    min-height: 90vh;
  }

  section#sec6 img {
    max-width: 800px;
    transform: translateX(0);
  }

  .video-placeholder {
    max-width: 800px;
    margin: 40px auto -3rem;
  }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .header-container {
    justify-content: space-between;
    padding: 20px;
    position: relative;
  }

  .header-container .logo {
    margin-right: 0;
  }

  .header-container .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #1e5ad6;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    margin-right: 0;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-item a {
    display: block;
    padding: 15px 0;
    font-size: 15px;
    border-bottom: none;
  }

  .nav-item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 10px;
  }

  .header-cta-btn-desktop {
    display: none;
  }

  .header-cta-btn-mobile {
    display: block;
    background-color: #ffed00;
    color: #1e5ad6;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    margin-top: 30px;
  }

  .logo h1 {
    font-size: 28px;
  }

  .logo h1 .company-prefix {
    font-size: 13px;
    margin-right: 5px;
  }

  .mv {
    margin-top: -2%;
  }

  section#sec1 {
    margin-top: 0;
  }

  section#sec7 {
    margin-top: 0;
    transform: scale(1.1);
  }

  section#sec8 {
    transform: scale(1.2);
    margin-top: 8vw;
  }

  section#sec9 {
    margin-top: 9vw;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 35px;
  }

  .footer-links {
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
  }

  .footer-column {
    gap: 18px;
    flex: 1;
  }

  .footer-column a {
    font-size: 15px;
    padding-left: 18px;
  }

  .footer-column a::before {
    font-size: 24px;
  }

  .footer-logo {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }

  .footer-logo h2 {
    font-size: 24px;
  }

  .footer-logo h2 .company-prefix {
    font-size: 11px;
    margin-right: 5px;
  }

  .line-icon {
    width: 45px;
    height: 45px;
  }

  .footer-details {
    width: 100%;
  }

  .footer-details p {
    justify-content: flex-start;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 5px;
  }

  .footer-details .icon {
    font-size: 18px;
  }

  .footer-details .address a {
    margin-left: 0;
    display: block;
  }

  .footer-details .license .license-content {
    align-items: flex-start;
  }

  .footer-details .license .license-number {
    font-size: 13px;
  }

  .contact-section {
    padding: 50px 20px 70px;
  }

  .contact-container {
    max-width: 100%;
    padding: 35px 20px;
  }

  .contact-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .contact-description {
    font-size: 14px;
    margin-bottom: 35px;
  }

  .form-group {
    margin-bottom: 30px;
  }

  .form-label {
    font-size: 15px;
    margin-bottom: 8px;
    gap: 8px;
  }

  .badge {
    font-size: 12px;
    padding: 3px 14px;
  }

  .form-input {
    height: 50px;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 6px;
  }

  .form-textarea {
    min-height: 180px;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 6px;
  }

  .form-submit {
    font-size: 17px;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 15px;
  }

  .form-note {
    font-size: 11px;
  }

  .section-cta {
    bottom: 40px;
  }

  .section-cta img {
    max-width: 230px;
  }

  section#sec4 .section-cta {
    bottom: 40px;
  }

  section#sec7 .section-cta {
    bottom: 80px;
  }

  section#sec6 {
    min-height: 110vh;
    margin-top: calc(-110vh - 3rem);
    padding: 30px 0;
  }

  section#sec6-bg {
    min-height: 110vh;
  }

  section#sec6 img {
    max-width: 90%;
    transform: translateX(0);
  }

  .video-placeholder {
    max-width: 90%;
    margin: 30px auto 2rem;
  }

  .video-placeholder video,
  .video-placeholder img {
    border-radius: 4px;
  }

  .video-placeholder .video-pc {
    display: none;
  }

  .video-placeholder .video-sp {
    display: block;
  }
}
