/* style.css */
:root {
  /* Colors */
  --color-primary: #00552e;
  --color-primary-light: #006e3c; /* ホバー時用 */
  --color-white: #fafafa; /* 純白から少しオフホワイト */
  --color-gray-100: #f5f5f5;
  --color-gray-200: #eeeeee;
  --color-gray-300: #e0e0e0;
  --color-gray-400: #bdbdbd;
  --color-gray-500: #9e9e9e;
  --color-text: #333333;

  /* Font sizes */
  --font-xs: 1.4rem;
  --font-sm: 1.6rem;
  --font-base: 1.8rem;
  --font-lg: 2.0rem;
  --font-xl: 2.4rem;
  --font-2xl: 3.2rem;
  --font-3xl: 4.0rem;

  /* Spacing */
  --space-xs: 0.4rem;
  --space-sm: 0.8rem;
  --space-md: 1.6rem;
  --space-lg: 2.4rem;
  --space-xl: 3.2rem;
  --space-2xl: 4.8rem;
  
  /* Container width */
  --container-width: 1200px;
}

/* Common utility classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

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

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

/* ヘッダーのスタイル */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  height: 80px;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 150px; /* 120pxから拡大 */
  height: auto; /* アスペクト比を保持 */
}



.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-list a {
  font-size: var(--font-sm);
  font-weight: 500;
  transition: color 0.3s ease;
}

.header__nav-list a:hover {
  color: var(--color-primary);
}

.btn-contact {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  transition: background-color 0.3s ease !important;
}

.btn-contact:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white) !important;
}

.header__menu-btn {
  display: none; /* モバイル時に表示 */
  width: 30px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 15px; /* 右側の余白を調整 */
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  transition: all 0.3s ease;
}


.header__menu-btn span:nth-child(1) { top: 0; }
.header__menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__menu-btn span:nth-child(3) { bottom: 0; }

/* style.cssに追加 */
.header {
  transition: transform 0.3s ease;
}

.header--hidden {
  transform: translateY(-100%);
}

/* フッターのスタイル */
.footer {
  background-color: var(--color-gray-100);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__main {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  flex-shrink: 0;
}

.footer__address {
  font-size: var(--font-sm);
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: var(--space-2xl);
}

.footer__nav-group h3 {
  font-size: var(--font-sm);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__nav-group a {
  font-size: var(--font-sm);
  transition: color 0.3s ease;
}

.footer__nav-group a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-gray-300);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: var(--space-lg);
}

.footer__links a {
  font-size: var(--font-xs);
}

.footer__copyright {
  font-size: var(--font-xs);
  color: var(--color-gray-500);
}


/* Hero Section Styles */
.hero {
  height: 100vh;
  min-height: 600px;
  padding-top: 80px; /* ヘッダーの高さ分 */
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-100) 100%);
  display: flex; /* 追加 */
  align-items: center; /* 追加 */
}

.hero__container {
  height: auto;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__content {
  flex: 0 0 50%;
  padding-right: var(--space-2xl);
}

.hero__logo {
  margin-bottom: var(--space-xl);
}

.hero__message {
  font-size: var(--font-2xl);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  color: var(--color-text);
}

.hero__cta {
  margin-top: var(--space-xl);
}

.hero__cta .btn {
  font-size: var(--font-lg);
  padding: var(--space-md) var(--space-xl);
}

.hero__image {
  flex: 0 0 50%;
  height: 100%;
  position: relative;
}

.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  opacity: 0.1;
  border-radius: 20px 0 0 20px;
}

/* アニメーション効果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__content > * {
  animation: fadeIn 0.8s ease forwards;
}

.hero__logo { animation-delay: 0.2s; }
.hero__message { animation-delay: 0.4s; }
.hero__cta { animation-delay: 0.6s; }

/* Message Section Styles */
.message {
  padding: var(--space-2xl) 0;
  background-color: var(--color-white);
  margin-top: var(--space-2xl); /* ヒーローセクションとの余白 */
}

.message__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.message__logo {
  margin-bottom: var(--space-xl);
}

.message__logo img {
  width: 280px; /* ロゴサイズを大きめに */
  height: auto;
}

.message__text {
  font-size: var(--font-xl);
  line-height: 2;
  color: var(--color-text);
  font-weight: 500;
}

/* セクション間の余白調整用 */
.message + section {
  margin-top: var(--space-2xl);
}

.event-section {
  padding: 80px 0;
  background: #fff;
}

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

.event-list {
  margin-top: 40px;
}

.event-item {
  padding: 24px;
  border-bottom: 1px solid #eee;
}

.event-date {
  color: #00552e;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
}

