@charset "UTF-8";
/* CSS Document */

/* テーブル*/
.table_box {
width: 100%;
margin: 30px 0;
}
.table_box.mt-15 {
margin: 15px 0 0;
}
.table_box th {
width: 200px;
padding: 25px 20px 25px 0;
vertical-align: top;
text-align: left;
font-weight: bold;
position: relative;
}
.table_box td {
padding: 25px 0 25px 20px;
position: relative;
}
.table_box td::before {
content: "";
display: block;
position: absolute;
top: 20px;
bottom: 20px;
left: 0;
width: 1px;
height: calc(100% - 40px);
background: #CCC;
}
.table_box td .table_cell_content {
padding: 40px 0 0;
}
.table_box td .table_cell_content:first-child {
padding: 0;
}
.table_box td .table_cell_content h3 {
font-size: 2rem;
margin: 0 0 15px;
}
.table_box td .table_cell_content h4 {
font-size: 1.6rem;
margin: 0 0 10px;
}
.table_box td .table_cell_content p {
margin: 0 0 25px;
}
.table_box td .table_cell_content .idt {
text-indent: -1em;
padding: 0 0 0 1em;
margin: -20px 0 25px;
font-size: .8em;
}
.table_box td .table_cell_content .fa {
text-indent: 0;
margin: 0 5px;
}
.table_box td .table_cell_content > :last-child {
margin-bottom: 0;
padding-bottom: 0;
}

.table_box td .table_cell_content > :last-child {
margin-bottom: 0;
padding-bottom: 0;
}

.img-m-fit {
	 max-width: 100%;
	height: auto;
}

.section-box h2.bigtitle{
	/*padding: 1em 0 0 0;*/
	font-size: 160%;
	font-weight: bold;
}

.section-box h2.stitle{
	/*padding: 1em 0 0 0;*/
	font-size: 140%;
	font-weight: bold;
	color: black;
}

@media (max-width: 767px){
	.section-box h2.bigtitle{
	/*padding: 1em 0 0 0;*/
	font-size: 140%;
	font-weight: bold;
}
	
	.section-box h2.stitle{
	/*padding: 1em 0 0 0;*/
	font-size: 120%;
	font-weight: bold;
}
}

.table1 td,
.table1 th {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 18px;
    border: 1px solid #ccc
}

.table1 td span {
	float: right;
}

.table1 td span.ttl_s {
	float: none;
	font-weight: bold;
	line-height: 1.8em;
}
.table1 td ul.tab_list {
	margin: 0.5em 0;
}

@media(max-width:767px) {
    .table1 {
        margin-bottom: 1em
    }
    .table1 td,
    .table1 th {
        font-size: 13px
    }
}
@media(max-width:480px) {
    .table1 td,
    .table1 th {
        font-size: 11px
    }
	}

/* テーブル*/
.table_box2 {
  width: 100%;
  margin: 1em 0;
  border: #c8c8c8 1px solid;
  padding: 0.5em;
}
table.table_box2  {
  margin-bottom: 0;
}
.table_box2.mt-15 {
  margin: 15px 0 0;
}
.table_box2 tr:nth-child(odd) td {
  background: none;
}
.table_box2 th {
  width: 18em;
  padding: 18px 20px 18px 0;
  vertical-align: top;
  text-align: left;
  font-weight: bold;
  position: relative;
	background: none;
	border: none;
  font-size: 1.0625rem;
}
.table_box2 td {
  padding: 18px 0 18px 20px;
  position: relative;
	border: none;
	background: none;
}

.table_box2 td::before {
  content: "";
  display: block;
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 1px;
  height: calc(100% - 40px);
  background: #CCC;
}
.table_box2 td .table_cell_content {
  padding: 40px 0 0;
}
.table_box2 td .table_cell_content:first-child {
  padding: 0;
}
.table_box2 td .table_cell_content h3 {
font-size: 2.5rem;
margin: 0 0 15px;
}
.table_box2 td .table_cell_content h4 {
font-size: 1.6rem;
margin: 0 0 10px;
}
.table_box2 td .table_cell_content p {
margin: 0 0 25px;
}
.table_box2 td .table_cell_content .idt {
text-indent: -1em;
padding: 0 0 0 1em;
margin: -20px 0 25px;
font-size: .8em;
}
.table_box2 td .table_cell_content .fa {
text-indent: 0;
margin: 0 5px;
}
.table_box2 td .table_cell_content > :last-child {
margin-bottom: 0;
padding-bottom: 0;
}

.table_box2 td .table_cell_content > :last-child {
margin-bottom: 0;
padding-bottom: 0;
}


@media screen and (max-width: 767px) {
.table_box2 {
margin: 20px 0 0;
}
	.cg-wrap table {
		margin-bottom: 0; 
	}
.table_box2 th {
display: block;
width: 100%;
padding: 0 0 10px;
border-bottom: #CCC 1px solid;
font-size: 0.9375rem;
}
.table_box2 td {
display: block;
padding: 15px 0 30px;
}
.table_box2 td::before {
display: none;
}
}
/*アンカーリンクでナビゲーションの高さを維持*/
html, body {
  scroll-behavior: smooth;
}

