/* ============================================================
   TeamVoice Academy | main-dance-135.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary:    #069ae4;
  --primary-dk: #0083c6;
  --primary-lt: #50c2f6;
  --accent:     #ff6b35;
  --dark:       #1a1a2e;
  --text:       #333;
  --gray:       #666;
  --border:     #e0e0e0;
  --white:      #fff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

h2 span { color: var(--primary); }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dk); }

/* ===== LAYOUT HELPERS ===== */
.section-padding { padding: 80px 0; }
.banner-padding  { padding: 40px 20px; }
.left-padding    { padding-left: 40px; padding-right: 40px; }
.no-padding      { padding: 0; }

/* ===== HEADER / NAV ===== */
#new-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

#new-main .navbar { padding: 0; }

.header-img { height: 52px; }

.main-nav .nav-item > a {
  display: block;
  padding: 22px 18px;
  font-weight: 600;
  color: var(--dark);
  font-size: .95rem;
  transition: color .2s;
}
.main-nav .nav-item > a:hover { color: var(--primary); }
.main-nav .nav-item.contact > a {
  background: var(--primary);
  color: var(--white);
  border-radius: 4px;
  padding: 10px 22px;
  margin-left: 12px;
}
.main-nav .nav-item.contact > a:hover { background: var(--primary-dk); }

/* dropdown */
.dropdown-menu {
  border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 6px;
  min-width: 200px;
}
.dropdown-item { padding: 10px 20px; font-size: .9rem; color: var(--text); }
.dropdown-item:hover { background: #f0f7fc; color: var(--primary); }

/* ===== HERO (home-banner) ===== */
.home-banner {
  background: linear-gradient(135deg, #0a1628 0%, #0d2040 50%, #0a3060 100%);
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.home-banner .content-area h1 {
  color: var(--white);
  margin-bottom: 28px;
}
.home-banner .content-area p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.count-area { margin-top: 48px; }
.count-area .corner,
.count-area .corner2 {
  border-right: 1px solid rgba(255,255,255,.2);
  padding: 10px 20px 10px 0;
}
.count-area .corner2 { border-right: none; }
.count-area h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 4px; }
.count-area p   { color: rgba(255,255,255,.7); font-size: .85rem; margin: 0; }

/* diamond SVG container */
.home-banner .image-area {
  position: relative;
  height: 440px;
}
.home-banner .image-area svg,
.home-banner .image-area img {
  position: absolute;
}

/* ===== BUTTONS ===== */
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  padding: 12px 32px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6,154,228,.35);
}

.btn-cta {
  background: var(--white);
  color: var(--primary);
  border-radius: 4px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1rem;
  transition: all .25s;
  display: inline-block;
}
.btn-cta:hover {
  background: var(--primary-lt);
  color: var(--dark);
  transform: translateY(-2px);
}

.magnetic { display: inline-block; }

