@charset "UTF-8";

@media screen and (max-width: 980px) {
  * {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .hidden-pc {
    display: block;
  }
  .hidden-sp {
    display: none;
  }
  body {
    min-width: 100%;
  }
  header {
    position: relative;
  }
  header h1 {
    height: auto;
    padding: 10px 20px;
  }
  header h1 span {
    width: 100%;
  }
  header .head {
    width: 100%;
    height: auto;
    padding: 0 20px 10px;
  }
  header .head h2 {
    width: auto;
  }
  header .head nav {
    width: auto;
  }
  header .menu-global-navi-container {
    display: none;
  }
  header .menu-global-navi-sp-container {
    display: block;
  }
  header .menu-global-navi-sp-container .menu-global-navi-sp-toggle {
    float: right;
    padding: 5px 10px;
    background: #65bd91;
  }
  header .menu-global-navi-sp-container .menu-global-navi-sp-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  header #menu-global-navi-sp {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #65bd91;
  }
  header #menu-global-navi-sp.active {
    display: block;
  }
  header #menu-global-navi-sp li:not(:last-child) a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  }
  header #menu-global-navi-sp li a {
    display: block;
    color: #fff;
    padding: 15px 20px;
  }
  #mainimg {
    height: auto;
  }
  .slidemenu {
    width: 100%;
    height: auto;
  }
  .slidemenu img {
    max-width: 100%;
    left: 0 !important;
  }
  #contents {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    width: 100%;
  }
  #side-content {
    float: none;
    width: 100%;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
  #side-content .side-disease {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  #side-content .side-disease h1 {
    width: 100%;
  }
  #side-content .side-disease h1 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  #main-content {
    float: none;
    width: 100%;
  }
  #top-news-content {
    padding-left: 20px;
    padding-right: 20px;
  }
  #top-news-content h1 {
    clear: both;
    width: 100%;
    height: 50px;
    line-height: 46px;
    font-weight: bold;
    font-size: 1.2em;
    text-indent: 40px;
    background: url(../images/common/h1.gif) no-repeat left top;
    margin-bottom: 20px;
    color: #fff;
  }
  #top-news-content h1 span {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
  }
  #top-news-content dl dt {
    position: inherit;
    width: 100%;
    padding: 12px 0 5px 0;
  }
  #top-news-content dl dd {
    padding: 0 0 12px 0;
  }
  #top-news-content dl dd:nth-child(4n) {
    background: #fff;
  }
  #pagetop-content {
    width: 100%;
  }
  footer #bottom {
    width: 100%;
  }
  #page-title {
    width: 100%;
    height: auto;
    background-size: cover;
  }
  #page-title .top-parent-title {
    position: inherit;
    top: inherit;
    left: inherit;
    padding-top: 68px;
    padding-bottom: 60px;
  }
  #page-title img {
    max-width: 100%;
  }
  .page-id-461 #page-title {
    height: auto;
  }
  .main_page {
    background: none;
  }
  #topicpath {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  #page-content {
    float: none;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  #page-content .alignleft {
    float: none;
    margin-right: 0;
    max-width: 100%;
  }
  #page-content .alignright {
    float: none;
    margin-left: 0;
    max-width: 100%;
  }
  #page-content .entry-content p img {
    max-width: 100%;
  }
  #page-content .entry-content .result-block .img li {
    width: 48%;
  }
  #page-content .entry-content .result-block .img li:first-child {
    margin-right: 2%;
  }
  #page-content .entry-content .result-block .img li a img {
    max-width: 100%;
  }
  #top-banner {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
  }
  .top-bannerList {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .top-bannerList > li {
    margin-bottom: 20px;
  }
  .top-bannerList img {
    max-width: 100%;
    height: auto;
  }
  #side-content .side-main-menu {
    margin-left: 20px;
    margin-right: 20px;
  }
  .office-inner {
    float: none;
    width: 100%;
  }
  .office-map iframe {
    max-width: 100%;
  }
  .office-photo {
    float: none;
    width: 100%;
  }
  #side-content .side-main-menu #menu-results-navi > li > a:link, #side-content .side-main-menu #menu-results-navi > li > a:visited {
    background-repeat: repeat-x;
  }
}


