@charset "UTF-8";
/* CSS Document */

@media screen and (max-width: 767px) {
  body {
    font-family: var(--font-sans);
    font-size: 0.9em;
    color: var(--color-text);
  }
  #wrapper {
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  a {
    color: var(--color-brand);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  a:link {
    text-decoration: none;
    color: var(--color-brand);
  }
  a:visited {
    opacity: 0.5;
    color: var(--color-brand);
  }
  a:hover {
    opacity: 0.5;
  }
  li {
    list-style-type: none;
  }
  .pc {
    display: none;
  }
  /* -----------------------------------------------------------
    h1
  ----------------------------------------------------------- */
  h1 {
    text-align: center;
  }
  h2 {
    font-family: 'Quicksand', sans-serif;
    text-align: center;
    color: var(--color-text);
    font-size: 1.5em;
    letter-spacing: 0.2em;
    font-weight: normal;
    padding-bottom: 24px;
  }
  h3 {
    text-align: center;
    font-size: 1.4em;
    line-height: 1.4em;
    letter-spacing: 0.2em;
    font-weight: normal;
  }
  h4 {
    font-size: 1.2em;
    letter-spacing: 0.2em;
    color: var(--color-gray-200);
    font-weight: normal;
  }
  /* -----------------------------------------------------------
      共通 - header
    ----------------------------------------------------------- */
  #nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 16px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
  }
  #nav-toggle div {
    position: relative;
  }
  #nav-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-brand);
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    border-radius: 2px;
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 10px;
  }
  #nav-toggle span:nth-child(3) {
    top: 20px;
  }
  /*---------gnav sp--------------*/
  /* 注: モバイルナビのスタイルは multilevel-nav.css で管理しています */
  .head-inner {
    display: none;
  }
  .slick-next {
    right: 0;
  }
  #top-head, .inner {
    width: 100%;
    padding: 0;
    z-index: 999;
  }
  #top-head {
    top: 0;
    position: fixed;
    margin-top: 0;
  }
  /* Fixed reset */
  #top-head.fixed {
    padding-top: 0;
    background: transparent;
  }
  #mobile-head {
    background: var(--color-white);
    width: 100%;
    height: 56px;
    z-index: 999;
    position: relative;
  }
  #top-head.fixed .logo, #top-head .logo {
    position: absolute;
    left: 0px;
    height: 50px;
    top: -1px;
    color: var(--color-white);
    font-size: 26px;
    width: 360px;
  }
  #top-head .logo img {
    width: 40%;
    float: left;
  }
  
  /* 以下のスタイルは multilevel-nav.css に委譲されました */
  /*
  #global-nav {
    position: absolute;
    top: -500px;
    background: var(--color-brand);
    width: 100%;
    height: auto;
    text-align: center;
    padding: 10px 0;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  #global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 14px;
  }
  #global-nav ul li {
    float: none;
    position: static;
    padding: 0px 0;
    color: var(--color-white);
  }
  #top-head #global-nav ul li a, #top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: var(--color-white);
    padding: 18px 0;
  }
  */
  
  #nav-toggle {
    display: block;
  }
  .open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
  }
  .open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
  }
  
  /* 以下のスタイルも multilevel-nav.css に委譲されました */
  /*
  .open #global-nav {
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
  }
  */
  .clone-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    transition: .3s;
    transform: translateY(-100%);
  }
  .is-show {
    transform: translateY(0);
  }
  /* -----------------------------------------------------------
        共通 - btn
      ----------------------------------------------------------- */
  div.btn {
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }
  .btn_more {
    display: inline-block;
    width: 90%;
    padding: 6.5% 0%;
    text-decoration: none;
    color: var(--color-brand);
    border: solid 1.5px var(--color-brand);
    border-radius: 3px;
    transition: .4s;
    letter-spacing: 0.4em;
    font-size: 1.4em;
    font-weight: 300;
  }
  .btn_more:hover, .btn_more:link, .btn_more:active {
    color: var(--color-brand);
  }
    .btn_contact {
      display: inline-block;
      width: 100%;
      padding: 6.5% 0%;
      text-decoration: none;
      color: var(--color-white);
      background: var(--color-brand);
      transition: .4s;
      border: solid 2px var(--color-brand);
      border-radius: 3px;
      letter-spacing: 0.2em;
      font-size: 1.2em;
    }
    .btn_contact:hover, .btn_contact:link, .btn_contact:active {
      color: var(--color-white);
    }

    /* -----------------------------------------------------------
          共通
        ----------------------------------------------------------- */

  div#common_contact {
    
    width: 100%;
  }
  div#common_contact section {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-bottom: 48px;
  }
  div#common_contact h2 {
    text-align: center;
    margin-left: 20px;
  }

  div#common_contact p {
    text-align: left;
    letter-spacing: 0.2em;
    line-height: 1.5em;
    margin-top: 16px;
    margin-bottom: 32px;
    clear: both;
  }

