@charset "UTF-8";
html {
  width: 100%;
  /*TOPに戻るボタン*/
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-size: 100%;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  margin: auto;
  padding: 0;
  align-items: center;
}

@media screen and (max-width: 650px) {
  body {
    font-family: "Noto Sans JP", sans-serif; /* 650px以下で切り替えるフォント */
  }
}
.side-m5 {
  margin-right: 5px;
  margin-left: 5px;
}

img {
  width: 100%;
}

.base-m {
  margin: 0 16px;
}

.bg-beige {
  background-color: #f5f3ec;
  width: 100%;
}

.bg-white {
  background-color: #fff;
}

.bg-red {
  background-color: #c72f2a;
}

.bg-mynavi {
  background-color: #00abeb;
}

.bg-blue {
  background-color: #1f5bc4;
}

h1 {
  font-size: 25px;
  font-weight: 500;
}

h2 {
  font-size: 20px;
  font-weight: 500;
}

h3 {
  font-size: 16px;
  font-weight: 500;
}

p {
  font-size: 16px;
  font-weight: 350;
}

h4 {
  font-size: 14px;
  font-weight: 400;
}

h5 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

h6 {
  font-size: 10px;
  font-weight: 300;
}

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

.text-left {
  text-align: left;
}

.underline-lightly {
  border-bottom: 1px solid #c9c9c9;
  padding-bottom: 15px;
}

.note {
  line-height: 1.5;
  font-weight: 400;
}

.font-600 {
  font-weight: 600;
}

.vertical-line {
  border-left: 2px solid #2c6ee0; /* 縦線の太さと色 */
  padding-left: 7px; /* 縦線と文字の間隔 */
  padding-right: 0px;
}

.label-mark {
  color: #05ae8c;
  font-size: 12px;
  height: 16px;
  line-height: 14px;
  padding-right: 5px; /* ポチと文字の間に少しスペースを追加 */
  display: inline-block;
  vertical-align: middle;
  text-indent: 0.2rem;
}

.paragraph {
  margin: 0 0 10px 0;
  line-height: 1.7;
}

.description-list {
  padding: 15px 0 5px 0;
  border-top: 1px solid #c9c9c9;
}

.desc-title {
  text-indent: -0.5rem;
  margin: 20px 0 4px 0;
}

.mark-indent {
  padding-left: 1.35rem;
  text-indent: -0.5rem;
}

.indent {
  text-indent: 0.5rem;
}

.link-mark {
  color: blue;
  border-bottom: 1.5px solid blue; /* 下に青い線を引く */
  padding-bottom: 4px; /* 線とテキストの間隔を調整 */
}

.attention {
  color: #e52d27;
  font-weight: 500;
}

.unipro-color {
  color: #05ae8c;
}

.sangyo-color {
  color: #e25454;
}

.flower-color {
  color: #da3d81;
}

.tokuhan-color {
  color: #455adf;
}

.food-color {
  color: #eb8704;
}

.keiri-color {
  color: #ccb700;
}

.unipro-bgcolor {
  background-color: #05ae8c;
}

.sangyo-bgcolor {
  background: #e25454;
}

.flower-bgcolor {
  background: #da3d81;
}

.tokuhan-bgcolor {
  background: #455adf;
}

.food-bgcolor {
  background: #eb8704;
}

.keiri-bgcolor {
  background: #ccb700;
}

.unipro-line {
  padding: 8px 0;
  border-bottom: 3px solid #05ae8c;
}

.sangyo-line {
  padding: 8px 0;
  border-bottom: 3px solid #e25454;
}

.flower-line {
  padding: 8px 0;
  border-bottom: 3px solid #da3d81;
}

.tokuhan-line {
  padding: 8px 0;
  border-bottom: 3px solid #455adf;
}

.food-line {
  padding: 8px 0;
  border-bottom: 3px solid #eb8704;
}

.keiri-line {
  padding: 8px 0;
  border-bottom: 3px solid #ccb700;
}

.caption {
  display: block;
  text-align: center;
  padding-top: 30px;
  margin-bottom: 15px;
}

.c-text {
  padding: 20px 0 0 0;
  line-height: 1.4;
}

li {
  list-style: none;
} /* 黒丸を消す */
.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.f-column {
  flex-direction: column;
}

