@charset "utf-8";

@media screen and (max-width: 450px) {
  body {
    max-width: 428px;
    height: auto;
  }

  .u-fos3L {
    font-weight: 2rem;
  }

  .u-fos2L {
    font-weight: 1.5rem;
  }

  .u-fosL {
    font-weight: 1.2rem;
  }

  img {
    width: 100%;
  }


  .sp--only {
    display: block;
  }

  .top-Inner {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: -0.6rem;
  }

  .top-Main {
    width: 100%;
    overflow: hidden;
    border-left: none;
    border-right: none;
    padding: 0 0.5rem;
  }

  .top-Btn {
    display: inline-block;
  }

  .top_welfare>li:nth-child(n + 1) {
    margin-top: 1.5rem;
  }

  .top-circle {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    box-shadow: 4px 5px 7px 0px rgba(0, 0, 0, 0.2);
  }

  .top-circle span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 200px;
  }

  .top-lh--33 {
    line-height: 33px;
  }

  /* ここから下がハンバーガーメニューに関するCSS */

  /* チェックボックスを非表示にする */
  .drawer_hidden {
    display: none;
  }

  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 20px;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
    top: 26px;
  }

  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
  }

  /* .drawer_open span {
    top: 7px;
  } */

  /* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 13px;
  }

  /* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: -6px;
  }

  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
  }

  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* メニューのデザイン*/
  .nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0%;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: rgb(110, 110, 110);
    transition: 0.5s;
    text-align: center;
    padding-top: 20px;
  }

  /* メニュー黒ポチを消す */
  .nav_list {
    list-style: none;
  }

  .nav_item a {
    color: #fff;
    text-decoration: none;
  }

  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked~.nav_content {
    left: 0;
  }

  .top-circle--mini {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 4px 5px 7px 0px rgba(0, 0, 0, 0.2);
  }

  .top-circle--mini span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 150px;
  }

  .top-circle--mini:nth-child(n + 1) {
    margin-top: 1.5rem;
  }

  /* u-fs フォントサイズ（旧） */
  .u-fs9L {
    font-size: 2.8rem !important;
  }

  .u-fs8L {
    font-size: 2.6rem !important;
  }

  .u-fs7L {
    font-size: 2.5rem !important;
  }

  .u-fs6L {
    font-size: 2.3rem !important;
  }

  .u-fs12L {
    font-size: 2.2rem !important;
  }

  .u-fs5L {
    font-size: 2.1rem !important;
  }

  .u-fs4L {
    font-size: 2rem !important;
  }

  .u-fs3L {
    font-size: 1.9rem !important;
  }

  .u-fs2L {
    font-size: 1.7rem !important;
  }

  .u-fsL {
    font-size: 1.5rem !important;
  }

  .u-fsM {
    font-size: 1.4rem !important;
  }

  .u-fsS {
    font-size: 1.2rem !important;
  }

  .u-fs2S {
    font-size: 1rem !important;
  }

  .u-fs3S {
    font-size: 1rem !important;
  }

  .u-fs4S {
    font-size: 0.8rem !important;
  }

  .u-fs5S {
    font-size: 0.75rem !important;
  }

  /* sp版サイズ */
  /* タイトルロゴ */
  .toriyama_contents_logo_w {
    width: 45%;
  }

  .toriyama_company_txtLogo_w {
    width: 40%;
  }

  .toriyama_contents_topM {
    margin-top: 8rem;
  }

  /* テーブルフォント */
  .toriyama_th_fosS {
    font-size: 0.85rem;
  }

  /* top */
  .top_circle_fos {
    font-size: 1.2rem;
  }

  /* company */
  .company-table_th {
    width: 30%;
  }

  /* interview */
  .interview_img_w {
    width: 85%;
  }

  .interview_img_flx_w {
    width: 45%;
  }

  .interview_txt_w {
    width: 88%;
  }

  .interview-circle {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 4px 5px 7px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 30px;
  }

  .interview-circle span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 30px;
  }

  /* inquiry */
  .inquiry_square_w {
    width: 90%;
  }

  .inquiry-square {
    border: #fff 1px solid;
    border-radius: 10px;
    box-shadow: 4px 5px 7px 0px rgba(255, 255, 255, 0.45);
    padding: 4%;
    background-color: #fff;
  }

  .inquiry-square--line {
    border: #fff 1px solid;
    border-radius: 10px;
    box-shadow: 4px 5px 7px 0px rgba(255, 255, 255, 0.45);
    padding: 4% 2.5%;
    background-color: #fff;
  }

  .inquiry-icon--arrow::after {
    content: "";
    background-image: url(/wp-content/themes/toriyama/assets/images/icon_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 41px;
    height: 57px;
    top: calc(97% - 1rem);
    left: calc(50% - 1rem);
    z-index: 5;
    display: inline-block;
    transform: rotate(90deg);
  }

  .inquiry-bgClr--orange {
    background-color: #ea5514;
    border-radius: 5px;
    padding: 1.5%;
    margin-top: 0.75rem;
  }

  .inquiry-square--inqutTxt {
    background-color: #fff;
    border: 1px solid #000;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0.25rem;
  }

  .inquiry-square--inqutTxt_address1 {
    background-color: #fff;
    border: 1px solid #000;
    margin-left: 0rem;
    padding: 0.25rem;
  }

  .inquiry-bgClr--blue {
    background-color: #1a4a9e;
    border-radius: 5px;
    padding: 3%;
    width: 80%;
  }

  .inquiry-arrow--white::before {
    content: "";
    background-image: url(/wp-content/themes/toriyama/assets/images/arrow_white.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 20px;
    height: 25px;
    top: calc(55% - 1rem);
    left: calc(12% - 1rem);
    z-index: 5;
    display: inline-block;
  }

  /* work */
  .work_contents_mT {
    margin-top: 1.5rem;
  }

  /* recruit */
  .recruit_contents_w {
    width: 90%;
  }

  .recruit_gray_w {
    width: 85%;
    padding: 0.5rem;
  }


  /*========================
Youtube制御
=====================*/
  #video-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
  }

  #video {
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* マウスイベントを無効にする */
  }
  
  .footer_text__copy{
    font-size: 0.5rem!important;
}


