/* 全体のスタイル */
:root {
  --primary-color: #00a0e9;
  --secondary-color: #2d7d86;
  --accent-color: #e74c3c;
  --background-color: #f9f9f9;
  --text-color: #333;
  --light-gray: #f1f1f1;
  --medium-gray: #ddd;
  --dark-gray: #777;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --border-radius: 4px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* コンテナ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background-color: #fff;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

/* ナビゲーション */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 5px;
}

nav ul li a:hover {
  color: var(--primary-color);
}

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

nav ul li a:hover:after {
  width: 100%;
}

.active {
  color: var(--primary-color);
}

.active:after {
  width: 100%;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px;
  transition: var(--transition);
}

/* ヒーロー */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/1.jpg');
  background-size: cover;
  background-position: center;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* ネオンボタン */
.btn-neon {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  color: var(--primary-color);
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.5s;
  letter-spacing: 4px;
  border: none;
  background: transparent;
  margin: 20px 0;
  font-weight: 600;
  cursor: pointer;
}

.btn-neon:hover {
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 0 5px var(--primary-color),
              0 0 25px var(--primary-color),
              0 0 50px var(--primary-color),
              0 0 100px var(--primary-color);
}

.btn-neon span {
  position: absolute;
  display: block;
}

.btn-neon span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color));
  animation: btn-neon1 1s linear infinite;
}

@keyframes btn-neon1 {
  0% {
    left: -100%;
  }
  50%, 100% {
    left: 100%;
  }
}

.btn-neon span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--primary-color));
  animation: btn-neon2 1s linear infinite;
  animation-delay: 0.25s;
}

@keyframes btn-neon2 {
  0% {
    top: -100%;
  }
  50%, 100% {
    top: 100%;
  }
}

.btn-neon span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, var(--primary-color));
  animation: btn-neon3 1s linear infinite;
  animation-delay: 0.5s;
}

@keyframes btn-neon3 {
  0% {
    right: -100%;
  }
  50%, 100% {
    right: 100%;
  }
}

.btn-neon span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--primary-color));
  animation: btn-neon4 1s linear infinite;
  animation-delay: 0.75s;
}

@keyframes btn-neon4 {
  0% {
    bottom: -100%;
  }
  50%, 100% {
    bottom: 100%;
  }
}

/* セクション */
section {
  padding: 80px 0;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--text-color);
  position: relative;
}

section h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* 特徴セクション */
.features {
  background-color: #fff;
}

.feature-card {
  flex: 0 0 calc(33.33% - 30px);
  margin-bottom: 40px;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-img {
  height: 200px;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card:hover .feature-img img {
  transform: scale(1.1);
}

.feature-text {
  padding: 20px;
}

.feature-text h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.feature-text p {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

/* 製品カード */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.product-info p {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

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

/* 未来からの引用ブロック */
.future-quote {
  background-color: rgba(0, 160, 233, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  position: relative;
}

.future-quote h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.future-quote p {
  font-style: italic;
  color: var(--text-color);
}

.future-quote:before {
  content: '"';
  position: absolute;
  font-size: 5rem;
  opacity: 0.1;
  top: -20px;
  left: 10px;
  color: var(--primary-color);
}

/* ブログ */
.blog-section {
  background-color: var(--light-gray);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 200px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-bottom: 10px;
  display: block;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.blog-content p {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* 会社概要 */
.about-section {
  background-color: #fff;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  flex: 0 0 calc(50% - 30px);
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-text p {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.about-image {
  flex: 0 0 calc(50% - 30px);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 250px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-info {
  padding: 20px;
}

.team-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--text-color);
}

.team-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.team-bio {
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* お問い合わせフォーム */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 160, 233, 0.2);
}

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

.form-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.form-btn:hover {
  background-color: var(--secondary-color);
}

/* 連絡先情報 */
.contact-info {
  background-color: var(--light-gray);
  padding: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background-color: #fff;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.contact-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.contact-card p {
  color: var(--dark-gray);
}

/* フッター */
footer {
  background-color: #333;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 300px;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #ccc;
  font-size: 0.9rem;
}

.footer-links {
  flex: 0 0 calc(25% - 30px);
  margin-bottom: 30px;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
}

.footer-links h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: #ccc;
  font-size: 0.9rem;
}

/* クッキー同意 */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 15px;
  z-index: 1000;
  display: none;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

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

.accept-all:hover {
  background-color: var(--secondary-color);
}

.customize {
  background-color: transparent;
  border: 1px solid #ccc;
  color: #ccc;
}

.customize:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.decline {
  background-color: transparent;
  color: #ccc;
}

.decline:hover {
  text-decoration: underline;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 100%;
  padding: 30px;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  color: var(--dark-gray);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--error-color);
}

.modal-icon {
  font-size: 3rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.modal-text {
  color: var(--dark-gray);
  margin-bottom: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .feature-card {
    flex: 0 0 calc(50% - 20px);
  }
  
  .about-text, .about-image {
    flex: 0 0 100%;
  }
  
  .about-image {
    margin-top: 30px;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 10px 0;
  }
  
  nav {
    position: fixed;
    top: 80px;
    right: -300px;
    width: 300px;
    height: calc(100vh - 80px);
    background-color: #fff;
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 30px;
  }
  
  nav ul li {
    margin: 0 0 20px 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .feature-card {
    flex: 0 0 100%;
  }
  
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .footer-links {
    flex: 0 0 calc(50% - 20px);
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    margin-left: 0;
    margin-top: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex: 0 0 100%;
  }
}