div.common_contact_recruit{
  margin-bottom: 16px;
}

  div.common_contact_text {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  div.common_contact_recruit span, div.common_contact_other span{
    text-align: center;
    margin: 0 auto;
    letter-spacing: 0.2em;
    line-height: 1.8em;
    font-size: 1em;
    clear: both;
  }



  div.btn_common_contact {
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  div.btn_winactor {
    width: 100%;
    text-align: center;
    margin-top: 56px;
  }

  div.btn_winactor .btn_more{
    width: 100%;
    margin-bottom: 16px;
  }

  div.btn_winactor .btn_more:after{
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: -3px 0 0 5px;
    background: url("/img/icon_blank.png") no-repeat;
    background-size: contain;
    vertical-align: middle;
  }

  div.btn_winactor .btn_contact{
    padding: 6.5% 0%;
  }

  /* -----------------------------------------------------------
    共通 - footer
  ----------------------------------------------------------- */
  #footer {
    width: 100%;
    letter-spacing: 0.1em;
    font-size: 0.9em;
    padding-top: 24px;
    padding-bottom: 32px;
    overflow: hidden;
    background-color: #e4efff;
  }
  #footer h3 {
    text-align: center;
  }
  #footer h3 img {
    width: 50%;
  }
  .footer_address {
    width: 90%;
    margin: 0 auto;
  }
  .footer_address li {
    margin-bottom: 6px;
    letter-spacing: 0.2em;
    line-height: 1.2em;
  }
  .footer_address li:first-child {
    font-weight: bold;
    font-size: 1.4em;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
  }
  .footer_menu {
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    clear: both;
    margin-top: 30px;
  }
  .footer_menu li {
    float: left;
    border-right: 1px solid #ddd;
    width: 32%;
  }
  .footer_menu li a {
    display: block;
    text-align: center;
  }
  .footer_menu li:last-child {
    border: none;
  }
  .copyright {
    width: 100%;
    padding-bottom: 20px;
    text-align: center;
    font-size: 0.7em;
    letter-spacing: 0.2em;
  }
  /* -----------------------------------------------------------
  共通 - other
----------------------------------------------------------- */
  div.text_area {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.1em;
    line-height: 2em;
    margin-top: 16px;
  }
  div.list {
    margin: 12px;
    font-size: 0.9em;
  }
  #breadcrumb {
    margin-top: 16px;
    margin-left: 12px;
  }
  .breadcrumb {
    padding-left: 0;
    margin-left: 0;
  }
  .breadcrumb li {
    display: inline;
    list-style: none;
    font-weight: bold;
  }
  .breadcrumb li:after {
    content: '>';
    padding: 0 3px;
    color: var(--color-breadcrumb-sep);
  }
  .breadcrumb li:last-child:after {
    content: '';
  }
  .breadcrumb a.here:link {
    color: var(--color-breadcrumb-sep);
  }
  span.attention{
    color: var(--color-attention);
    font-size: 0.8em;
  }
  /* -----------------------------------------------------------
  top
----------------------------------------------------------- */
  div#top_main {
    /* height:0; removed (unified hero) */
    margin-top: 56px;
    /* padding-top:... removed (unified hero) */
