/*--------------------------------
   common / reset
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
main {
  flex: 1;
}

/*--------------------------------
   ① header
--------------------------------*/
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

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

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  max-height: 40px;
}

.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  width: 250px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.search-bar button {
  padding: 8px 16px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.category-menu ul {
  display: flex;
  list-style: none;
  height: 50px;
  align-items: center;
}

.category-menu li {
  margin-right: 40px;
  white-space: nowrap;
}

.category-menu a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  font-size: 15px;
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    height: auto;
    padding: 12px 0;
    gap: 14px;
  }
  .logo {
    width: 100%;
    text-align: center;
  }
  .search-bar {
    width: 100%;
  }
  .search-bar input {
    flex: 1;
    width: auto;
  }
  .category-menu ul {
    justify-content: space-between; 
    padding: 0 10px;
  }
  .category-menu li {
    margin-right: 0;
  }
  .category-menu a {
    font-size: 11px;
  }
}

/*--------------------------------
   ② promotion
--------------------------------*/
.promotion-container {
  background-color: #000000;
  border-bottom: 1px solid #e0e0e0;
}

.promotion {
  max-width: 1200px;
  height: 350px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slider-inner {
  display: flex; 
  width: 500%; 
  height: 100%;
  animation: slideAnimation 20s infinite; 
}

.slide {
  width: 20%; 
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit; 
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.6);
  transform: scale(1.1);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  display: block;
}

@media (max-width: 768px) {
  .promotion {
    height: 180px; 
  }
}

@keyframes slideAnimation {
  0%, 16%    { transform: translateX(0); }         
  20%, 36%   { transform: translateX(-20%); }      
  40%, 56%   { transform: translateX(-40%); }      
  60%, 76%   { transform: translateX(-60%); }      
  80%, 96%   { transform: translateX(-80%); }      
  100%       { transform: translateX(0); }         
}

/*--------------------------------
   ③ contents
--------------------------------*/
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-title {
  font-size: 18px;
  margin-bottom: 24px;
  display: block;
  background: linear-gradient(to right, rgba(192, 214, 228, 0.4) 0%, rgba(192, 214, 228, 0) 100%);
  border-left: 8px solid #4A225D;
  padding: 8px 12px;
}

.content-menu {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.content-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

@media (hover: hover) {
  .content-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); 
    border-color: #ccc; 
  }
}

.item-image {
  height: 120px; 
  background-color: #e5e7eb;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #9ca3af;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.item-body {
  padding: 15px;
}

.item-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
}

.item-text {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .content-menu {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .item-image {
    height: 120px; 
  }
}

.news-item {
  margin-bottom : 12px;
}

.news-date {
  font-weight: bold;
}

.news-title {
  font-weight: bold;
}

/* お問い合わせフォーム全体のスタイル */
.contact-form {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* 各入力項目のグループ */
.contact-form .form-group {
  margin-bottom: 20px;
}

/* ラベル */
.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 14px;
}

/* 入力欄（テキスト、メール、テキストエリア） */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* テキストエリアの高さ */
.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* お問い合わせ用の送信ボタン */
.contact-form button[type="submit"] {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

/* ボタンのホバー時 */
.contact-form button[type="submit"]:hover {
  background-color: #0056b3;
}

/*--------------------------------
   ④ footer
--------------------------------*/
.site-footer {
  background-color: #eaeded;
  border-top: 1px solid #d5dbdb;
  color: #555;
  padding: 50px 0 20px 0;
  font-size: 14px;
}

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

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-info {
  flex: 1;
}

.footer-logo {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.footer-links-container {
  display: flex;
  gap: 60px;
}

.footer-group h3 {
  font-size: 15px;
  color: #333;
  margin-bottom: 15px;
}

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

.footer-group li {
  margin-bottom: 8px;
}

.footer-group a {
  text-decoration: none;
  color: #666;
}

.copyright {
  text-align: center;
  border-top: 1px solid #d5dbdb;
  padding-top: 20px;
  font-size: 12px;
  color: #888;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links-container {
    flex-direction: column;
    gap: 30px;
  }
}