@charset "utf-8";
/* ヒーローエリア */
.hero {
  height: 680px;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding-top: 280px;
}

.hero-text .main-copy {
  font-size: 50px;
  font-family: "source-han-sans-vf", sans-serif;
  font-variation-settings: "wght" 500;
  letter-spacing: 0.35em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.hero-text .sub-copy {
  font-size: 1.35rem;
  font-weight: 600;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/*　お知らせ　*/
.news-section {
  background-color: #fff;
  padding: 4rem 0;
}

.news-section .container {
	max-width: 800px;
	margin: 0 auto;
}

.news-index-link {
  text-align: right;
  margin-top: -32px;
  margin-bottom: 16px;
}

.news-index-link a:visited,
.news-index-link a:visited:hover {
	color: #FFF;
}

.news-link {
	font-size: 0.8rem;
	padding: 3px 8px;
	background-color: #006739;
	border-radius: 3px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.news-thumbnail {
  width: 120px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.news-thumbnail img {
  width: 100%;
  height: auto;
}

.news-content {
  flex: 1;
  position: relative;
}

.news-meta {
  text-align: right;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.badge {
  background-color: #f60;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.news-title {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

/*　オススメ商品　*/

.recommend-section {
	background-color: #FCE8DF;
	padding: 3rem 0;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.recommend-card {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: left;
  max-width: 360px;
}

.recommend-card .image-box {
	width: 100%;
	height: 200px;
	overflow: hidden;
	position: relative;
}

.recommend-card .image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.recommend-info {
  padding: 1rem;
}

.recommend-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.recommend-desc {
  font-size: 0.9rem;
  color: #333;
}

.product-search-link {
  position: relative;
  text-align: center;
  margin-top: 5rem;
}

.product-search-link a,
.product-search-link a:visited,
.product-search-link a:visited:hover {
	color: #FFF;
}

.product-search-button {
  position: relative;
  z-index: 1;
  background-color: #73bb2a;
  color: #fff;
  padding: 1rem 5rem;
  display: inline-block;
  font-weight: bold;
  border-radius: 8px;
}

.balloon-label {
  position: absolute;
  top: -70px;
  left: 30%;
  width: 120px;
  z-index: 2;
}

/*　新品種・ドローン　*/

.feature-section {
  background-color: #fff;
  padding: 3rem 0;
}

.feature-wrap {
    display: flex;
	justify-content: space-around;
	gap: 1rem;
	flex-flow: row wrap;
}

.feature-box {
	margin-bottom: 2rem;
	display: flex;
	flex: 1 1 300px;
}

.feature-image {
	max-width: 200px;
  height: auto;
  overflow: hidden;
  position: relative;
}

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

.feature-text {
  padding: 1.2rem 1.5rem;
  color: #fff;
	max-width: 300px;
}

.feature-orange {
  background-color: #d8650e;
}

.feature-green {
  background-color: #9fc51c;
}

.feature-text h3 {
	color: #009bd0;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
	padding: 0 1rem;
	background-color: #FFF;
	display: inline-block;
}

.feature-text p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* サービスセクション　*/

.services-section {
	background-color: #FCE8DF;
	padding: 3rem 0 5rem;
}

.services-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.service-card {
	background: #fff;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	padding: 1rem;
	flex: 1 1 30%;
	min-width: 180px;
	max-width: 340px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	text-align: left;
}

.service-icon {
  width: auto;
  height: 100px;
}

.service-text h3 {
  color: #006bae;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.service-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* ナカガミの強み　*/

.strength-wrap {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.strength-text {
  flex: 1;
  min-width: 300px;
}

.strength-chart {
  flex: 0 1 360px;
}

.strength-chart img {
  width: 100%;
  height: auto;
}

.strength-section {
  background-image: url("/images/strength-bg.jpg");
  background-size: cover;
  background-position: center center;
  padding: 8rem 0;
}

.strength-text ol {
  list-style: decimal;
  margin: 2rem 1.5rem;
}

@media (max-width: 768px) {
	
	.news-index-link {
		margin-top: -10px;
	}
	
	.hero {
		height: 400px;
	}
	
	.hero-text {
		padding-top: 80px;
	}
	
	.hero-text .main-copy {
		font-size: 2.2rem;
		letter-spacing: 0.2em;
	}
	
	.hero-text .sub-copy {
		font-size: 1.3rem;
	}
	
	.news-section {
		padding: 2rem 0;
	}
	
	.recommend-section {
		padding: 2rem 0;
	}
	
	.product-card .image-box {
		height: 160px;
	}
	
	.product-search-link{
		margin-top: 2rem;
	}
	
	.balloon-label {
		display: none;
	}
	
	.feature-image {
		display: none;
	}
	
	.services-section {
		padding: 2rem 0;
	}
	
	.services-grid {
		margin-top: 0;
	}
	
	.strength-section {
		padding: 2rem 0;
	}
}
