/*
  hitokoma mobile style
  2018-07-24
*/


/* pc ============================================ */

header.home p.maincopy_mobile {
  display: none;
}

.dot-bdr-l.mobile {
  display: none;
}

/* mobile ============================================ */

@media screen and (max-width: 667px) {
  /* iPhone8 landscape */
  /* General */
  body {
    width: 375px;
    min-width: 375px;
    padding: 10px 10px 70px 10px;
    box-sizing: border-box;
    background-image: url(../i/m/bg@2x.png);
    background-size: 6px 6px;
    position: relative;
  }
  body>div.wrap {
    width: auto;
  }
  header {
    width: 355px;
    margin: 0;
  }
  header>div {
    border-top: 4px solid #f56e13;
    height: 79px;
  }
  main.home {
    box-sizing: border-box;
    width: 355px;
    padding: 0px;
  }
  main {
    box-sizing: border-box;
    width: 355px;
    padding: 20px;
    margin: 0;
  }
  footer {
    display: block;
    box-sizing: border-box;
    width: 355px;
    margin: 10px 0 0 0;
    border-width: 4px;
  }
  footer hr.dot-bdr-l-v {
    display: none;
  }
  footer section.sitemap {
    display: none;
  }
  footer section.contact {
    width: auto;
    margin: 40px 0 66px 0px;
  }
  footer section.contact h3 img {
    width: 250px;
    margin: 0 auto;
    display: block;
  }
  footer section.contact address {
    margin: 0;
    display: block;
    margin-bottom: 12px;
  }
  footer section.contact a {
    border-radius: 5px;
    font-size: 0;
    width: 250px;
    height: 55px;
    box-sizing: border-box;
    padding: 15px 0 0 0;
  }
  footer section.contact a img {
    display: none;
  }
  footer section.contact a::before {
    content: "お問い合わせフォーム";
    font-size: 18px;
  }
  footer section.contact address a {
    background-color: #f56e13;
    border-radius: 5px;
    width: 250px;
    padding: 15px 0 10px 0;
    text-align: center;
  }
  footer section.contact address a::before {
    content: "";
    background-image: url(http://hitokoma.co.jp/1/wp-content/uploads/m_tx_ft_tel.png);
    width: 202px;
    height: 30px;
    background-size: 202px 30px;
    display: block;
    margin: 0 auto;
  }
  footer section.contact address::after {
    content: "受付時間：10:00 - 19:00（土日祝日は除く）";
    font-size: 12px;
    color: #f56e13;
    display: block;
    font-style: normal;
    margin-top: 6px;
    font-weight: 600;
  }
  footer small {
    left: 50%;
    margin-left: -125px;
    width: 250px;
    text-align: center;
  }
  input#navBtn {
    display: none;
  }
  input#navBtn+.navBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 35px;
    right: 0;
    background-color: #f56e13;
    width: 44px;
    height: 40px;
    border-radius: 5px 0 0 5px;
    text-align: center;
    vertical-align: middle;
    z-index: 2200;
    transition: background-color 0.2s;
    transition: position 0.2s;
  }
  input#navBtn+.navBtn::before {
    content: '\f0c9';
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    color: #ffffff;
    font-size: 18px;
    transition: color 0.2s;
  }
  input#navBtn:checked+.navBtn {
    background-color: #ffffff;
    transition: background-color 0.2s;
    position: fixed;
    transition: position 0.2s;
  }
  input#navBtn:checked+.navBtn::before {
    content: '\f00d';
    color: #f56e13;
    transition: color 0.2s;
  }
  input#navBtn:checked+.navBtn+nav.global {
    right: 0;
    transition: right 0.2s;
  }
  nav.sub {
    display: none;
  }
  nav.global {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 110, 19, 0.95);
    border: 10px solid rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    z-index: 2000;
    overflow-y: scroll;
    transition: right 0.2s;
  }
  nav.global.active {
    right: 0;
    transition: right 0.2s;
  }
  nav.global>ul {
    margin: 0 45px 0 20px;
    padding-top: 7px;
  }
  nav.global>ul>li {
    position: static;
    display: block;
    margin-left: 0;
    width: auto;
    border-radius: unset;
    margin-top: 0;
  }
  nav.global>ul>li>a {
    position: static;
    z-index: 2100;
    display: block;
    background-color: transparent;
    color: #ffffff;
    border-radius: unset;
    width: auto;
    height: auto;
    text-align: left;
    font-weight: 900;
    letter-spacing: 3px;
    font-size: 18px;
    text-indent: 0;
    border-top: none;
    margin-top: 0;
    transition: background-color 0.2s, color 0.2s, opacity 0.2s;
    padding: 20px 20px 20px 5px;
    vertical-align: middle;
  }
  nav.global>ul>li>a:hover {
    background-color: transparent;
  }
  nav.global>ul>li:last-child::after {
    display: none;
  }
  nav.global>ul>li.menu-item-has-children>a {
    padding: 20px 20px 5px 5px;
  }
  nav.global>ul>li.current-menu-parent>a, nav.global>ul>li.current-menu-item>a, nav.global>ul>li.current-menu-ancestor>a {
    background-color: transparent;
  }
  nav.global>ul>li.menu-item-has-children.hiddenChildren>a {
    padding: 20px 20px 20px 5px;
  }
  nav.global>ul>li>a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    font-size: 16px;
    display: inline-block;
    vertical-align: top;
    margin: 0px 6px 0px 0;
  }
  nav.global>ul>li::after {
    display: block;
    content: "";
    width: 100%;
    height: 5px;
    background: radial-gradient(circle farthest-side, #fff, #fff 50%, #f56e13 50%, #f56e13);
    background-size: 8px 6px;
  }
  nav.global>ul>li>ul {
    display: block;
    position: static;
    background-color: transparent;
    border: 0;
    border-radius: unset;
    top: 0;
    width: auto;
    text-align: left;
    padding: 0 0 10px 0;
    margin: 0;
    overflow: unset;
  }
  nav.global>ul>li>ul>li {
    background-color: transparent;
  }
  nav.global>ul>li>ul>li::after {
    display: none;
  }
  nav.global>ul>li>ul>li>a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    padding: 14px 20px 14px 47px;
    text-indent: 0;
    letter-spacing: 3px;
  }
  nav.global>ul>li>a:hover, nav.global>ul>li:hover>a {
    background-color: transparent;
  }
  nav.global>ul>li>ul>li>a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    margin-right: 8px;
    font-weight: 600;
    font-size: 12px;
  }
  nav.global>ul>li>ul>li:first-child {
    border-radius: 0;
  }
  header h1 {
    margin: 15px 0 0 19px !important;
  }
  header h1 img {
    width: 174px !important;
  }
  header div.contact {
    display: none;
  }
  a.fwdlink {
    margin: 10px 0;
    font-size: 12px;
  }
  a.fwdlink::before {
    margin-right: 5px;
  }
  h2 {
    font-size: 16px;
    border-width: 2px;
    padding: 11px 8px 11px 11px;
    margin-bottom: 25px;
  }
  .dot-bdr-l::after {
    height: 8px;
    background-size: 8px 8px;
    margin-top: -4px;
    width: 99%;
  }
  .dot-bdr-l.mobile {
    display: block;
  }
  a.btn_wzEn {
    font-size: 14px;
    padding: 12px 13px 10px 17px;
    border-radius: 5px;
  }
  a.btn_wzEn span {
    font-size: 10px;
    margin: 5px 0 0 0;
  }
  .btn_s-zoomMap {
    padding: 9px 9px 8px 10px;
  }
  /* home */
  header.home div.contact {
    display: none;
  }
  header.home div.service {
    display: none;
  }
  header.home>div {
    background-image: url(../i/m/m_il_home.png);
    background-size: 355px;
    height: 398px;
    border-width: 4px;
  }
  header>div {
    border-top: 4px solid #f56e13;
  }
  header.home p.maincopy_mobile {
    display: block;
    margin: 0 auto;
    text-align: center;
    margin-top: 15px;
  }
  header.home p.maincopy_mobile img {
    width: 247px;
  }
  header.home p.maincopy {
    display: none;
  }
  main hr {
    margin: 0 20px;
  }
  section.topics-summary {
    margin: 20px;
    display: inline-block;
    padding-bottom: 0;
  }
  section.topics-summary ul {
    box-sizing: border-box;
    width: 315px;
    padding: 15px;
  }
  section.topics-summary ul li {
    box-sizing: border-box;
    width: 285px;
    height: 2em;
    margin-bottom: 5px;
  }
  section.topics-summary ul li a {
    display: block;
    height: 2.2em;
    overflow: hidden;
    font-size: 12px;
  }
  section.topics-summary ul li a::after {
    top: 1em;
  }
  section.topics-summary ul li a h {
    /* display: block; */
    margin-right: 0;
    font-weight: 800;
  }
  section.topics-summary ul li h time {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 800;
  }
  ul.serviceCircle {
    display: flex;
    justify-content: space-between;
  }
  ul.serviceCircle>li {
    width: 100px;
    height: 100px;
    vertical-align: middle;
  }
  ul.serviceCircle>li a {
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    border-width: 2px;
  }
  ul.serviceCircle>li aside {
    height: 35px;
    padding-top: 12px;
    box-sizing: border-box;
    line-height: 1.1;
  }
  ul.serviceCircle>li aside ul {
    font-size: 8px;
    letter-spacing: -1px;
  }
  ul.serviceCircle>li h3 {
    bottom: 2px;
    top: auto;
    letter-spacing: -1px;
    font-size: 16px;
    font-weight: 600;
    box-sizing: border-box;
    padding: 0 4px;
    word-break: keep-all;
    line-height: 1.1;
  }
  ul.serviceCircle>li h3 span {
    display: none;
  }
  section.aboutService {
    padding-bottom: 32px;
    margin: 0 20px;
  }
  section.aboutService strong {
    font-size: 20px;
    margin: 25px 0;
    letter-spacing: -2px;
  }
  ul.serviceCircle>li h3::before {
    display: none;
  }
  ul.serviceCircle>li h3::after {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    margin-right: 0;
    font-size: 12px;
    display: inline-block;
    vertical-align: middle;
    height: 1em;
    display: block;
    margin: 2px 0 4px 0;
  }
  ul.serviceCircle hr {
    display: none;
  }
  section.aboutCorp section {
    width: 315px;
    margin-left: 0;
    /* margin: 0 20px; */
  }
  section.aboutCorp section.corpData {
    margin: 0 20px 25px 20px;
  }
  section.aboutCorp section.corpData table {
    width: 315px;
  }
  section.aboutCorp {
    display: block;
    padding: 35px 0 25px 0;
  }
  section.corpData table tr {
    margin-bottom: 10px;
  }
  section.aboutCorp section.corpData table tr:last-child {
    margin-bottom: 0;
  }
  section.aboutCorp section.corpData table th {
    font-size: 14px;
    letter-spacing: 1px;
    width: 95px;
  }
  section.aboutCorp section.corpData table td {
    font-size: 16px;
    letter-spacing: 1px;
  }
  section.aboutCorp section.access {
    margin-top: 37px;
    width: 355px;
  }
  section.aboutCorp section.access figure.googleMap, section.about section.access figure.googleMap {
    width: 355px;
    height: 355px;
    border-radius: 0;
    margin-top: 15px;
    margin-bottom: 25px;
  }
  section.about section.access figure.googleMap {
    margin-left: -20px;
  }
  section.service {
    width: 315px;
  }
  section.service p.copy {
    font-size: 0;
    text-align: center;
    margin: 20px 0 50px 0;
  }
  section.service p.copy::before {
    content: "";
    display: block;
    width: 251px;
    height: 99px;
    background-image: url(http://hitokoma.co.jp/1/wp-content/uploads/m_tx_service_copy.png);
    background-size: 251px 99px;
    background-repeat: no-repeat;
    margin: 0 auto;
  }
  section.service p.copy img {
    display: none;
  }
  section.service article {
    display: block;
    text-align: center;
  }
  section.service article h3 {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    padding-top: 25px;
    letter-spacing: -2px;
  }
  section.service article h3 span {
    letter-spacing: 0;
  }
  section.service article div {
    width: 250px;
    margin: 25px 0 60px 5px;
    font-size: 14px;
    letter-spacing: 1px;
    width: auto;
  }
  section.service article.layout_R div {
    text-align: left;
  }
  section.service article hr {
    display: none;
  }
  section.service article div>h4{
    width: auto;
    font-weight: 800;
    margin-top: 15px;
  }
  section.service article div>ul>li{
    width: auto;
    text-indent: -1em;
    padding-left: 1em;
  }




  section.contactBox {
    display: none;
  }
  section.relatedContentBox {}
  section.relatedContentBox nav {
    box-sizing: border-box;
    width: 315px;
    padding: 20px;
  }
  section.relatedContentBox nav dl {
    box-sizing: border-box;
    display: block;
    padding: 15px;
    width: auto;
    margin: 15px 0 0 0;
    height: 107px;
    border-width: 3px;
  }
  section.relatedContentBox nav dl dt {
    font-size: 16px;
    margin: 0;
    margin-bottom: 6px;
  }
  section.relatedContentBox nav dl dd {
    font-size: 12px;
     text-align: center;
  }
  section.relatedContentBox nav dl dd a {
    position: static;
    margin: 4px auto 0 auto;
    display: block;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
  }
  .message article p.copy strong {
    width: 270px;
    margin-bottom: 10px;
  }
  .message article p.copy strong img {
    width: 270px;
  }
  .message article p.copy em {
    width: 270px;
  }
  .message article p.copy em img {
    width: 270px;
  }
  .message article p.copy {
    text-align: center;
    margin: 0 auto;
  }
  .message article p {
    width: 270px;
    margin: 0 auto;
    font-size: 14px;
    margin-bottom: 20px;
  }
  .message article {
    width: 315px;
  }
  .message article hr {
    width: 275px;
    margin: 30px auto;
  }
  section.about {
    width: 315px;
  }
  section.about section.corpData {
    display: block;
    margin-bottom: 30px;
  }
  section.about section.corpData::after {
    display: block;
    content: "";
    width: 100%;
    background: radial-gradient(circle farthest-side, #f56e13, #f56e13 50%, #fff 50%, #fff);
    height: 8px;
    background-size: 8px 8px;
    margin: 15px 0;
    width: 99%;
  }
  section.about section.corpData table, section.about section.corpData table:last-child {
    margin: 0;
  }
  section.corpData table {
    width: 315px !important;
  }
  section.corpData table td {
    font-size: 16px;
    letter-spacing: 1px;
  }
  section.about section.corpData table th, section.about section.corpData table:last-child th {
    width: 95px;
    padding-top: 5px;
    letter-spacing: 1px;
  }
  section.info ul.infolist {
    width: 315px;
  }
  section.info ul.infolist li a {
    padding: 15px;
  }
  section.info ul.infolist li a h {
    font-size: 18px;
    margin-bottom: 5px;
  }
  section.info ul.infolist li a p {
    font-size: 12px;
  }
  section.info ul.infolist li a>span {
    position: static;
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 0;
  }
  section.info ul.infolist li a>span span {
    display: none;
  }
  section.info_detail h2 {
    font-size: 18px;
    padding: 18px 18px 0px 18px;
    margin: 0;
  }
  section.info_detail {
    width: 315px;
  }
  section.info_detail div {
    padding: 18px;
  }
  section.info_detail a.prevlink {
    margin: 18px;
  }
  section.info_detail {
    margin-bottom: 30px;
  }
  section.recruit>p {
    display: none;
  }
  section.recruit {
    width: auto;
  }
  section.recruit ul.recruitSummarylist {
    width: auto;
    margin-bottom: 20px;
  }
  section.recruit ul.recruitSummarylist li:first-child::before {
    content: "募集職種";
    display: block;
    margin-bottom: 10px;
  }
  section.recruit ul.recruitSummarylist li {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
  }
  section.recruit ul.recruitSummarylist li::before {
    display: none;
  }
  section.recruit ul.recruitSummarylist li:last-child {
    margin-bottom: 0;
  }
  section.recruit section.recruitlist article {
    border-width: 12px;
    padding: 20px;
  }
  section.recruit section.recruitlist article h {
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 5px;
    letter-spacing: -1px;
    font-weight: 600;
  }
  section.recruit section.recruitlist article table {
    margin: 0;
  }
  section.recruit section.recruitlist article tr td:first-child {
    padding: 0px 0px 14px 0px;
    width: 60px !important;
    font-size: 12px;
    vertical-align: top;
  }
  section.recruit section.recruitlist article tr td {
    padding: 0px 0px 14px 20px;
    font-size: 14px;
  }
  section.recruit section.recruitlist article a {
    font-size: 16px;
    width: 130px;
    height: 50px;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 12px 0 0 0;
    letter-spacing: 0;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  section.recruit section.recruitlist article a span {
    font-size: 9px;
    letter-spacing: 0;
  }
  main section.recruit_input > p > em {margin-bottom:  20px;}
  main section.recruit_input>p>em>img {
    width: 100%;
  }
  main section.recruit_input section.form-recruit {
    width: auto;
    border-width: 12px;
    padding: 20px;
    margin-bottom: 30px;
  }
  main section.recruit_input section.form-recruit table.table-contactform7 th {
    display: block;
    width: 251px;
    padding: 0 0 10px 0;
    margin: 0;
    text-align: left;
    font-size: 14px;
    color: inherit;
  }
  table.table-contactform7 th, table.table-contactform7 td {
    display: block;
  }
  main section.recruit_input section.form-recruit input[readonly="readonly"] {
    font-size: 18px;
    letter-spacing: -1px;
    width: 251px;
    padding: 0 0 10px 0;
    height: auto;
  }
  input[type=text], input[type=email], textarea {
    width: 251px;
    display: block;
    border-width: 2px;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    height: auto;
    -webkit-appearance: none;
  }
  table.table-contactform7 td {
    width: 251px;
  }
  table.table-contactform7 {
    width: 251px;
    display: block;
  }
  input[type=text]::placeholder, input[type=email]::placeholder, textarea::placeholder {
    font-size: 16px;
    line-height: 1.5;
  }
  input[type=submit] {
    font-size: 16px;
    border-radius: 5px;
    padding: 15px 20px 15px 20px;
  }
main section.contact section.form-contact input[type=submit]{
    margin:0;
}
  main section.contact>p>em>img {
    width: 100%;
    display: block;
    margin-bottom: 0;
  }
  main section.contact section.form-contact {
    width: auto;
    border-width: 12px;
    padding: 20px;
  }
  table.table-contactform7 th {
    display: block;
    width: auto;
    text-align: left;
    padding: 0 0px 10px 0;
    font-size: 14px;
  }
  .wpcf7-radio>span {
    margin-bottom: 10px;
  }
  .wpcf7-radio {
    font-size: 16px;
    border-radius: 5px;
    padding: 15px 15px 5px 15px;
  }
  section.contactBox_telephone {
    display: none;
  }
  main section.contact>p>em {
    margin-bottom: 20px;
  }
}