.anchor-adjust {
  position: relative;
  top: -120px; /* ヘッダー分だけ上にずらす */
  height: 0;
  visibility: hidden;
}

/*spanで文字サイズを大きく*/
.txtBig {
  display: inline-flex;
  align-items: flex-end; /* 下揃え */
}

.txtBig span {
  font-size: 2em;
  line-height: 1;
	padding-left: 0.2em;
}
@media (max-width: 767px) {
  .txtBig {
    display: block;  /* スマホ時はflex解除して普通のブロックに */
  }
  .txtBig span {
    display: block;  /* 改行 */
    font-size: 2em;
    line-height: 1;
  }
}

/*4カラムの高さ揃えたボックス*/
.container4Box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.container4Box .box {
  flex: 1 0 100%; /* デフォルトはスマホ（1カラム） */
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 1rem;
  background-color: #f5f5f5;
}
/* タブレット（幅768px以上）で2カラム */
@media (min-width: 768px) {
  .container4Box .box {
    flex: 1 0 calc(50% - 1rem);
  }
}

/* PC（幅1024px以上）で4カラム */
@media (min-width: 1024px) {
  .container4Box .box {
    flex: 1 0 calc(25% - 1rem);
  }
}

	
/* 6：4レスポンシブ
===================================*/
.col64 {
  display: flex;
  flex-wrap: wrap;
}

.col64_l,
.col64_r {
  box-sizing: border-box;
}
.col64_l{
	padding-right: 1rem; 
}
.col64 img{
	width: 100%;
}

/* 768px以上：6:4に分割 */
@media (min-width: 768px) {
  .col64_l {
    width: 60%;
  }
  .col64_r {
    width: 40%;
  }
}

/* 768px未満：100%に */
@media (max-width: 767px) {
  .col64_l,
  .col64_r {
    width: 100%;
  }
}
/* 4：6　3：7レスポンシブ
===================================*/
.col46 {
  display: flex;
  flex-wrap: wrap;
}

.col46_l,
.col46_r {
  box-sizing: border-box;
}
.col46_l{
	padding-right: 1rem; 
}
.col46 img{
	width: 100%;
}

.col37 {
  display: flex;
  flex-wrap: wrap;
}

.col37_l,
.col37_r {
  box-sizing: border-box;
}
.col37_l{
	padding-right: 1rem; 
}
.col37 img{
	width: 100%;
}

/* 768px以上：4:6、3：7に分割 */
@media (min-width: 768px) {
  .col46_l {
    width: 40%;
  }
  .col37_l {
    width: 30%;
  }
  .col46_r {
    width: 60%;
  }
  .col37_r {
    width: 70%;
  }
}

/* 768px未満：100%に */
@media (max-width: 767px) {
  .col46_l,
  .col46_r {
    width: 100%;
  }
  .col37_l,
  .col37_r {
    width: 100%;
  }
}


/* 7：3レスポンシブ
===================================*/
.col73 {
  display: flex;
  flex-wrap: wrap;
}

.col73_l,
.col73_r {
  box-sizing: border-box;
}
.col73_l{
	padding-right: 2rem; 
}
.col73 img{
	max-width: 100%;
  height: auto;
	text-align: center;
}
.col73_r {
	text-align: center;
}


/* 768px以上：7:3に分割 */
@media (min-width: 768px) {
  .col73_l {
    width: 70%;
  }
  .col73_r {
    width: 30%;
  }
}

/* 768px未満：100%に */
@media (max-width: 767px) {
  .col73_l {
	width: 100%;
	  padding-right: 0; 
  }
	.col73_r {
    max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  }

}

/* 4列レスポンシブ
===================================*/
.col4 {
  display: flex;
  flex-wrap: wrap;
  gap: 2%; /* 列間だけに余白を入れる */
}

.col4 > div {
  box-sizing: border-box;
  width: calc((100% - 2% * 3) / 4); /* 4列なら間は3つ */
}

/* 4列目（4番目ごと）は右マージンを消す */
.col4 > div:nth-child(4n) {
  margin-right: 0;
}

.col4 figure {
  margin: 0;
  padding: 0;
}

.col4 > div {
  padding: 0; /* 念のため */
	margin-bottom: 1rem;
}

.col4 > div img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

/* タブレット：2列 */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .col4 > div {
    width: calc((100% - 2%) / 2); /* 2列：間1つ＝gap 2% */
  }

  .col4 > div:nth-child(2n) {
    margin-right: 0;
  }
}

/* スマホ：1列 */
@media screen and (max-width: 767px) {
  .col4 > div {
    width: 100%;
    margin-right: 0;
  }
}

/* Boxに80%でセンター揃え
===================================*/
.box1col {
  text-align: center; /* インライン要素を中央に */
	margin-top: 1em;
}

.box1col img {
  width: 80%;
  height: auto;      /* アスペクト比を保つ */
  display: inline-block; /* 中央揃えのために必要 */
}

