/* 背景色 #F5F5F1 */
body {
    background-color: #F5F5F1;
}

/* ファーストビュー */
.firstview {
    padding: 0 15%;
}

.img-firstview {
    height: 400px;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    background-image: url('../images/top/firstview.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 企業ロゴ */
.slider {
  overflow: hidden;
  width: 100%;
}

.slide-track {
  display: flex;
}

.slide {
  flex: 0 0 auto;
  width: 130px;
  height: 130px;
  margin: 0 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon_ud { background-image: url('../images/top/Icon_UD.png'); }
.icon_hino { background-image: url('../images/top/Icon_HINO.png'); }
.icon_fuso { background-image: url('../images/top/Icon_FUSO.png'); }
.icon_lexus { background-image: url('../images/top/Icon_LEXUS.png'); }
.icon_bmw { background-image: url('../images/top/Icon_BMW.png'); }
.icon_futaba { background-image: url('../images/top/Icon_Futaba.png'); }
.icon_tjk { background-image: url('../images/top/Icon_TJK.png'); }
.icon_porsche  { background-image: url('../images/top/Icon_PORSCHE.png'); }
.icon_honda  { background-image: url('../images/top/Icon_HONDA.png'); }
.icon_mazda  { background-image: url('../images/top/Icon_MAZDA.png'); }
.icon_toyota  { background-image: url('../images/top/Icon_TOYOTA.png'); }
.icon_yanase  { background-image: url('../images/top/Icon_YANASE.png'); }
.icon_isuzu  { background-image: url('../images/top/Icon_ISUZU.png'); }
.icon_citylight  { background-image: url('../images/top/Icon_CityLight.png'); }
.icon_ryobi  { background-image: url('../images/top/Icon_Ryobi.png'); }


/* メカ職とは */
.aboutus {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  font-family: 'Noto Serif JP', serif;
}

.about-title {
  position: relative;
  display: inline-block;
}

.about-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05); /* 薄く透けた文字 */
  z-index: 1;
  white-space: nowrap;
  font-family: sans-serif;
}

.about-main {
  position: relative;
  font-size: 46px;
  color: #3e1e1a; /* 濃いブラウン系 */
  z-index: 2;
  margin: 0;
}

.about-sub {
  position: relative;
  font-size: 24px;
  color: #3e1e1a;
  z-index: 2;
  margin-top: -10px;
}

.about-text-box {
  position: relative;
  background-color: #ffffff;
  border: 3px solid #B3B3B3;
  max-width: 770px;
  margin: 20px auto;
  padding: 15px 0px;
  text-align: center; /* 中央ぞろえ */
}

.about-text {
  position: relative;
  font-size: 20px;
  color: #3e1e1a;
  z-index: 2;
  margin-top: 10px;
  line-height: 2;
}

/* 選べる働き方 */
.selectwork {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.selectwork-title {
  position: relative;
  display: inline-block;
}

.selectwork-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05); /* 薄く透けた文字 */
  z-index: 1;
  white-space: nowrap;
}

