@charset "UTF-8";

:root{
  --red: #e2001a;
  --dark: #222222;
  --border: #e2e2e2;
  --max: 1120px;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  color: var(--dark);
  line-height: 1.8;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
.inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header / 6ページ共通ナビ ---------- */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header .inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: none;
  padding: 0 20px;
}
.header-logo{
  font-weight: bold;
  font-size: 15px;
  white-space: nowrap;
}
.header-nav{
  display: flex;
  gap: 12px;
}
.header-nav a{
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}
.header-nav a:hover{ color: var(--red); }

.hamburger{
  display: none;
  width: 30px; height: 30px;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
}
.hamburger span{
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--dark);
  transition: .3s;
}
.hamburger span:nth-child(1){ top: 8px; }
.hamburger span:nth-child(2){ top: 14px; }
.hamburger span:nth-child(3){ top: 20px; }
.hamburger.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2){ opacity: 0; }
.hamburger.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ---------- メインイメージ ---------- */
.hero{
  margin-top: 60px;
}

/* ---------- 赤帯メッセージ ---------- */
.message{
  background: var(--red);
  color: #fff;
  padding: 30px 0;
  text-align: left;
}
.message p{
  margin: 0;
  font-weight: bold;
}
.message-text{
  font-size: 16px;
}
.message .note{
  font-size: 11px;
  font-weight: normal;
  margin-top: 16px;
  text-align: right;
}

/* ---------- ナビゲーションボタン ---------- */
.nav-buttons{
  padding: 30px 0 100px;
}
.nav-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  max-width: 700px;
  margin: 0 auto;
}
.nav-grid img{ width: 100%; }

/* ---------- サブページ見出し ---------- */
.page-hero{
  margin-top: 60px;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}
.page-hero h1{
  margin: 0;
  font-size: 24px;
}
.coming-soon{
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 20px 120px;
  text-align: center;
}

/* ---------- 右下アイコン ---------- */
.corner-icon{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 70px;
  z-index: 900;
}

/* ---------- 「〜のある1日」ページ：見出し ---------- */
.day-hero{
  margin-top: 60px;
  height: 200px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 30px;
}
.day-hero-icon{
  width: 70px;
  flex-shrink: 0;
  transform: scaleX(-1);
}
.day-hero-title{
  width: 46%;
  max-width: 520px;
}

/* ---------- 「〜のある1日」ページ：タイムライン ---------- */
.timeline{
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 100px;
}
.tl-item{
  position: relative;
  margin-bottom: 50px;
}
.tl-bar{
  background: #cccccc;
  padding: 8px 20px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}
.tl-time{
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
.tl-label{
  color: #222;
  font-weight: bold;
  font-size: 16px;
}
.tl-photo{
  position: absolute;
  top: -20px;
  right: 20px;
  width: 220px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.tl-text{
  margin: 20px 240px 0 40px;
}
.tl-break{
  background: #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 50px;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
}
.tl-break img{ width: 32px; }

/* ---------- 先輩社員のインタビュー ---------- */
.inta-hero{
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
}
.inta-hero-title{
  width: 340px;
  max-width: 60%;
}
.inta-hero-icon{
  width: 70px;
}

.inta-profiles{
  position: relative;
  display: flex;
  justify-content: center;
}
.inta-profiles::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to right, rgba(223,6,21,0.55) 50%, #8f8f8f 50%);
  z-index: 0;
}
.inta-profiles img{
  position: relative;
  z-index: 1;
  width: 38%;
  max-width: 450px;
  display: block;
}

.inta-qa{
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, rgba(223,6,21,0.55) 50%, #8f8f8f 50%);
  padding: 50px 0;
}
.qa-item{
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px;
}
.qa-title{
  position: relative;
  text-align: center;
  color: #fff;
  font-size: 20px;
  margin: 0 0 20px;
}
.qa-title::before{
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  background: url("../img/kyu_icon.png") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
}
.qa-answers{
  display: flex;
}
.qa-eigyou,
.qa-engineer{
  width: 50%;
  margin: 0;
  padding: 0 50px;
  color: #000;
  text-shadow:
    -2px -2px 0 #fff,
     0px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  0px 0 #fff,
     2px  0px 0 #fff,
    -2px  2px 0 #fff,
     0px  2px 0 #fff,
     2px  2px 0 #fff;
}
.qa-tag{
  display: none;
}

.inta-banner{
  width: 100%;
}

/* ---------- 研修制度 ---------- */
.training{
  margin-top: 60px;
}
.training img{
  width: 100%;
  display: block;
}

/* ---------- FAQ ---------- */
.faq-list{
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 100px;
}
.faq-item{
  margin-bottom: 40px;
}
.faq-q{
  position: relative;
  font-size: 18px;
  margin: 0 0 10px;
  padding-bottom: 12px;
}
.faq-q::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--red);
  opacity: 0.5;
}
.faq-item:nth-child(even) .faq-q::after{
  background: #8f8f8f;
}
.faq-a{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0 0 20px;
}
.faq-a-icon{
  width: 44px;
  flex-shrink: 0;
  opacity: 0.55;
  transform: scaleX(-1);
}
.faq-a p{
  margin: 0;
}

