@charset "utf-8";
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.header {
  display: flex;
  align-items: center;
  padding: 10px 10px;
}
/* ヘッダーロゴのサイズ調整 */
header .logo-img img {
  width: 150px;   /* 好きなサイズに変更 */
  height: auto;
}
/* ロゴの周りに余白を追加 */
header .logo-img {
  margin: 0px 10px 0px 0px; /* 上 右 下 左 */
}
.nav {
	flex: 1;
}
.nav > ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
.nav h5 {
	line-height: 2.5;
}
/* リンクリスト設定 */
/* ▼ ドロップダウンの基本 */
.link-dropdown {
	position: relative;
	list-style: none;
	display: inline-block; /* ← これが重要 */
}

/* ▼ 最初は非表示 */
.link-dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% -60px); /* LINK の下に表示 */
	left: 0;
	background: #ffffff;
	border: 1px solid #ccc;
	padding: 0;
	margin: 0;
	min-width: 120px;
	z-index: 1000;
}

/* ▼ リストの中身 */
.link-dropdown-menu li {
	list-style: none;
}
.link-dropdown-menu li a {
	display: block;
	padding: 8px 12px;
	color: #333;
	text-decoration: none;
}
.link-dropdown-menu li a:hover {
	background: #f0f0f0;
}

/* ▼ ホバーしたら表示 */
.link-dropdown:hover .link-dropdown-menu {
	display: block;
}

/* 問い合わせボタン設定 */
.info-button img{
	width: 200px;
	height: auto;
}
.info-button:hover {
	opacity: 0.7;	/* 透明度を上げてカーソルが画像上にあることを表現 */
	cursor: pointer;	/* リンクをホバーしたときカーソルにする */
}
.info-button:active {
	position: relative;
	top: 3px;
}
.no-dot {
  list-style: none;
  padding-left: 0; /* 左の余白も消したい場合 */
}
.top-img {
  position: relative;
  width: 90%;
  max-height: 800px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}
.top-img img {
  width: 100%;
  height: auto;
  display: block;
}
.top-img-philosophy {
  position: absolute;
  top: 40%;          /* 上から40%の位置 */
  left: 50%;         /* 左から50%の位置 */
  transform: translate(-50%, -50%); /* 中央に配置 */
  color: rgb(7, 71, 92);      /* 文字色 */
  font-size: 2.4rem;   /* 文字サイズ */
  font-weight: bold; /* 太字 */
  text-shadow: 5px 5px 6px rgb(236, 237, 240); /* 読みやすく影を付ける */
  text-align: center;
}

.bar-title {
  position: relative;
  left: -4%;
  width: 80%;              /* バーの長さ */
  margin: 40px auto;       /* 中央寄せ */
  text-align: left;
  padding-left: 30px;
}
.bar-title::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 60px; /* 線の太さ */
	background: #106d28; /* バーの色 */
	transform: translateY(-50%);
	z-index: -1;
	border-radius: 20px; /* 角を丸くする */
}
.bar-title h2 {
	color: #ffffff; /* 中の文字色 */
	position: relative;
	z-index: 1;
	font-weight: 400;
	font-size: 2.3rem;
	font-family: "Rounded Mplus 1c", "Hiragino Maru Gothic ProN", sans-serif;
}

.twitter-area {
  text-align: center;
}
.twitter-area .elfsight-app-ed2b8cbd-78d0-45e2-90b3-570002516263 {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 40px;
  margin-left: 10px;
}
.concept {
	display: flex;
	text-align: center;
	margin-left: 10px;
}
.concept div{
    font: 800 x-large "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    color: white;
    background-color: #818248;
    width: 23%;
    text-align: left;
    position: relative;
    margin: 0px 0px 80px 30px;
    padding: 40px 10px 40px 10px;
    left: 30px;
}
.biomas {
    display: flex;
    align-items: flex-start; /* ← 高さの先頭を揃える */
    width: 100%;
    padding: 0px 300px 100px 0px;
}
.biomas-fig {
  width: 40%; /* ← ここで画像の大きさを調整できます */
  height: auto; 
  padding-left: 100px;
}
.biomas-aside {
	font: 600 medium Arial,Helvetica,sans-serif;
	width: 40%;
	padding: 0px 50px 0px 30px;
	color: rgb(25, 83, 101);
}
.biomas .biomas-aside ul {
	list-style-type: none;
	border-radius: 15px;
	background-color: #94a06e !important;
	padding: 10px 10px 20px 10px;
}
.biomas .biomas-aside li {
  padding: 20px 20px 20px 20px;
  color: #ffffff;
}
.probioponix {
	width: 100%;
	padding: 10px 10px 50px 100px;
}

