/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  color: #000000;
  background-color: #fafafa;
  overflow-x: hidden;
}

/* 共通クラス */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

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

.section-title {
  font-family: "Zen Antique", serif;
  font-size: 2.5rem;
  font-weight: 100;
  letter-spacing: 0.2em;
  color: #000000;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  position: relative;
}

.title-underline {
  width: 180px;
  height: 1px;
  background: #e74c3c;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.title-underline::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
}

.title-underline::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  animation: shimmer 2s infinite;
}

/* 下線の長さ個別設定 */
.title-underline-short {
  width: 100px;
}

.title-underline-shorter {
  width: 130px;
}

.title-underline-longer {
  width: 220px;
}

.title-underline-long {
  width: 280px;
}

/* ナビゲーション */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(231, 76, 60, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* --- 以下、ロゴ・社名をテキストで構成していた際の設定（nav_logo_image.png 画像に置き換えのためコメントアウト） ---

.logo-wrap {
  width: 50px;
  height: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-wrap:hover {
  transform: scale(1.1);
}

.company-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-sub {
  display: flex;
  align-items: center;
  gap: 6px;
}

.company-region {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  color: #000000;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-align: center;
}

.company-type {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #000000;
  letter-spacing: 0.08em;
}

.company-main {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.company-highlight {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

--- コメントアウト終わり --- */

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  background-image: url("img/nav_bg.jpg");
  background-size: cover;
  background-position: center;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%);
  padding: 15px 20px 15px 50px;
  border-radius: 0 4px 4px 0;
}

.nav-link {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
  position: relative;
  transition: color 0.3s ease;
  padding: 10px 0;
  letter-spacing: 0.05em;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #e74c3c;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #e74c3c;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #e74c3c;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* スライドショー */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fafafa;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* .hero-overlay と .hero-content は現在非表示
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  text-align: center;
  color: white;
}
*/

.hero-title {
  font-family: "Zen Antique", serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 30px;
  perspective: 1000px;
  letter-spacing: 0.1em;
}

.title-line {
  display: block;
  opacity: 0;
  transform: rotateX(90deg) translateY(50px);
  animation: flipIn 1s ease forwards;
}

.title-line:nth-child(1) {
  font-size: 3rem;
  color: #fff;
  animation-delay: 0.2s;
}

.title-line.main-title {
  font-size: 4.5rem;
  color: #e74c3c;
  animation-delay: 0.5s;
  position: relative;
}

.title-line.main-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e74c3c;
  transform: scaleX(0);
  animation: scaleIn 1s ease 1s forwards;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.hero-buttons .btn {
  min-width: 180px;
}

.btn {
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

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

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

.btn-primary {
  background: #e74c3c;
  color: white;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
  background: #e74c3c;
  color: white;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
  border: 1px solid #e74c3c;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-full {
  width: 100%;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.floating-image {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 60px rgba(231, 76, 60, 0.3);
  animation: float 6s ease-in-out infinite;
  filter: brightness(1.1) saturate(1.2);
}

/* 会社概要セクション */
.about-section {
  background: white;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e74c3c, transparent);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.company-info-table {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

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

.company-info-table th {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  text-align: left;
  padding: 20px 30px;
  font-weight: 500;
  font-size: 1rem;
  width: 30%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.company-info-table td {
  padding: 20px 30px;
  color: #000000;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1rem;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
  border-bottom: none;
}

.company-info-table tr:hover {
  background: #fafafa;
}

.info-item p {
  color: #000000;
  line-height: 1.8;
}

.about-image {
  position: relative;
}

.image-zoom {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.image-zoom:hover {
  transform: scale(1.05);
}

/* 事業内容セクション */
.services-section {
  background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
  position: relative;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e74c3c, transparent);
}

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

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(231, 76, 60, 0.1);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #e74c3c;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(231, 76, 60, 0.2);
}

.service-icon {
  margin-bottom: 30px;
}

.service-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
  transition: transform 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
  font-family: "Zen Antique", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.service-card p {
  color: #000000;
  line-height: 1.8;
}

/* ご挨拶セクション */
.message-section {
  background: white;
  overflow: hidden;
}

.message-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.message-content-center {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.message-quote {
  font-size: 1.5rem;
  font-weight: 500;
  color: #e74c3c;
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  padding-left: 30px;
}

.message-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 4rem;
  color: #e74c3c;
  opacity: 0.3;
}

.message-description {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.9;
  margin-bottom: 20px;
}

.parallax-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.parallax-image:hover {
  transform: scale(1.05) rotateY(5deg);
}

/* アクセスセクション */
.access-section {
  background: linear-gradient(135deg, #fefcf8 0%, #f8f4f0 100%);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.access-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.access-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(231, 76, 60, 0.1);
}

.access-item i {
  font-size: 1.5rem;
  color: #e74c3c;
  min-width: 24px;
}

.access-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.access-item p {
  color: #000000;
  line-height: 1.6;
}

.map-container {
  position: relative;
}

.map-placeholder {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-placeholder:hover {
  transform: scale(1.02);
}

.map-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(231, 76, 60, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-placeholder:hover .map-overlay {
  opacity: 1;
}

.map-overlay i {
  font-size: 3rem;
  margin-bottom: 10px;
}

.map-overlay p {
  font-size: 1.2rem;
  font-weight: 600;
}

/* お問い合わせセクション */
.contact-section {
  background: white;
}

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #fefcf8;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(231, 76, 60, 0.1);
}

.contact-method i {
  font-size: 1.5rem;
  color: #e74c3c;
  min-width: 24px;
}

.contact-method h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.phone-number {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 5px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fefcf8;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e74c3c;
  background: white;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

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

/* フッター */
.footer {
  background: #000000;
  color: white;
  padding: 40px 0;
  text-align: center;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}

.footer-company-name {
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-info p {
  color: #bdc3c7;
}

/* スクロールトップボタン */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #e74c3c, #ff6b6b);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* アニメーション */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes flipIn {
  to {
    opacity: 1;
    transform: rotateX(0) translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes scaleIn {
  to {
    transform: scaleX(1);
  }
}

/* インターセクションオブザーバー用アニメーション */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-image: url("img/nav_bg.jpg");
    background-size: cover;
    background-position: center;
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 0;
    clip-path: none;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 20px 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px) translateX(0px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px) translateX(0px);
  }

  .nav-logo-img {
    height: 35px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 0;
    gap: 0;
    min-height: 45vh;
  }

  .hero-content {
    margin-bottom: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .title-line:nth-child(1) {
    font-size: 2.5rem;
  }

  .title-line.main-title {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .floating-image {
    width: 250px;
    height: 250px;
  }

  .about-content,
  .message-content,
  .access-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company-info-table th,
  .company-info-table td {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .company-info-table th {
    width: 35%;
  }

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

  .section-title {
    font-size: 2rem;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

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

  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .title-line.main-title {
    font-size: 2.5rem;
  }

  .floating-image {
    width: 200px;
    height: 200px;
  }

  .service-card,
  .info-item,
  .access-item,
  .contact-method {
    padding: 20px;
  }
}

/* 沿革セクション（現在非表示）
.history-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.history-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 50px;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e74c3c, #c0392b);
}

.timeline-item {
  position: relative;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 0.8s ease forwards;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.1s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.2s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.4s;
}

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: #e74c3c;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.timeline-content {
  background: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.timeline-content h3 {
  color: #e74c3c;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-content p {
  color: #000000;
  line-height: 1.8;
}
*/

/* 商品紹介セクション */
.products-section {
  background: #ffffff;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-images {
  display: grid;
  gap: 15px;
}

.product-img {
  width: 85%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.product-content h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
  padding: 00px 20px 0px 30px;
  border: 2px solid #293345;
  background: #293345;
  position: relative;
  z-index: 0;
}

/* 左側の斜線部分 */
.product-content h3::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  bottom: -2.5px;
  width: 80px;
  background: #e74c3c;
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0 100%);
  z-index: -1;
}

.product-content p {
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.9;
}

/* 実店舗セクション */
.shop-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.shop-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.shop-image img {
  width: 85%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.shop-text h3 {
  font-size: 2rem;
  color: #e74c3c;
  margin-bottom: 20px;
}

.dclub-logo {
  height: 40px;
  width: auto;
}

.shop-text p {
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.9;
}

.shop-link {
  display: inline-block;
  margin-top: 20px;
}

/* お問い合わせ（簡易版） */
.contact-content-simple {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-content-simple h3 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #000000;
}

.contact-content-simple .contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-content-simple .contact-method {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.contact-content-simple .contact-method:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.contact-content-simple .contact-method i {
  font-size: 2.5rem;
  color: #e74c3c;
  margin-bottom: 15px;
}

.contact-content-simple .contact-method h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #000000;
}

.contact-content-simple .contact-method p {
  color: #000000;
  font-size: 1rem;
}

.contact-content-simple .phone-number {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e74c3c;
}

/* 事業内容の新レイアウト */
.services-content {
  max-width: 900px;
  margin: 0 auto;
}

.service-main {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.service-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-text h3 {
  font-size: 1.8rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  color: #000000;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000000;
}

.service-text p {
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.9;
}

/* ご挨拶セクションの署名スタイル */
.message-signature {
  margin-top: 30px;
  font-weight: 600;
  color: #000000;
  text-align: right;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

/* fadeInLeft: 沿革セクション用（現在非表示）
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
*/

/* レスポンシブ対応 */
@media (max-width: 768px) {
  /* .history-timeline {
    padding-left: 40px;
  } */

  .product-card {
    grid-template-columns: 1fr;
  }

  .shop-content {
    grid-template-columns: 1fr;
  }

  .contact-content-simple .contact-methods {
    grid-template-columns: 1fr;
  }

  /* 事業内容: タイトル→画像→文章の順に表示・中央寄せ */
  .service-main {
    display: flex;
    flex-direction: column;
  }

  .service-text {
    display: contents; /* 子要素を直接の子として扱う */
  }

  .service-text h3 {
    order: 1;
    margin-bottom: 20px;
  }

  .service-images {
    order: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    margin-bottom: 30px;
    align-self: center;
    width: 100%;
  }

  .service-text p {
    order: 3;
  }

  .service-img {
    max-width: 400px;
    width: 100%;
  }

  /* ご挨拶と商品紹介の間隔を狭く */
  .message-section {
    padding-bottom: 40px;
  }

  .products-section {
    padding-top: 40px;
  }

  /* 商品紹介: タイトル→画像→文章の順に表示・中央寄せ */
  .product-card {
    display: flex;
    flex-direction: column;
  }

  .product-content {
    display: contents; /* 子要素を直接の子として扱う */
  }

  .product-content h3 {
    order: 1;
    margin-bottom: 20px;
  }

  .product-images {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    align-self: center;
    width: 100%;
  }

  .product-content p {
    order: 3;
  }

  .product-img {
    max-width: 400px;
    width: 100%;
  }

  /* 実店舗紹介の写真を中央寄せ */
  .shop-image {
    display: flex;
    justify-content: center;
  }

  .shop-img {
    max-width: 400px;
    width: 100%;
  }

  /* Dclubへのリンクボタンを中央に配置 */
  .shop-link {
    display: block;
    text-align: center;
  }
}