/*     /* background:url(...) removed (unified hero) */ 
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    -o-background-size: contain;
    -ms-background-size: contain;
  }
  div#top_main section {
    width: 90%;
  }
  div#top_main section h2 {
    font-family: var(--font-sans);
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    margin: auto;
    width: 90%;
    padding-top: 55%;
    font-size: 1.6em;
    line-height: 1.2em;
    letter-spacing: 0.2em;
    text-align: left;
    color: var(--color-white);
    text-shadow: 0px 0px 40px #aaaaaa;
  }
  div#top_main section h1 p {
    margin-bottom: 12px;
  }
  div#top_vision {
    margin-left: auto;
    margin-right: auto;
    background-image: url(/img/vision_mainvisual_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 65%;
  }
  div#top_vision section {
    padding-top: 80px;
    padding-bottom: 64px;
    margin: 0 auto;
    width: 90%;
  }
  div#top_vision h2 {
    color: var(--color-nearwhite);
  }
  div#top_vision h3 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    color: var(--color-nearwhite);
  }
  div#top_vision .text_area {
    /*djkim MOD */
    /*color: var(--color-nearwhite);*/
    color: var(--color-white);
    text-shadow:
      0 3px 6px rgba(0,0,0,1),    /* 真っ黒の強い影 */
      0 0 10px rgba(0,0,0,0.9),   /* 周囲をさらに暗く */
      0 0 20px rgba(0,0,0,0.8);   /* 広がりのある影 */
    font-size: 17px;   /* ← 好きなサイズに調整（デフォルトは14px） */
    line-height: 1.8;  /* 行間も少し広げると読みやすい */
    /*djkim MOD */

  }
  div#top_winactor {
    width: 100%;
  }
  div#top_winactor section {
    width: 90%;
    padding-top: 40px;
    padding-bottom: 56px;
    margin: 0 auto;
  }
  div#top_winactor h2 {
    padding-bottom: 4px;
  }
  div#top_winactor h3 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    color: var(--color-text);
    text-align: left;
  }
  div.top_winactor_img {
    width: 100%;
    height: 200px;
    background-image: url("/img/winactor_mainvisual.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: auto;
    margin-right: auto;
  }
  div#top_winactor img {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  div#top_winactor .winactor_box p:first-child {
    margin-bottom: 16px;
  }


  /* ===================================================================
     Section: Service (RECRUIT-STYLE CARDS WITH PHOTOS)
     =================================================================== */
  div#top_service {
    width: 100%;
  }
  div#top_service section {
    width: 90%;
    padding-top: 48px;
    padding-bottom: 120px;
    margin-left: auto;
    margin-right: auto;
  }
  
  div#top_service .service-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px;
    margin-top: 32px;
    width: 100%;
  }
  
  div#top_service .service-cards-grid > a {
    text-decoration: none;
    display: block;
    height: 100%;
  }
  
  div#top_service ul.service-card {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    list-style: none;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 0;
    background: #fff;
    transition: opacity 0.3s ease;
  }
  div#top_service ul.service-card:active {
    opacity: 0.8;
    transform: scale(0.98);
  }
  
  div#top_service ul.service-card li {
    position: relative;
    text-align: center;
    background-color: #fff;
    padding: 0;
    margin: 0;
  }
  
  div#top_service .service-title {
    padding-bottom: 16px;
  }
  div#top_service .service-title h3 {
    margin: 0;
    text-align: center;
    color: var(--color-text);   /* ← brand から変更 */
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 0.1em;
    line-height: 1.3;
  }
  
  /* 画像 + ボタン */
  div#top_service .service-image {
    padding-bottom: 16px;
    position: relative;
  }
  div#top_service .service-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
  }

  /* 画像内ボタン位置（スマホ） */
  div#top_service .service-image .service-btn {
    position: absolute;
    left: 50%;
    top: 62%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