@media screen and (max-width: 768px) {



  .fixed-header {
    visibility: visible;
    top: 0;
  }

  #navArea {
    display: block;
    position: relative;
    width: 100%;
  max-width: 100%;
  overflow: hidden;
  }

  /*============
nav
=============*/
  nav {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    width: 300px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 23;
    pointer-events: none;
    opacity: 0;
  }

  .open nav {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }

  nav .inner {
    padding: 25px;
  }

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

  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
  }

  nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
  }

  nav .inner ul li a:hover {
    background: #89d2b5;
  }

  @media screen and (max-width: 768px) {
    nav {
      left: -220px;
      width: 220px;
    }
  }

  /*============
.toggle_btn
=============*/
  .toggle_btn {
    display: block;
    position: fixed;
    top: 10px;
    right: 30px;
    width: 30px;
    height: 30px;
    transition: all .5s;
    cursor: pointer;
    z-index: 23;
  }

  .toggle_btn span {
    display: block;
    position: absolute;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .5s;
  }

  .toggle_btn span:nth-child(1) {
    top: 4px;
  }

  .toggle_btn span:nth-child(2) {
    top: 14px;
  }

  .toggle_btn span:nth-child(3) {
    bottom: 4px;
  }

  .open .toggle_btn span {
    background-color: #fff;
  }

  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
  }

  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }

  .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
  }

  /*============
#mask
=============*/
  #mask {
    display: none;
    transition: all .5s;
  }

  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 22;
    cursor: pointer;
  }

  .gnav {
    display: none;
  }

  .header_logo_sp {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 23;
    width: auto;
    text-align: center;
  }

  .header_logo_sp img {
    width: 100%;
    height: 30px;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
  }

   /* mvセクション タブレット対応 */
   .mv {
    position: relative;
    width: 100% !important;
    height: 80vh;
    min-height: 500px;
    margin: 0 !important;
    padding: 0 !important;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  .slider {
    width: 100% !important;
    height: 100% !important;
    min-height: 500px;
    margin: 0 !important;
    padding: 0 !important;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  .slider_text {
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    text-align: center;
  }

  .slider_text img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: none;
  }

  .slider_text h1 {
    font-size: 2.5rem;
    letter-spacing: 0.15rem;
    margin-top: 20px;
    line-height: 1.4;
  }

  .slider_text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
  }

      /* top_topics タブレット対応 */

      .top_topics h1 {
        font-size: 1.8rem;
      }

    /* top_philosophy タブレット対応 */
    .top_philosophy {
      padding-bottom: 50px;
    }
  
    .top_philosophy_text h1 {
      font-size: 1.8rem;
      padding: 80px 0 40px;
      letter-spacing: 0.15rem;
      margin-bottom: 25px;
    }
  
    .top_philosophy_text h1::before {
      font-size: 0.9rem;
      bottom: 18px;
    }
  
    .top_philosophy_text h2 {
      font-size: 1.3rem;
      margin-bottom: 18px;
      line-height: 1.5;
    }
  
    .top_philosophy_text p {
      width: 80%;
      font-size: 0.95rem;
      line-height: 1.9;
      margin: 0 auto 40px;
    }
  
    /* top_about タブレット対応 */
    .top_about {
      padding-bottom: 50px;
    }
  
    .top_about h1 {
      font-size: 1.8rem;
      padding: 80px 0 40px;
      letter-spacing: 0.15rem;
      margin-bottom: 25px;
    }
  
    .top_about h1::before {
      font-size: 0.9rem;
      bottom: 18px;
    }
  
    .top_about_flex {
      flex-direction: column;
      margin-bottom: 40px;
    }
  
    .top_about_text {
      width: 100%;
      padding: 30px 20px;
    }
  
    .top_about_text h2 {
      font-size: 1.5rem;
      line-height: 1.7;
      margin-bottom: 18px;
      text-align: center;
    }
  
    .top_about_text p {
      font-size: 0.95rem;
      line-height: 1.9;
      margin: 0 auto 40px;
    }
  
    .top_about_text_list {
      font-size: 0.95rem;
      line-height: 1.7;
      margin: 0 auto 40px;
      text-align: center;
    }

    
  
    .top_about_img {
      width: 100%;
      padding: 0 20px;
    }
  
    /* top_works タブレット対応 */
    .top_works h1 {
      font-size: 1.8rem;
      padding: 80px 0 40px;
      letter-spacing: 0.15rem;
      margin-bottom: 25px;
    }
  
    .top_works h1::before {
      font-size: 0.9rem;
      bottom: 18px;
    }
  
    .top_works_pub {
      width: 100%;
      height: auto;
      min-height: 500px;
      margin-left: 0;
      margin-bottom: 40px;
    }
  
    .top_works_pub_item {
      position: relative;
      top: auto;
      right: auto;
      left: auto;
      width: 90%;
      max-width: 90%;
      padding: 40px 30px;
      margin: 30px auto;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .top_works_pub_item h2 {
      font-size: 1.4rem;
      letter-spacing: 0.15rem;
      padding-left: 18px;
      margin-bottom: 18px;
      line-height: 1.5;
    }
  
    .top_works_pub_item h2 span {
      font-size: 0.9rem;
    }
  
    .top_works_pub_item h3 {
      font-size: 1.1rem;
      margin-bottom: 18px;
    }
  
    .top_works_pub_item p {
      font-size: 0.85rem;
      line-height: 1.7;
      margin-bottom: 18px;
    }
  
    .top_works_pub_reverse {
      width: 100%;
      height: auto;
      min-height: 500px;
      margin-left: 0;
      margin-right: 0;
      margin-bottom: 40px;
    }
  
    .top_works_pub_item_reverse {
      position: relative;
      top: auto;
      left: auto;
      right: auto;
      width: 90%;
      max-width: 90%;
      padding: 40px 30px;
      margin: 30px auto;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
  
    .top_works_pub_item_reverse h2 {
      font-size: 1.4rem;
      letter-spacing: 0.15rem;
      padding-left: 18px;
      margin-bottom: 18px;
      line-height: 1.5;
    }
  
    .top_works_pub_item_reverse h2 span {
      font-size: 0.9rem;
    }
  
    .top_works_pub_item_reverse h3 {
      font-size: 1.1rem;
      margin-bottom: 18px;
    }
  
    .top_works_pub_item_reverse p {
      font-size: 0.85rem;
      line-height: 1.7;
      margin-bottom: 18px;
    }
  
    .sample_btn {
      max-width: 220px;
      margin: 25px auto;
      line-height: 42px;
      font-size: 0.95rem;
    }
  
    .left_btn {
      margin-left: auto;
      margin-right: auto;
    }

    /* トップリクルート */

    .top_recruit_header {
      width: 100%;
      height: 400px;
      overflow: hidden;
    }
    
    .top_recruit_header img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .top_recruit_img {
      margin: 40px auto 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .top_recruit_img img {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

  /* card-grid レスポンシブ対応（タブレット） */
  .card-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px auto;
    padding: 0 20px;
  }

  .card {
    padding: 30px 15px;
    min-height: auto;
  }

  .card-icon {
    width: 35%;
    padding-bottom: 15px;
  }

  .card-title {
    font-size: 0.95rem;
    margin: 0 0 12px 0;
  }

  .card-desc {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  /* cont_flex レスポンシブ対応（タブレット） */
  .cont_wrapper {
    padding: 0 20px;
  }

  .cont_flex {
    justify-content: center;
  }

  .cont_item {
    width: 50%;
    padding: 20px 15px 0;
  }

  /* 2列目だけは線なし */
  .cont_item::after {
    display: none;
  }

  .cont_item:nth-child(2n)::after {
    display: none;
  }

  /* 奇数番目（1列目、3列目）のみ線を表示 */
  .cont_item:nth-child(2n-1)::after {
    display: block;
    top: 10%;
    bottom: 10%;
    right: 0;
    width: 1px;
    background-color: #fff;
  }

  .cont_item_img {
    width: 80px;
    height: 80px;
    margin: 15px auto 0;
  }

  .cont_item h3 {
    font-size: 1rem;
    height: auto;
    min-height: 50px;
    margin: 15px 0;
  }

  .cont_item p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

    /* top_blog タブレット対応 */
    .top_blog {
      padding-bottom: 50px;
    }
  
    .top_blog h1 {
      font-size: 1.8rem;
      padding: 80px 0 40px;
      letter-spacing: 0.2rem;
      margin-bottom: 25px;
    }
  
    .top_blog h1::before {
      font-size: 0.9rem;
      bottom: 18px;
    }
  
    .top_blog_img {
      margin: 20px auto 20px;
      width: 90%;
      max-width: 600px;
    }
  
    .top_blog_img img {
      width: 100%;
      height: auto;
    }
  
    .top_blog_text {
      width: 90%;
      margin: 0 auto;
    }
  
    .top_blog_text p {
      font-size: 0.95rem;
      line-height: 1.7;
    }

  /* おしらせ（archive-topics.php）タブレット対応 */
  .topics {
    width: calc(100% - 30px) !important;
    padding-top: 15px;
  }

  .topics .wrapper {
    padding: 0 20px 20px !important;
  }

  .topics #topicpath {
    padding: 0 20px !important;
    margin-bottom: 15px;
  }

  .topics #page-content {
    width: 100%;
    max-width: 100%;
  }

  .topics .entry-content h1 {
    font-size: 1.8em !important;
    padding: 60px 0 45px !important;
    letter-spacing: 0.15rem;
  }

  .topics_flex {
    gap: 15px;
    padding: 0;
  }

  .topics_under_item {
    padding: 12px;
    gap: 12px;
    max-width: 100%;
    width: 100%;
  }

  .topics_under_item .day {
    flex: 0 0 25%;
    font-size: 0.9rem;
  }

  .topics_under_item .topics_text p {
    padding-left: 20px;
    font-size: 0.95rem;
    border-left-width: 3px;
  }

  /* おしらせ */

  .topics h1 {
    font-size: 1.5rem;
    padding: 60px 0 45px;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
  }

  .topics h1::before {
    font-size: 0.8rem;
    bottom: 20px;
  }

  /* お問い合わせフォーム タブレット対応 */
  #contact-content {
    width: 100%;
    padding: 0 20px;
  }

  #contact-content table {
    width: 100%;
  }

  #contact-content table th {
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  #contact-content table td {
    padding: 12px 0;
    font-size: 0.95rem;
  }

  #contact-content table td input.wpcf7-text,
  #contact-content table td input.wpcf7-email,
  #contact-content table td input.wpcf7-tel,
  #contact-content table td select,
  #contact-content table td .wpcf7-select {
    width: 100%;
    max-width: 500px;
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
  }

  #contact-content textarea.wpcf7-textarea {
    width: 100%;
    max-width: 500px;
    height: 180px;
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
  }

  #contact-content .submit-content input {
    max-width: 250px;
    padding: 10px 20px;
  }

  .contact .wrapper {
    padding: 0 20px 30px;
  }

}



