/* ========================================
   Tukuru Corporate Website
   ======================================== */

/* ----------------------------------------
   CSS Variables
   ---------------------------------------- */
:root {
  --color-primary: #0066CC;
  --color-primary-dark: #004499;
  --color-primary-light: #E8F2FC;
  --color-white: #FFFFFF;
  --color-bg-sub: #F5F8FC;
  --color-text: #333333;
  --color-text-sub: #666666;
  --color-border: #E0E0E0;

  --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-height: 80px;
  --container-width: 1200px;
  --section-padding: 100px;
  --section-padding-sp: 60px;

  --transition: 0.3s ease;
}

/* ----------------------------------------
   Reset & Base
   ---------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 74, 173, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 120, 200, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(0, 150, 220, 0.05) 0%, transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f0f6fc 50%, #e8f2fc 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-lg {
  padding: 18px 60px;
  font-size: 16px;
}

/* ----------------------------------------
   Header
   ---------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--color-white);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo-text {
  font-size: 14px;
  font-weight: 900;
  color: #004aad;
  letter-spacing: 0.08em;
  margin-top: -8px;
  -webkit-text-stroke: 0.5px #004aad;
}

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

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 767px) {
  .header {
    height: 60px;
  }

  .logo-text {
    font-size: 11px;
  }

  .logo-img {
    height: 28px;
  }

  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-white);
    padding: 40px 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav.active {
    transform: translateX(0);
  }

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

  .nav-link {
    display: block;
    padding: 20px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(0, 120, 200, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 180, 255, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 60%, rgba(100, 150, 255, 0.15) 0%, transparent 40%),
    linear-gradient(135deg, #004aad 0%, #0066cc 50%, #0080dd 100%);
}

.hero-bg-overlay {
  display: none;
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 0 20px;
}

.hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.8;
}

.hero .btn-primary {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.hero .btn-primary:hover {
  background-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
  .hero {
    min-height: 500px;
    padding-top: 60px;
  }

  .hero-title {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }
}

/* ----------------------------------------
   Section Common
   ---------------------------------------- */
.section {
  padding: var(--section-padding) 0;
}

.section:nth-child(odd) {
  background: rgba(255, 255, 255, 0.7);
}

.section:nth-child(even) {
  background: rgba(0, 74, 173, 0.03);
}


.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(0, 74, 173, 0.3);
  letter-spacing: 0.08em;
  order: 2;
  margin-top: -2px;
}

.section-title-ja {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.15em;
  order: 1;
}

@media (max-width: 767px) {
  .section {
    padding: var(--section-padding-sp) 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 14px;
  }

  .section-title-ja {
    font-size: 20px;
  }
}

/* ----------------------------------------
   Service Section
   ---------------------------------------- */
.service {
  background: transparent;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.service-card-text {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

@media (max-width: 1023px) {
  .service-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px 24px;
  }
}

/* ----------------------------------------
   Flow Section
   ---------------------------------------- */
.flow {
  background: transparent;
}

.flow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.flow-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.flow-step-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.flow-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.flow-step-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}

.flow-step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.flow-step-text {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding-top: 56px;
}

.flow-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  opacity: 0.5;
}

@media (max-width: 1023px) {
  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .flow-step {
    max-width: 100%;
  }

  .flow-arrow {
    display: none;
  }
}

/* ----------------------------------------
   Company Section
   ---------------------------------------- */
.company {
  background: transparent;
}

.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

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

.company-table th {
  width: 180px;
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-bg-sub);
}

.company-table td {
  color: var(--color-text-sub);
}

@media (max-width: 767px) {
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 16px;
  }

  .company-table th {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 0;
  }
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.contact {
  background: transparent;
}

.contact-lead {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-sub);
  margin-bottom: 48px;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background-color: var(--color-white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text);
}

.required {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

.form-submit {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 767px) {
  .contact-form {
    padding: 32px 20px;
  }
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  background-color: #004aad;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer-logo .logo-text {
  color: var(--color-white);
  font-size: 12px;
  margin-top: -6px;
}

.footer-logo .logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ----------------------------------------
   Modal
   ---------------------------------------- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 74, 173, 0.2);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 16px;
}

.modal-message {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 24px;
}

.modal-close {
  min-width: 120px;
}
