:root {
    --main-color: #004a99;
    --accent-color: #e60012;
    --text-color: #333;
    --bg-light: #f4f7f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.data-section {
    padding: 80px 0;
    background: #ffffff;
}

/* ===== Header ===== */
header {
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 30px;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--main-color);
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--main-color);
}

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


/* ===============================
   Nav
=============================== */

#nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-right: 30px;
}

#nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 0.9rem;
}

#nav a:hover {
    color: var(--main-color);
}

.btn-entry-small {
    background: var(--accent-color);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
}


/* ===== Hamburger ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin-right: 10px;
}

/* ===============================
 Hello 
=============================== */

.hello {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,74,153,0.8), rgba(0,30,60,0.8)),
                url('./img/main.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 80px 20px 0;
}

.hello-main h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hello-main p {
    font-size: 1.4rem;
    margin-bottom: 40px;
}

/* ===============================
   Section 
=============================== */

section {
    padding: 70px 0;
}

span.section-tag.tag-MESSAGE {
    text-align: center;
}

.section-tag {
    display: block;
    color: var(--main-color);
    font-weight: 900;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

/* ===============================
   Message
=============================== */

.message {
    background: var(--bg-light);
}

.message-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.message-content h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--main-color);
}


/* ===============================
   About 
=============================== */

.about-top {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-title {
    font-size: 2.2rem;
    margin: 20px 0;
}

.image-grid {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-text {
    flex: 1;
}
.image-item {
    flex: 1;
}
.image-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}


/* ===== Arrow ==== */

.yazhirushi-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1150px;
    margin: 40px auto;
}

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

.button-yazhirushi {
    margin: 0px;
    width: 180px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #000;
    border: 1px solid;
    cursor: pointer;
}

.yazirusi {
    display: inline-flex;
    margin-left: 10px;
    width: 100px;
    height: 10px;
    position: relative;
    right: 60px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    transform: skew(45deg);
}


/* ===============================
   Data
=============================== */

h2.data-title {
    color: #004a99;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

p.data-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

p.data-desc {
    color: #666;
    margin-bottom: 50px;
    line-height: 1.8;
}

.data-section {
    text-align: center;
}

.data_top {
  background-color: #e2e2e285;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.data-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.value {
    font-size: 2rem;
    font-weight: 900;
    color: #004a99;
}


/* ===== Benefits ===== */

/* タイトル */
.benefits-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin: 60px 0 30px;
}

.benefits-title-02 {
   margin-top: 30px;
}

/* グリッド */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
margin-top: 30px;
}

/* カード */
.benefit-card {
  display: flex;
  align-items: center;
  gap: 20px;

  background: #f4f7f9;
  border: 1px solid #ddd;
  border-radius: 12px;

  padding: 25px 30px;
}

/* アイコン（丸） */
.benefit-icon {
  width: 70px;
  height: 70px;
  min-width: 70px;

  border-radius: 50%;
  background: #ddd;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

/* アイコン画像 */
.icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト */
.benefit-content {
  text-align: center;
  width: 100%;
}

.benefit-content h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.benefit-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* ===============================
   レスポンシブ
=============================== */

@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    flex-direction: column;
    text-align: center;
  }

  .benefit-icon {
    margin-bottom: 10px;
  }
}

/* ===============================
   INTERVIEW セクション
=============================== */

#jobs {
  padding: 100px 0;
  background: var(--bg-light);
}

/* タイトル */
.section-tag {
  display: block;
  color: #1e5bb8;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
  /* text-align: center; */
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}

span.section-tag.tag-JOBS {
    text-align: center;
}

/* グリッド */
.job-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* カード */
.job-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;

  padding: 30px 25px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 220px;

  transition: 0.3s;
}

/* ホバー（浮かせる） */
.job-card:hover {
  transform: translateY(-5px);
}

/* タイトル */
.job-card h4 {
  font-size: 16px;
  color: #1e5bb8;
  margin-bottom: 15px;
  font-weight: bold;
}

