@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;
  }
}
/*--モバイル画面でのみ表示大谷商会ってどんな会社 　650px以下-------------------------------*/
#about-otani-section {
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  background-color: #f5f3ec;
  margin-top: -60px;
}

.card-container {
  position: relative;
  width: 343px; /* コンテナの幅を必要に応じて調整 */
  height: 2850px; /* コンテナの高さを必要に応じて調整 */
  margin: 50px auto;
}

.about-otani-card {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 30px;
  width: 100%;
  height: 100%;
  box-sizing: border-box; /* 枠線を含むサイズ指定 */
  z-index: 1; /* 背面に配置 */
}

.nine-circle-mobile {
  position: absolute;
  top: 147px; /* 上下のオフセット */
  left: 50%; /* 横方向の中央揃え */
  transform: translateX(-50%); /* 中央揃え調整 */
  z-index: 2; /* 白い枠の上に配置 */
  width: 105%; /* 長細い画像の幅（調整可能） */
  object-fit: contain;
  clip-path: inset(0 -50px); /* 左右をはみ出す指定 */
}

.nine-circle-pc {
  display: none; /* PC用画像を非表示 */
}

@media (min-width: 650px) {
  .card-container {
    width: 550px; /* コンテナの幅を必要に応じて調整 */
    height: 4550px; /* コンテナの高さを必要に応じて調整 */
    margin: 80px 0;
  }
  .nine-circle-mobile {
    top: 205px; /* 上下のオフセット */
  }
}
@media (min-width: 900px) {
  /*--PC 画面でのみ表示大谷商会ってどんな会社 　900px以上-------------------------------*/
  .nine-circle-mobile {
    display: none; /* モバイル用画像を非表示 */
  }
  .card-container {
    width: 868px; /* コンテナの幅を必要に応じて調整 */
    height: 1111px; /* コンテナの高さを必要に応じて調整 */
  }
  .about-otani-card {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    box-sizing: border-box; /* 枠線を含むサイズ指定 */
    z-index: 1; /* 背面に配置 */
  }
  .nine-circle-pc {
    display: block;
    position: absolute;
    top: 185px; /* 上下のオフセット */
    left: 49.5%; /* 横方向の中央揃え */
    transform: translateX(-50%); /* 中央揃え調整 */
    z-index: 2; /* 白い枠の上に配置 */
    width: 103%; /* 長細い画像の幅（調整可能） */
    object-fit: contain;
    clip-path: inset(0 -20px); /* 左右をはみ出す指定 */
  }
}/*# sourceMappingURL=about-otani.css.map */