/* ===== FEATURE STRIP ===== */
.home-feature-program {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0;
}
.home-feature-program h2 { color: var(--white); margin-bottom: 28px; }
.home-feature-program .formdiv {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.home-feature-program .form-control {
  flex: 1;
  min-width: 220px;
  border-radius: 4px;
  border: none;
  padding: 12px 18px;
  font-size: .95rem;
}
.btn-performance {
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-performance:hover { background: #111; }

/* ===== ABOUT ===== */
.home-about { background: #f8fbff; }
.home-about .btn-area { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ===== BRANDING (dark video section) ===== */
.home-branding {
  background: var(--dark);
  color: var(--white);
}
.home-branding h2 { color: var(--white); }
.home-branding .text-white { color: rgba(255,255,255,.8) !important; }
.iframe-container { border-radius: 8px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.iframe-container iframe { display: block; aspect-ratio: 16/9; width: 100%; border: none; }

/* ===== SERVICES ===== */
.home-services { background: var(--white); padding-bottom: 60px; }
.home-services .content-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
  padding: 60px 40px 0;
}

.services-section .item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  height: 340px;
}
.services-section .item .image-area img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.services-section .item .img-hover { position: absolute; top: 0; left: 0; opacity: 0; transition: opacity .3s; }
.services-section .item:hover .img-normal { transform: scale(1.04); }
.services-section .item:hover .img-hover { opacity: 1; }
.services-section .item .content-area {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 100%);
  padding: 20px;
  color: var(--white);
}
.services-section .item .content-area h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.services-section .item .content-area p  { color: rgba(255,255,255,.8); font-size: .85rem; margin: 0; }
.services-section .item .arrow { margin-top: 10px; }
.services-section .item .arrow img { width: 24px; }

/* ===== WHY / FEATURES ===== */
.why-automate { background: #f8fbff; }
.why-automate .content h2 { margin-bottom: 20px; }
.why-automate .item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.why-automate .item img { width: 28px; flex-shrink: 0; margin-top: 2px; }
.why-automate .image-area img { width: 100%; border-radius: 8px; }

/* ===== PRICING (case studies репозиционирован под прайс) ===== */
.home-recent-work { background: var(--white); }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(6,154,228,.15);
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f3fe 100%);
  position: relative;
}
.pricing-card.featured::before {
  content: '人気';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
}
.pricing-card .price {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin: 20px 0 6px;
}
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0 28px; text-align: left; }
.pricing-card ul li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li i { color: var(--primary); margin-right: 8px; }

/* ===== INDUSTRIES / RESULTS ===== */
.home-industries { background: #f8fbff; }
.home-industries .item {
  padding: 28px 20px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  transition: box-shadow .2s;
}
.home-industries .item:hover { box-shadow: 0 8px 24px rgba(6,154,228,.12); }
.home-industries .item img.blue  { display: block; }
.home-industries .item img.white { display: none; }
.home-industries .item:hover img.blue  { display: none; }
.home-industries .item:hover img.white { display: block; }
.home-industries .item p { margin: 12px 0 0; font-weight: 600; font-size: .9rem; }

/* ===== CLIENTS / testimonials ===== */
.home-clients { background: var(--white); }
.home-clients .owl-carousel .item { padding: 10px 20px; text-align: center; }
.home-clients .owl-carousel .item img { max-height: 60px; filter: grayscale(1); opacity: .6; transition: all .2s; }
.home-clients .owl-carousel .item img:hover { filter: grayscale(0); opacity: 1; }

/* testimonial cards */
.testimonial-card {
  background: #f8fbff;
  border-radius: 10px;
  padding: 28px;
  margin: 12px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary-lt);
  position: absolute;
  top: 8px; left: 18px;
  line-height: 1;
}
.testimonial-card p { font-style: italic; padding-top: 28px; }
.testimonial-card .author { font-weight: 700; margin-top: 14px; font-size: .9rem; }

/* ===== FEEDBACK ===== */
.home-customer-feedback { background: var(--dark); }
.home-customer-feedback h2 { color: var(--white); }
.home-customer-feedback h2 span { color: var(--primary-lt); }

/* ===== CTA STRIP ===== */
.section.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dk) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.section.cta .content-area h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); }
.section.cta .content-area p  { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.section.cta .bg-img {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: auto;
  opacity: .08;
  pointer-events: none;
}

/* ===== FOOTER ===== */
.main-footer { background: var(--dark); color: rgba(255,255,255,.8); padding: 60px 0; }
.main-footer .container-fluid { padding-left: 60px; padding-right: 60px; }
.main-footer h3 { color: var(--white); font-size: 1.1rem; }
.main-footer .phone a, .main-footer .mail a { color: var(--primary-lt); text-decoration: none; }
.main-footer .phone a:hover, .main-footer .mail a:hover { color: var(--white); }

.footer-social { list-style: none; padding: 0; display: flex; gap: 12px; margin-bottom: 20px; }
.footer-social li a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background .2s;
}
.footer-social li a:hover { background: var(--primary); }

.footer-links, .footer-products { list-style: none; padding: 0; }
.footer-links li, .footer-products li { margin-bottom: 10px; }
.footer-links li a, .footer-products li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; }
.footer-links li a:hover, .footer-products li a:hover { color: var(--white); }
.footer-products h3 { margin-bottom: 16px; }

