/* 全体のデザイン */
:root {
  --primary-color: #34c4c9;
  --secondary-color: #e6f9fa;
  --accent-color: #1a7f84;
  --text-color: #333;
  --light-text: #666;
  --white: #fff;
  --black: #000;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

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

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

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

/* ヘッダー */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  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;
  font-weight: 500;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

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

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

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

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

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

/* ヒーロー */
.hero {
  background: linear-gradient(135deg, var(--secondary-color), var(--white));
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/1.jpg') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-text);
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid var(--primary-color);
}

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

/* 主な機能 */
.features {
  padding: 100px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--light-text);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--glass-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--light-text);
}

/* ブログ */
.blog {
  padding: 100px 0;
  background-color: var(--secondary-color);
}

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

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-10px);
}

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

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.blog-content {
  padding: 25px;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 10px;
}

.blog-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.blog-card p {
  color: var(--light-text);
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* お問い合わせ */
.contact {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.contact-info {
  padding-right: 30px;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-text h4 {
  margin-bottom: 5px;
}

.contact-text p, .contact-text a {
  color: var(--light-text);
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  margin-right: 10px;
  transition: all 0.3s;
}

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

.contact-form {
  background: var(--glass-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-color);
}

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

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-about p {
  color: var(--light-text);
}

.footer-links h4 {
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 1.2rem;
}

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

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

.footer-links a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-newsletter p {
  margin-bottom: 15px;
  color: var(--light-text);
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px 0 0 8px;
  font-family: inherit;
}

.newsletter-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 15px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: var(--light-text);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary-color);
  text-decoration: none;
}

/* クッキー同意バナー */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 1000px;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: none;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  margin-right: 20px;
  margin-bottom: 10px;
}

.cookie-text h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.cookie-text p {
  color: var(--light-text);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

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

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 15px;
  margin-left: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

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

.customize {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.decline {
  background-color: transparent;
  border: 1px solid #ddd;
  color: var(--light-text);
}

/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.25s, opacity 0.25s 0s;
}

.modal.show {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.modal-content {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s;
}

.modal.show .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--light-text);
}

.modal-icon {
  font-size: 3rem;
  color: #4CAF50;
  margin-bottom: 20px;
}

.modal h3 {
  color: var(--text-color);
  margin-bottom: 15px;
}

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

/* ブログ記事 */
.post {
  padding: 150px 0 100px;
}

.post-header {
  text-align: center;
  margin-bottom: 50px;
}

.post-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.post-meta {
  color: var(--light-text);
  margin-bottom: 20px;
}

.post-featured-image {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content h2, .post-content h3 {
  color: var(--text-color);
  margin: 40px 0 20px;
}

.post-content img {
  max-width: 100%;
  border-radius: 10px;
  margin: 30px 0;
}

.post-content ul, .post-content ol {
  margin: 20px 0;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
  font-style: italic;
  color: var(--light-text);
  margin: 30px 0;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.post-nav-link {
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.post-nav-link.prev {
  margin-right: auto;
}

.post-nav-link.next {
  margin-left: auto;
}

.post-nav-link i {
  margin: 0 10px;
}

/* アバウトページ */
.about {
  padding: 150px 0 100px;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 80px;
  line-height: 1.8;
}

.team-section {
  background-color: var(--secondary-color);
  padding: 80px 0;
  border-radius: 15px;
}

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

.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

.team-photo {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

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

.team-info p {
  color: var(--light-text);
  margin-bottom: 10px;
}

.team-social {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  margin: 0 5px;
  transition: all 0.3s;
}

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

/* レスポンシブデザイン */
@media (max-width: 992px) {
  nav ul {
    display: none;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto 20px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 80px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .features, .blog, .contact, .post, .about {
    padding: 70px 0;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .post-featured-image {
    height: 250px;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
  }
  
  .cookie-actions {
    margin-top: 15px;
    justify-content: flex-start;
  }
  
  .cookie-btn {
    margin-left: 0;
    margin-right: 10px;
  }
}