/* 通常時：透明 + ピンク文字（コンパクトサイズ） */
div#top_service .service-image .service-btn .btn_more {
  position: relative;
  display: inline-block;
  box-sizing: border-box;

  /* ★サイズ調整ここから */
  width: auto !important;      /* 共通 .btn_more の width を必ず打ち消す */
  min-width: 0;
  max-width: 70%;
  padding: 8px 24px;           /* 高さ・横幅（必要ならここで微調整） */
  /* ★サイズ調整ここまで */

  line-height: 1;
  border-radius: 3px;
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);

  letter-spacing: 0.2em;
  font-size: 1.1em;
  font-weight: 400;
  white-space: nowrap;
}

/* タップ時・ホバー時：ピンク背景 + 白文字 */
div#top_service .service-cards-grid > a:hover .service-image .service-btn .btn_more,
div#top_service .service-cards-grid > a:active .service-image .service-btn .btn_more {
  background: var(--color-accent);
  color: #ffffff;
}

/* ==============================================================
   TOP Service Section - Modern Layout (B案)
   SP: 1列
   ============================================================== */

div#top_service.service-modern section {
  width: 90%;
  padding-top: 48px;
  padding-bottom: 96px;
  margin-left: auto;
  margin-right: auto;
}

div#top_service.service-modern .service-intro {
  margin: 0 0 28px;
  text-align: left;
  line-height: 1.8;
  letter-spacing: 0.06em;
  font-size: 0.9em;
}

div#top_service.service-modern .service-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* カード本体 */
div#top_service.service-modern .service-item {
  background: #f6f7ff;
  border-radius: 10px;
  padding: 18px 18px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

div#top_service.service-modern .service-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
}
div#top_service.service-modern .service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

div#top_service.service-modern .service-title {
  margin: 0 0 8px;
  font-size: 1.05em;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-align: left;
}

div#top_service.service-modern .service-text {
  margin: 0 0 16px;
  font-size: 0.9em;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: left;
}

/* ボタンは小さめのピル型、共通.btn_moreとは独立 */
div#top_service.service-modern .service-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.0em 2.4em !important;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-size: 1.1em !important;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-weight: 500;
}

