.modal {
  position:fixed;
  display:none;
  z-index:9999;
  top:40%;
  left:50%;
  width:400px;
  height:180px;
  margin:-120px 0 0 -220px;
padding:20px;
  text-align:center;
  background: #fff;
  border-radius: 8px;
  border: 4px solid #d73772;
}
@media screen and (max-width: 480px) {
    .modal {
      width: 300px;
      margin-left: -173px;
}
}
.modal p {
  margin-bottom:10px;
  font-size: 1.5em;
  line-height: 1.5em;
}
.modal a {
  cursor:pointer;
  display: block;
  color: #fff;
  background: #d73772;
  margin: 1em;
  padding: .5em;
  border-radius: 4px;
  transition: all .5s ease;
}
.modal a:hover {
  opacity: .8;
}
.modal a span {
  font-size: 1.5em;
  font-family: 'Century Gothic';
  font-weight: bold;
}
body {
  margin: 0;
  font-size: 12px;
  font-family: 'Century Gothic','Noto Sans JP',"游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", sans-serif;
  font-weight: 500;
  width: 100%;
  color: #333;
}

.logo {
  display: flex;
  justify-content: space-between;
  box-shadow: 0 8px 3px -3px rgba(128, 128, 128, 0.2);
}

.logo img {
  width: 82px;
  height: 68px;
}

.pctop {
  display: none;
}

.nav {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.btn a {
  display: inline-block;
  text-align: center;
}

#open a {
  background: #fceeeb;
  width: 40px;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: 1s;
}

#close a {
  background: #fceeeb;
  width: 40px;
  line-height: 40px;
  border-radius: 50%;
}

#g_menu ul li a {
  color: #fff;
  line-height: 3.0;
}

#g_menu {
  height: 100%;
  width: 50%;
  padding: 12px;
  background: rgba(0, 0, 0,.6);
  transition: right 1s;
  position: fixed;
  top: 0;
  z-index: 5;
}

#g_menu:not(:target) {
  right: -100%;
}

#g_menu:target {
  right: 0;
}

.out{
  position: relative;
}
.in img{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: .5s;
  z-index: 0;
}