/* 説明 */
.job-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* リンク */
.btn-detail {
    font-size: 14px;
    border-bottom: 2px solid #1e5bb8;
    width: fit-content;
    text-decoration: none;
    font-weight: bold;
    color: var(--text-color);
}

/* ===============================
   レスポンシブ インタビュー
=============================== */

@media (max-width: 1024px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .job-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   モーダル全体
=============================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.4);

  display: none;
  justify-content: center;
  align-items: center;

  z-index: 999;
}

/* 白い本体 */
.modal-inner {
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  z-index: 1000;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;

  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* スクロール部分 */
.modal-scroll {
  padding: 60px 50px;
  overflow-y: auto;
  max-height: 90vh;
}


/* ===============================
    Q&A
=============================== */

.qa-section {
  margin: 0 auto;
background-color: var(--bg-light);  
padding: 60px 20px;
  font-family: sans-serif;

}

.qa-list {
  max-width: 800px;   
  margin: 0 auto;
	border-top: none;
  width: 100%;  

}

.qa-header {
  text-align: center;
  margin-bottom: 40px;
}

.qa-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: #2c6fad;
  margin-bottom: 6px;
}

.qa-title {
  font-size: 14px;
  color: #333;
  border-bottom: none;
  display: inline-block;
  padding-bottom: 4px;
}


.qa-item {
  border-bottom: 1px solid #ccc;
  width: 100%;  

}

.qa-answer {
  border-bottom:  none;
  width: 80%;        
  margin: 0 auto;
  padding-bottom: 20px;
	display: none;
  padding: 0 10px 20px 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.qa-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    text-align: left;
    justify-content: center;
    gap: 20px;  /* +との余白 */
}

.qa-question:hover {
  background-color: #f5f5f5;
}

.qa-icon {
  font-size: 20px;
  color: #2c6fad;
  transition: transform 0.3s;
  flex-shrink: 0;
}

/* 開いているときアイコンを × に */
.qa-question.open .qa-icon {
  transform: rotate(45deg);
}


/* 開いているとき表示 */
.qa-answer.open {
  display: block;
}

.qa-item {
  border-bottom: 1px solid #ccc;
}


/* ===============================
   ヘッダー
=============================== */

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

/* 画像 */
.modal-header img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

/* 英語 */
#modalEn {
  font-size: 14px;
  letter-spacing: 1px;
  color: #777;
  margin-bottom: 5px;
}

/* 日本語 */
#modalJa {
  font-size: 24px;
  font-weight: bold;
}

/* ===============================
   引用（モーダル中身の入社年数・担当業務の部分）
=============================== */

.modal-quote {
  background: #eef1f6;
  padding: 15px 20px;
  border-radius: 10px;

  font-size: 14px;
  margin-bottom: 30px;
}

/* ===============================
   本文
=============================== */

.modal-body {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

/* 見出し（Q） */
.modal-body b {
  display: block;
  margin: 30px 0 10px;
  font-size: 16px;
}

/* 段落 */
.modal-body p {
  margin-bottom: 15px;
}

/* ===============================
   スマホ
=============================== */

@media (max-width: 768px) {
  .modal-scroll {
    padding: 40px 20px;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
  }
}



/* ===== Recruit ===== */

.recruit-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.date {
  text-align: center;
  color: #777;
  margin-bottom: 30px;
}

/* タブ */
.tab {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 20px;
    max-width: 900px;
}

.tab-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
    min-width: auto;
    padding: 10px 27px;
    text-align: center;
    background: #e5edf7;
}

li {
    list-style: none;
}

.tab-btn.active {
  background: #1f5fa8;
  color: #fff;
}

/* テーブル */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    max-width: 830px;
    margin: 0 auto;
}

.recruit-table th {
    width: 25%;
    text-align: left;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 15px;
    vertical-align: top;
    background: #f0f4f8;
}