div#top_service.service-modern .service-link:active,
div#top_service.service-modern .service-link:hover {
  background: var(--color-accent);
  color: #ffffff;
}



  div#top_about {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  div#top_about section {
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    padding-bottom: 104px;
  }
  div#top_about img {
    width: 90%;
    border-radius: 2px;
  }
  div#top_about section ul.about_01 {
    padding-bottom: 64px;
  }
  div#top_about section ul.about_01 h4, div#top_about section ul.about_02 h4 {
    padding-top: 24px;
    padding-left: 20px;
    text-align: left;
  }
  div#top_company {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  div#top_company section {
    width: 90%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    padding-bottom: 104px;
  }

  .company_list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
    margin-left: auto;
    margin-right: auto;
  }
  .company_list tr th {
    font-weight: bold;
    padding: 10px;
    letter-spacing: 0.1em;
    width: 30%;
    border-bottom: 1px solid var(--color-bgsoft);
    background-color: var(--color-bgsoft);
  }
  .company_list td {
    width: 60%;
    letter-spacing: 0.1em;
    line-height: 1.6em;
    border-bottom: 1px solid var(--color-bgsoft);
    padding-bottom: 16px;
  }
  /* 会社概要：地図（スマホ） */
  .company_map {
    width: 100%;
    height: 260px;
    margin-top: 24px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--color-bgsoft);
    background: #fff;
  }
  .company_map iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  
  div#top_recruit {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-image: url(/img/top_recruit_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% 0%;
    color: var(--color-nearwhite);
  }
  div#top_recruit section {
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    padding-bottom: 120px;
  }
  div#top_recruit section h2{
    color: var(--color-nearwhite);
  }

  div#top_recruit img {
    width: 30%;
    margin-bottom: 8px;
  }
  div#top_recruit .btn_more:hover {
    background-color:var(--color-brand);
    color: var(--color-white);
  }
  div#top_recruit .text_area{
    text-align: left;
    width: 90%;
    margin-top: 0px;
    margin-bottom: 32px;

    /*djkim ADD */
    color: var(--color-white);
    text-shadow:
      0 3px 6px rgba(0,0,0,1),    /* 真っ黒の強い影 */
      0 0 10px rgba(0,0,0,0.9),   /* 周囲をさらに暗く */
      0 0 20px rgba(0,0,0,0.8);   /* 広がりのある影 */
    /*djkim ADD */
        
  }
   /*djkim ADD */
  div#top_privacypolicy {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-image: url(/img/top_privacy_policy_sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0% 0%;
    color: var(--color-nearwhite);
  }
  div#top_privacypolicy section {
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    padding-bottom: 120px;
  }
  div#top_privacypolicy section h2{
    color: var(--color-nearwhite);
  }
  div#top_privacypolicy img {
    width: 30%;
    margin-bottom: 8px;
  }
  div#top_privacypolicy .btn_more:hover {
    background-color:var(--color-brand);
    color: var(--color-white);
  }
  div#top_privacypolicy .text_area{
    text-align: left;
    width: 90%;
    margin-top: 0px;
    margin-bottom: 32px;
    color: var(--color-white);
    text-shadow:
      0 3px 6px rgba(0,0,0,1),    /* 真っ黒の強い影 */
      0 0 10px rgba(0,0,0,0.9),   /* 周囲をさらに暗く */
      0 0 20px rgba(0,0,0,0.8);   /* 広がりのある影 */        
  }
   /*djkim ADD */

  /* -----------------------------------------------------------
  winactor
----------------------------------------------------------- */
  div.winactor {
    background-image: url(/img/sp_mainvisual.jpg);
    background-position: 50% 0%;
    height: 260px;
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    -o-background-size: contain;
    -ms-background-size: contain;
  }
  div.winactor section {
    width: 100%;
  }
  div.winactor section h1 {
    color: var(--color-white);
    font-size: 1.4em;
    letter-spacing: 0.2em;
    font-weight: 300;
    position: absolute;
    top: 150px;
    right: 0px;
    left: 0px;
  }
  div.winactor_contents {
    height: 300px;
  }
  /* -----------------------------------------------------------
  contact
  ----------------------------------------------------------- */
  div#top_other_contact {
    height: 0;
    padding-top: 50.25%;
    background: url('/img/mainvisual_sp.jpg') 0 0 no-repeat;
    background-size: contain;
    -moz-background-size: contain;
    -webkit-background-size: contain;
    -o-background-size: contain;
    -ms-background-size: contain;
  }
  div#top_other_contact section {
    width: 90%;
  }
  div#top_other_contact section h1 {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto;
    width: 50%;
    padding-top: 28%;
    font-size: 1.6em;
    line-height: 1.2em;
    letter-spacing: 0.2em;
    text-align: left;
    color: var(--color-white);
  }
  div#top_other_contact section h1 p {
    margin-bottom: 12px;
  }
  /* -----------------------------------------------------------
  recruit
  ----------------------------------------------------------- */

  div#recruit {
   width: 100%;
   margin-left: auto;
   margin-right: auto;
 }
 div#recruit section {
   width: 100%;
   text-align: left;
   margin-left: auto;
   margin-right: auto;
   padding-top: 60px;
   padding-bottom: 80px;
   font-size: 14px;
 }
 div#recruit .text_area {
   margin-top: -10px;
 }
 div#recruit .company_list {
   margin-top: 10px;
   width: 100%;
 }
 .recruit_message {
   width: 90%;
 }
 div#recruit img {
   width: 25%;
   margin-bottom: 8px;
   margin-right: 12px;
   float: left;
 }

/* recruit_contents内のimgは個別に制御 */
div#recruit_contents img {
  float: none;
  margin: 0;
}