.wrap {
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

@media (min-width: 650px) {
  h1 {
    font-size: 42px;
    font-weight: 700;
  }
  h2 {
    font-size: 29px;
    font-weight: 700;
  }
  h3 {
    font-size: 20px;
    font-weight: 700;
  }
  p {
    font-size: 20px;
    font-weight: 500;
  }
  h4 {
    font-size: 16px;
    font-weight: 400;
  }
  h5 {
    font-size: 14px;
    font-weight: 400;
  }
  h6 {
    font-weight: 400;
    line-height: 1.8;
  }
  .title-maximum {
    font-size: 55px;
  }
  .title-big {
    font-size: 50px;
  }
  .title-medium {
    font-size: 40px;
  }
  .title-small {
    font-size: 29px;
  }
  .caption {
    padding-top: 55px;
  }
  /*改行指示*/
  .pc {
    display: none;
  }
  .desc-title {
    margin: 20px 0 5px 0;
  }
}
@media (min-width: 1000px) {
  .title-maximum {
    font-size: 80px;
  }
  .title-big {
    font-size: 60px;
  }
}
/*--重要なボタン　to お問い合わせform/マイナビ--*/
.primary-btn {
  color: #fff;
  width: 220px;
  border-radius: 12px;
  padding: 10px 0;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 影を追加 */
  cursor: pointer; /* ポインタの表示 */
  transition: opacity 0.3s ease; /* 半透明化をスムーズに */
  font-size: 18px;
  font-weight: 700;
}

.primary-btn:hover {
  opacity: 0.8;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* ホバー時に影を強調 */
  transform: translateY(-1px); /* 少し浮いて見える効果 */
}

.primary-btn:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 押したときに影を小さく */
  transform: translateY(1px); /* ボタンが押し込まれたように見せる */
}

/*お問い合わせのボタン*/
.contact-btn {
  width: auto;
  color: #1f5bc4;
  text-decoration: none; /* 下線を消す */
  border-radius: 50px;
  box-shadow: none; /* 影を消す */
  padding: 5px 10px;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  border: 2px solid #1f5bc4; /* 枠線の太さ・種類・色 */
}
.contact-btn-header {
  margin-left: auto;
  margin-right: 50px; /* デフォルト：小画面用 */
}
.contact-btn-footer {
  margin: 10px auto 0 17px;
}

.contact-btn:hover {
  color: #fff;
  background-color: #1f5bc4;
  border: 2px solid #1f5bc4; /* 枠線の太さ・種類・色 */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* ホバー時に影を強調 */
}

/*TOPに戻るボタン*/
#top-button {
  display: none; /* 初期状態では非表示 にしておく*/
}

.back-to-top-button {
  position: fixed;
  z-index: 100;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  text-decoration: none;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 影を追加 */
  display: block;
  text-align: center;
  border-radius: 24px;
  margin-bottom: 109px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f062";
}

.back-to-top-button::before {
  content: "\f062";
  font-family: "Font Awesome 6 Free";
  font-size: 30px;
  color: #05ae8c;
  line-height: 36px;
}

#topButton {
  display: none; /* 初期状態では非表示 */
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none; /* 透明時はクリックを無効に */
}

#topButton:hover {
  background-color: #0043a7;
}

/*1200px以上の時*/
@media (min-width: 1200px) {
  .back-to-top-button {
    bottom: -33px;
    right: 28px;
    width: 60px;
    height: 60px;
    border-radius: 40px;
    margin-bottom: 117px;
  }
  .back-to-top-button::before {
    font-size: 36px;
    line-height: 60px;
  }
  .contact-btn-header {
    display: block;
    margin-right: 200px;
  }
}
/*コーポレートサイトにリンクするボタン*/
.primary-btn {
  color: #fff;
  width: 220px;
  border-radius: 12px;
  padding: 10px 0;
  margin: 0 auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* 影を追加 */
  cursor: pointer; /* ポインタの表示 */
  transition: opacity 0.3s ease; /* 半透明化をスムーズに */
  font-size: 18px;
  font-weight: 700;
}

.primary-btn:hover {
  opacity: 0.8;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* ホバー時に影を強調 */
  transform: translateY(-1px); /* 少し浮いて見える効果 */
}

.primary-btn:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 押したときに影を小さく */
  transform: translateY(1px); /* ボタンが押し込まれたように見せる */
}

header {
  position: fixed; /* ヘッダーを固定 */
  top: 0; /* 画面上部に配置 */
  left: 0; /* 左端に配置 */
  width: 100%; /* 横幅を画面いっぱいに広げる */
  z-index: 100; /* 他の要素の上に表示 */
  background-color: #fff;
  height: 60px;
}

main {
  margin-top: 60px;
  padding-bottom: 60px;
}

