/*
Theme Name: AXT Theme
Description: 株式会社アクスト コーポレートサイト
Version: 1.0
*/

/* リセット・基本設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  color: #333;
}
a {
  text-decoration: none;
  color: inherit;
}
section {
  padding: 100px 20px;
}
.section-title {
  text-align: center;
  margin-bottom: 60px;
}
.section-title h3 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 10px;
}
.section-title p {
  color: #777;
  font-size: 16px;
}

/* ローディング画面 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loading-logo {
  width: 120px;
  margin-bottom: 30px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}
.loading-bar {
  width: 200px;
  height: 3px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}
.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
  animation: loading 1s ease-in-out infinite;
}
@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo img {
  height: 70px;
  transition: all 0.3s ease;
}
.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 5px 15px rgba(231, 76, 60, 0.3));
}
nav {
  display: flex;
  gap: 35px;
}
nav a {
  color: #2c3e50;
  font-weight: 500;
  position: relative;
  padding: 8px 16px;
  border-radius: 25px;
  transition: all 0.4s ease;
}
nav a:hover {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

/* ヒーロー */
.hero {
  height: 70vh;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(243, 156, 18, 0.05) 100%), url('https://a-x-t.co.jp/wp-content/uploads/2026/02/42c4119e82b97f3a53929e9082ef4ae0.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}
.hero-content h2 {
  font-size: 48px;
  color: #2c3e50;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}
.hero-content p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.3s both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  color: white;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease 0.6s both;
}
.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
}

/* サービス */
#services {
  padding: 100px 20px;
  background: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: block;
  text-decoration: none;
  transition: all 0.4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover img {
  transform: scale(1.05);
}
.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  text-align: center;
}
.service-overlay h4 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}
.service-link {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  background: rgba(255,255,255,0.2);
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 30px;
  margin-top: 10px;
  transition: all 0.3s ease;
}
.service-card:hover .service-link {
  background: #fff;
  color: #1a1a1a;
}

/* 特徴セクション */
.features {
  background: #fff;
  padding: 100px 20px;
}
.features-list {
  max-width: 1100px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding: 80px 0;
}
.feature-item.reverse {
  flex-direction: row-reverse;
}
.feature-content {
  flex: 1;
  max-width: 450px;
}
.feature-content h4 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e74c3c;
  display: inline-block;
}
.feature-content p {
  color: #555;
  line-height: 2;
  font-size: 15px;
}
.feature-image {
  flex: 0 0 500px;
}
.feature-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* 実績数字 */
.stats {
  background: #2c3e50;
  padding: 60px 20px;
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
}
.stat-item h4 {
  font-size: 48px;
  color: #f39c12;
  margin-bottom: 10px;
}
.stat-item p {
  color: #ccc;
  font-size: 14px;
}

/* お問い合わせ */
.contact {
  background: #f8f9fa;
  padding: 100px 20px;
  text-align: center;
}
.contact-container {
  max-width: 800px;
  margin: 0 auto;
}
.contact-lead {
  font-size: 20px;
  color: #333;
  line-height: 2;
  margin-bottom: 50px;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}
.btn-contact {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  padding: 25px 70px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.btn-contact:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.btn-tel {
  display: inline-block;
  background: #fff;
  color: #1a1a1a;
  padding: 25px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
}
.btn-tel:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-3px);
}
.btn-tel i {
  margin-right: 10px;
}
.contact-hours {
  font-size: 16px;
  color: #777;
}

/* フッター */
footer {
  background: #1a252f;
  color: #fff;
  padding: 60px 50px 30px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-column h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #fff;
}
.footer-column p,
.footer-column a {
  font-size: 14px;
  color: #aaa;
  line-height: 2;
  display: block;
}
.footer-column a:hover {
  color: #f39c12;
}
.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid #2c3e50;
  color: #666;
  font-size: 12px;
}

/* ページヒーロー */
.page-hero {
  background: linear-gradient(135deg, #e74c3c, #f39c12);
  padding: 120px 20px 60px;
  text-align: center;
  margin-top: 100px;
}
.page-hero h1 {
  font-size: 36px;
  color: #fff;
}

/* 会社概要ページ */
.company-section {
  padding: 80px 20px;
  background: #fff;
}
.company-container {
  max-width: 900px;
  margin: 0 auto;
}
.company-intro {
  text-align: center;
  color: #333;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 60px;
}
.company-table {
  border-top: 1px solid #ddd;
}
.company-row {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 25px 0;
}
.company-label {
  width: 200px;
  font-weight: 700;
  color: #1a1a1a;
  flex-shrink: 0;
}
.company-value {
  flex: 1;
  color: #555;
  line-height: 1.8;
}

/* 代表挨拶 */
.greeting-section {
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}
.greeting-section h2 {
  font-size: 28px;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 15px;
  border-bottom: 3px solid #e74c3c;
  display: inline-block;
  width: 100%;
}
.greeting-content {
  max-width: 800px;
  margin: 0 auto;
}
.greeting-content p {
  color: #555;
  line-height: 2.2;
  margin-bottom: 25px;
  font-size: 15px;
}
.company-name-origin {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 40px 0;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 15px;
}
.origin-word {
  text-align: center;
}
.origin-large {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.origin-large .highlight {
  color: #e74c3c;
}
.origin-meaning {
  display: block;
  font-size: 14px;
  color: #777;
}
.greeting-signature {
  margin-top: 50px;
  text-align: right;
}
.greeting-signature p {
  margin-bottom: 5px;
}
.signature-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

/* お問い合わせページ */
.contact-page {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}
.contact-page-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
}
.contact-info-column {
  flex: 1;
  padding: 40px 0;
}
.contact-info-column h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}
.contact-info-lead {
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 35px;
}
.contact-info-icon {
  width: 24px;
  color: #555;
  font-size: 20px;
  padding-top: 3px;
}
.contact-info-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.contact-info-number {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}
.contact-info-note {
  font-size: 13px;
  color: #888;
}
.contact-info-content p {
  color: #555;
  line-height: 1.8;
}

