/*
Theme Name: Aston Partners
Theme URI: https://astonpartners.co.jp
Description: 株式会社Aston Partners公式ウェブサイト用WordPressテーマ。企業の持続的な成長と価値創造を支援するプロフェッショナルサービス企業向けのコーポレートサイトテーマです。
Author: Aston Partners
Author URI: https://astonpartners.co.jp
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aston-partners
Domain Path: /languages
Tags: business, corporate, professional, responsive, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

Aston Partners WordPress Theme
Copyright (C) 2024 Aston Partners Co., Ltd.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

/* Accessibility */
.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  background: #0f172a;
  color: white;
  padding: 8px 16px;
  position: absolute;
  top: -40px;
  left: 6px;
  z-index: 999999;
  text-decoration: none;
}

.skip-link:focus {
  top: 6px;
}

/* Layout */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

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


/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.site-branding .site-title {
  margin: 0;
}

.site-branding .site-title a {
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.site-branding .custom-logo-link img {
  max-height: 30px;
  width: auto;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: white;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(4) {
  transform: rotate(-45deg) translate(6px, -6px);
}



/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url("https://astp.co.jp/wp-content/uploads/2025/07/drop-of-water-578897_1280.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(51, 65, 85, 0.3) 100%);
}

.hero-content {
  position: relative;
  padding-bottom: 96px;
  max-width: 80%;
}

.hero-text {
  font-size: clamp(20px, 4vw, 32px);
  line-height: 1.5;
  margin-bottom: 48px;
  color: #cbd5e1;
  font-weight: 300;
  max-width: 800px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: white;
  color: #0f172a;
}

.btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline:hover {
  background: white;
  color: #0f172a;
  transform: translateY(-2px);
}

.btn-dark {
  background: #0f172a;
  color: white;
}

.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}



/* Section Styles */
section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: #0f172a;
  margin-bottom: 24px;
}

.section-divider {
  width: 96px;
  height: 1px;
  background: #0f172a;
  margin: 0 auto 32px;
}

.section-description {
  font-size: 18px;
  color: #64748b;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Feature Items */
.feature-item {
  border-left: 2px solid #0f172a;
  padding-left: 24px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-left-color: #3b82f6;
  transform: translateX(4px);
}

.feature-item h3 {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 12px;
}

.feature-item p {
  color: #64748b;
  font-weight: 300;
  line-height: 1.6;
}


/* About Section */
.about-section {
  background: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 18px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Business Section */
.business-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1400px;
  margin: 0 auto;
}

.business-item {
  padding: 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.business-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.business-item h3 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 300;
  color: #0f172a;
  margin-bottom: 16px;
}

.business-subtitle {
  color: #64748b;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.business-description {
  font-size: 18px;
  color: #374151;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.services-list h4 {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 24px;
}

.service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-item:hover {
  background: #f8fafc;
  transform: translateX(8px);
}

.service-item::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #0f172a;
  border-radius: 50%;
  margin-top: 8px;
  margin-right: 16px;
  flex-shrink: 0;
}

.service-item div {
  flex: 1;
}

.service-item h5 {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 4px;
  font-size: 16px;
}

.service-item p {
  color: #64748b;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.investment-results {
  background: #f8fafc;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.investment-results h4 {
  font-size: 20px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 24px;
}

.result-item {
  border-left: 2px solid #cbd5e1;
  padding-left: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.result-item:hover {
  border-left-color: #3b82f6;
  transform: translateX(4px);
}

.result-item h5 {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 8px;
  font-size: 16px;
}

.result-item p {
  color: #64748b;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}


/* SellsideLab Section */
.sellsidelab-section {
  background: #f8fafc;
}

.sellsidelab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.sellsidelab-content p {
  font-size: 18px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 300;
}

.sellsidelab-content .btn {
  margin-top: 16px;
}

.sellsidelab-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sellsidelab-results h3 {
  font-size: clamp(28px, 4vw, 32px);
  font-weight: 300;
  color: #0f172a;
  text-align: center;
  margin-bottom: 32px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.result-card {
  background: white;
  padding: 32px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #cbd5e1;
}

.result-card h4 {
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.4;
}

.result-card p {
  color: #64748b;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}



/* Contact Section */
.contact-section {
  background: #0f172a;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.company-profile h3 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 300;
  margin-bottom: 32px;
}

.company-table {
  background: rgba(255, 255, 255, 0.1);
  padding: 32px 24px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

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

.company-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table td {
  padding: 16px 0;
  font-weight: 300;
  vertical-align: top;
}

.company-table td:first-child {
  color: #cbd5e1;
  width: 30%;
  font-size: 14px;
}

.company-table td:last-child {
  color: white;
  font-size: 16px;
}

.contact-form-card {
  background: white;
  color: #0f172a;
  padding: 40px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-card h3 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 32px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #374151;
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-weight: 300;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

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

.btn-submit {
  width: 100%;
  background: #0f172a;
  color: white;
  padding: 16px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.btn-submit:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

.contact-message {
  margin-top: 20px;
  padding: 16px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
}

.contact-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.contact-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
  background: #020617;
  color: white;
  padding: 64px 0;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-main h3 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 300;
  margin-bottom: 16px;
}

.site-description {
  color: #94a3b8;
  font-weight: 300;
  line-height: 1.6;
}

.footer-links h4 {
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-links ul,
.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 300;
}

.footer-legal {
  display: flex;
  gap: 32px;
}

.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid,
  .business-grid,
  .sellsidelab-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .results-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
  }

  .main-navigation.active {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 16px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 64px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  section {
    padding: 64px 0;
  }

  .business-item {
    padding: 24px;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero-content {
    padding-bottom: 48px;
  }

  section {
    padding: 48px 0;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    padding: 24px 20px;
  }

  .contact-form-card {
    padding: 24px 20px;
  }
}

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

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

/* Print Styles */
@media print {
  .site-header,
  .hero-section,
  .contact-form-wrapper,
  .site-footer {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .section-header h2 {
    font-size: 18pt;
    margin-bottom: 12pt;
  }
}