.header-flex {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/*ロゴ*/
.logo-flex {
  height: 60px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.otani-mark {
  width: 180px;
  margin-left: 10px;
  margin-bottom: 0px;
}

.header-recruit-site {
  color: #2c6ee0;
  font-weight: 700;
  display: inline;
  line-height: 60px;
}

.recruiting {
  width: 80px;
  margin-left: 8px;
  margin-bottom: -2px;
}

.mail {
  position: absolute;
  top: 50%;
  right: 66px;
  transform: translateY(-50%);
  color: #2c6ee0;
  font-size: 1.8rem;
  /*アイコンのホバー時アニメ*/
  transition: opacity 0.15s, transform 0.3s ease;
}
.mail:hover {
  transform: translateY(-50%) scale(1.15);
}
@media (min-width: 1200px) {
  .mail {
    right: 200px;
  }
}

.external-link {
  color: #2c6ee0;
  margin-left: 4px; /* ★ここで文字との距離を固定する */
  font-size: 0.8em; /* 文字より少し小さくするとバランスが良いです */
}

/*--entry-btn-mobile　モバイル画面用　据え置き「エントリー」タブ---------
---------------------------------------------------------------------*/
/* フッターボタンのコンテナ */
.footer-btn {
  position: fixed; /* 画面下部に固定 */
  bottom: 0; /* 下端に配置 */
  left: 0;
  width: 100%; /* 画面の横幅いっぱいに広げる */
  display: flex; /* 横並びにする */
  z-index: 30; /* 他の要素より上に配置 */
}

/* ボタンの共通スタイル */
.entry-btn-mobile {
  width: 50%; /* 画面の半分の幅 */
  height: 60px; /* 高さ */
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 60px; /* 縦中央揃え */
  text-decoration: none; /* 下線を消す */
  cursor: pointer; /* クリックできることを示す */
  transition: background-color 0.3s ease;
}

/* 左側のボタン（募集要項） */
.mobile-bosyu {
  background-color: #008461;
}

/* 右側のボタン（エントリー） */
.mobile-entry {
  background-color: #1f5bc4;
}

/* ホバー時の色変更 */
.mobile-bosyu:hover {
  background-color: #00a26f;
}

.mobile-entry:hover {
  background-color: #065ff9;
}

/*--entry-btn-pc PC画面用　据え置き「エントリー」ボタン-------------------
---------------------------------------------------------------------*/
.entry-btn-pc {
  display: none;
}

@media (min-width: 650px) {
  /*ロゴ*/
  .otani-mark {
    width: 180px;
  }
}
@media (min-width: 1000px) {
  main {
    padding-bottom: 55px;
  }
}
/*1200px以上の時*/
@media (min-width: 1200px) {
  header {
    height: 4.5vw;
  }
  main {
    margin-top: 4.5vw;
  }
  /*ロゴ*/
  .otani-mark {
    width: auto;
    height: 2.5em;
    margin-left: 20px;
    margin-bottom: 0px;
  }
  .header-recruit-site {
    line-height: 60px;
  }
  /*--entry-btn-mobile  元static-tab　モバイル画面用　据え置き「エントリー」タブ--*/
  .entry-btn-mobile {
    display: none;
  }
  /*--entry-btn-pc　PC画面用　据え置き「エントリー」ボタン--*/
  .entry-btn-pc {
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    position: fixed;
    z-index: 200; /* 他の要素の上に表示 */
    right: 0px; /* 右端に配置 */
    height: 45px;
    width: 175px;
    line-height: 45px; /* 高さと同じ値で中央揃え */
    border-radius: 40px 0 0 40px;
    padding: 0 0 0 35px;
  }
  .pc-bosyu {
    background-color: #008461;
    top: 12px;
  }
  .pc-entry {
    background-color: #1f5bc4;
    top: 67px;
  }
  .pc-bosyu:hover {
    background-color: #00a26f;
    transition-duration: 0.3s;
  }
  .pc-entry:hover {
    background-color: #065ff9;
    transition-duration: 0.3s;
  }
}
/* ==========================================
   ↓ここからスマホ用・新ハンバーガーメニュー用

   ========================================== */
@media (max-width: 1199px) {
  /* PC版を完全に消す */
  .pc-nav {
    display: none !important;
  }
  .sp-menu-container {
    position: relative;
  }
  .menu-icon {
    width: 34px;
    height: 30px;
    position: fixed; /* ← fixedにして常に左上固定 */
    top: 12px;
    right: 13px;
    cursor: pointer;
    z-index: 300 !important; /* 一番手前に出す */
    display: inline-block;
    /*カーソルのチカチカ防止*/
    cursor: pointer;
    user-select: none; /* テキスト選択カーソルを出さない */
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent; /* タップの影を消す */
    outline: none !important; /* 枠線を強制排除 */
  }
  .menu-icon span {
    pointer-events: none; /* span自体がクリック反応しないようにする（貫通させる） */
  }
  .menu-icon {
    border: none;
    box-shadow: none;
    /*アイコンのホバー時アニメ*/
    transition: transform 0.3s ease;
  }
  .menu-icon:hover {
    transform: scale(1.15);
  }
  .menu-icon span {
    display: block;
    height: 4px;
    margin: 6px 0;
    background: #2c6ee0;
    border-radius: 2px;
    transition: 0.4s;
  }
  /* ハンバーガーがXに変形 */
  #menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  #menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  #menu-toggle:focus + .menu-icon {
    outline: none;
  }
  /* オーバーレイ背景 */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 1;
  }
  #menu-toggle:checked ~ .overlay {
    opacity: 1;
    pointer-events: auto;
  }
  /* メニュー本体（右から出す） */
  .menu {
    position: fixed;
    top: 0;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    z-index: 4;
    gap: 1vh;
    /* --- 中身を中央に寄せる --- */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* ★まず「一番小さい画面（479px以下）」の設定を基本にする */
    width: 85vw;
    right: -85vw;
    /* ★画面が「480px以上」になったら上書きする */
  }
}
@media (max-width: 1199px) and (min-width: 480px) {
  .menu {
    width: 80vw;
    right: -80vw;
  }
}
@media (max-width: 1199px) {
  /* --- リサイズ時のハンバーガーメニューのチラつきを制御　header.jsと連動 --- */
  body.is-resizing .menu {
    transition: none;
  }
  #menu-toggle:checked ~ .menu {
    right: 0; /* ← 開いたときは右0へ */
  }
  .menu ul {
    list-style: none;
    text-align: left;
    /* ★基本（スマホサイズ） */
    width: 80%;
    /* ★480px以上（タブレット寄り） */
  }
}
@media (max-width: 1199px) and (min-width: 480px) {
  .menu ul {
    width: 60%;
  }
}
@media (max-width: 1199px) {
  .menu li {
    width: 100%;
    margin: 0 0 2.5vh 0;
    color: #000;
    font-weight: 500;
    /* ★480px以上（タブレット寄り） */
  }
}
@media (max-width: 1199px) and (min-width: 481px) {
  .menu li {
    margin: 0 0 3vh 0;
  }
}
@media (max-width: 1199px) {
  .menu a {
    display: block;
    width: 100%;
    padding: 10px 0 10px 10px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
  }
  .menu a:hover {
    color: #2c6ee0;
  }
  .menu .hamburger-btn a:hover {
    color: #fff;
  }
  .vertical-line {
    border-left: 3px solid #2c6ee0; /* 縦線の太さと色 */
  }
}
/*--募集要項ボタン　見た目--*/
.hamburger-btn-container {
  width: 100%;
  gap: 3vh;
}