.probioponix img {
	width: 90%; /* ← 画像を小さく（お好みで調整） */
	max-width: 850px;
	height: auto;
}

.message {
  font-weight: 500;
  font-size: 1.2em;
  font-family: "Rounded Mplus 1c", "Hiragino Maru Gothic ProN", sans-serif;
  padding: 50px 0px 100px 50px;
}
.info-orangeimage {
	text-align: center; /* 中央寄せ */
	padding-top: 30px;
}
.info-orangeimage img {
	display: inline-block;
	animation: bounce 1.2s infinite ease-in-out; /* ← アニメーション追加 */
}

/* 跳ねる動きの定義 */
@keyframes bounce {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-20px); /* ← 上に跳ねる高さ */
	}
}

/* 会社案内 */
.company-brochure {
	padding-left: 80px;
}
.company-brochure img {
	padding-left: 80px;
	width: 20%;
}
/* 会社概要 */
.company-about {
	padding-left: 80px;
	font: 500 medium Arial,Helvetica,sans-serif;
}
.company-about-table {
	padding-top: 30px;
	padding-left: 50px;
}
/* 会社沿革 */
.company-history {
	padding-left: 80px;
	padding-bottom: 100px;
	font: 500 medium Arial,Helvetica,sans-serif;
}
.company-history-table {
	padding-left: 50px;
}
.company-brochure {
    display: flex;
	justify-content: flex-start; /* 左寄せでズレ防止 */
    gap: 10px; /* 画像同士の間隔 */
}

.company-brochure .item {
    text-align: center; /* タイトルと画像を中央揃え */
}

.company-brochure .title {
    font-weight: bold;
    margin-bottom: 8px;
}
.company-brochure img {
    width: 200px; /* ← ここが重要：画像サイズを固定 */
    height: auto;
}

/* 計画立案とコンサルティング */
.product-plan-do {
	padding-left: 80px;
	padding-bottom: 20px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}
.product-plan-do-consal {
	padding-left: 80px;
	padding-bottom: 20px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}
.product-plan-do-consal img {
	display: block;
	margin: 0 auto;
	padding-top: 50px;
	transform: translateX(-60px); /* 左へずらす */
}
/* 製品開発　次世代型バイオマス */
.product-next-biomas {
	padding-left: 80px;
	padding-bottom: 20px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}
.product-next-biomas-fig {
	background: #94a06eaf;
	margin: 10px 160px 10px 10px; 
	padding-bottom: 50px;
	border-radius: 20px; /* 角を丸くする */
}
.product-next-biomas img {
	display: block;
	margin: 0 auto;
	padding-top: 50px;
	transform: translateX(-10px); /* 左へずらす */
}
/* 製品開発　実験設備 */
.product-experiment {
	text-align: center; /* 中央寄せ */
	padding-top: 20px;
	padding-bottom: 20px;
}
/* 製品開発　グラフ */
.product-graph {
	text-align: center; /* 中央寄せ */
	padding-top: 20px;
	padding-bottom: 20px;
}
/* 製品開発　タンクサイズ */
.product-tank-size {
	padding-left: 80px;
	padding-bottom: 30px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}
.product-tank-size img {
	display: block;
	margin: 0 auto;
	padding-top: 50px;
	transform: translateX(-30px); /* 左へずらす */
}

/* 導入 */
.equipment {
	padding-top: 20px;
	padding-left: 80px;
	padding-bottom: 10px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}

/* 導入実績 */
.equipment-record {
	padding-top: 20px;
	padding-left: 80px;
	padding-bottom: 10px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}

/* 導入例 */
.equipment-forexample {
	padding-top: 20px;
	padding-left: 80px;
	padding-bottom: 10px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}

/* 導入コンサルティング詳細 */
.equipment-detail {
	padding-top: 20px;
	padding-left: 80px;
	padding-bottom: 50px;
	font: 500 x-large Arial,Helvetica,sans-serif;
}
.equipment-detail li {

}

	.pig-run {
		position: absolute;
		top: 100px;
		right: -200px;
		width: 70px;
		animation: pigStep 3s steps(6) 1 forwards;
	}

	@keyframes pigStep {
		from {
			right: -200px;
		}

		to {
			right: calc(100% + 50px);
		}
	}


	footer {
		padding: 15px 0px 15px 0px;
		background-color: #398ea6ac;
		color: white;
		font-size: 0.8em;
		text-align: center;
	}
