html {
  font-size: 100%;
  overflow-y: scroll;
  font-family: "Zen Maru Gothic", serif;
}
body, header, footer, main, nav, menu, article, section, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, span, pre, form, fieldset, textarea, select, blockquote, table, th, td, caption {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 100%;
  text-align: left;
}
body, header, footer, main, nav, menu, article, section, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, b, span, pre, form, input, fieldset, textarea, select, button, blockquote, table, th, td, address, caption, em, strong {
  font-family: "Zen Maru Gothic", serif;  font-weight: normal;
  font-style: normal;
}
b, strong {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
q:before, q:after {
  content: '';
}
object,
embed {
  vertical-align: top;
}
img, abbr, acronym {
  border: 0;
}
li {
  list-style-type: none;
}
i {
  font-style: oblique;
}
input {
  font-size: 100%;
}
a {
  outline: none;
}

.cf:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.cf {
  min-height: 1px;
}
* html .cf {
  height: 1px;
  /*¥*/
     /*/
height: auto;
overflow: hidden;
/**/
}

body {
  background-color: #f2ecda;
}
main {
  background-color: #FFF;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.mb {
  margin-bottom: 15px;
}
.mb_l {
  margin-bottom: 60px !important;
}
.ml {
  margin-left: 15px;
}
.mt {
  margin-top: 15px;
}
.mt50 {
  margin-top: 50px;
}
.mt60 {
  margin-top: 60px;
}
.mt70 {
  margin-top: 70px;
}
.mt80 {
  margin-top: 80px;
}

/* ヘッダー */
header {
  background-color: #FFF;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}
header .container {
  width: 1000px;
  margin: 0 auto;
}
header .container .flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
header .container h1 {
  font-size: 25px;
  line-height:120%;
  width: 60%;
}
header .container .flex .language {
  width: 35%;
}
header .container .flex .language ul {
  display: flex;
  justify-content: flex-end;
}
header .container .flex .language ul li {
  margin-left: 15px;
}
header .container .flex .language ul li a {
  display: block;
  border-radius: 50px;
  padding: 5px 15px 7px 15px;
  background-color: #ff8080;
  color: #FFF;
  text-decoration: none;
}
header .container .flex .language ul li a:hover {
  opacity: 0.7;
}
header .container .flex .language ul li:nth-child(2) a {
  background-color: #56c1dc;
}
header .container .flex .language ul li:last-child a {
  background-color: #1bbfa4;
}
header .container .flex .language ul li:first-child {
  margin-left: 0;
}
/* グローバルメニュー */
.menu {
    width: 100%;
    margin: 0 auto;
}
.menu ul {
  display: flex;
  justify-content: space-between;
}
.menu ul li {
  width: 20%;
  text-align: center;
}
.menu ul li a {
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 15px 10px;
  color: #FFF;
  font-weight: bold;
  border-radius: 8px;
  background-color: #ffa143;
  font-size: 20px;
}
.menu ul li a:hover {
  opacity: 0.7;
}
.menu ul li:nth-child(2) a {
  background-color: #6d6dcd;
}
.menu ul li:nth-child(3) a {
  background-color: #df644b;
}
.menu ul li:last-child a {
  background-color: #64cc2c;
}
.sub-title {
  padding: 30px;
  border: 4px solid #f2ecda;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
}
.sub-title p {
  width: 65%;
  font-size: 20px;
  line-height: 150%;
}
.sub-title img {
  width: 30%;
  object-fit: contain;
}

h2 {
  margin: 48px 0 32px 0;
  padding-bottom: 8px;
  border-bottom: 4px solid #ff8080;
  font-size: 24px;
}

section p {
  line-height: 160%;
  margin-bottom: 20px;
}

.counter .flex {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2%;
}
.counter .flex a.item {
  width: 32%;
  height: 80px;
  display: flex;
  box-sizing: border-box;
  border: 1px solid #999;
  margin-bottom: 2%;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  background-color: #fffaea;
  align-items: center;
  justify-content: center;
}
.counter .flex a.item:hover {
  opacity: 0.7;
}
.counter .flex a.item h3 {
  text-align: center;
  line-height: 140%;
}
/* .agencyList  */
.agencyList .item {
  position: relative;
  border-top: 3px solid #f2ecda;
  border-left: 3px solid #f2ecda;
  border-right: 3px solid #f2ecda;
}
.agencyList .item:last-child {
  border-bottom: 3px solid #f2ecda;
}
.agencyList .item:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 16px;
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-top: 2px solid #ff8080;
    border-right: 2px solid #ff8080;
    -webkit-transform: rotate(45deg);
    -webkit-transform-origin: center;
    transform: rotate(45deg);
    transform-origin: center;
}
.agencyList .item a {
  display: block;
  padding: 16px 56px 16px 40px;
  color: #333;
  text-decoration: none;
  display: flex;
}
.agencyList .item a p {
  margin-bottom: 0;
}
.agencyList .item .note {
  font-size: 12px;
}
.agencyList .item .body {
  width: 80%;
}
.agencyList .item .chat {
  font-size: 14px;
  padding: 3px 5px;
  background-color: #56c1dc;
  color: #fff;
  border-radius: 3px;
}
.agencyList .item .sns {
    font-size: 14px;
    padding: 3px 5px;
    background-color: #ffa143;
    color: #fff;
    border-radius: 3px;
    line-height: 20px;
    margin-right: 8px;
}
.blank:after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 12px;
    margin: 0 4px;
    background: url(../img/outer.png) no-repeat center;
    background-size: contain;
    vertical-align: middle;
}
.agencyList .phone {
  line-height: 1.3;
  display: flex;
  height: 30px;
  align-items: center;
}
.agencyList .phone .ico {
    display: inline-block;
    width: 30px;
    margin-right: 8px;
  }
  .agencyList .phone .ico img {
    width: 100%;
}