.hamburger-btn {
  color: #fff;
  border-radius: 12px;
  text-align: center;
  font-weight: 400;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: opacity 0.3s ease; /* 半透明化をスムーズに */
  width: 60%;
  /* ★基本（スマホサイズ） */
  width: 80%;
  /* ★480px以上（タブレット寄り） */
}
@media (min-width: 480px) {
  .hamburger-btn {
    width: 60%;
  }
}
.hamburger-btn a {
  color: #fff !important; /* 未読の時も白 */
  text-decoration: none;
  display: block;
  width: 100%;
}
.hamburger-btn a:visited {
  color: #fff !important; /* 既読（クリック後）も白に固定 */
}
.hamburger-btn.works {
  background-color: #008461;
}
.hamburger-btn.entry {
  background-color: #1f5bc4;
}

.hamburger-btn:hover {
  color: #fff;
  opacity: 0.8;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px); /* Y 軸だけ変化 */
}

.hamburger-btn:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(2px); /* Y 軸を動かす */
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左側に寄せる */
  padding: 15px 1.5rem 5px 1.5rem;
  margin-top: 7vh;
  width: 100%;
}
.contact-link i.mail {
  /* --- 強力なリセット --- */
  position: static !important; /* 画面中央に飛ばす原因(absolute)を解除 */
  transform: none !important; /* 中央寄せの計算を解除 */
  margin: 0 10px 0 0 !important; /* 文字との間にだけ隙間を作る */
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1;
  vertical-align: middle;
}

/* ==========================================
   ↓ここからPC・ヘッダーメニュー用

   ========================================== */
/*1200px以上の時*/
@media (min-width: 1200px) {
  /* ハンバーガーメニューのボタンを非表示 */
  .sp-menu-container {
    display: none;
  }
  /* ナビゲーションメニューを横並びに */
  .main-nav {
    display: flex;
    align-items: center; /* 横並び */
    position: static; /* 固定位置を解除 */
    width: auto; /* 幅を自然に調整 */
    background: none; /* 背景色を削除（必要なら） */
    transition: none; /* アニメーションを無効化 */
    overflow: visible; /* オーバーフローを解除 */
    margin-left: 2vw;
  }
  /* ナビゲーション項目のスタイル */
  .main-nav li {
    margin: 0 0.6rem; /* 左右に余白を追加 */
  }
  .main-nav a {
    display: inline; /* リンクをインライン表示 */
    color: #474747;
    text-decoration: none; /* 下線を消す */
    font-size: 14px;
    font-weight: 700;
  }
  /*メニューをホバーしたとき*/
  .main-nav a:hover {
    color: #1f5bc4; /* ホバー時に文字を青色にする */
    background-color: none;
    font-weight: 700;
  }
  /* メニューを開閉するクラスを無効化 */
  .main-nav.open-menu {
    width: auto;
  }
}
/* チェックボックスにチェックが入っている時、bodyのスクロールを止める */
body:has(#menu-toggle:checked) {
  overflow: hidden;
}