div#recruit_contents{
  width: 100%;
  margin: 0 auto;
}
div#recruit_contents section{
  width: 90%;
  margin: 0 auto;
  padding: 0px 0px;
}
 div#recruit_contents ul.contents_01,div#recruit_contents ul.contents_02 {
   margin-left: auto;
   margin-right: auto;
   margin-bottom: 32px;
   border: solid 3px var(--color-brand);
   border-radius: 3px;
   padding: 20px 20px;
   list-style: none;
 }
div#recruit_contents ul.contents_01:hover,div#recruit_contents ul.contents_02:hover{
  opacity: 0.5;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}


div#recruit_contents ul.contents_01 li,div#recruit_contents ul.contents_02 li{
   position: relative;
   text-align: left;
   background-color: transparent;
   padding-top:16px;
   padding-bottom:16px;
   border-radius: 4px;
 }

 div#recruit_contents ul.contents_01 li:first-child,div#recruit_contents ul.contents_02 li:first-child{
   width: 100%;
   display: flex;
   align-items: center;
   gap: 12px;
   padding-bottom: 8px;
 }
 
 div#recruit_contents ul.contents_01 li:nth-child(2),
 div#recruit_contents ul.contents_02 li:nth-child(2){
   padding-top: 8px;
   padding-bottom: 16px;
 }
 
 div#recruit_contents ul.contents_01 li:last-child,
 div#recruit_contents ul.contents_02 li:last-child{
   padding-top: 8px;
   padding-bottom: 0;
 }

div#recruit_contents ul.contents_01 li:first-child img,
div#recruit_contents ul.contents_02 li:first-child img {
   width: 25%;
   max-width: 80px;
   margin: 0;
   flex-shrink: 0;
}

div#recruit_contents ul.contents_01 li h3,div#recruit_contents ul.contents_02 li h3{
  margin: 0;
  text-align: left;
  font-size: 1.4em;
  /*★*/
  color: var(--color-brand);
  font-weight: bold;
  flex: 1;
}

 div#recruit_contents span.text{
   color: var(--color-text);
   line-height: 1.6em;
   letter-spacing: 0.2em;
 }

div#recruit_contents span.btn_more{
  padding: 14px 10px;
  text-align: center;
  border: solid 3px var(--color-brand);
  margin-top: 24px;
  margin-bottom: 8px;
  background-color: var(--color-brand);
  color: var(--color-white);
}

 div#recruit .text_area{
   text-align: left;
   width: 90%;
   margin-top: 0px;
   margin-bottom: 32px;
 }

  /* Hero styles moved to common-theme.css for unified management */
  /* Keeping only SP-specific adjustments if needed */

 div#flow {
   width: 100%;
   margin-left: auto;
   margin-right: auto;
 }
 div#flow section {
   width: 90%;
   text-align: left;
   margin-left: auto;
   margin-right: auto;
   padding-bottom: 104px;
   font-size: 14px;
 }
 div#flow .text_area {
   margin-top: -10px;
   font-size: 14px;
   width: 100%;
 }
 div#flow .text_area ul li h3 {
   font-size: 16px;
   margin-top: 2px;
   background-color: var(--color-bgsoft);
   font-weight: bold;
   padding: 4px 4px;
   float:inherit;
 }
 div#flow .text_area ul li span {
   margin: inherit;
 }
 div#flow .text_area ul li {
   display: inline;
   list-style: none;
   font-weight: normal;
   margin-top: 16px;
   margin-bottom: 16px;
 }
 div#flow .text_area ul li:before {
   display: inline-block;
   content: "";
 }
 div#flow .text_area ul li:after {
   content: '▼';
   padding: 0 47%;
   color: var(--color-gray-100);
 }
 div#flow .text_area ul li:last-child:after {
   content: '';
 }
 div#recruit_form {
   width: 100%;
   margin-left: auto;
   margin-right: auto;
 }
 div#recruit_form section {
   width: 90%;
   text-align: left;
   margin-left: auto;
   margin-right: auto;
   padding-bottom: 104px;
   font-size: 14px;
   margin-top: -10px;
 }
 div#recruit_form section h3 {
   font-size: 14px;
 }
 div#recruit_form .recruit_list {
   margin-top: 0px;
 }
 div.recruit_form {
   width: 90%;
   margin-left: auto;
   margin-right: auto;
 }
 div.recruit_form {
   border: solid 1px var(--color-bgsoft);
   background-color: var(--color-bgsoft);
   border-radius: 3px;
   padding: 16px 0px;
   margin-bottom: 8px;
   width: 100%;
 }
 div.recruit_form p {
   text-align: left;
   padding: 12px;
   letter-spacing: 0.1em;
   line-height: 1.8em;
   clear: both;
 }
 div.recruit_form p:first-child {
   padding-bottom: 0px;
   font-weight: bold;
 }
