/* ========== レイアウトベース ========== */
body {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #f3f3f3;
  background: url("../images/background_blue.jpg") repeat;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #e0e0e0;
}

a:hover {
  color: #acacac;
}

/* ハンバーガー非表示（PC） */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #fff;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
}


/* ========== 共通ラッパー ========== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}


/* ========== ヘッダー ========== */
.site-header {
  padding: 20px 0 0;
}
.header-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
}

.site-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  padding-top: 20px;
}

.site-nav img {
  height: 40px;
}

/* ========== メインレイアウト（サイド付き） ========== */
/* ===== fv中央寄せ ===== */
#visual_box {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

#visual_box img {
  width: 100%;
  height: auto;
  display: block;
}


/* ===== ナビ背景囲い（旧テンプレ風） ===== */
.site-nav {
  display: flex;
  gap: 16px;
}


.site-nav a img {
  display: block;
}

.site-nav a img:hover {
  opacity: .8;
}


.with-sidebar {
  display: flex;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 40px;
  /* ←上下・左右をまとめた */
}

.sidebar {
  width: 230px;
  flex-shrink: 0;
}

.content {
  flex: 1;
  max-width: 1000px;
  margin: 0 auto;
}



.side_all {
  background-color: rgba(195, 209, 239, 0.7);
  padding: 16px;
  border-radius: 4px;
  padding: 10px 0;
}

.side_bnr {
  margin-bottom: 10px;
}

.side_bnr img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 180px;
  margin: 0 auto;
}