footer {
  margin-bottom: 72px;
}

.footer-container {
  margin: 0 auto 50px auto;
  position: relative;
}

.footer-info {
  margin: 50px 16px 0 16px;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.footer-list {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

.footer-nav-container {
  margin-bottom: 50px;
}

.footer-otani {
  color: #2c6ee0;
  font-weight: 600;
  margin-left: 18px;
}

.footer-nav {
  margin: 20px;
  color: #474747;
  text-decoration: none; /* 下線を消す */
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.footer-nav:hover {
  color: #1f5bc4;
}

.footer-border {
  height: 20px;
  gap: 0px;
}

/**/
.hover-area {
  padding: 20px;
  text-align: center;
}

.hover-area h4 {
  text-decoration: none;
  transition: text-decoration 0.3s ease-in-out, text-decoration-thickness 0.3s ease-in-out;
  text-decoration-color: rgb(223, 255, 96);
}

.hover-area:hover h4 {
  text-decoration: underline;
  text-decoration-thickness: 3px; /* アンダーラインの太さを5pxに */
  text-decoration-color: rgb(223, 255, 96);
}

/*Corporate website　& 個人情報保護方針*/
/*--Copyright--*/
.copyright {
  color: #c1c1c1;
  text-align: right;
  font-size: 12px;
  margin: 40px 20px 0 0;
}

.it-recruit {
  color: #474747;
  margin-top: 5px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 7px;
}

.it-banner-img {
  width: 150px;
}

.entry-pc-bottom {
  display: none;
}

/* ウィンドウマークのスタイル */
.window-mark {
  width: 18px;
  height: auto;
  opacity: 0.7;
  vertical-align: middle; /* アイコンがテキストとずれないようにする */
}

.corporate-text {
  line-height: 1; /* 高さを文字にぴったり合わせ */
}

/* コーポレートボタン 共通スタイル */
.corporate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 250px;
  color: #474747;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 20px;
  font-size: 14px;
  border: 2px solid #474747;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.corporate-btn p {
  margin: 0; /* デフォルトの余白を消す */
  line-height: 1; /* 必要なら高さ調整 */
}

.corporate-btn:hover {
  color: #fff;
  background-color: #c72f2a;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* スマホ向け（幅767px以下） */
@media (max-width: 767px) {
  .corporate-btn {
    position: static;
    transform: none;
    margin: 20px auto 0;
    display: block;
    text-align: center;
    max-width: 300px;
  }
}
/* タブレット・PC向け（幅768px以上） */
@media (min-width: 768px) {
  .corporate-btn {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    margin: -60px 0;
  }
  .footer-container {
    margin: 0 auto 100px auto;
  }
}
/* デスクトップ向け（幅1200px以上） */
@media (min-width: 1200px) {
  footer {
    position: relative;
    margin-bottom: 30px;
  }
  .corporate-btn {
    bottom: -80px;
    margin: 20px 0;
  }
}
.wrapper-1000 {
  max-width: 100%; /* フル幅を使用 */
  padding: 0 16px; /* 16pxのパディングは維持 */
}

.card {
  padding: 17px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

@media (min-width: 1000px) {
  .wrapper-1000 {
    max-width: 1000px; /* 最大幅を1000pxに設定 */
    margin: 0 auto; /* コンテンツを中央揃え */
    padding: 0 16px; /* 左右に16pxの余白を設定 */
    box-sizing: border-box; /* パディングを含む幅計算 */
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  22% {
    opacity: 1;
  }
  26% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* 各スライドの共通アニメーション */
.hero-image {
  opacity: 0; /* 初期状態で非表示 */
  animation: fade 25s infinite;
  animation-fill-mode: both; /* アニメーションの状態を保持 */
}

/* それぞれのスライドに個別の遅延時間を設定 */
.hero-image:nth-child(1) {
  animation-delay: 0s;
}

.hero-image:nth-child(2) {
  animation-delay: 5s;
}

.hero-image:nth-child(3) {
  animation-delay: 10s;
}

.hero-image:nth-child(4) {
  animation-delay: 15s;
}

.hero-image:nth-child(5) {
  animation-delay: 20s;
}

/*---------------------------------
  ホバーしたときにズームインする
  ---------------------------------*/
.zoom-box {
  overflow: hidden;
  transition-property: transform;
  transition-timing-function: ease-in-out;
}
.zoom-box:hover {
  scale: 1.03;
  transition: 1s;
}

/*---------------------------------
  ホバーしたときにズームアウトする
  ---------------------------------*/
.zoom-out-box {
  overflow: hidden;
  transition-property: transform;
  transition-timing-function: ease-in-out;
}
.zoom-out-box:hover {
  scale: 0.97;
  transition: 1s;
}

/*---------------------------------
  ホバーしたときにアンダーラインが引かれる
  ---------------------------------*/
.line-box {
  display: block;
  position: relative; /* 必要に応じて基準を設定 */
  overflow: hidden; /* 子要素がはみ出さないように設定 */
  margin: 0 auto; /* 親要素内で中央に配置 */
  box-sizing: border-box; /* パディングやボーダーを幅に含める */
  max-width: 100%; /* 画面幅に応じて制限 */
}
.line-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; /* ラインを左端に固定 */
  display: block;
  width: 0; /* 初期状態では非表示 */
  transition: width 0.3s;
  border-bottom: 4px solid #05ae8c;
  transition: width 0.3s ease-in-out; /* スムーズなアニメーション */
}
.line-box:hover::after {
  width: 100%;
}
.line-box:not(:hover)::after {
  width: 0; /* ホバー解除時に左端から縮む */
}

.line-position {
  display: inline-block;
}

/*---------------------------------
  ホバーしたときにアンダーラインが引かれる 左から右に向かって下線が消える
  ---------------------------------*/
/*---------------------------------
  ホバー時に左から右へ線が引かれ、
  ホバーを離すと左から右に消える
---------------------------------*/
.flowing-line {
  position: relative;
  text-decoration: none;
}

.flowing-line::before {
  content: "";
  position: absolute;
  bottom: 19px; /* テキストの下に配置 */
  right: 0;
  width: 40%;
  height: 3px;
  background-color: #fff;
  transform: scaleX(0); /* 初期状態で線を隠す */
  transform-origin: left; /* 左端からアニメーション開始 */
  transition: transform 0.3s ease-in-out;
}

.flowing-line:hover::before {
  transform: scaleX(1); /* 左から右へ線を伸ばす */
}

.flowing-line:not(:hover)::before {
  transform: scaleX(0); /* 左から右へ線を消す */
  transform-origin: right; /* 右端から縮む */
}

/*---------------------------------
  フワフワアニメーション
  ---------------------------------*/
.fuwafuwa {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
}

.keyframe1 {
  animation-name: anim_v;
}

@keyframes anim_v {
  0% {
    transform: translate(0, 0px);
  }
  100% {
    transform: translate(0, 10px);
  }
}
@media (min-width: 650px) {
  /*---------------------------------
  ホバーしたときにズームする
  ---------------------------------*/
  .zoom-box {
    overflow: hidden;
    transition-property: transform;
    transition-timing-function: ease-in-out;
    transform-origin: center;
  }
  .zoom-box:hover {
    scale: 1.03;
    transition: 1s;
  }
}
main {
  overflow-x: hidden;
}

/*indexページ共通--------------------------*/
.view-more {
  line-height: 1.4;
  color: #2c6ee0;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 0 5px 2px;
}

.view-more:hover {
  opacity: 0.8;
  transform: translateY(-2px); /* 少し浮いて見える効果 */
}

@media (max-width: 450px) {
  /* 区分け線 */
  .divider {
    display: block;
    height: 4px; /* 線の太さ */
    background-color: #05ae8c; /* 線の色 */
    margin: 50px auto 0 auto; /* 上下にマージンを設定してスペースを作る */
    width: 98%;
  }
  /*アンダーライン用の位置*/
  .line-position {
    display: none;
  }
}
@media (min-width: 450px) {
  /* 区分け線 */
  .divider {
    display: none;
  }
  /*アンダーライン用の位置*/
  .line-position {
    padding-bottom: 50px;
  }
}
/*otani-recruiting rogo---------------------*/
.otani-recruiting {
  width: 200px;
}

/* Heroセクションのデザイン-------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 47vh;
  overflow: hidden;
  margin-bottom: -60px;
}

/* 各スライドの共通スタイル */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  z-index: 1; /* すべての画像を同じレイヤーに */
}

/* スライドの画像位置を調整 */
.hero-image:nth-child(1) {
  background-position: 20% 75%; /* 左から20%、下から40% */
}

.hero-image:nth-child(2) {
  background-position: 43% 33%; /* 左から33%、下から40% */
}

.hero-image:nth-child(3) {
  background-position: 63% 8%; /* 左から30%、下から40% */
}

.hero-image:nth-child(4) {
  background-position: 46% 20%; /* 左から30%、下から40% */
}

.hero-image:nth-child(5) {
  background-position: 60% 70%; /* 左から30%、下から40% */
}

/* Heroメッセージ -------------------*/
/*共通スタイル */
.hero-message {
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* 各スライド位置調整 */
/*town-image*/
.hero-message.town {
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-top: 20px;
}

/*sekkei-image*/
.hero-message.sekkei-image {
  width: 200px;
  right: 30px;
  bottom: 30px;
}

/*it-image*/
.hero-message.it-image {
  width: 230px;
  left: 15px;
  bottom: 15px;
}

/*sangyo-image*/
.hero-message.sangyo-image {
  width: 300px;
  right: 20px;
  top: 20px;
}

/*flower-image*/
.hero-message.flower-image {
  width: 250px;
  left: 10px;
  bottom: 20px;
}

/*hero-messageのスローガンサイズ*/
.title-maximum {
  font-size: 68px;
  font-weight: 500;
  line-height: 1.1;
}

.title-medium {
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
}

.title-small {
  font-size: 24px;
  font-weight: 500;
}

.title-big {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
}

.index-caption {
  display: block;
  text-align: center;
  margin-bottom: 15px;
}

.direction {
  flex-direction: column;
}

/*about-unipro--大谷商会の技術力-----------------------------------*/
#about-unipro-link {
  padding: 82px 16px 0px 16px;
}

/*--丸い設定--*/
.circle-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #05ae8c;
}

.unipro-engineer {
  display: flex;
  justify-content: center; /* 子要素を水平方向に中央揃え */
  align-items: center; /* 必要に応じて垂直方向も中央揃え */
  height: 100%; /* 必要に応じて高さを調整 */
}

.green-balls-items {
  position: relative;
  width: 350px; /* 必要に応じて調整（ボール全体の幅） */
  height: 216px; /* 必要に応じて調整（ボール全体の高さ） */
  margin: 15px auto 0 auto; /* 水平方向に中央揃え */
}

/*circleセクション内配置とビジュアル　　子要素*/
/*----ボールの中の文字のgap----*/
.green-ball {
  color: #fff;
  position: absolute;
  gap: 9%;
}

.ball-title {
  font-size: 20px;
}

.ball-text {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;
}

/*----ボールの配置----*/
/*--上段--*/
.IT-ball {
  top: 0;
  left: 5px;
}

.sekkei-ball {
  top: 0;
  left: 120px;
}

.denki-ball {
  top: 0;
  left: 235px;
}

/*--下段--*/
.sekou-ball {
  top: 103px;
  left: 60px;
}

.izi-ball {
  top: 103px;
  left: 175px;
}

/*interview--人と仕事-----------------------------------------------------*/
.wrapper-1000 {
  padding: 0;
}

#index-interview {
  padding-top: 30px;
}

.index-card {
  position: relative;
  width: 100%; /* 必要に応じて調整 */
  overflow: hidden; /* 背景画像がはみ出す部分を許容 */
  display: flex; /* フレックスボックスを使う */
  justify-content: center; /* 横方向を中央揃え */
  align-items: center; /* 縦方向を中央揃え */
  height: auto; /* 全画面高さ */
}

.background-image-mobile {
  position: absolute;
  width: 140%; /* 画像が少し大きくはみ出るように調整 */
  z-index: 1; /* 背景はカードの下に配置 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中心に配置 */
}

.coming-soon {
  position: absolute;
  width: 50%;
  max-width: 400px;
  z-index: 6; /* 背景はカードの下に配置 */
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中心に配置 */
}

/*背景のカラフル画像*/
.background-image-pc {
  display: none;
}

.interview-list {
  position: relative;
  z-index: 3; /* カードの文字が完全に見えるように配置 */
  mix-blend-mode: normal; /* 文字部分が透けないように設定 */
  background-color: rgba(255, 255, 255, 0.93); /* 93%透けた白い背景 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* カードに影を追加（任意） */
  width: 95%;
  margin: 70px auto 60px auto;
}

/*--カード内の配置--*/
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.role {
  flex: 1 1 calc(50% - 16px); /* 50%幅 - ギャップ補正 */
}

.role h3 {
  margin-bottom: 8px;
  font-size: 1.1em;
}

.role ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.role li {
  margin-bottom: 4px;
  font-size: 0.8em;
  font-weight: 600;
}

/*about-otani--大谷商会ってどんな会社?------------------------*/
#about-otani {
  padding-top: 40px;
}

.about-otani-caption-img {
  max-width: 450px;
  margin-top: 30px;
}

/*support--福利厚生・スキルアップ------------------------*/
#support {
  padding: 40px 0 0 0;
}

