@charset "utf-8";

/* header */
@media only screen and (min-width: 600px) {
  #business-header #header-menu.header-nav .nav-list li:nth-child(4n + 1) { width: 22%; }
  #business-header #header-menu.header-nav .nav-list li:nth-child(4n + 2) { width: 22%; }
  #business-header #header-menu.header-nav .nav-list li:nth-child(4n + 3) { width: 31%; }
}

@media only screen and (min-width: 600px) {
  .gmo-kakebarai__first {
    margin-top: 100px;
  }

  .gmo-kakebarai__lead {
    font-size: 18px;
    width: 1000px;
    margin: 50px auto 100px;
    text-align: center;
    line-height: 1.8;
  }

  .gmo-kakebarai__second {
    margin-top: 50px;
  }

  .gmo-kakebarai__guide {
    width: 800px;
    margin: 50px auto;
    font-size: 16px;
    line-height: 1.8;
  }

  .gmo-kakebarai__table {
    width: 800px;
    margin: 50px auto 150px;
    border-spacing: 0;
    border-collapse: separate;
  }

  .gmo-kakebarai__table th {
    font-weight: bold;
    font-size: 16px;
    width: 9em;
    text-align: left;
    background: #f2f2f2;
    border-bottom: 1px solid #fff;
    padding: 16px;
  }

  .gmo-kakebarai__table tr:last-child th {
    border-bottom: 0;
  }

  .gmo-kakebarai__table td {
    font-size: 14px;
    padding: 16px;
    border-bottom: 1px solid #f2f2f2;
    border-right: 1px solid #f2f2f2;
  }

  .gmo-kakebarai__table tr:first-child td {
    border-top: 1px solid #f2f2f2;
  }

  .gmo-kakebarai__table td p {
    line-height: 1.8;
  }

  .gmo-kakebarai__table td p + p {
    margin-top: 1em;
  }

  .gmo-kakebarai__table dl {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .gmo-kakebarai__table dt {
    font-weight: bold;
    width: 8em;
    flex-basis: 8em;
    flex-shrink: 0;
  }

  .gmo-kakebarai__table dd {
    width: calc(100% - 8em);
    flex-basis: calc(100% - 8em);
    flex-shrink: 0;
  }

  .gmo-kakebarai__table dd > p {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .gmo-kakebarai__table dd > p::before {
    content: '：';
    width: 1.2em;
    flex-basis: 1.2em;
    flex-shrink: 0;
  }
  
  #business-container .section .section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #business-container .section .section-title img {
    width: 180px;
    height: auto;
    margin-top: 1rem; 
  }
}

@media only screen and (max-width: 599px) {
  .gmo-kakebarai__first {
    margin: 4rem 2rem 0;
  }
  .gmo-kakebarai__lead {
    margin-top: 4rem;
    font-size: 1rem;
    line-height: 1.8;
  }

  .gmo-kakebarai__second {
    margin: 4rem 2rem;
  }

  .gmo-kakebarai__guide {
    margin-top: 2rem;
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .gmo-kakebarai__table {
    margin: 4rem 0;
    border: 1px solid #f2f2f2;
  }

  .gmo-kakebarai__table,
  .gmo-kakebarai__table tbody,
  .gmo-kakebarai__table tr {
    display: block;
  }

  .gmo-kakebarai__table th {
    display: block;
    font-weight: bold;
    font-size: 1rem;
    background: #f2f2f2;
    padding: 0.5rem;
  }

  .gmo-kakebarai__table td {
    display: block;
    font-size: 0.9rem;
    padding: 1rem;
  }

  .gmo-kakebarai__table td p {
    line-height: 1.8;
  }

  .gmo-kakebarai__table td p + p {
    margin-top: 1em;
  }

  .gmo-kakebarai__table dl {
    display: block;
  }

  .gmo-kakebarai__table dt {
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .gmo-kakebarai__table dd > p {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  .gmo-kakebarai__table dd + dt {
    margin-top: 1.5rem;
  }

  #business-container .section .section-title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #business-container .section .section-title img {
    width: 33%;
    margin-top: 0.5rem; 
  }
}

/* other */
#other { padding: 120px 0 0; }

@media only screen and (max-width: 599px) {
  #other {
    margin: 0;
    padding: 16vw 0 0;
  }
}


/* confirm */
#confirm { margin-top: 120px; }

@media only screen and (max-width: 599px) {
  #confirm { margin-top: 16vw; }
}

/* regist */
#regist { margin-top: 120px; }

@media only screen and (max-width: 599px) {
  #regist { margin-top: 16vw; }
}

.preview img {
  border: 1px solid #333;
}

/* ------popup------ */
.mfp-bg {
  opacity: 0;
  transition: opacity 0.3s;
}
.mfp-bg.mfp-ready {
  opacity: 0.8;
}
.mfp-bg.mfp-removing {
  opacity: 0;
}

.mfp-wrap .mfp-content {
  opacity: 0;
  transition: opacity 0.3s;
}

.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