.red-feather {
  text-align: center;
}
.red-feather p {
  text-align: left;
  margin-bottom: 30px;
}
.red-feather img {
  width: 150px;
}
/* フッター */
footer {
  background-color: #FFF;
}
footer .container {
  width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
footer .site-info p {
  text-align: center;
  margin-bottom: 20px;
}
footer .container .sns {
  width: 220px;
  margin: 0 auto;
}
footer .container .sns li {
  float: left;
  margin-right: 20px;
}
footer .container .sns li:last-child {
  margin-right: 0;
}

footer .container .sns li a {
  display: block;
  width: 60px;
  height: 60px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
footer .container .sns li:first-child a {
  background: url("../img/twitter.png");
  background-size: contain;
}
footer .container .sns li:nth-child(2) a {
  background: url("../img/facebook.png");
  background-size: contain;
}
footer .container .sns li:nth-child(3) a {
  background: url("../img/insta.png");
  background-size: contain;
}

footer .copyright {
  text-align: center;
  padding-bottom: 30px;
}

.page-title h2 {
  text-align: center;
  font-size: 36px;
  border: none;
}
.page-title h2:before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 50px;
  vertical-align: top;
  margin-right: 15px;
  background-size: contain;
}
.worker .page-title h2:before {
  background-image: url(../img/worker/title.png);
}
.employer .page-title h2:before {
  background-image: url(../img/employer/title.png);
  height: 60px;
  background-position: left top;
}
.contact .page-title h2:before {
  background-image: url(../img/contact/title.png);
  height: 50px;
  background-position: left top;
}
.under section .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.under section .flex img {
  width: 40%;
  object-fit: cover;
}
.under section .flex .text {
  width: 58%;
}
.red-under {
  color: red;
  text-decoration: underline;
}
.contact .sub-title {
  align-items: center;
}
.contact .time {
  border: 4px solid #ffe6cc;
  margin-bottom: 50px;
}
.contact .time h2 {
  background-color: #ffe6cc;
  color: #ffa143;
  text-align: center;
  border: none;
  margin: 0;
  margin-bottom: 10px;
  padding: 10px 0 14px 0;
}
.contact .time p {
  padding: 0 15px;
}
.contact .notice {
  border: 4px solid #faebeb;
}
.contact .notice h2 {
  background-color: #faebeb;
  color: #c73c3c;
  text-align: center;
  border: none;
  margin: 0;
  margin-bottom: 10px;
  padding: 10px 0 14px 0;
}
.contact .notice p,
.contact .notice ul {
  padding: 0 15px;
  color: #c73c3c;
}
.contact .notice ul {
  margin-bottom: 20px;
  padding-left: 40px;
}
.contact .notice ul li {
  list-style: disc;
  margin-bottom: 10px;
}
.contact .before ul,
.contact .other ul {
  padding-left: 40px;
}
.contact .before ul li,
.contact .other ul li {
  list-style: disc;
  margin-bottom: 10px;
  line-height: 150%;
}
.contact .counter .flex {
  margin-bottom: 50px;
}
.contact .counter .flex > div {
  width: 31%;
  border: 1px solid #CCC;
  border-radius: 10px;
  text-align: center;
}
.contact .counter .flex > div a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #333;
}
.contact .counter .flex > div img {
  width: 75px;
  height: auto;
  font-size: 15px;
  margin-bottom: 15px;
}
.contact .counter .flex > div h3 {
  text-align: center;
  font-size: 15px;
  margin-bottom: 15px;
}
.contact .counter .flex > div p {
  margin: 0;
  font-size: 13px;
  text-align: left;
}
.contact .counter .lineqr {
  display: flex;
  align-items: center;
}
.contact .counter .lineqr img {
  width: 100px;
  margin-right: 15px;
}
.contact .counter .lineqr span {
  display: block;
}
/* メインコンテンツ */
main {
  width: 1000px;
  margin: 0 auto 50px auto;
}
.policy h2 {
  margin-top: 0;
}
.policy h3 {
  font-size: 18px;
  padding-left: 10px;
  border-left: 5px solid #ff8080;
  margin-bottom: 15px;
}
.policy p {
  margin-bottom: 30px;
}
.policy section ul {
  margin-bottom: 30px;
  padding-left: 30px;
}
.policy section ul li {
  list-style: disc;
  margin-bottom: 10px;
  line-height: 140%;
}