/* 4カラムBOXの高輪を揃えて2段目の始まりを揃える
===================================*/
  .container4col {
    display: flex;
    gap: 1rem;
  }

  .box4col {
    flex: 1;
    border: 1px solid #ccc;
    padding: 1rem;
    display: flex;
    flex-direction: column;
  }

  .section4col {
    margin-bottom: 1rem;
    /* 高さを揃える（必要なら min-height）*/
    min-height: 100px; /* 適宜調整。内容に応じて自動調整も可 */
  }

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

  /* 3カラムのうち2と3がセットになるように
===================================*/
.container {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

/* Column 1 */
.col1,
.group > .squareFigure {
  width: 33.333%;
}
.col1 .squareFigure {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;
}
/* Group for col2 and col3 */
.group {
  width: 66.666%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border: 1px solid #000;
}
/* タイトル */
.groupTitle {
  font-size: 1.1rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.5em;;
}

/* 画像を横並びにする部分 */
.groupContent {
  display: flex;
  flex: 1; /* 残りの高さを使う */
  gap: 10px;
}

/* figure を均等に並べる */
.groupContent .squareFigure {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 4:3画像 */
.squareFigure img {
  width: 95%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

/* キャプション整列 */
.squareFigure figcaption {
  margin-top: auto;
  text-align: center;
  min-height: 2em;
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .col1 .squareFigure img {
    width: 65%;
    padding: 0;
    margin: 0 auto;
  }
  .col1,
  .group {
    width: 100%;
  }
  .groupContent {
    flex-direction: column; /* または column にして縦並びでもOK */
  }
  .groupContent .squareFigure img {
    width: 65%;
    padding: 0;
    margin: 0 auto;
  }
}
/* アスペクト比4:3で揃える */
.imageRow {
  display: flex;
  gap: 10px;
}

.fixedAspectFigure {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* アスペクト比4:3 */
.fixedAspectFigure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover; /* 塗りつぶし系ならcontainでもOK */
  display: block;
}

/* キャプションの整列 */
.fixedAspectFigure figcaption {
  margin-top: auto;
  text-align: center;
  min-height: 2.5em; /* 必要に応じて高さ調整 */
}
/* 正方形で揃える */
.blocksquare {
  display: flex;
  gap: 10px;
  flex-wrap: wrap; /* レスポンシブ対応 */
}

/* 各Figure */
.squareFigure {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  padding: 0;
  vertical-align: bottom;
}

/*文字の前にicon*/
.with-icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* アイコンと文字の間隔 */
}

.with-icon::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* アイコンごとの画像を切り替え */
.icon-co2::before {
  background-image: url("../sustainability/img/case/icon-co2.svg");
}
.icon-haiki::before {
  background-image: url("../sustainability/img/case/icon-haiki.svg");
}
.icon-water::before {
  background-image: url("../sustainability/img/case/icon-water.svg");
}
.icon-chemicals::before {
  background-image: url("../sustainability/img/case/icon-chemicals.svg");
}

/*画像調整*/
.medium {
  display: block;       /* 余計な余白を消すため */
  margin: 0 auto;       /* 中央寄せ */
  max-width: 100%;      /* はみ出さないように */
}

/* PC（760px以上）の場合 */
@media (min-width: 760px) {
  .medium {
    width: 420px;
  }
}

/* タブレット以下（759px以下）の場合） */
@media (max-width: 768px) {
  .medium {
    width: 100%;
  }
}

/* 共通：wrapをflexで横並び */
.wrap3565 {
  display: flex;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  gap: 0;               /* 余白不要なら0 */
  align-items: flex-start; /* 高さ基準を揃える */
}

/* figureごとにflex比率を設定 */
.wrap3565 figure.portrait {
  flex: 35;             /* 親幅の35%まで伸びる */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wrap3565 figure.landscape {
  flex: 65;             /* 親幅の65%まで伸びる */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* imgは枠内に収める、高さ揃え＋比率維持 */
.wrap3565 img {
  max-height: 500px;    /* 高さを揃える */
  max-width: 100%;      /* 枠内に収める */
  width: auto;
  height: auto;         /* 自動で比率維持 */
  display: block;
  object-fit: contain;
}

/* figcaption中央揃え */
.wrap3565 figcaption {
  text-align: center;
  margin-top: 0.5em;
}

/* レスポンシブ：768px以下は縦並び */
@media screen and (max-width: 768px) {
  .wrap3565 {
    display: block;
    text-align: center;
  }

  /* 縦長画像：75%幅で中央 */
  .wrap3565 figure.portrait {
    max-width: 75%;
    margin:1em auto;
  }
  .wrap3565 figure.portrait img {
    width: 100%;       /* 親の75%幅に合わせる */
    height: auto;
    max-height: none;  /* 高さ制限解除 */
  }

  /* 横長画像：100%幅 */
  .wrap3565 figure.landscape {
    max-width: 100%;
    margin:1em auto;
  }
  .wrap3565 figure.landscape img {
    width: 100%;       /* 横幅いっぱい */
    height: auto;
    max-height: none;
  }
}

