@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700');

@font-face {
  font-family: 'ヒラギノ角ゴOld StdN W6';
  font-style: normal;
  font-weight: bold;
  src: local('./css/font/ヒラギノ角ゴOld StdN W6.otf'), url('./css/font/ヒラギノ角ゴOld StdN W6.otf') format('otf');
}

body {
    position: relative;
}
h1 {
  font-size: 1.3rem;
  letter-spacing: 0.2rem;
  font-weight: bold;
}
h2 {
  font-family: 'ヒラギノ角ゴOld StdN W6','Hiragino Kaku Gothic Pro W6', sans-serif;
}
.sp {
  display: none;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Lucida Grande", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック  Medium", meiryo, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
#modal-agreement{
    display: none;
}
#modal-agreement.show{
    display: block;
}
#modal-privacy{
    display: none;
}
#modal-privacy.show{
    display: block;
}
#modal-company{
    display: none;
}
#modal-company.show{
    display: block;
}

#modal-privacy table td,
#modal-privacy table th{
    border: 1px solid #000;
    font-size: 16px;
    color: #5B2F1A;
}
@media only screen and (max-device-width: 480px) {
    #modal-privacy table td,
    #modal-privacy table th{
        font-size: 12px;
    }
}
.modal-outer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1000;

  background-color: rgba(0, 0, 0, 0.5);

  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-container {
    background: #FFFDF8;
    margin: 0 auto;
    border-radius: 8px;
    height: 80%;
    width: 70%;
    overflow-y: hidden;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.modal-container::-webkit-scrollbar{
    display:none;
}
.modal-contents a{
    color: #FF8D8D;
}
@media only screen and (max-device-width: 480px) {
  .modal-container {
    max-width: 90%;
    width: 100%;
    height: 65%;
    margin: 0 auto;
  }
}

.modal-container-inner{
    width: 100%;
    height: 80%;
    overflow-x: hidden;
    overflow-y: scroll;

    /* -ms-overflow-style: none;
    scrollbar-width: none; */
}
/* .modal-container-inner::-webkit-scrollbar{
    display:none;
} */

.modal-container-content{
    background: #FFFDF8;
    width: 96%;
    margin: 0px auto;
    border-radius: 8px;
    padding-top: 30px;
    padding-bottom: 30px;
}
.modal-content-head-en{
    padding-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 21px;
    font-family: 'Quicksand', sans-serif;
    color: #5B2F1A;
}
@media only screen and (max-device-width: 480px) {
    .modal-content-head-en{
        font-family: 'Quicksand', sans-serif;
        color: #5B2F1A;
        font-size: 17px;
    }
}
.modal-content-head{
    font-family: -apple-system, BlinkMacSystemFont,"Lucida Grande", 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
    letter-spacing: 0.3rem;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: #FF8D8D;
}
@media only screen and (max-device-width: 480px) {
    .modal-content-head{
        letter-spacing: 0.3rem;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        color: #FF8D8D;
        margin-bottom: 1rem;
    }
}

.modal-content-itme-group {
    max-width: 980px;
    box-sizing: border-box;
    margin: 10px auto;
    margin-top: 3%;
    padding: 0 5%;
    text-align: left;
}
@media only screen and (max-device-width: 480px){
    .modal-content-itme-group {
        margin-top: 0px;
    }
}

.modal-content-lead{
    font-weight: bold;
}
.modal-content-itme-group p{
    font-family: -apple-system, BlinkMacSystemFont,"Lucida Grande", 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
    color: #5B2F1A;
    font-size: 16px;
    text-align: left;
    margin-bottom: 0;
}
@media only screen and (max-device-width: 480px){
    .modal-content-itme-group p {
        font-family: -apple-system, BlinkMacSystemFont,"Lucida Grande", 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
        color: #666666;
        font-size: 12px;
        text-align: left;
    }
}

.modal-content-subtitle{
    font-weight: bold;
}
.modal-content-detail{
    font-weight: bold;
}

.modal-close-btn-outer{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 5%;
    padding-right: 5%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close-btn{
    background-color: #FF8D8D;
    padding: 12px 0;
    width: 100%;
    max-width: 980px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}
@media only screen and (max-device-width: 480px){
    .modal-close-btn{
        font-size: 13px;
    }
}
.dli-close {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 1em;
    height: 0.1em;
    background: currentColor;
    border-radius: 0.1em;
    position: relative;
    transform: rotate(45deg);
    margin-right: 8px;
  }
  
  .dli-close::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
  }

  .table-company th, .table-company td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    text-align: left;
    vertical-align: top;
    color: #5B2F1A;
    font-family: -apple-system, BlinkMacSystemFont,"Lucida Grande", 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
    font-size: 16px;
}
.table-company td a {
    color: #FF8D8D;
}

@media only screen and (max-device-width: 480px){
    .table-company td p, .table-company td a {
        font-size: 12px;
    }
    .table-company th, .table-company td {
        padding: 0;
        font-size: 14px;
    }
    .table-company th{
        white-space: nowrap;
    }
    .table-company td{
        padding-left: 16px;
    }
}

.footer-item_01,
.footer-item_02,
.footer-item_03{
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: 0;
    filter: alpha(opacity=90);
    -moz-opacity: 0.90;
}
.btn-next {
    opacity: 1;
}
.btn-next-on {
    opacity: 1;
    position: relative;
    z-index: 0;
}

.hand {
    width: 50px;
    position: absolute;
    top: 150px;
    left: 300px;
    animation: moveX 1.2s linear 0s infinite;
    -ms-animation: moveX 1.2s infinite alternate linear;
    -webkit-animation: moveX 1.2s infinite alternate linear;
    -moz-animation: moveX 1.2s infinite alternate linear;
    transition: 0.3s;
    z-index: -1;
    display: none!important;
}
@media only screen and (max-width: 480px) {
    .btn-next {
        opacity: 0.6;
    }
    .btn-next-on {
        opacity: 1;
        z-index: -1;
    }
    .overlay {
        z-index: 1000;
        opacity: 0.5;
    }
    .btn-next-on {
        z-index: 1001;
    }
    .hand {
        z-index: 1002;
        display: block!important;
    }
}
@keyframes moveX {
    0%, 100% {
     transform: translate(0, 0) scale(1);
    }
    50% {
     transform: translate(-5px, 0) scale(1.08);
    }
   }
   @-ms-keyframes moveX {
    0%, 100% {
     transform: translate(0, 0) scale(1);
    }
    50% {
     transform: translate(-5px, 0) scale(1.08);
    }
   }
   @-webkit-keyframes moveX /* Safari and Chrome */ {
    0%, 100% {
     transform: translate(0, 0) scale(1);
    }
    50% {
     transform: translate(-5px, 0) scale(1.08);
    }
   }
   @-moz-keyframes moveX /* Firefox */ {
    0%, 100% {
     transform: translate(0, 0) scale(1);
    }
    50% {
     transform: translate(-5px, 0) scale(1.08);
    }
   }