/* ---------- 募集要項 ---------- */
.entry-title{
  margin-top: 60px;
  background: var(--red);
  color: #fff;
  padding: 24px 30px;
}
.entry-title h1{
  margin: 0;
  font-size: 24px;
}
.entry-table{
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 100px;
}
.entry-row{
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.entry-label{
  width: 150px;
  flex-shrink: 0;
  font-weight: bold;
}
.entry-content{
  flex: 1;
}
.entry-content.two-col{
  display: flex;
}
.entry-content.two-col .col{
  flex: 1;
  padding: 0 24px;
}
.entry-content.two-col .col:first-child{
  padding-left: 0;
  border-right: 1px solid var(--border);
}
.col-label{
  display: block;
  width: max-content;
  background: transparent;
  color: #000;
  border: 1px solid #000;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 3px;
  margin-right: 10px;
  margin-bottom: 6px;
}
.salary-row{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.entry-content .note{
  flex-shrink: 0;
  font-size: 12px;
  color: var(--gray, #666);
  text-align: right;
  line-height: 1.5;
}
.entry-content .highlight{
  color: var(--red);
  font-weight: bold;
}

.entry-cta{
  text-align: center;
  padding: 0 20px 60px;
}
.entry-cta-btn{
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 18px 80px;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(223,6,21,0.35);
  transition: transform .2s, background .2s;
}
.entry-cta-btn:hover{
  background: var(--red-dark, #b8000f);
  transform: translateY(-2px);
}

@media (max-width: 768px){
  .entry-cta-btn{
    display: block;
    padding: 16px 20px;
  }


  .entry-title{
    padding: 18px 20px;
  }
  .entry-row{
    flex-direction: column;
  }
  .entry-label{
    width: auto;
    margin-bottom: 10px;
  }
  .entry-content.two-col{
    flex-direction: column;
    gap: 16px;
  }
  .entry-content.two-col .col:first-child{
    padding-left: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }
  .entry-content.two-col .col{
    padding: 0;
  }

  .inta-hero{
    padding: 16px 20px;
  }
  .inta-hero-title{ width: 220px; }
  .inta-hero-icon{ width: 46px; }

  .inta-profiles{
    flex-wrap: wrap;
  }
  .inta-profiles::before{
    display: none;
  }
  .inta-profiles img{
    width: 100%;
  }

  .inta-qa{
    background: none;
    padding: 10px 0;
  }
  .qa-title::before{
    width: 100px;
    height: 100px;
    opacity: 0.18;
  }
  .qa-item{
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
  }
  .qa-title{
    color: var(--dark);
  }
  .qa-answers{
    display: block;
  }
  .qa-eigyou,
  .qa-engineer{
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
  }
  .qa-eigyou{
    background: rgba(223,6,21,0.55);
  }
  .qa-engineer{
    background: #8f8f8f;
  }
  .qa-tag{
    display: inline;
    font-weight: bold;
  }
}

@media (max-width: 768px){
  .day-hero{
    height: auto;
    padding: 20px;
    flex-wrap: wrap;
  }
  .day-hero-icon{ width: 50px; }
  .day-hero-title{ width: 220px; max-width: 70%; }

  .tl-photo{
    position: static;
    width: 80%;
    max-width: 320px;
    margin: 16px auto 0;
  }
  .tl-text{
    margin: 16px 20px 0;
  }
}

/* ---------- PC版：メッセージ文字サイズ2倍 ---------- */
@media (min-width: 769px){
  .message-text{
    font-size: 32px;
  }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px){
  .header-nav{
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    transition: transform .3s;
  }
  .header-nav.is-open{ transform: translateX(0); }
  .header-nav a{
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .hamburger{ display: block; }
}
@media (max-width: 768px){
  .hero{ margin-top: 60px; }
  .corner-icon{ width: 50px; }
}