.emailer {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 4px;
  padding: 10px 14px;
  width: 100%;
  margin-bottom: 10px;
}
.emailer::placeholder { color: rgba(255,255,255,.5); }
.button-subscribe {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 10px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  width: 100%;
}
.button-subscribe:hover { background: var(--primary-dk); }

.copyright {
  background: #111;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.copyright .container-fluid { padding-left: 60px; padding-right: 60px; }
.copyright .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
}
.copyright ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; }
.copyright ul li a { color: rgba(255,255,255,.5); transition: color .2s; }
.copyright ul li a:hover { color: var(--white); }
.copyright ul li.forward { color: rgba(255,255,255,.25); }
.copyright a { color: var(--primary-lt); }

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  padding: 48px 40px;
}
.contact-form-wrap .form-control {
  border-radius: 4px;
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: .95rem;
  transition: border-color .2s;
  width: 100%;
  margin-bottom: 18px;
}
.contact-form-wrap .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6,154,228,.15);
}
.contact-form-wrap textarea { height: 140px; resize: vertical; }
.contact-form-wrap .btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 14px 40px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s, transform .2s;
}
.contact-form-wrap .btn-submit:hover {
  background: var(--primary-dk);
  transform: translateY(-2px);
}

/* map / info */
.contact-info-block {
  padding: 32px;
  background: #f8fbff;
  border-radius: 10px;
  height: 100%;
}
.contact-info-block .info-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-info-block .info-item i {
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-block .info-item .text h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-block .info-item .text p  { margin: 0; color: var(--gray); font-size: .9rem; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0a1628 0%, #0d2040 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p   { color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ===== ABOUT PAGE ===== */
.about-mission { background: #f8fbff; }
.about-values .value-item {
  padding: 28px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 24px;
  border-left: 4px solid var(--primary);
}
.about-values .value-item h4 { margin-bottom: 8px; }

/* ===== COOKIES BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a2e;
  color: rgba(255,255,255,.9);
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p { margin: 0; font-size: .9rem; flex: 1; }
#cookie-banner a { color: var(--primary-lt); text-decoration: underline; }
#cookie-banner .cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-banner .btn-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 9px 22px;
  font-weight: 600;
  cursor: pointer;
  font-size: .9rem;
  transition: background .2s;
}
#cookie-banner .btn-accept:hover { background: var(--primary-dk); }
#cookie-banner .btn-decline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  padding: 9px 18px;
  cursor: pointer;
  font-size: .85rem;
  transition: all .2s;
}
#cookie-banner .btn-decline:hover { border-color: rgba(255,255,255,.6); color: var(--white); }

/* ===== CONTENT SECTIONS (privacy, terms, cookies info) ===== */
.content-page { padding: 60px 0 80px; }
.content-page h2 { margin-top: 40px; margin-bottom: 12px; font-size: 1.3rem; }
.content-page h3 { margin-top: 28px; font-size: 1.1rem; }
.content-page p, .content-page li { color: #444; line-height: 1.8; }
.content-page ul, .content-page ol { padding-left: 24px; }
.content-page li { margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .home-banner { min-height: auto; padding: 60px 0; }
  .home-banner .image-area { display: none !important; }
  .section-padding { padding: 60px 0; }
  .left-padding { padding-left: 20px; padding-right: 20px; }
  .contact-form-wrap { padding: 36px 24px; }
  .main-footer .container-fluid { padding-left: 30px; padding-right: 30px; }
  .copyright .container-fluid { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 48px 0; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .copyright .content { flex-direction: column; text-align: center; }
  .home-services .content-area { padding: 40px 20px 0; flex-direction: column; align-items: flex-start; }
  .pricing-card { margin-bottom: 24px; }
}

@media (max-width: 575.98px) {
  .left-padding { padding-left: 15px; padding-right: 15px; }
  .contact-form-wrap { padding: 28px 18px; }
  #cookie-banner { padding: 16px 18px; }
}
