/* --------------------------------------
  Mobile Styling
-------------------------------------- */
@media screen and (max-width: 480px) {
  /* 横方向のはみ出しを防止 */
  body {
    overflow-x: hidden;
  }

  /* ハンバーガーメニューを表示 */
  .hamburger-menu {
    display: block;
  }

  /* ヘッダーの高さをモバイル用に */
  #header {
    height: 65px;
  }

  /* ナビメニューを非表示（ロゴ以外） */
  #main-nav li {
    display: none;
  }

  /* ロゴをfixed配置（ハンバーガーボタンと同じ方式） */
  #main-nav li.header-logo-item {
    position: fixed;
    top: 8px;
    left: 130px;
    z-index: 2;
    display: flex;
    align-items: center;
    margin: 0;
  }

  /* ロゴサイズをモバイル用に */
  .header-logo {
    width: 150px;
    height: auto;
    margin: 0;
  }

  /* ハンバーガーチェックを隠す */
  #menu-btn-check {
    display: none;
  }

  /* レスポンシブ時のTab画像の切り替え */
  .pc_img {
    display: none;
  }
  .tab_img {
    display: inline-block;
  }
  .sp_img {
    display: inline-block;
  }
  .pc_btn {
    display: none;
  }
  .tab_btn {
    display: none;
  }
  .sp_btn {
    display: inline-block;
  }

  /* --------------------------------------
  ハンバーガーメニュー
  -------------------------------------- */
  .hamburger-menu {
    display: block;
  }

  /* メニューボタン */
  .menu-btn {
    position: fixed;
    top: 12px;
    right: 15px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background-color: #3584bb;
  }

  /* company.htmlのみ right を上書き */
  .page-company .menu-btn {
    right: 46px;
  }

  /* recruit.htmlのみ right を上書き */
  .page-recruit .menu-btn {
    right: 30px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 2px;
    width: 25px;
    border-radius: 3px;
    background-color: #fff;
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(
      255,
      255,
      255,
      0
    ); /*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .menu-hm-content ul {
    padding: 5px 10px 0;
  }

  .accordion a {
    border-bottom: solid 1px #fff;
    list-style: none;
  }

  .accordion a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    padding: 10px 0 10px 20px;
    position: relative;
  }

  .accordion a::before {
    content: "";
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  .menu-hm-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /*leftの値を変更してメニューを画面外へ*/
    z-index: 3;
    background-color: #3584bb;
    transition: all 0.75s; /*アニメーション設定*/
  }

  #menu-btn-check:checked ~ .menu-hm-content {
    left: 0; /*メニューを画面内へ*/
  }

  /* ハンバーガーメニューを隠す */
  #menu-btn-check {
    display: none;
  }

  /* --------------------------------------
  多階層ハンバーガーメニュー
-------------------------------------- */
  .accordion ul {
    list-style: none;
    margin: 0;
  }

  label {
    cursor: pointer;
  }

  .toggle {
    display: none;
  }

  .toggle + ul {
    max-height: 0;
    overflow: hidden;
    transition: all 0.75s ease;
  }

  .toggle:checked + ul {
    max-height: 750px;
    transition: all 0.75s ease-in;
  }

  .accordion {
    margin-top: 25px;
  }

  .accordion2 a {
    margin-left: 25px;
  }

  .accordion3 a {
    margin-left: 50px;
  }

  .accordion2,
  .accordion3 li {
    font-weight: 300;
  }

  /* --------------------------------------
  Header
-------------------------------------- */
  /* ヘッダーの設定 */
  #header {
    height: 75px;
  }

  /* ヘッダーロゴの設定 */
  .header-logo {
    width: 270px;
    height: auto;
    margin: 0;
    margin-top: 5px;
    margin-left: -120px;
  }

  /* --------------------------------------
  Main メイン設定
-------------------------------------- */
  /* トップ画像の設定 */
  .top-wrap {
    margin-top: 60px;
  }

  .top_img {
    height: 280px;
  }

  .catchcopy {
    font-size: 26px;
    letter-spacing: 4px;
    margin: -135px auto 8px;
  }

  .sub-catchcopy {
    font-size: 13px;
    letter-spacing: 8px;
    margin-bottom: 30px;
  }

  .backcopy {
    font-size: 60px;
    letter-spacing: -4px;
    margin-top: 60px;
  }

  .slant-bg1::before {
    top: 100px;
    bottom: 50px;
  }

  .slant-bg1::after {
    top: 100px;
    bottom: 50px;
  }

  /* --------------------------------------
   Index - ごあいさつ
-------------------------------------- */
  /* メインコンテンツの背景 */
  #top-message {
    width: 85%;
  }

  #top-message h2 {
    margin: 75px 0 50px;
  }

  #top-message p {
    line-height: 1.75;
  }

  #footer-credit {
    display: none;
  }

  /* --------------------------------------
  Company - 企業情報
-------------------------------------- */
  #profile {
    width: 90%;
  }

  #profile h2 {
    margin: 225px 0 50px;
  }

  .rinen {
    font-size: 22px;
  }

  .profile-table {
    margin-bottom: 50px;
  }

  .profile-table th,
  .group-table th {
    display: block;
    width: 100%;
    margin: -25px auto 0;
    padding: 5px;
    border: none;
    background-color: #fff;
    text-align: center;
  }

  .profile-table td,
  .group-table td {
    display: block;
    width: 100%;
    margin: 0 auto 40px;
    padding: 5px;
    border: none;
  }

  /* Mapを加工要素 */
  .map-wrap {
    margin: -25px auto 250px;
  }

  .map iframe {
    height: 200%;
  }

  .history-table {
    border-collapse: separate;
    width: 100%;
    max-width: 100%;
    margin: -25px auto 0;
    margin-bottom: 100px;
  }

  .history-table th {
    display: block;
    background: none;
    text-align: center;
    font-size: 22px;
    width: 100%;
    border: solid 1.5px #707070;
    border-width: 0 0 1px 0;
    padding: 10px 0;
  }

  .history-table td {
    display: block;
    background: none;
    width: 100%;
    padding: 10px 25px;
  }

  .company-title,
  .vision-title,
  .history-title {
    padding: 5px 0;
    width: 100%;
    margin: 0 auto 50px;
  }

  .history-table {
    margin-bottom: 75px;
  }

  /* --------------------------------------
  Buisiness - 事業内容
-------------------------------------- */
  #business {
    width: 85%;
    margin: -150px auto 0;
  }

  #business h2 {
    margin: 225px 0 50px;
  }

  .card-wrapper {
    display: block;
    margin-bottom: 100px;
  }

  .card {
    display: flex;
    width: 100%;
    margin-bottom: 50px;
  }

  .card img {
    display: flex;
    width: 100%;
  }

  .card_content {
    width: 100%;
  }

  .biz-category {
    font-size: 22px;
  }

  /* --------------------------------------
  Recruit - 採用情報
-------------------------------------- */
  #recruit {
    width: 85%;
  }

  #recruit h2 {
    margin: 225px 0 50px;
  }

  .recruit-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: 0 auto;
    margin-bottom: 50px;
  }

  .recruit-table th {
    font-size: 16px;
    display: flex;
    text-align: center;
    width: 100%;
    background: none;
    border: solid 1px #1469ac;
    border-width: 0 0 2px 2px;
    padding: 5px 10px;
  }

  .recruit-table td {
    font-size: 16px;
    display: flex;
    background: none;
    border: none;
    width: 100%;
    padding: 10px;
  }

  .apply-text-b {
    margin-bottom: -15px;
  }

  .apply-qa-btn,
  .apply-phone-btn {
    margin: 25px auto 100px; /* 中央寄せ */
  }

  /* --------------------------------------
  Contact
-------------------------------------- */
  #contact {
    width: 95%;
  }

  #contact h2 {
    margin: 75px 0 50px;
  }

  #contact-contact {
    width: 95%; /*横幅*/
  }

  .contact-table {
    margin-bottom: 50px;
  }

  .req {
    margin-right: 10px;
    font-size: 10px;
  }

  .contact-item,
  .contact-body {
    display: block;
    padding: 10px;
    border: 1px solid #ccc;
  }

  .contact-item {
    text-align: left; /* テキスト左寄せ */
    width: 100%; /* 横幅30%指定（グレーの背景色部分） */
  }

  .contact-body {
    width: 100%; /* 横幅70%指定（白背景色部分） */
  }

  .contact-submit {
    width: 80%; /* 横幅指定 */
    margin: 0 auto; /* 中央寄せ */
    padding: 15px 0; /* 内側の余白 */
  }

  .privacy {
    width: 90%;
    margin: 50px auto;
    text-align: left;
  }

  /* --------------------------------------
  Privacy Policy　プライバシーポリシー
-------------------------------------- */
  #privacy-policy {
    width: 85%;
    margin: 0 auto 50px;
  }

  #privacy-policy h2 {
    margin: 75px 0 50px;
  }

  /* --------------------------------------
  Thanks　サンクスページ
-------------------------------------- */
  .custom-box {
    margin-top: 250px;
    padding: 25px 10px;
    width: 80%;
  }

  /* 消さない */
}