.icon{
   background-image: url(/img/form_icon01.png);
     background-repeat: no-repeat;
       background-position: left center;
    margin: 0;
    padding: 50px 0px 52px 45px;
    border-left: none;
    border-bottom: 0px;
    background-size: 35px;
}
div.recruit_form:last-child .icon{
  background-image: url(/img/form_icon02.png);
}


div#privacy_form {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
div#privacy_form section {
  width: 90%;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 104px;
  font-size: 14px;
  margin-top: -10px;
}
div#privacy_form section h3 {
  font-size: 14px;
}
div#privacy_form .privacy_list {
  margin-top: 0px;
}
div.privacy_form {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
div.privacy_form {
  border: solid 1px var(--color-bgsoft);
  background-color: var(--color-bgsoft);
  border-radius: 3px;
  padding: 16px 0px;
  margin-bottom: 8px;
  width: 100%;
}
div.privacy_form p {
  text-align: left;
  padding: 12px;
  letter-spacing: 0.1em;
  line-height: 1.8em;
  clear: both;
}
div.privacy_form p:first-child {
  padding-bottom: 0px;
  font-weight: bold;
}
.icon{
   background-image: url(/img/form_icon01.png);
     background-repeat: no-repeat;
       background-position: left center;
    margin: 0;
    padding: 50px 0px 52px 45px;
    border-left: none;
    border-bottom: 0px;
    background-size: 35px;
}
div.privacy_form:last-child .icon{
  background-image: url(/img/form_icon02.png);
}



div.space{
  margin-top: 0px;
}

/* 固定ヘッダー対策（スマホ） */
html { scroll-padding-top: 70px; } /* スマホはヘッダー高さが少し低い場合 */
#top_vision, #top_service, #top_company, #common_contact {
  scroll-margin-top: 70px;
}

a:focus-visible, .btn_more:focus-visible, .btn_contact:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

}

/* === SP: privacy policy 見出しを中央配置 === */
@media (max-width: 767.98px){
  #top_privacypolicy { 
    background-position: center;             /* 画像の位置も中央に */
  }
  #top_privacypolicy section{
    /* 旧：padding-top / padding-bottom での位置指定を無効化 */
    padding-top: 0 !important;
    padding-bottom: 0 !important;

    /* 画像の高さに応じた最小高。端末幅ベースで可変、高さが足りない端末でも崩れない */
    min-height: clamp(240px, 60vw, 420px);

    /* 縦横センタリング */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* 余白と中央寄せ */
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }

  /* 見出し・本文・ボタンの間隔を整える */
  #top_privacypolicy section h2{
    margin: 0 0 12px;
  }
  #top_privacypolicy .text_area{
    margin: 0 0 20px;
  }
}


/* === Added: unified pill buttons for recruit/privacy (SP) === */
#top_recruit .btn a,
#top_privacypolicy .btn a {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.0em 2.4em !important;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-size: 1.1em !important;
  letter-spacing: 0.12em;
  text-decoration: none;
  font-weight: 500;
}
#top_recruit .btn a:hover,
#top_recruit .btn a:active,
#top_privacypolicy .btn a:hover,
#top_privacypolicy .btn a:active {
  background: var(--color-accent);
  color: #ffffff;
}
#top_recruit .btn a .btn_more,
#top_privacypolicy .btn a .btn_more {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  letter-spacing: inherit;
  line-height: 1;
  display: inline-block;
}