.event-title {
  margin: 8px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
}

.event-link {
  display: inline-block;
  margin-top: 16px;
  color: #00552e;
  text-decoration: none;
  transition: opacity 0.3s;
}

.event-link:hover {
  opacity: 0.8;
}

.business-section {
  padding: 100px 0;
  background-color: #fff;
}

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

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}

.business-item {
  padding: 40px;
  border-right: 1px solid #eee;
  transition: all 0.3s ease;
}

.business-item:last-child {
  border-right: none;
}

.business-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.business-icon {
  margin-bottom: 24px;
  color: #00552e;
  transition: all 0.3s ease;
}

.business-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #00552e;
}

.business-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 24px;
}

.business-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-text {
  font-size: 14px;
  color: #00552e;
}

.link-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #00552e;
  color: #fff;
  transition: all 0.3s ease;
}

.arrow {
  font-size: 16px;
}

/* ホバー効果 */
.business-item:hover {
  background-color: #f9f9f9;
}

.business-item:hover .business-icon {
  transform: scale(1.1);
  color: #006637;
}

.business-item:hover .link-circle {
  background-color: #006637;
}

.link-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.cases-section {
  padding: 100px 0;
  background: #fff;
}

.cases-slider {
  position: relative;
  margin-top: 48px;
  padding: 0 40px;
}

.cases-list {
  display: flex;
  gap: 24px;
  overflow: hidden;
}

.case-item {
  flex: 0 0 auto;
  width: 300px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.case-item:hover {
  transform: translateY(-4px);
}

.case-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.case-content {
  padding: 24px;
}

.case-category {
  display: inline-block;
  font-size: 12px;
  color: #00552e;
  padding: 4px 12px;
  background: rgba(0, 85, 46, 0.1);
  border-radius: 4px;
  margin-bottom: 12px;
}

.case-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-company {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 14px;
  line-height: 1.6;
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: #00552e;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-prev:hover,
.slider-next:hover {
  opacity: 0.8;
}

.cases-action {
  text-align: center;
  margin-top: 48px;
}

.btn-outline {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid #00552e;
  color: #00552e;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: #00552e;
  color: #fff;
}

.info-section {
  padding: 80px 0;
}

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

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

.info-box {
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-box-light {
  background-color: #fff;
}

.info-box-dark {
  background-color: #00552e; /* メインカラーに変更 */
  color: #fff;
}

.info-title {
  font-size: 28px;
  margin-bottom: 30px;
  font-family: 'Noto Sans JP', sans-serif;
}

.info-title span {
  display: block;
  font-size: 16px;
  color: #00552e; /* メインカラーに変更 */
  font-family: 'Jost', sans-serif;
  margin-top: 5px;
}

.info-box-dark .info-title span {
  color: #fff; /* 暗い背景の場合は白文字 */
}

.info-link {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #00552e; /* メインカラーに変更 */
  text-decoration: none;
  color: #00552e; /* メインカラーに変更 */
  transition: all 0.3s ease;
}

.info-box-dark .info-link {
  border-color: #fff;
  color: #fff;
}

.info-link:hover {
  background-color: #00552e;
  color: #fff;
  border-color: #00552e;
}

.info-box-dark .info-link:hover {
  background-color: #fff;
  color: #00552e;
}

.news-section {
  padding: 80px 0;
}

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

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  font-family: 'Noto Sans JP', sans-serif;
}

.news-list {
  border-top: 1px solid #e5e5e5;
}

.news-item {
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 20px;
}

.news-date {
  min-width: 140px;
  color: #666;
  font-family: 'Jost', sans-serif;
}

.news-category {
  min-width: 100px;
  padding: 4px 12px;
  background-color: #00552e;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.news-title {
  flex-grow: 1;
  padding-right: 20px;
}

.news-link {
  color: #00552e;
  transition: all 0.3s ease;
}

.news-link:hover {
  opacity: 0.7;
}

.news-more {
  margin-top: 40px;
  text-align: right;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00552e;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #00552e;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.more-link:hover {
  background-color: #00552e;
  color: #fff;
}

.more-link svg {
  width: 20px;
  height: 20px;
}

.contact-section {
  padding: 80px 0;
  background-color: #f5f5f5;
  text-align: center;
}

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

.section-title {
  font-size: 28px;
  margin-bottom: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.contact-lead {
  margin-bottom: 40px;
  font-size: 16px;
}

.contact-button-wrapper {
  display: flex;
  justify-content: center;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #00552e;
  color: #fff;
  padding: 20px 60px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.3s ease;
}

.contact-button:hover {
  opacity: 0.8;
}

.contact-button svg {
  width: 20px;
  height: 20px;
}