@charset "UTF-8";

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ヘッダー */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 100px;
  background: #fff;
}
.header-logo img { width: 210px; }
.gnav ul { display: flex; list-style: none; }
.gnav li { font-size: 14px; font-weight: 700; }
.gnav li + li::before { content: "|"; margin: 0 22px; color: #999; font-weight: 400; }
.gnav a:hover { color: #13683e; }
.nav-toggle { display: none; }

/* スライドバナー */
.slider { position: relative; overflow: hidden; aspect-ratio: 1920 / 640; background: #ededed; }
.slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
.slider img.active { opacity: 1; }
.slider-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.6); box-shadow: 0 0 2px rgba(0,0,0,.4);
}
.slider-dots button.active { background: #13683e; }

/* 工場・作業現場の強い味方 */
.intro {
  display: flex;
  align-items: center;
  margin-top: 50px;
}
.intro-text { flex: 1; padding: 0 40px 0 10%; }
.intro-text h2 { font-size: 34px; margin-bottom: 24px; }
.intro-text p { font-size: 16px; }
.intro-img { flex: 1; }
.intro-img img { width: 100%; }

/* ボタン */
.btn {
  display: inline-block;
  width: 300px; max-width: 100%;
  padding: 16px 0;
  text-align: center;
  border: 1px solid #222;
  font-size: 15px;
  transition: all .3s ease;
}
.btn:hover { background: #1e8a52; border-color: #1e8a52; color: #fff; }

/* 4分割メニュー */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 50px; }
.menu-item {
  position: relative;
  aspect-ratio: 960 / 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center;
  background-color: #13683e;
  background-size: cover; background-position: center;
  padding: 20px;
}
.menu-company    { background-image: url(../img/infobunner01.png); }
.menu-ecsite     { background-image: url(../img/infobunner02.png); }
.menu-media      { background-image: url(../img/infobunner03.png); }
.menu-employment { background-image: url(../img/infobunner04.png); }
.menu-item h2 { font-size: 38px; letter-spacing: .05em; line-height: 1.4; }
.menu-item p { font-size: 15px; margin: 8px 0 24px; }
.menu-item .btn { border-color: #fff; color: #fff; width: 300px; }
.menu-item .btn:hover { background: #1e8a52; border-color: #1e8a52; }
/* 3つ並び（メディア情報なし） */
.menu-grid-3 { grid-template-columns: repeat(3, 1fr); }
.menu-grid-3 .menu-item { aspect-ratio: 4 / 3; }
.menu-grid-3 .menu-item h2 { font-size: 32px; }
.menu-grid-3 .menu-item p { font-size: 13px; }
.menu-grid-3 .menu-item .btn { width: 80%; max-width: 260px; }

/* 下層ページ共通 */
.gnav a.current { color: #13683e; }
.page-head img { width: 100%; min-height: 80px; object-fit: cover; object-position: left center; }
.section { max-width: 800px; margin: 0 auto; padding: 70px 20px 0; }
.section-title { font-size: 28px; text-align: center; margin-bottom: 30px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; border-top: 1px solid #ddd; }
.info-table th, .info-table td { border-bottom: 1px solid #ddd; padding: 14px 16px; text-align: left; vertical-align: top; }
.info-table th { width: 22%; font-weight: 700; white-space: nowrap; }
.map { position: relative; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 8px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 会社概要：ご挨拶（社是） */
.motto { display: flex; background: #f7f7f7; }
.motto-img {
  flex: 1;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
/* motto.jpg の左半分（建物写真）だけを見せる */
.motto-img::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 200%;
  background: url(../img/motto.jpg) left center / cover no-repeat;
}
.motto-img p { position: relative; color: #fff; font-size: 44px; font-weight: 700; letter-spacing: .03em; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.motto-list { flex: 1; padding: 50px 40px 50px 10%; }
.motto-list dt { font-size: 24px; font-weight: 700; line-height: 1.4; }
.motto-list dt span { color: #13683e; }
.motto-list dd { font-size: 14px; margin-bottom: 14px; }
.motto-list dd:last-child { margin-bottom: 0; }

/* 会社概要：受賞歴 */
.award-table .award-img { width: 110px; text-align: center; }
.award-table .award-img img { display: inline-block; max-height: 70px; width: auto; }

/* メディア情報 */
.media-item { display: flex; gap: 30px; padding: 30px 0; border-bottom: 1px solid #ddd; }
.media-item:first-of-type { border-top: 1px solid #ddd; }
.media-img { flex: 0 0 200px; }
.media-img img { width: 200px; aspect-ratio: 1 / 1; object-fit: contain; background: #f7f7f7; }
.media-body { flex: 1; min-width: 0; font-size: 14px; }
.media-body time { font-size: 13px; color: #666; }
.media-body h3 { font-size: 18px; line-height: 1.6; margin: 4px 0 12px; color: #13683e; }
.media-body p + p { margin-top: 8px; }
.media-label { font-weight: 700; margin-top: 12px; }
.media-spec { padding-left: 1.4em; font-size: 13px; }

/* 運営サイト */
.shop-section { max-width: 1000px; padding-bottom: 20px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 40px; }
.shop-card h3 {
  background: #222; color: #fff;
  font-size: 15px; text-align: center; line-height: 1.5;
  padding: 10px 12px;
}
.shop-card h3 a:hover { color: #8fd4ab; }
.shop-img { display: block; aspect-ratio: 560 / 350; border: 1px solid #ddd; border-top: none; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
a.shop-img:hover img { opacity: .8; }
.shop-img.noimg {
  display: flex; align-items: center; justify-content: center;
  background: #f2f2f2; color: #999; font-size: 14px;
}
.shop-card p { font-size: 13px; margin-top: 10px; }

/* 採用情報 */
.entry { text-align: center; }
.entry p { font-size: 15px; margin-bottom: 30px; }

/* フッター */
.footer-info { text-align: center; padding: 60px 20px 50px; }
.footer-info img { width: 210px; margin: 0 auto 16px; }
.footer-info .name { font-weight: 700; margin-bottom: 12px; }
.footer-info .addr { font-size: 14px; }
.footer-bottom { background: #ededed; text-align: center; padding: 30px 20px; }
.fnav ul { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin-bottom: 20px; }
.fnav li { font-size: 13px; font-weight: 700; }
.fnav li + li::before { content: "|"; margin: 0 16px; color: #999; font-weight: 400; }
.fnav a:hover { color: #13683e; }
.copyright { font-size: 11px; color: #444; }

/* スマホ */
@media screen and (max-width: 767px) {
  .header { height: 64px; padding: 0 16px; position: relative; }
  .header-logo img { width: 140px; }
  .nav-toggle {
    display: block; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: #222;
  }
  .nav-toggle::before { top: 0; }
  .nav-toggle span { top: 11px; }
  .nav-toggle::after { bottom: 0; }
  .gnav {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0; z-index: 10;
    background: #fff; border-top: 1px solid #ddd; box-shadow: 0 4px 8px rgba(0,0,0,.1);
  }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; }
  .gnav li + li::before { content: none; }
  .gnav li { border-bottom: 1px solid #eee; }
  .gnav a { display: block; padding: 14px 20px; }

  .intro { flex-direction: column; margin-top: 30px; }
  .intro-text { padding: 0 16px; margin-bottom: 30px; }
  .intro-text h2 { font-size: 24px; }
  .intro-text p { font-size: 14px; }

  .menu-grid { grid-template-columns: 1fr; margin-top: 30px; }
  .menu-grid-3 .menu-item { aspect-ratio: 960 / 500; }
  .menu-grid-3 .menu-item h2 { font-size: 28px; }
  .menu-grid-3 .menu-item .btn { width: 220px; }
  .menu-item h2 { font-size: 28px; }
  .menu-item p { font-size: 13px; }
  .menu-item .btn { width: 220px; padding: 12px 0; }

  .fnav li + li::before { margin: 0 8px; }

  /* 見出し画像は左半分（青地＋文字）を画面幅に合わせる */
  .page-head { overflow: hidden; }
  .page-head img { width: 200%; max-width: none; min-height: 0; }

  .section { padding: 50px 16px 0; }
  .section-title { font-size: 22px; margin-bottom: 20px; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: none; padding: 12px 8px 0; color: #13683e; }
  .info-table td { padding: 4px 8px 12px; }
  .award-table .award-img { text-align: left; }

  .motto { flex-direction: column; }
  .motto-img { min-height: 220px; }
  .motto-img p { font-size: 32px; }
  .motto-list { padding: 30px 20px; }
  .motto-list dt { font-size: 20px; }

  .media-item { flex-direction: column; gap: 16px; padding: 24px 0; }
  .media-img { flex: none; }
  .media-img img { width: 160px; margin: 0 auto; }
  .media-body h3 { font-size: 16px; }

  .shop-grid { grid-template-columns: 1fr; gap: 36px; }
  .shop-card h3 { font-size: 14px; }
}