.sns_bnr {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.sns_bnr img,
.sns-icon {
  width: 40px;
  height: 40px;
}


/* ========== コンテンツブロック ========== */
.feature_box1,
.feature_box2 {
  margin-bottom: 24px;
}

.feature_box1 img,
.feature_box2 img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャリア */
.right {
  text-align: right;
  padding-right: 12px;
  font-size: 18px;
}

.bold {
  font-weight: bolder;
}

.career_bg {
  background-color: #FEFEF0;
  width: 800px;
  height: auto;
  margin: 0 auto 24px;
  color: #000;
  padding: 16px;
}

.careear_container h2 {
  font-size: 36px;
  padding-top: 18px;
  /* padding-left: 12px;
  padding-bottom: 8px; */
}

.aisatu_all {
  display: flex;
}

.aisatu_all img {
  height: 230px;
  width: auto;
  padding-left: 12px;
  padding-top: 16px;
}

.career_aisatu_p {
  padding-left: 12px;
}

.bousai {
  display: flex;
  padding: 12px 0;
}

.bousai_text {
  padding: 12px;
}

.seibi_img {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.keireki_img_3,
.keireki_img_4 {
  display: flex;
  flex-direction: column;
}

.seibi_img {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.keireki_img_3,
.keireki_img_4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.keireki_img_3 {
  width: 38%;
}

.keireki_img_4 {
  width: 58%;
}

.keireki_img_3 img,
.keireki_img_4 img,
.keireki_img_5 img {
  width: 100%;
  height: auto;
  display: block;
}

.keireki_img_3 p,
.keireki_img_4 p {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
  color: #000;
}

.keireki_img_5 img {
  padding-top: 12px;
}


.ken_youbou_title.soumu h3 {
  background-color: #F5E1A4;
}

.ken_youbou_title.kankyo h3 {
  background-color: #D0F0C0;
}

.ken_youbou_title.norin h3 {
  background-color: #DFF4FF;
}

.ken_youbou_title.doboku h3 {
  background-color: #FFDAB9;
}

.ken_youbou_title.kyoiku h3 {
  background-color: #E6CCFF;
}

.youbou_list h3 {
  padding-left: 8px;
}

.youbou_list ul {
  padding: 18px;
}


/* menu */
.menu-table {
  table-layout: fixed;
  width: 100%;
}


.menu-table--category-14 td:nth-child(1) {
  width: 20%;
}
.menu-table--category-14 td:nth-child(2) {
  width: 80%;
}




/* ========== フッター ========== */
.site-footer {
  background: #fff;
  color: #0C3681;
  padding: 24px 0;
  font-size: 12px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sns-links {
  display: flex;
  gap: 12px;
}

.sns-icon {
  width: 32px;
  height: 32px;
}

/* ===== お問い合わせフォームのスタイル ===== */
h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

form {
  max-width: 600px;
  margin: 0 auto 60px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.form-group.flex-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.form-group.flex-row label {
  margin-bottom: 0;
  flex-grow: 1;
}

.btn-submit {
  display: block;
  padding: 12px 30px;
  background-color: #0C3681;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  padding: 14px 0;
  font-size: 18px;
  margin: 10px auto 40px;
}



.btn-submit:hover {
  background-color: #002b6e;
}

.g-recaptcha {
  transform: scale(0.9);
  transform-origin: left;
}

.footer-banners {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer_bnr img {
  max-width: 200px;
  height: auto;
  display: block;
}


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

  .hamburger {
    display: block;
  }

  .site-header {
    max-width: 80%;
    margin: 0 auto;
  }

  #logo {
    width: 100%;
    text-align: center;
    padding: 0 10px;
    margin: 12px 0;
    box-sizing: border-box;
  }

  #logo img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 54, 129, 0.97);
    flex-direction: column;
    /* padding: 60px 20px; */
    z-index: 10;
    gap: 20px;
  }

  .site-nav.active {
    display: flex;
    align-items: center;
    /* ←中央寄せに変更 */

  }

  .site-nav a img {
    height: 32px;
  }

  .with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    display: none;
  }

  .career_bg {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .careear_container {
    padding: 0;
  }

  .aisatu_all {
    flex-direction: column;
    align-items: center;
  }

  .aisatu_all img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
  }

  .career_aisatu_p {
    font-size: 14px;
    line-height: 1.6;
  }

  .career_country .bousai,
  .career_country .seibi {
    flex-direction: column;
  }

  .bousai_img img,
  .keireki_img_3 img,
  .keireki_img_4 img,
  .keireki_img_5 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .seibi_img {
    flex-direction: column;
    gap: 16px;
  }

  .keireki_img_3,
  .keireki_img_4 {
    width: 100%;
    text-align: center;
  }

  .keireki_img_3 p,
  .keireki_img_4 p {
    font-size: 12px;
    margin-top: 4px;
  }

  .youbou_list h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .youbou_list p {
    font-size: 14px;
    line-height: 1.6;
  }

  .ken_youbou_title h3 {
    font-size: 16px;
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  .ken_youbou_title ul {
    padding-left: 18px;
    margin: 0;
  }

  .ken_youbou_title li {
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.6;
  }

  .right {
    text-align: right;
    font-size: 14px;
    margin-top: 20px;
  }


  .access_map {
    width: 100vw;
    /* ビューポート全幅 */
    height: 60vh;
    /* ビューポートの60%の高さ、好みに応じて調整 */
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
  }

  .access_map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }

  .main-content.container {
    padding: 0 16px;
  }

  form {
    width: 100%;
    margin: 0 auto;
  }

  .form-group {
    width: 100%;
  }

  .form-group.flex-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-group.flex-row p {
    margin-top: 8px;
  }

  .btn-submit {
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
    margin: 10px auto 40px;
  }

  .g-recaptcha {
    transform: scale(0.88);
    transform-origin: left;
  }

  .sns-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sns-links img {
    width: 40px;
    height: auto;
  }

  .site-footer {
    text-align: center;
  }






  /* SNSアイコン調整（横並びに＆サイズダウン） */
  .sns_bnr {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
  }

  .sns_bnr img {
    width: 32px;
    height: auto;
  }

  .side_all {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .side_bnr img {
    width: 100%;
    height: auto;
    display: block;
  }

  .sns_bnr {
    display: flex;
    justify-content: center;
    gap: 12px;
  }

  .sns_bnr img {
    width: 32px;
    height: auto;
  }

  .sns-links img,
  .sns_bnr img {
    width: 48px;
    height: auto;
  }

  .sns-links,
  .sns_bnr {
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
  }

  .footer-banners {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    /* バナー間の隙間 */
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }

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