@media screen and (max-width: 480px) {


  .header_logo_sp {
    position: fixed;
    height: 30px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 23;
  }


  .sample_btn {
    max-width: 220px;
    margin: 25px auto;
    line-height: 42px;
    font-size: 0.95rem;
  }

    /* 採用情報ボタン スマホ対応（画面下固定） */
    .recruit_fixed_btn {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      top: auto;
      width: 100%;
      height: 60px;
      border-radius: 0;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 10px;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
      z-index: 1000;
    }

     /* mvセクション スマホ対応 */
  .mv {
    position: relative;
    width: 100% !important;
    height: 70vh;
    min-height: 400px;
    margin: 0 !important;
    padding: 0 !important;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  .slider {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    margin: 0 !important;
    padding: 0 !important;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }

  .slider_text {
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 100%;
    padding: 0 15px;
    text-align: center;
  }

  .slider_text img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: none;
  }

  .slider_text h1 {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    margin-top: 15px;
    line-height: 1.3;
  }

  .slider_text p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 12px;
  }

  .top_topics h1 {
    font-size: 1.5rem;
  }


  /* おしらせ（archive-topics.php）スマホ対応 */

  .topics {
    width: calc(100% - 20px) !important;
    padding-top: 10px;
  }

  .topics .wrapper {
    padding: 0 15px 15px !important;
  }

  .topics #topicpath {
    padding: 0 15px !important;
    margin-bottom: 10px;
    font-size: 0.85em;
  }

  .topics #page-content {
    width: 100%;
    max-width: 100%;
  }

  .topics .entry-content h1 {
    font-size: 1.5em !important;
    padding: 40px 0 45px !important;
    letter-spacing: 0.1rem;
  }

  .topics_flex {
    gap: 12px;
    padding: 0;
  }

  .topics_under_item {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    max-width: 100%;
    width: 100%;
  }

  .topics_under_item .day {
    flex: none;
    width: 100%;
    text-align: left;
    font-size: 0.85rem;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 5px;
  }

  .topics_under_item .topics_text {
    width: 100%;
  }

  .topics_under_item .topics_text p {
    padding-left: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    border-left-width: 3px;
  }

  .topics h1 {
    font-size: 1.5rem;
    padding: 60px 0 30px;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
  }

  .topics h1::before {
    font-size: 0.8rem;
    bottom: 20px;
  }

     /* top_philosophy スマホ対応 */
  .top_philosophy {
    padding-bottom: 40px;
    background-size: cover;
    background-position: center center;
  }

  .top_philosophy_text h1 {
    font-size: 1.5rem;
    padding: 60px 0 30px;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
  }

  .top_philosophy_text h1::before {
    font-size: 0.8rem;
    bottom: 15px;
  }

  .top_philosophy_text h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .top_philosophy_text p {
    width: 90%;
    font-size: 0.85rem;
    line-height: 1.8;
    margin: 0 auto 30px;
  }

  /* top_about スマホ対応 */
  .top_about {
    padding-bottom: 40px;
    background-size: cover;
    background-position: center center;
  }

  .top_about h1 {
    font-size: 1.5rem;
    padding: 60px 0 30px;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
  }

  .top_about h1::before {
    font-size: 0.8rem;
    bottom: 15px;
  }

  .top_about_flex {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .top_about_text {
    width: 100%;
    padding: 20px 15px;
  }

  .top_about_text h2 {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .top_about_text p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin: 0 auto 30px;
  }

  .top_about_text_list {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .top_about_img {
    width: 100%;
    padding: 0 15px;
  }

  /* top_works スマホ対応 */
  .top_works h1 {
    font-size: 1.5rem;
    padding: 60px 0 30px;
    letter-spacing: 0.1rem;
    margin-bottom: 20px;
  }

  .top_works h1::before {
    font-size: 0.8rem;
    bottom: 15px;
  }

  .top_works_pub {
    width: 100%;
    height: auto;
    min-height: 400px;
    margin-left: 0;
    margin-bottom: 30px;
  }

  .top_works_pub_item {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    padding: 30px 20px;
    margin: 20px 0;
    box-shadow: none;
  }

  .top_works_pub_item h2 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    padding-left: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .top_works_pub_item h2 span {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
  }

  .top_works_pub_item h3 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .top_works_pub_item p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .top_works_pub_reverse {
    width: 100%;
    height: auto;
    min-height: 400px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .top_works_pub_item_reverse {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    padding: 30px 20px;
    margin: 20px 0;
    box-shadow: none;
  }

  .top_works_pub_item_reverse h2 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    padding-left: 15px;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .top_works_pub_item_reverse h2 span {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
  }

  .top_works_pub_item_reverse h3 {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .top_works_pub_item_reverse p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .left_btn {
    margin-left: auto;
    margin-right: auto;
  }
  
  .top_recruit_header {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }
  
  .top_recruit_header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
    .recruit_icon {
      font-size: 20px;
      margin-bottom: 0;
    }
  
    .recruit_text {
      font-size: 14px;
      font-weight: bold;
    }
  
    .recruit_fixed_btn::before {
      display: none;
    }
  
    .recruit_fixed_btn:hover {
      transform: none;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    }


    .top_recruit h1 {
      font-size: 1.5rem;
      padding: 60px 0 30px;
      letter-spacing: 0.1rem;
      margin-bottom: 20px;
    }

    .top_recruit h1::before {
      font-size: 0.8rem;
      bottom: 15px;
    }

    .top_recruit h2 {
      font-size: 1.3rem;
      padding: 60px 0 30px;
      letter-spacing: 0.1rem;
      margin-bottom: 20px;
    }

    

  /* card-grid レスポンシブ対応（スマホ） */
  .card-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px auto;
    padding: 0 15px;
  }

  .card {
    padding: 25px 15px;
    min-height: auto;
  }

  .card-icon {
    width: 30%;
    padding-bottom: 15px;
  }

  .card-title {
    font-size: 0.9rem;
    margin: 0 0 10px 0;
  }

  .card-desc {
    font-size: 0.7rem;
    line-height: 1.5;
  }


  /* cont_flex レスポンシブ対応（スマホ） */
  .cont_wrapper {
    padding: 0 15px;
  }

  .cont_flex {
    flex-direction: column;
  }

  .cont_item {
    width: 100%;
    padding: 25px 15px 0;
  }

  /* スマホでは全ての区切り線を非表示 */
  .cont_item::after {
    display: none;
  }

  .cont_item:nth-child(2n-1)::after {
    display: none;
  }

  .cont_item_img {
    width: 120px;
    height: 120px;
    margin: 15px auto 0;
  }

  .cont_item h3 {
    font-size: 0.95rem;
    height: auto;
    min-height: auto;
    margin: 15px 0;
  }

  .cont_item p {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 10px;
  }


    
  /* top_blog スマホ対応 */
  .top_blog {
    padding-bottom: 40px;
  }

  .top_blog h1 {
    font-size: 1.5rem;
    padding: 60px 0 30px;
    letter-spacing: 0.15rem;
    margin-bottom: 20px;
  }

  .top_blog h1::before {
    font-size: 0.8rem;
    bottom: 15px;
  }

  .top_blog_img {
    margin: 15px auto 15px;
    width: 100%;
    padding: 0 15px;
  }

  .top_blog_img img {
    width: 100%;
    height: auto;
  }

  .top_blog_text {
    width: 95%;
    margin: 0 auto;
    padding: 0 15px;
  }

  .top_blog_text p {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* お問い合わせフォーム スマホ対応 */
  #contact-content {
    width: 100%;
    padding: 0 15px;
  }

  #contact-content table {
    width: 100%;
    display: block;
  }

  #contact-content table tr {
    display: block;
    width: 100%;
    border-bottom: 1px solid #d8d8d8;
    padding: 15px 0;
  }

  #contact-content table th {
    display: block;
    width: 100%;
    padding: 0 0 8px 0;
    border: none;
    font-size: 0.9rem;
    white-space: normal;
  }

  #contact-content table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    font-size: 0.9rem;
  }

  #contact-content table td input.wpcf7-text,
  #contact-content table td input.wpcf7-email,
  #contact-content table td input.wpcf7-tel,
  #contact-content table td select,
  #contact-content table td .wpcf7-select {
    width: 100%;
    padding: 8px;
    font-size: 16px; /* iOSのズーム防止 */
    box-sizing: border-box;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
  }

  #contact-content textarea.wpcf7-textarea {
    width: 100%;
    height: 150px;
    padding: 8px;
    font-size: 16px; /* iOSのズーム防止 */
    box-sizing: border-box;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
  }

  #contact-content input[type="radio"] {
    margin-right: 5px;
    margin-bottom: 5px;
  }

  #contact-content .wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  #contact-content .wpcf7-radio .wpcf7-list-item {
    margin: 0;
  }

  #contact-content .submit-content {
    padding-top: 20px;
  }

  #contact-content .submit-content input {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    font-size: 16px;
  }

  #contact-content .note {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 15px;
    margin-bottom: 40px;
  }

  .contact .wrapper {
    padding: 0 15px 30px;
  }

  .contact_content h1 {
    font-size: 1.5rem;
    padding: 40px 0 30px;
  }
}