input{
  display: none;
}
.in{
  display: flex;
  justify-content: center;
}
label span{
  display: block;
  width: 15px;
  height: 15px;
  padding: 7px;
  margin: -40px 0 0;
  border-radius: 100%;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
label span::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #ddd;
  opacity: 0.5;
  border-radius: 100%;
}            
input:nth-of-type(1):checked ~ .in label:nth-of-type(1) span::before,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) span::before{
  background: #552684;
  opacity: 1;
}
label span::before{
  animation: slidebutton 7s infinite;
}
@keyframes slidebutton{
  0%{opacity: 0.5;background: #ddd;}
  7%{opacity: 1;background: #552684;}/* b÷x×100=y */
  45%{opacity: 1;background: #552684;}/* 100÷c=z */
  52%{opacity: 0.5;background: #ddd;}/* y+z */
}

label:nth-of-type(2) span::before,
label:nth-of-type(2) img{
  animation-delay: 3.5s;
}            

input:nth-of-type(1):checked ~ .in label:nth-of-type(1) img,
input:nth-of-type(2):checked ~ .in label:nth-of-type(2) img{
  opacity: 1;
  z-index: 1;
}
.in img{
  animation: slide 7s infinite;/* (a+b)×c=x */
  opacity: 0;
}
@keyframes slide{
  0%{opacity: 0;}
  7%{opacity: 1;z-index: 1;}/* b÷x×100=y */
  45%{opacity: 1;}/* 100÷c=z */
  52%{opacity: 0;z-index: 0;}/* y+z */
}
input:checked ~ .in img,input:checked ~ .in span::before{
  animation: none;
}
.in:hover img,
.in:hover span::before{
  animation-play-state: paused;
}

h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 4px;
}

img {
  width: 100%;
  height: auto;
  margin: 0;
}

a {
  text-decoration: none;
  color: currentColor;
}

a:hover,
button:hover {
  cursor: pointer;
  opacity: 0.7;
}

p {
  margin: 0;
  line-height: 2;
}

em {
  font-style: normal;
}

li {
  list-style-type: none;
}

ul {
  padding: 0;
  margin: 0;
}

.wrapper {
  overflow: hidden;
}

.inner, .leadIn, .contact .box, .point .text, .salary, .salary .box, .message, .message p, .corporation, .globalNavi, .flowIn, .flow .text, .flowBox, .story, .flyer, .money .secTitle, .money .leadText, .faq, .sapporo, .sapporo p {
  width: 96%;
  max-width: 640px;
  margin: 0 auto;
}

.secTitle {
  padding: .8em;
  position: relative;
  color: #552684;
  font-size: 20px;
  font-weight: bold;
}

.secTitle.lg {
  font-size: 14px;
  padding-left: 16px;
}

.secTitle.lg:before {
    height: 70%;
}

.secTitle:before {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 4px;
  background: #552684;
  width: 6px;
  height: 1.4em;
  border-radius: 3px;
  content: '';
}

.lead, .contact {
  background: #fceeeb;
}

.lead {
  z-index: 2;
  padding: 30px 0;
}

.lead .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 95%;
  margin: 0 auto;
  max-width: 360px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
   align-items: center;
}

.lead .box .item {
  width: 31.5%;
  background: linear-gradient(-195deg, #e64784, #de3e69);
  color: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px 0;
  border-radius: 100%;
}

.lead .box .item .img {
  width: 40%;
  margin: 10px auto -10px;
}

.lead .box .item p {
  font-size: 22px;
  font-weight: bold;
  text-align: center;}

.lead .text {
  text-align: center;
  margin-top: 20px;
  line-height: 2;
}

.lead .text span {
  display: block;
  font-size: 1.8em;
}

.newFace .inner {
  width: 100%;
}

.newFace .inner .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
    -ms-flex-pack: justify;
  justify-content: space-between;
}

.newFace .inner .box .img {
  width: 42%;
  position: relative;
}

.newFace .inner .box .img:before {
  padding-top: 110%;
  content: '';
  display: block;
}

.newFace .inner .box .img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
      object-fit: cover;
  -o-object-position: top;
      object-position: top;
}

.newFace .inner .box .content {
  width: 55%;
  padding: 24px 0;
}

.newFace .inner .box .content h2 {
  font-size: 20px;
}

.newFace .inner .box .content .impact {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.newFace .inner .box .content .impact span {
  font-size: 2.5em;
  font-weight: bold;
  color: #de3e69;
  padding: 0 .2em;
  line-height: .8;
}

.newFace .inner .box .content .min {
  font-size: .7em;
}

.contact {
  padding: 30px 0;
}

.contact .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
  justify-content: space-around;
  width: 90%;
}

.contact .box .item {
  width: 32%;
}

.contact .box .item:nth-of-type(1) img {
  max-width: 100%;
}

.contact .box .item h3,
.contact .box .item > div {
  text-align: center;
  margin-bottom: .5em;
  font-weight: bold;
}

.contact .box a {
  display: block;
  background: linear-gradient(-195deg, #00B900, #00B901);
  position: relative;
  border-radius: 20px;
}
.contact .box .tell {
  display: block;
  background: linear-gradient(-195deg, #e64784, #de3e69);
  position: relative;
  border-radius: 20px;
}

.contact .box a:before {
    padding-top: 100%;
    display: block;
    content: '';
}

.contact .box a img {
  max-width: 70%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -o-object-fit: cover;
      object-fit: cover;
}

.point0 {
  margin: 36px auto;
}

.point {
  width: 96%;
  padding: 20px 0;;
  margin: 1em auto;
  background: #fceeeb;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.3);
}

.point-tape {
  width: 50%;
  height: 35px;
  margin: -36px auto 0;
  background: #989898;
  transform: rotate(-3deg);
  opacity: 0.1;
}

.point-title {
  text-align: center;
  font-size: 1.7em;
  font-weight: bold;
  text-decoration: underline double #de3e69;
}

.point ul {
  position: relative;
}

.point ul li {
  line-height: 1.6;
  font-size: 1.1em;
  padding: 4% 4% 1% 10%;
  border-bottom: dashed 1px silver;
}

.point ul li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0a4";
  position: absolute;
  left : 0.5em;
  font-size: 1.5em;
  color: #de3e69; 
}

.point0 .text {
  width: 90%;
  font-size: 1.1em;
  margin: 0 auto;
  text-decoration: underline wavy #de3e69;
}

.midMenu .box {
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
}

.midMenu .box .item {
  width: calc(100% / 3);
  position: relative;
  z-index: 1;
  background: #de3e69;
  outline: 2px solid #fff;
  padding: 1em 2px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.midMenu .box .item:nth-of-type(1) {
  width: 50%;
}
.midMenu .box .item:nth-of-type(2) {
  width: 50%;
}

.midMenu .box .item .img {
  text-align: center;
  min-height: 70px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
  justify-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
  align-items: center;
}

.midMenu .box .item .img img {
    max-width: 60px;
    max-height: 60px;
}

.midMenu .box .item span {
  font-size: 14px;
  display: block;
  text-align: center;
  color: #fff;
  font-weight: bold;
  margin-bottom: .5em;
}

.midMenu .box .item p {
  font-size: 10px;
  color: #fff;
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
}

.salary {
  padding: 30px 0;
  display: block;
}

.salary .box {
  width: 90%;
  max-width: 310px;
}

.salary .box .item {
  margin-top: 50px;
  margin-bottom: 70px;
  border: 3px solid #d78aa9;
  border-radius: 24px;
}

.salary .box .item:last-child {
  margin-bottom: 0;
}

.salary .box .item:nth-of-type(2n),
.salary .box .item:nth-of-type(2n) .content .span em,
.salary .box .item:nth-of-type(2n) .content .money em {
  border-color: #9474ae;
  color: #552684;
}

.salary .box .item:nth-of-type(2n) .img {
  background-color: #9474ae;
}

.salary .box .item .img {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  margin-bottom: -50px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #d78aa9;
  position: relative;
  border-radius: 100px;
  overflow: hidden;
}

.salary .box .item .img img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 60%;
}

.salary .box .item .content {
padding: 1.5em 8px;
text-align: center;
}

.salary .box .item .content .span {
  font-size: 1.5em;
  font-weight: bold;
  padding-left: .5em;
}

.salary .box .item .content .span em {
  color: #de3e69;
  font-size: 1.8em;
  padding: 0 .1em;
  font-weight: bold;
  line-height: .5;
}

.salary .box .item .content .job {
  font-size: .9em;
}

.salary .box .item .content .money {
  font-size: 1.5em;
  font-weight: bold;
}

.salary .box .item .content .money em {
  font-size: 1.8em;
  color: #de3e69;
  padding: 0 .2em;
  font-weight: bold;
}

.message {
  display: block;
  padding: 0 0 30px 0;
}

.message p {
  width: 90%;
  font-size: 1.1em;
}

.message p em {
  font-size: 1.15em;
  color: #de3e69;
  font-weight: bold;
}

.message .mb {
  margin-bottom: 1em;
}

.message a {
  text-decoration: underline;
}

.corporation table {
  width: 100%;
  border-spacing: 0;
  font-size: 1.1em;
  margin-bottom: 36px;
}

table th{
  border-bottom: solid 2px #552684;
  padding: 10px 0;
  width: 20%;
}

table td{
  border-bottom: solid 2px #ddd;
  text-align: center;
  padding: 10px 0;
  width: 70%;
}

.globalNavi ul {
  margin-top: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
  justify-content: space-between;
}

.globalNavi ul li {
  width: calc(50% - 2px);
  width: 100%;
  border-right: 1px solid #fff;
}

.globalNavi ul li a {
  background: #de3e69;
  display: block;
  padding: 1em .5em;
  text-align: center;
  margin-bottom: 2px;
  color: #fff;
}

footer {
  margin-top: 30px;
  text-align: center;
}

footer .logo {
  box-shadow: none;
}

footer a {
  margin: 0 auto;
}

footer .link {
  font-size: 1.1em;
  color: #de3e69;
  display: block;
  text-align: center;
  margin-bottom: 20px;
}

footer .copy {
  padding: 1em 0;
  display: block;
  text-align: center;
  font-size: .8em;
  color: #888;
  border-top: #ccc solid 1px;
}


/* 子ページ */
.flow .text {
  margin-bottom: 20px;
}
.flowBox {
  width: 94%;
}
.flowBox .item {
  position: relative;
  -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
          box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.flowBox .item .content {
  padding: 1em;
  padding-top: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.flowBox .item .content .num {
  width: 80px;
  height: 80px;
  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;
  background: #de3e69;
  border-radius: 120px;
  position: absolute;
  right: 2%;
  top: 2%;
}

.flowBox .item .content .num span {
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
}

.flowBox .item .content .num span:nth-of-type(2) {
  font-weight: bold;
  font-size: 28px;
}

.flowBox .item .content h2 {
  text-align: center;
  color: #de3e69;
  margin: 8px 0;
}

.story .box {
  max-width: 640px;
}
  
.story .box .item .content .title {
  font-size: 15px;
  color: #de3e69;
}
.story .box .item .content .title2 {
  font-size: 15px;
  color: #552684;
}

.story .box .item .content .text,
.story .box .item .content .text2 {
  text-align: left;
  font-size: 1.1em;
  line-height: 2;
}

.story .box .item .content .text p {
  margin-bottom: 1em;
}

.story .box .item .content .text2 dt {
  margin-bottom: .5em;
  color: #552684;
}

.story .box .item .content .text2 dd {
  margin-bottom: 2em;
  color: #de3e69;
}

.flyer .img {
  margin-bottom: 10px;
}

.money .secTitle {
  width: 88%;
}

.money .leadText {
  margin-bottom: 20px;
}

.money .box {
  max-width: 640px;
  margin: 0 auto;
}

.money .box:nth-of-type(1) .boxHeader {
  background: #9474ae;
}
.money .box:nth-of-type(1) .item h3 {
  color: #552684;
}

.money .box .boxHeader {
  background: #de3e69;
  color: #fff;
  line-height: 1.8;
  padding: 1em;
  margin-bottom: 10px;
}

.money .box .boxHeader h2 {
  font-size: 18px;
}

.money .box .topImg {
  position: relative;
}

.money .box .topImg:before {
  padding-top: 50%;
  display: block;
  content: '';
}

.money .box .topImg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

.money .box .item h3 {
  color: #de3e69;
  border-bottom: 2px solid;
  font-weight: bold;
  font-size: 1.2em;
  padding: .5em 1em;
}

.money .box .item table {
  width: 100%;
}

.money .box .item table tr th,
.money .box .item table tr td {
  padding: 1em;
  border: solid 1px #ccc;
}

.money .box .item table tr th {
  text-align: center;
  max-width: 180px;
}

.money .box .item .text {
  padding: 1em;
}

.faq {
  width: 100%;
}

.faq .box input {
  display: none;
}

.faq .box input:checked + label dd {
  visibility: visible;
  height: auto;
  padding: 1em;
  padding-top: 0;
}

.faq .box label {
  display: block;
  width: 100%;
  cursor: pointer;
}

.faq .box label:nth-of-type(2n-1) dt,
.faq .box label:nth-of-type(2n-1) dd {
  background: #fceeeb;
}

.faq .box dt,
.faq .box dd {
  position: relative;
  padding: 1em;
  font-size: 1.1em;
}

.faq .box dt {
  font-weight: bold;
}

.faq .box dd {
  visibility: hidden;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
}

.sapporo {
  display: block;
  padding: 30px 0;
}

.sapporo p {
  width: 90%;
  font-size: 1.1em;
}

.sapporo p em {
  font-size: 1.15em;
  color: #de3e69;
  font-weight: bold;
}

.frame {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 6px;
}
.frame img {
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
.frame:before,
.frame:after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 97px;
  height: 50px;
  background: #fff; 
  transform: rotate(-30deg);
}
.frame:before {
  box-shadow: 0 10px 8px -12px rgba(0, 0, 0, 0.8);
  top: -24px;
  bottom: auto;
  right: auto;
  left: -26px;
}
.frame:after {
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.7);
  top: auto;
  bottom: -22px;
  right: -25px;
  left: auto;
}

@media screen and (min-width: 768px) {
  .out {
    display: none;
  }
  .pctop {
    display: block;
  }
  .nav {
    display: none;
  }
  .logo {
    display: block;
    text-align: center;
  }
  .point0 {
    max-width: 640px;
    width: 90%;
    margin: 36px auto;
  }
  .midMenu {
    width: 90%;
    margin: 0 auto;
    max-width: 640px;
  }
  .salary {
    max-width: 640px;
  }
  .salary .box {
    max-width: 640px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .salary .box .item:last-child {
     margin-bottom: 70px; 
  }
  .salary .box .item {
          width: 48%;
  }
  .salary .box .item .content {
    padding: 1em .5em;
  }
  .story .box .item {
      width: 100%;
  }

}