/* スマホスタイル */

@media screen and (max-width: 640px) {
  header {
    height: auto;
    position: relative;
    margin-bottom: 30px;
  }
  header .container .flex {
    flex-wrap: wrap;
    margin-bottom: 0;
    justify-content: center;
  }
  header .container {
    width: 100%;
  }
  header .container h1 {
    margin-left: 20px;
    font-size: 18px;
    margin-bottom: 20px;
    width: 100%;
    padding-right: 10px;
  }
  header .container .flex .language {
    margin-left: 20px;
    margin-bottom: 20px;
    width: 100%;
  }
  header .container .flex .language ul {
    justify-content: center;
    justify-content: center;
  }
  .menu {
    width: 92%;
    margin: 0 auto;
  }
  .menu ul {
    flex-wrap: wrap;
  }
  .menu ul li {
    width: 47%;
    margin-bottom: 10px;
  }
  .menu ul li a {
    font-size: 14px;
    padding: 10px 5px;
  }
  main {
    width: 95%;
    padding: 30px 15px;
    box-sizing: border-box;
  }
  footer .container {
    width: 100%;
    box-sizing: border-box;
  }
  footer .copyright {
    font-size: 12px;
    padding: 0 10px 10px 10px;
    line-height: 140%;
  }
  .sub-title {
    flex-wrap: wrap;
  }
  .sub-title p {
    width: 100%;
    font-size: 16px;
  }
  .sub-title img {
    width: 100%;
  }
  h2 {
    font-size: 20px;
  }
  section p {
    font-size: 14px;
  }
  .counter .flex {
  }
  .counter .flex a.item {
    width: 100%;
  }
  .agencyList .item a {
    padding-right: 20px;
    display: block;
  }
  .agencyList .item .body {
    width: 100%;
  }
  .agencyList .phone {
    margin-top: 10px;
  }
  .under section h2 {
    font-size: 18px;
    line-height: 140%;
  }
  .under section .flex {
    flex-wrap: wrap;
  }
  .under section .flex img {
    width: 100%;
    margin-bottom: 15px;
  }
  .under section .flex .text {
    width: 100%;
  }
  .contact .counter .flex {
    flex-wrap: wrap;
  }
  .contact .counter .flex > div {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* タブレット用スタイル */
@media screen and (min-width:641px) and (max-width:1024px) {
  header {
    height: auto;
    position: relative;
    margin-bottom: 30px;
  }
  header .container .flex {
    flex-wrap: wrap;
    margin-bottom: 0;
    justify-content: center;
  }
  header .container {
    width: 100%;
  }
  header .container h1 {
    margin-left: 20px;
    font-size: 24px;
    margin-bottom: 20px;
  }
  header .language {
    margin-left: 20px;
    margin-bottom: 20px;
  }
  .menu {
    width: 92%;
    margin: 0 auto;
  }
  .menu ul {
    flex-wrap: wrap;
  }
  .menu ul li {
    width: 47%;
    margin-bottom: 10px;
  }
  .menu ul li a {
    font-size: 14px;
    padding: 10px 5px;
  }
  main {
    width: 95%;
    padding: 30px 15px;
    box-sizing: border-box;
  }
  footer .container {
    width: 100%;
    box-sizing: border-box;
  }
  footer .copyright {
    font-size: 12px;
  }
  .sub-title {
    flex-wrap: wrap;
  }
  .sub-title p {
    width: 100%;
    font-size: 20px;
  }
  .sub-title img {
    width: 100%;
  }
  h2 {
    font-size: 20px;
  }
  section p {
    font-size: 14px;
  }
  .counter .flex {
  }
  .counter .flex a.item {
    width: 100%;
  }
  .agencyList .item a {
    padding-right: 20px;
    display: block;
  }
  .agencyList .item .body {
    width: 100%;
  }
  .agencyList .phone {
    margin-top: 10px;
  }
}
}
