@charset "utf-8";
@media screen and (max-width: 1200px) {
  /* ======================================================
　　トップページ
====================================================== */
  /*-------------------------------------------
  header
-------------------------------------------*/
  .header_nav-lists {
    gap: 40px;
  }
  /*-------------------------------------------
  footer
-------------------------------------------*/
  .footer {
    height: 80px;
  }
}

@media screen and (max-width: 767px) {
  /* ======================================================
　　common
====================================================== */
  .pc-block {
    display: none;
  }
  .sp-block {
    display: block;
  }
  .title-pc {
    display: none;
  }
  .title-sp {
    display: block;
  }
  main {
    margin-top: 60px;
  }

  /*-------------------------------------------
  header
-------------------------------------------*/
  .header {
    height: 60px;
  }
  .header_nav {
    justify-content: flex-start;
    width: 80%;
    background: rgba(66, 151, 205, 0.9);
    color: #fff;
    font-size: 1.6rem;
    padding: 40px;
    position: fixed;
    top: 60px;
    bottom: 0;
    transform: translateX(120%);
    overflow-y: auto;
    transition: transform 0.5s ease;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
  }
  .header_contact {
    margin-left: 0;
    margin-top: 40px;
  }
  .header_contact a {
    background-color: #fff;
    color: #1e64b6;
    border-radius: 10px;
    border: 1px solid #1f65b7;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1e64b6;
  }
  .header.active .header_nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(20%);
    flex-direction: column;
    align-items: center;
  }
  .header_nav-lists {
    flex-direction: column;
    align-items: center;
    gap: 75px;
  }
  .hamburger {
    display: block;
  }
  /* ハンバーガーアクティブ時 */
  .header.active .hamburger span:nth-child(1) {
    transform: translateY(12px) rotate(-315deg); /* ←しっかりクロスになる */
  }
  .header.active .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .header.active .hamburger span:nth-child(3) {
    transform: translateY(-12px) rotate(315deg); /* ←しっかりクロスになる */
  }
  .header.active .header_top .company-instgram {
    display: none;
  }
  .header.active .header_top .header_contact-btn {
    display: none;
  }
  .header.active .header-nav-sp {
    display: block;
  }
  /*-------------------------------------------
  footer
   -------------------------------------------*/
  .footer {
    height: 60px;
    padding: 9px 0;
  }
  /* トップへ戻るボタン */
  .to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 32px;
    height: 32px;
  }
  .to-top::after {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #4297cd;
  }

  /* ======================================================
　　トップページ
====================================================== */

  /*-------------------------------------------
  mainvisual
-------------------------------------------*/
  .mainvisual_contents {
    padding-bottom: 140px;
  }
  .mainvisual_text {
    text-align: center;
    line-height: 1.2;
  }
  .mainvisual_img {
    margin-top: 32px;
  }
  .mainvisual_medals {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }
  .mainvisual_medal:first-child {
    position: absolute;
    top: -90%;
    left: 50%;
    transform: translateX(-50%);
  }
  /*-------------------------------------------
  cta
-------------------------------------------*/
  .cta_contents {
    margin-top: 22px;
  }
  .cta_tel {
    margin-top: 15px;
    gap: 8px;
  }
  .cta_time {
    margin-top: 20px;
  }
  .cta_bottom {
    margin-top: 16px;
  }

  /*-------------------------------------------
  特徴
-------------------------------------------*/
  .feature_bg {
    height: 38.4vw;
    background: url(../images/top_feature-img1-sp.png) no-repeat;
    background-size: 100% auto;
  }
  .feature_contents {
    transform: translateY(-2%);
  }
  .feature_title {
    text-align: center;
  }
  .feature_top {
    flex-direction: column;
  }
  .feature_text {
    line-height: 2.4;
  }
  .feature_img {
    margin: 40px auto 0;
    text-align: center;
    width: 70%;
  }
  .feature_bottom {
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
  }
  .feature_item-head {
    padding: 25px 0;
  }
  .feature_item-body {
    padding: 20px;
  }
  /*-------------------------------------------
  cta
-------------------------------------------*/
  .cta_contents {
    flex-direction: column-reverse;
    align-items: center;
  }
  .cta_bottom {
    font-size: clamp(1.6rem, calc(100vw * 24 / 1200), 2.4rem);
  }
  .cta_img1 {
    margin-top: 16px;
  }
  /* ======================================================
　　会社概要
====================================================== */
  .page-company .inner {
    margin-top: 0;
  }
  /*-------------------------------------------
  会社情報
-------------------------------------------*/
  .info_img {
    max-width: 500px;
    margin: 0 auto;
    width: 83.58%;
  }
  .info_table {
    border-spacing: 0 4px;
  }
  .info_table th,
  .info_table td {
    border: 1px solid #1f65b7;
    padding: 8px 0;
  }
  /* ======================================================
　　お知らせ一覧ページ
====================================================== */
  .page-news {
    padding-bottom: 40px;
  }
  .page-news .inner {
    margin-top: 0;
  }
  .news_items {
    margin-top: 40px;
  }
  .news_item h3 {
    padding-bottom: 5px;
    margin-top: 3px;
  }
  .news_item p {
    margin-top: 5px;
  }
  .news-pagination {
    margin-top: 80px;
    font-size: 1.6rem;
  }
  .btn-prev,
  .btn-next {
    width: 110px;
    height: 40px;
  }
  /* ======================================================
　　採用情報ページ
====================================================== */
  .recruit {
    margin-top: 0;
    z-index: -10;
  }
  .recruit h3 {
    margin-top: 23px;
  }
  .recruit .text p:first-of-type {
    margin-top: 16px;
  }
  .recruit .img:last-of-type {
    margin-top: 27px;
  }
  /* ======================================================
　　お問い合わせページ
====================================================== */
  .page-contact {
    padding-bottom: 60px;
  }
  .page-contact .inner {
    margin-top: 40px;
  }
  .contact_top {
    flex-direction: column;
    gap: 30px;
  }
  form {
    margin-top: 20px;
    font-size: 1.4rem;
  }
  input,
  textarea {
    height: 40px;
    background-color: #fcfad7;
    padding: 13px 21px;
    border-radius: 10px;
    border: 1px solid #1f65b7;
  }
  textarea {
    height: 190px;
  }
  .form_head span {
    width: 36px;
    height: 20px;
    font-size: 1rem;
  }
  .form_item:nth-of-type(n + 2) {
    margin-top: 15px;
  }
  .form_btn input {
    margin: 40px auto 0;
    width: 180px;
    height: 40px;
    background-color: #1f65b7;
    border-radius: 15px;
    color: #fff;
  }
  /* プライバシーポリシー */
  .page-contact .privacy-poricy {
    margin-top: 40px;
  }
  .page-contact .privacy-poricy_text {
    height: 150px;
    font-size: 1.2rem;
  }
  .page-contact .privacy-poricy_text span {
    font-size: 1.2rem;
  }
  .page-contact .privacy-poricy_confirm {
    margin-top: 40px;
    font-size: 1.4rem;
  }
  /* フォームボタン */
  input[type="checkbox"] {
    width: 15px;
    height: 15px;
  }
  input[type="checkbox"]:checked::after {
    font-size: 10px;
  }
  /* ======================================================
　　プライバシーポリシーページ
====================================================== */
  .page-privacy-policy {
    padding-bottom: 40px;
  }
  .page-privacy-policy .privacy-policy_text {
    font-size: 1.2rem;
  }
  .page-privacy-policy .privacy-policy_text h3 {
    font-size: 1.6rem;
  }
}