/* フォーム */
.contact-form-column {
  flex: 1;
  background: #fff;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* Contact Form 7 スタイル */
.contact-form-column .wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}
.contact-form-column .wpcf7-form .required {
  color: #e74c3c;
}
.contact-form-column .wpcf7-form input[type="text"],
.contact-form-column .wpcf7-form input[type="email"],
.contact-form-column .wpcf7-form input[type="tel"],
.contact-form-column .wpcf7-form select,
.contact-form-column .wpcf7-form textarea {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  margin-bottom: 20px;
  transition: border-color 0.3s ease;
}
.contact-form-column .wpcf7-form input:focus,
.contact-form-column .wpcf7-form select:focus,
.contact-form-column .wpcf7-form textarea:focus {
  outline: none;
  border-color: #e74c3c;
}
.contact-form-column .wpcf7-form textarea {
  min-height: 150px;
}
.contact-form-column .wpcf7-form .wpcf7-acceptance {
  margin-bottom: 20px;
}
.contact-form-column .wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #1a1a1a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form-column .wpcf7-form input[type="submit"]:hover {
  background: #333;
}

/* 事業内容ページ */
.services-page {
  padding: 80px 20px;
  background: #fff;
}
.services-page-container {
  max-width: 1100px;
  margin: 0 auto;
}
.services-page-intro {
  text-align: center;
  font-size: 18px;
  color: #333;
  line-height: 2;
  margin-bottom: 60px;
}
.service-block {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.service-block.reverse {
  flex-direction: row-reverse;
}
.service-block-image {
  flex: 0 0 45%;
}
.service-block-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-block-content {
  flex: 1;
}
.service-block-content h2 {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #e74c3c;
  display: inline-block;
}
.service-block-content p {
  color: #555;
  line-height: 2;
  margin-bottom: 25px;
}
.service-list {
  list-style: none;
  padding: 0;
}
.service-list li {
  color: #555;
  padding: 8px 0;
  font-size: 15px;
}
.service-list li i {
  color: #e74c3c;
  margin-right: 10px;
}

/* 事業内容ページ - お問い合わせセクション */
.service-contact-section {
  text-align: center;
  padding: 60px 40px;
  background: #f8f9fa;
  border-radius: 20px;
  margin-top: 20px;
}
.service-contact-lead {
  font-size: 20px;
  color: #333;
  margin-bottom: 30px;
}
.service-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
}
.service-contact-hours {
  font-size: 14px;
  color: #777;
}

/* プライバシーポリシーページ */
.privacy-section {
  padding: 80px 20px;
  background: #fff;
}
.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.privacy-container h2 {
  font-size: 22px;
  color: #2c3e50;
  margin: 40px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e74c3c;
}
.privacy-container h2:first-child {
  margin-top: 0;
}
.privacy-container p {
  color: #555;
  line-height: 2;
  margin-bottom: 15px;
}
.privacy-container ul {
  margin: 15px 0 15px 20px;
  color: #555;
}
.privacy-container li {
  margin-bottom: 8px;
  line-height: 1.8;
}
.privacy-contact-box {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
}
.privacy-contact-box p {
  margin-bottom: 5px;
}
.privacy-dates {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .contact-page-container {
    flex-direction: column;
    gap: 40px;
  }
  .contact-form-column {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
    flex-direction: column;
    gap: 15px;
  }
  nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    margin-top: 140px;
    height: auto;
    padding: 80px 20px;
  }
  .hero-content h2 {
    font-size: 28px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
    gap: 40px;
    padding: 60px 0;
  }
  .feature-content {
    max-width: 100%;
    text-align: center;
  }
  .feature-content h4 {
    font-size: 24px;
  }
  .feature-image {
    flex: none;
    width: 100%;
  }
  .feature-image img {
    height: 280px;
  }
  .stats-grid {
    flex-direction: column;
    gap: 40px;
  }
  .contact-lead {
    font-size: 16px;
  }
  .contact-lead br {
    display: none;
  }
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-contact,
  .btn-tel {
    width: 100%;
    max-width: 300px;
    padding: 20px 40px;
  }
  .btn-contact {
    font-size: 18px;
  }
  .btn-tel {
    font-size: 20px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .company-row {
    flex-direction: column;
    gap: 10px;
  }
  .company-label {
    width: 100%;
  }
  .company-intro {
    font-size: 14px;
  }
  .company-intro br {
    display: none;
  }
  .company-name-origin {
    flex-direction: column;
    gap: 30px;
  }
  .origin-large {
    font-size: 28px;
  }
  .services-page-intro {
    font-size: 16px;
  }
  .services-page-intro br {
    display: none;
  }
  .service-block,
  .service-block.reverse {
    flex-direction: column;
    gap: 30px;
  }
  .service-block-image {
    flex: none;
    width: 100%;
  }
  .service-block-image img {
    height: 250px;
  }
  .service-contact-section {
    padding: 40px 20px;
  }
  .service-contact-lead {
    font-size: 16px;
  }
  .service-contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}