.support-caption-img {
  max-width: 450px;
  margin-top: 30px;
}

@media (min-width: 650px) and (max-height: 500px) {
  /* 横向きでの画面高さに合わせたスタイル */
  body {
    font-family: "Noto Sans JP", sans-serif;
  }
}
@media (min-width: 650px) {
  /*Hero-massage--------------------------*/
  .hero {
    height: 35vw;
    max-height: 480px;
    min-height: 350px;
    margin-bottom: -42px;
  }
  .hero-message-town {
    top: 5%;
  }
  .hero-message-left {
    top: -25%;
    left: -23%;
  }
  .hero-message-flower {
    top: 3%;
    left: 0;
  }
  /* 各スライド位置調整 */
  /*sekkei-image*/
  .hero-message.sekkei-image {
    position: absolute;
    right: 10%;
    top: 49%;
    transform: translateY(-50%);
    width: 30%;
    min-width: 270px;
  }
  /*it-image*/
  .hero-message.it-image {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 28%;
    min-width: 280px;
  }
  /*sangyo-image*/
  .hero-message.sangyo-image {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 32%;
    min-width: 330px;
  }
  /*flower-image*/
  .hero-message.flower-image {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 32%;
    min-width: 300px;
  }
  /*hero-messageのスローガンサイズ*/
  .title-maximum {
    font-size: 130px;
    font-weight: 700;
    line-height: 1.1;
  }
  .title-medium {
    font-size: 103px;
    font-weight: 700;
    line-height: 1.2;
  }
  .title-small {
    font-size: 46px;
    font-weight: 700;
  }
  .title-big {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.2;
  }
  /*--丸い設定--*/
  .circle-frame {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-color: #05ae8c;
  }
  .green-balls-items {
    position: relative;
    width: 500px; /* 必要に応じて調整（ボール全体の幅） */
    height: 307px; /* 必要に応じて調整（ボール全体の高さ） */
    margin: 15px auto 0 auto; /* 水平方向に中央揃え */
  }
  /*--ボールの中の文字のgap--*/
  .green-ball {
    gap: 6%;
  }
  .ball-title {
    font-size: 32px;
  }
  .ball-text {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
  }
  /*--ボールの配置--*/
  /*--上段--*/
  .IT-ball {
    top: 0;
    left: 0;
  }
  .sekkei-ball {
    left: 170px;
  }
  .denki-ball {
    left: 340px;
  }
  /*--下段--*/
  .sekou-ball {
    top: 147px;
    left: 84px;
  }
  .izi-ball {
    top: 147px;
    left: 255px;
  }
  /*interview--人と仕事------------------------------------------------*/
  /* 職種カードの横並び設定 */
  .role {
    flex: 1 1 calc(33.33% - 16px); /* 3つ横並び（ギャップ補正） */
  }
  /* 背景画像 */
  .background-image-pc {
    display: block;
    position: absolute;
    width: 115%; /* 画像が少し大きくはみ出るように調整 */
    overflow: hidden;
    z-index: 1; /* 背景はカードの下に配置 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 中心に配置 */
  }
  .background-image-mobile {
    display: none;
  }
}
@media (min-width: 1000px) {
  .hero {
    margin-bottom: -82px;
  }
  .index-caption {
    text-align: left;
    margin-right: 30px;
  }
  /*flexがきく*/
  .direction {
    flex-direction: row;
  }
  /*about-unipro--大谷商会の技術力-----------------------------------*/
  #about-unipro-link {
    padding: 14vh 6px 0px 16px;
    margin-top: 4.5vh;
  }
  .about-unipro-caption {
    width: 100%;
  }
  /*interview--人と仕事------------------------------------------------*/
  .wrapper-1000 {
    padding: 0　16px; /* 16pxのパディングは維持 */
  }
  #index-interview {
    padding: 0 16px;
    padding-top: 65px;
  }
  /*card*/
  .index-card {
    position: relative;
    overflow: visible; /* 背景画像がはみ出す部分を許容 */
    display: flex; /* フレックスボックスを使う */
    justify-content: space-between;
    align-items: center; /* 縦方向を中央揃え */
    width: 68%;
  }
  /* 背景画像 */
  .background-image-pc {
    height: auto;
    width: 109%; /* 画像が少し大きくはみ出るように調整 */
    max-width: 820px;
    position: absolute;
    z-index: 1; /* 背景はカードの下に配置 */
    top: 50%;
    left: 44%;
    transform: translate(-50%, -50%); /* 中心に配置 */
  }
  .background-image-mobile {
    display: none;
  }
  .interview-list {
    margin: 70px 0px 60px auto;
  }
  /*about-otani--大谷商会ってどんな会社?------------------------*/
  #about-otani {
    padding: 80px 16px 30px 16px;
  }
  /*support--------------------------*/
  #support {
    padding: 80px 16px 0 16px;
    margin-bottom: 60px;
  }
}
@media (min-width: 1200px) {
  /* 各スライド位置調整 */
  /*sekkei-image*/
  .hero-message.sekkei-image {
    max-width: 480px;
    right: 20%;
  }
  /*it-image*/
  .hero-message.it-image {
    max-width: 500px;
    left: 20%;
  }
  /*sangyo-image*/
  .hero-message.sangyo-image {
    max-width: 550px;
    right: 20%;
  }
  /*flower-image*/
  .hero-message.flower-image {
    max-width: 500px;
    left: 20%;
  }
}/*# sourceMappingURL=index.css.map */