.recruit-table td {
  border-bottom: 1px solid #ddd;
  line-height: 1.8;
  border: 1px solid #ccc;
    padding: 15px;  
    vertical-align: top;
}

/* スマホ */
@media (max-width: 768px) {
  .recruit-table,
  .recruit-table tr,
  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
  }

  .recruit-table th {
    background: #e9eef3;
  }
}

/* ===== 問い合わせ ===== */

/* 背景＋全体 */
.toiawase_top {
  background: #004a99;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

/* タイトル */
.toiawase_title {
  font-size: 28px;
  margin-bottom: 30px;
}

/* 横並び */
.toiawase_gr {
  display: flex;
  justify-content: center;
  gap: 80px;
  align-items: center;
  margin-bottom: 30px;
}

/* 電話・メール共通 */
.row_tel,
.row_mail {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* アイコン */
.tel_a i,
.mail_ahref i {
  font-size: 50px;
  color: #fff;
}

/* 電話番号 */
.time_a {
  font-size: 36px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* 受付時間 */
.time_p {
  font-size: 14px;
  margin-bottom: 5px;
}

/* フォーム */
.form_ahref {
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* 下のコメント */
.coment_toiawase_p p {
  font-size: 16px;
  opacity: 0.9;
}

.row_a_mail {
    display: flex;
    gap: 10px;
}


/* ===== レスポンシブ 問い合わせ ===== */

@media (max-width: 768px) {
  .toiawase_gr {
    flex-direction: column;
    gap: 30px;
  }

  .time_a {
    font-size: 28px;
  }

  .form_ahref {
    font-size: 22px;
  }

  .tel_a i,
  .mail_ahref i {
    font-size: 40px;
  }
}


/* ===== Footer ===== */

/* フッター全体 */
.main-footer {
  background: #e9e9e9;
  padding: 60px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

/* カラム余白 */
.main-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

/* 各カラム */
.main-footer .col-lg-3 {
  flex: 1;
  min-width: 220px;
}

/* 見出し */
.main-footer h4,
.main-footer h2 {
  font-weight: bold;
  margin-bottom: 15px;
}

.main-footer h2 {
  color: #2b6cb0;
  font-size: 22px;
}

/* リスト */
.main-footer ul {
  padding: 0;
  margin: 0;
}

.main-footer ul li {
  list-style: none;
}

.main-footer li {
  line-height: 1.8;
}

/* リンク */
.main-footer a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: 0.2s;
}

.main-footer a:hover {
  color: #2b6cb0;
  text-decoration: underline;
}

li.text-primary {
    font-size: 14px;
}

/* SNS */
.social-custom {
  margin: 10px 0 15px;
}

.social-custom li {
  display: inline-block;
  margin-right: 10px;
}

.social-custom i {
  font-size: 22px;
}

/* YouTube赤 */
.fa-youtube {
  color: #e60023;
}

/* Facebook青 */
.fa-facebook-square {
  color: #1877f2;
}

 /* TEL */
/*.tel a {
  color: #2b6cb0;
} */

/* コピーライト */
.copyrights {
  background: #3a3a3a;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 13px;
}



/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hello {
        height: 50vh;
    }
    .about-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #nav {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: #fff;
        display: none;
        border-top: 1px solid #eee;
    }

    #nav.active {
        display: block;
    }

    #nav ul {
        flex-direction: column;
        padding: 20px;
    }

    #nav li {
        margin-bottom: 10px;
    }

    .hamburger {
        display: flex;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }

    .data-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
     .about-top {
        flex-direction: column;
    }

    .image-grid {
        flex-direction: column;
    }

    .benefit-icon {
        width: 130px;
        height: 130px;
    }

    .section-tag {
        display: flex;
        justify-content: center;
    }

    .hello-main h1 {
      font-size: 1.7rem;
    }

    .message-content h3,
    .about-title {
      font-size: 1.2rem;
    }
}