/*========================
トップページ
=====================*/
.maincopy {
  min-width: 250px;
}

.top_toriyama__ttl {
  font-size: 1.5rem !important;
  line-height: 1.7;
}

.top-circle--mini {
  height: 115px;
  width: 115px;

}

.top-circle--mini span {
  left: 50%;
  transform: translateY(-50%) translateX(-49%);
}

.top_circle_fos {
  font-size: 0.8rem;
}

.p-top_maincopy {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.p-top_merit {
  margin-top: 2rem;
}

.more_btn {
  font-size: 0.7rem !important;
  width: 40% !important;
  padding: 0.5rem !important;
}

.p-merit__text {
  font-size: 0.9rem !important;
}

.p-top_points__desc {
  font-size: 0.8rem !important;
  line-height: 1.5;
}

.p-top__com__desc {
  font-size: 0.6rem;
}

.more_btn--sp {
  margin-top: 0;
}

.more_btn--big {
  width: 90% !important;
  padding: 1rem !important;
  font-size: 1rem !important;
}

.news {
  font-size: 0.7rem;
}

.news__date {
  text-align: left;
  width: 100%;
  margin-right: 1rem;
}

.footer_text__copy{
  font-size: 0.5rem!important;
}

/* フォーム */
.inquiry-icon--arrow::after {
  top: calc(120% - 1rem)!important;
  }

  input,
  textarea{
    width: 100%;
  }

  .inquiry-square--inqutTxt_address1{
    margin-left: 0!important;
  }

  .inquiry-bgClr--blue{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

}

/* 中間層のメディアクエリ */
@media screen and (min-width:480px) and (max-width:1024px) {

  .top-Inner,
  .top-main_img {
    min-width: 750px;
  }

  .top-Inner {
    padding: 0 2rem;
  }

  .maincopy {
    min-width: 25px;
  }

  .top-Inner {}

  body {
    min-width: 750px;
    height: auto;
  }

  .maincopy {
    min-width: 25px;
  }

  .header_fos {
    font-size: 0.75rem;
  }

  .u-p05 {
    padding: 0.25rem !important;
  }

  /* .u-w70{
	width: 75% !important;
	} */
  .toriyama_header_contents>li:first-child {
    margin-left: 0rem;
  }

  .u-fos3L {
    font-weight: 2.8rem;
  }

  .u-fos2L {
    font-weight: 1.8rem;
  }

  .u-fosL {
    font-weight: 1.25rem;
  }

  .sp--only {
    display: none;
  }

  .toriyama_contents_topM {
    margin-top: 9rem;
  }

  .interview-cont--fos {
    line-height: 27;
  }

  .top_welfare>li:nth-child(n + 4) {
    margin-top: 3rem;
  }

  .work_contents_mT {
    margin-top: 3rem;
  }

  .recruit_contents_w {
    width: 40%;
  }

  .recruit_gray_w {
    width: 30%;
    padding: 0.5rem;
  }

  .interview_txt_w {
    width: 70%;
  }

  .interview_img_w {
    width: 45%;
  }

  .u-fs8L {
    font-size: 2rem !important;
  }

  .u-fs7L {
    font-size: 1.8rem !important;
  }

  /* ヘッダー処理 */
  .top-header {
    min-width: 1100px;
  }
}