.selectwork-main {
  position: relative;
  font-size: 50px;
  color: #3e1e1a; /* 濃いブラウン系 */
  z-index: 2;
  margin: 0;
  font-weight: bold;
}
.img-selectwork-Text {
    height: 850px;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    background-image: url('../images/top/selectworkText.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.img-selectwork-sitayajirusi {
    height: 70px;
    width: 100%;
    margin: 40px auto;
    max-width: 1200px;
    background-image: url('../images/top/sitayajirusi.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.selectwork-text {
    color: #3e1e1a; /* 濃いブラウン系 */
}
.selectwork-text-h2 {
    font-size: 30px;
}
.selectwork-text-h3 {
    padding-top: 20px;
    font-size: 26px;
}

/* 選ばれる理由6選 */
.reason {
  text-align: center;
  padding: 200px 20px;
  position: relative;
}

.reason-title {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.reason-bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05); /* 薄く透けた文字 */
  z-index: 1;
  white-space: nowrap;
}

.reason-main {
  position: relative;
  font-size: 50px;
  color: #3e1e1a; /* 濃いブラウン系 */
  z-index: 2;
  margin: 0;
  font-weight: bold;
}
.grid_reason{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    column-gap: 0px; /* 左右の間隔 */
    row-gap: 34px;   /* 上下の間隔 */
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.cell_reason{
    aspect-ratio: 1 / 1;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.img-Card1  { background-image: url('../images/top/Card1.png'); }
.img-Card2  { background-image: url('../images/top/Card2.png'); }
.img-Card3  { background-image: url('../images/top/Card3.png'); }
.img-Card4  { background-image: url('../images/top/Card4.png'); }
.img-Card5  { background-image: url('../images/top/Card5.png'); }
.img-Card6  { background-image: url('../images/top/Card6.png'); }


/* 会社情報 */
.company {
    padding: 0 15%;
    margin-top: 10px;
}

.img-company {
    height: 280px;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    background-image: url('../images/top/Company.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.company-title {
  text-align: center;
  font-family: "MS 明朝", "游明朝", "ヒラギノ明朝 ProN", serif;
  margin: 30px;
}

.company-main {
  position: relative;
  font-size: 72px;
  color: #3e1e1a; /* 濃いブラウン系 */
  margin: 0;
}

.company-sub {
  position: relative;
  font-size: 24px;
  color: #3e1e1a;
  margin-top: -25px;
}
.company-table {
  width: 100%;
  border-collapse: collapse; /* 枠線を重ねる */
  margin: 20px auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  max-width: 800px;
}

.company-table th,
.company-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  vertical-align: top;
}

.company-table th {
  background-color: #e9e9e9;
  text-align: left;
  width: 25%; /* 左側を固定幅に */
  font-weight: bold;
  color: #333;
}

.company-table td {
  width: 75%;
  color: #333;
  line-height: 1.6;
}
.award-icon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    padding-top: 30px;
}
.award-icon-gptw {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/top/GPTW.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.award-icon-bestventure {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/top/nishinihon100.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.award-icon-newbusiness {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/top/CNB2025.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 480px) {
    /* ファーストビュー */
    .firstview {
        padding: 0;
    }
    .img-firstview {
        height: 220px;
        background-size: cover;
    }
    
    /* 企業ロゴ */
    .slide {
      width: 80px;
      height: 80px;
    }
    
    /* メカ職とは */
    .aboutus {
      padding: 20px 20px;
    }
    .about-bg {
      font-size: 60px;
    }
    .about-main {
      font-size: 32px;
    }
    .about-sub {
      font-size: 16px;
    }
    .about-text {
      font-size: 10px;
    }

    /* 選べる働き方 */
    .selectwork {
      padding: 20px 0px;
    }
    .selectwork-bg {
      font-size: 60px;
    }
    .selectwork-main {
      font-size: 32px;
    }
    .img-selectwork-Text {
        height: 400px;
    }
    .selectwork-text-h2 {
        font-size: 24px;
    }
    .selectwork-text-h3 {
        font-size: 18px;
    }

    /* 選ばれる理由6選 */
    .reason {
      padding: 140px 0px;
    }
    .reason-bg {
      font-size: 48px;
    }
    .reason-main {
      font-size: 32px;
    }
    .grid_reason{
      padding: 0px 0px;
    }
    /* 会社情報 */
    .company {
        padding: 0;
    }
    .img-company {
        height: 140px;
        background-size: cover;
    }
    .company-main {
      font-size: 50px;
    }
    .company-sub {
      font-size: 22px;
      margin-top: -18px;
    }
/* 
.company-table, .company-table tr, .company-table th, .company-table td {
  display: block;
  width: 100%;
}
.company-table th {
  background-color: transparent;
  border: none;
  font-weight: bold;
  padding-top: 20px;
}
.company-table td {
  border: none;
  padding-top: 0;
}
*/
}