@charset "UTF-8";

/* ============================= */
/* 共通設定 */
/* ============================= */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #f7fdf9;
  padding-top: 80px; /* ヘッダーの高さ分余白を確保 */
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ヘッダー*/
.header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  height: 70px;          /* ヘッダーの高さを固定 */
  box-sizing: border-box;
}

.logo img {
  display: block;
  height: 35px;
  margin-left: 20px;
}

.insta-icon img {
  height: 40px;
  margin-right: 20px;
}

.Itsumo_logo img{
  height: 30px;
  margin-right: 5px;
}

/* ============================= */
/* ▼ ナビゲーション（PC） */
/* ============================= */
.nav {
  position: static;
  background-color: transparent;
  box-shadow: none;
  transition: none;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li a {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  height: 70px;          /* ヘッダーの高さと揃える */
  line-height: 70px;     /* 青いライン中央で揃える */
  box-sizing: border-box;
}


/* ============================= */
/* ▼ ハンバーガーメニュー（共通） */
/* ============================= */
.menu-btn {
  width: 30px;
  height: 18px;
  display: none;  /* PCでは非表示、スマホで表示 */
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* 開閉アニメーション */
.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================= */
/* ▼ スマホ用レイアウト */
/* ============================= */
@media screen and (max-width: 768px) {

  /* ハンバーガーメニューを表示 */
  .menu-btn {
    display: flex;
  }

  /* ナビゲーションを非表示にして右から出す */
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: 0.3s;
    padding-top: 0;
  }

  /* 開いたとき */
  .nav.open {
    right: 0;
  }

  /* ナビを縦並びに */
  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    padding: 12px 24px;
    border-bottom: 1px solid #eee;
  }

  .nav li a {
    height: auto;
    line-height: 1.6;
  }
}


main {
  margin: 0 auto;
  padding: 20px;
  max-width: 1200px;
  box-sizing: border-box;
}

/* ============================= */
/* 共通セクションデザイン */
/* ============================= */
section {
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  margin: 30px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  max-width: 1000px;
  box-sizing: border-box;
}

section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  position: relative;
}

/* ============================= */
/* ▼ ごあいさつセクション */
/* ============================= */
.greeting-container {
  display: flex;
  flex-direction: row-reverse; /* ← 並びを逆にする */
  align-items: flex-start;     /* 上揃え */
  gap: 30px;                   /* 画像とテキストの間隔 */
  margin: 40px 0;
}

.greeting-image {
  flex: 1;
  text-align: right;
}

.greeting-image img {
  max-width: 100%;
  height: auto;
}

.greeting-text {
  flex: 2;              /* テキストを広めに確保 */
  text-align: left;
}

.greeting-text h3 {
  margin-top: 20px;
  font-size: 18px;
  color: #ff6d4d;
}

.greeting-text p {
  margin-bottom: 10px;
}

.sign {
  margin-top: 15px;
  font-weight: bold;
}

/* プロフィール部分 */
.profile {
  margin-top: 15px;
  padding: 15px;
  background-color: #faeae9;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}


/* ============================= */
/* ▼ 会社概要テーブル */
/* =============================*/
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-table {
  display: flex;
  justify-content: center;
  width: 100%;
}

.about-table table {
  width: 80%;
  border-collapse: collapse;
  background-color: #fff;
  margin: 0 auto; /* センター寄せ */
}

.about-table th,
.about-table td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.about-table th {
  background-color: #faeae9;
  color: #616d69;
  width: 30%;
  white-space: nowrap;
}

.about-table td {
  background-color: #fff;
}

/* グラフ + 画像部分 */
.about-graph {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;         /* 画像の間隔 */
  flex-wrap: wrap;   /* 画面が狭いときは折り返し */
  margin-top: 0px;
}

.about-graph img {
  max-width: 45%;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* ============================= */
/* ▼ Jtecあゆみテーブル */
/* ============================= */
.about-history {
  overflow-x: auto;
}

.about-history table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.about-history th,
.about-history td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.about-history th {
  background-color: #faeae9;
  color: #616d69;
  white-space: nowrap;
}



/* ============================= */
/* ▼ 設備一覧テーブル */
/* ============================= */
.facilities {
  overflow-x: auto;  /* 横スクロール対応 */
}

.facilities table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
  min-width: 600px;  /* 強制的に横幅を確保 */
}

.facilities th,
.facilities td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}

.facilities th {
  background-color: #faeae9;
  color: #616d69;
}

.facilities td {
  background-color: #fff;
}


/* ============================= */
/* ▼ 加工事例 */
/* ============================= */
.examples-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.example-item {
  width: 45%;
  min-width: 250px;
  height: 200px;
  background-color: #f7fdf9;
  border-radius: 15px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #aaa;
  font-size: 16px;
}

/* フッター */
footer {
  background-color: #ffffff;
  color: #000000;
  padding: 20px 0;
  text-align: center;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0 0 10px;
  align-items: center;
}

.footer-nav li {
  margin: 0 12px;
}

/* ============================= */
/* ▼ レスポンシブ対応 */
/* ============================= */
@media screen and (max-width: 768px) {
  main {
    padding: 10px;
  }

  section {
    padding: 20px;
  }

  /* ごあいさつ */
  .greeting-container {
    flex-direction: column;
    text-align: center;
  }

  .greeting-image img {
    max-width: 180px;
    margin-bottom: 15px;
  }

  /* 会社概要 */
  .about-container {
    flex-direction: column;
    align-items: center;
  }

 .about-table table {
    width: 100%;
  }

  /* グラフ + 画像 */
  .about-graph {
    flex-direction: column;
  }

  .about-graph img {
    max-width: 100%;
  }

  /* 設備一覧テーブル */
  .facilities table,
  .about-history table {
    font-size: 13px;
  }

  /* 加工事例 */
  .examples-container {
    flex-direction: column;
    align-items: center;
  }

  .example-item {
    width: 100%;
    height: 180px;
  }
  }
