@charset "UTF-8";

/* ========================================================
   Variables & Reset
   ======================================================== */
:root {
  --color-primary: #0f1c2e;
  /* Deep Navy */
  --color-secondary: #ff6b35;
  /* Accent Orange for CTA */
  --color-secondary-hover: #e85a28;
  --color-text: #333333;
  --color-bg-light: #f4f5f7;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;

  --font-main: 'Noto Sans JP', 'Inter', 'Roboto', sans-serif;
  --easing-standard: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ========================================================
   Utilities & Animations
   ======================================================== */
/* Scroll Animation */
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--easing-standard), transform 1s var(--easing-standard);
}

.animate-slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* Glint / Shimmer Button */
.btn-glint {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background-color: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn-glint::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transform: skewX(-20deg);
  z-index: -1;
  animation: shine 3s infinite;
}

.btn-glint:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 107, 53, 0.4);
}

@keyframes shine {
  0% {
    left: -100%;
  }

  25% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* Hover Depth Card */
.hover-depth {
  transition: all 0.4s var(--easing-standard);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid var(--color-border);
}

.hover-depth:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

/* Float Badge */
.float-badge {
  position: absolute;
  top: -20px;
  right: -10px;
  background-color: #fff;
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--color-secondary);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ========================================================
   Header
   ======================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header__nav-list {
  display: flex;
  gap: 24px;
}

.header__nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #3b82f6;
  transition: width 0.3s ease;
}

.header__nav-link:hover::after {
  width: 100%;
}

/* Header Logo Wrap */
.header__logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.header__logo-link {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 40px;
  width: auto;
}

.header__logo-sub {
  font-size: 0.7rem;
  color: #64748b;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1.3;
}

/* Dropdown Submenu (hover-only) */
.nav-item-has-children {
  position: relative;
}

.nav-item-has-children > .header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item-has-children > .header__nav-link::before {
  content: none;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  z-index: 200;
  margin-top: 8px;
}

.nav-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sub-menu li {
  list-style: none;
}

.sub-menu .header__nav-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.sub-menu .header__nav-link:hover {
  background: #f0f4f9;
  color: var(--color-primary);
}

.sub-menu .header__nav-link::after {
  display: none;
}

.header__cta .btn-small {
  padding: 10px 24px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .header__nav-list {
    display: none;
  }
}

/* ========================================================
   Hero Section
   ======================================================== */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f9faec 100%);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero__content {
  flex: 1;
  max-width: 600px;
  position: relative;
}

/* Vertical Text Accent */
.hero__vert-text {
  position: absolute;
  left: -50px;
  top: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-secondary);
  font-weight: 700;
  opacity: 0.8;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 40px;
}

.hero__cta-wrapper {
  position: relative;
  display: inline-block;
}

.hero__visual {
  flex: 1;
  position: relative;
}

.hero__visual-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

/* Decor overlaps */
.hero__visual::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: 20px;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero__inner {
    flex-direction: column-reverse;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__vert-text {
    display: none;
  }
}

/* ========================================================
   Section Base
   ======================================================== */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section__title-en {
  display: block;
  font-size: 0.9rem;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================================================
   Problems Section
   ======================================================== */
.problems {
  background-color: var(--color-bg-light);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.problem__card {
  position: relative;
  padding: 40px 30px;
  text-align: center;
  background-color: #fff;
  border-radius: 16px;
  border: none;
}

.problem__card::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.problem__icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.problem__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

.problem__text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #444;
}

@media (max-width: 768px) {
  .problems__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   Strengths Section
   ======================================================== */
.strengths {
  background-color: var(--color-primary);
  color: #fff;
}

.strengths .section__title {
  color: #fff;
}

.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.strength__item {
  display: flex;
  align-items: center;
  gap: 60px;
}

.strength__item:nth-child(even) {
  flex-direction: row-reverse;
}

.strength__content {
  flex: 1;
}

.strength__num {
  font-size: 1.2rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.strength__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
}

.strength__desc {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.8;
}

.strength__visual {
  flex: 1;
  position: relative;
}

.strength__visual img {
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {

  .strength__item,
  .strength__item:nth-child(even) {
    flex-direction: column;
    gap: 30px;
  }
}

/* ========================================================
   FAQ Section
   ======================================================== */
.faq {
  background-color: #fff;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
}

.faq__q-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.faq__q-icon::before,
.faq__q-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq__q-icon::before {
  top: 11px;
  left: 4px;
  width: 16px;
  height: 2px;
}

.faq__q-icon::after {
  top: 4px;
  left: 11px;
  width: 2px;
  height: 16px;
}

.faq__item.is-open .faq__q-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.is-open .faq__a {
  max-height: 300px;
  /* arbitrary max height for smooth transition */
  padding-bottom: 24px;
}

.faq__a-text {
  color: #555;
  line-height: 1.7;
  padding-left: 16px;
  border-left: 3px solid var(--color-secondary);
}

/* ========================================================
   Company Section
   ======================================================== */
.company {
  background-color: #fff;
}

.company__table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.company__table th {
  width: 30%;
  font-weight: 700;
  color: var(--color-primary);
  background-color: rgba(244, 245, 247, 0.5);
}

.company__table tr:first-child th,
.company__table tr:first-child td {
  border-top: 1px solid var(--color-border);
}

@media (max-width: 600px) {

  .company__table th,
  .company__table td {
    display: block;
    width: 100%;
  }

  .company__table th {
    border-bottom: none;
    padding-bottom: 5px;
  }

  .company__table td {
    padding-top: 5px;
  }
}

/* ========================================================
   About Section
   ======================================================== */
.about {
  position: relative;
  background-image: url('../img/texture_bg.png');
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-light);
  /* fallback */
}

/* Add a semi-transparent overlay to ensure text readability against the texture */
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.about__inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__copy {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 30px;
  line-height: 1.5;
}

.about__text {
  font-size: 1.125rem;
  line-height: 2;
  color: #444;
}

/* ========================================================
   Contact Section
   ======================================================== */
.contact {
  background-color: var(--color-bg-light);
  padding: 120px 0;
}

.contact__form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background-color: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  /* floating effect */
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.form__label .required {
  color: #e53e3e;
  margin-left: 4px;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 150px;
}

.form__submit {
  margin-top: 20px;
  text-align: center;
}

.form__submit .btn-glint {
  width: 100%;
  max-width: 400px;
  padding: 20px;
  font-size: 1.25rem;
}

@media (max-width: 500px) {
  .contact__form-wrapper {
    padding: 30px 20px;
  }
}

/* ========================================================
   Footer
   ======================================================== */
.footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer__copy {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ========================================================
   Sticky Bottom CTA
   ======================================================== */
.sticky-bottom {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: rgba(15, 28, 46, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 100;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  transition: bottom 0.4s var(--easing-standard);
}

.sticky-bottom.is-active {
  bottom: 0;
}

.sticky-bottom__text {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .sticky-bottom {
    padding: 10px;
    gap: 10px;
  }

  .sticky-bottom__text {
    display: none;
  }

  .sticky-bottom .btn-small {
    width: 100%;
    max-width: 300px;
    padding: 12px;
  }
}

/* ========================================================
   Back to Top Button
   ======================================================== */
.page-top-btn {
  position: fixed;
  bottom: 80px;
  /* Above the sticky bottom banner */
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.page-top-btn.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top-btn:hover {
  background-color: var(--color-bg-light);
  transform: translateY(-3px);
}

/* ========================================================
   Custom Cursor
   ======================================================== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 107, 53, 0.6);
}

.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  /* Default invisible until mouse moves */
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
  /* Make visible when cursor matches document */
}