@charset "utf-8";

.main-head {
    background: #d8eefd;
}

.main-head h1 {
    color: #6BBBAD;
    text-shadow: 1px 1px 10px #fff,-1px 1px 10px #fff,1px -1px 10px #fff,-1px -1px 10px #fff;
}

.box {
    padding: 0 0 90px 0;
}

.box-thanks,
.box-recruit {
    padding: 90px 0 120px 0;
}

.box-recruit {
    overflow: hidden;
}

.box-thanks .box-wrap {
    width: 960px;
    display: block;
    margin: 0 auto;
}

.box-recruit .box-wrap {
    width: 960px;
    display: flex;
    margin: 0 auto 60px;
    position: relative;
    gap: 50px;
}

.box-recruit .tit-pink {
    color: #E95383;
}

.box-recruit .tit-green {
    color: #81C4C9;
    
}

.box-recruit h2 {
    font-size: 33px;
    text-align: center;
    width: calc(50% - 25px);
    line-height: 160%;
}

.box-recruit h2 .tit-strong {
    font-size: 42px;
    display: inline-block;
    position: relative;
    padding: 0 30px;
    z-index: 2;
}

.box-recruit h2 .tit-strong::after {
    content: "";
    display: block;
    width: 100%;
    height: 16px;
    position: absolute;
    left: 0;
    top:35px;
    z-index: -1;
}

.box-recruit .tit-pink .tit-strong::after {
    background: #fbdde6;
}

.box-recruit .tit-green .tit-strong::after {
    background: #d9edef;
}

.box-recruit .img {
    width: 140px;
    height: auto;
    position: absolute;
    top: 30px;
    right: calc(50% - 600px);
}

.box-thanks p {
    text-align: center;
    font-size: 20px;
    line-height: 200%;
}

.box-recruit p {
    text-align: center;
    font-size: 23px;
    line-height: 140%;
}

.box-recruit p .txt-tel {
    color: #E95383;
    font-size: 40px;
    display: block;
    padding-top: 30px;
}

.box-form-co {
    padding-top: 90px;
}

.box-form .box-wrap {
    width: 600px;
    display: block;
    position: relative;
}

.box-form .box-wrap:nth-of-type(1) {
    margin: 0 auto 30px;
}

.box-form .box-wrap:nth-of-type(2) {
    margin: 0 auto 120px;
    padding-bottom: 450px;
}

.box-form .tit {
    background: #fbdde6;
    text-align: center;
    padding: 30px 0;
    font-size: 32px;
    width: 840px;
    margin: 0 auto 65px;
}

.box-form .txt {
    text-align: center;
    font-size: 18px;
    line-height: 200%;
    margin: 0 0 120px 150px;
}

.box-input {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap:20px;
    margin-bottom: 30px;
}

.box-input .tit-input {
    padding: 15px 0;
    font-size: 16px;
    position: relative;
}

.box-form-co .box-input .tit-input {
    padding: 0;
}

.box-input .tit-input::before {
    content: "●";
    position: relative;
    display: inline-block;
    color: #92c2c2;
    font-size: 14px;
    top: -1px;
    margin-right: 10px;
    
}

.box-input .input {
    width: 100%;
    border: 1px solid #bdbdbd;
    padding: 15px;
    font-size: 16px;
    color: #626262;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    outline: none;
    letter-spacing: 2px;
    position: relative;
	font-family: "Comfortaa","Kiwi Maru","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.box-input .input:focus {
    border: 1px solid #bdbdbd;
    outline: none;
}

.box-input #license.input-area,
.box-input #history.input-area {
    height: 6em;
    line-height: 160%;
}

.box-input #typecomment.input-area {
    height: 8em;
    line-height: 160%;
    margin-top: 15px;
}

.box-input #comment.input-area {
    height: 10em;
    line-height: 160%;
}

.box-input:last-of-type {
    margin-bottom: 50px;
}

input[type=radio] {
    display: none;
}

.box-radio,
.box-radio-txt {
    position: relative;
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 15px 0 0;
}

.box-radio-txt {
    display: grid;
    grid-template-columns: 170px 1fr;
}

.box-radio-txt span {
    padding-left: 40px;
    display: block;
}

.box-select {
    display: inline-flex;
    align-items: center;
    position: relative;
    top:-10px;
}

.box-select .input {
    padding: 12px 15px;
}

.box-select::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.box-select select {
    appearance: none;
    cursor: pointer;
}


.box-radio label {
    cursor: pointer;
    padding-left: 40px;
    position: relative;
}


.box-radio label::before,
.box-radio label::after {
    content: "";
    display: block; 
    position: absolute;
}

.box-radio label::before {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #bdbdbd;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    top: 45%;
    left: 5px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    outline: none;
}

.box-radio label::after {
    border-bottom: 2px solid #333;
    border-left: 2px solid #333;
    opacity: 0;
    height: 5px;
    width: 10px;
    transform: rotate(-45deg);
    top: 2px;
    left: 10px;
}

.box-radio input:checked + label::after {
  opacity: 1;
}

.btn-send {
    display: block;
    width: 450px;
    margin-left: 150px;
    font-size: 20px;
	font-family: "Comfortaa","Kiwi Maru","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color:#FFF;
    background: #b2b2b2;
    padding: 20px 0;
    border: none;
    outline: none;
    cursor: pointer;
    transition:all 0.3s ease;
	-webkit-transition: all .3s;
}

.btn-send:hover {
    background: #cccccc;
}

.box-form input[type="submit"][disabled]{
    background:#DCDCDC;
    cursor: default;
}

.box-form ::placeholder {
    color: #cccccc;
}

.btn-back {
    display: block;
    width: 450px;
    font-size: 20px;
    background: #FFF;
    padding: 20px 0;
    border: solid 1px #b2b2b2;
    outline: none;
    cursor: pointer;
    transition:all 0.3s ease;
	-webkit-transition: all .3s;
    margin: 20px auto 0 150px;
    text-align: center;
}

.btn-back:hover {
    color: #cccccc;
    border: solid 1px #cccccc;
}

.box-txt-co {
    border-bottom: solid 1px #ccc;
    padding-bottom: 25px;
}

.box-txt-co .box-txt {
    font-size: 16px;
}

.box-form .img {
    position: absolute;
}

.box-form .img-01 {
    width: 400px;
    left: -110px;
    bottom: 60px;
    z-index: 2;
}

.box-form .img-02 {
    width: 520px;
    right: -110px;
    bottom: 0;
    z-index: 1;
}

label.error {
    position: relative;
    display: inline-block;
    padding: 8px 10px 6px;
    background: #fbdde6;
    color: #E95383;
    margin-top: 10px;
    line-height: 100%;
    letter-spacing: 0;
}

/******************************************************/

.img-01.obj.active { animation: fadeImg1 1.6s 0.3s ease-in-out forwards; }

@keyframes fadeImg1 {
    from { 
        opacity: 0;
        translate: -30% -30%;
        transform: rotate(-30deg);
    }
    to { 
        opacity: 1;
        translate: 0;
        transform: rotate(0);
    }
}

.img-02.obj.active { animation: fadeImg2 1.6s 1.6s ease-in-out forwards; }

@keyframes fadeImg2 {
    from { 
        opacity: 0;
        translate: 30% -30%;
        transform: rotate(-30deg);
    }
    to { 
        opacity: 1;
        translate: 0;
        transform: rotate(0);
    }
}


/******************************************************/

@media screen and (max-width: 900px) {
    
    .box,
    .box-form-co {
        padding: 8% 5%;
    }
    
    .box-thanks {
        padding: 15% 5%;
    }
    
    .box-thanks .box-wrap,
    .box-recruit .box-wrap {
        width: 100%;
        display: block;
        margin: 0 auto;
    }
    
    .box-recruit .box-wrap {
        margin-bottom: 8%;
    }
    
    .box-recruit h2 {
        width: 100%;
        font-size: 6vw;
    }
    
    .box-recruit h2 .tit-strong {
        font-size: 6.6vw;
        padding: 0 7%;
    }
    
    .box-recruit h2 .tit-strong::after {
        height: 3vw;
        top: 53%;
    }
    
    .box-recruit .tit-pink {
        margin-bottom: 6%;
    }
    
    .box-recruit p {
        font-size: 5vw;
    }
    
    .box-recruit p .txt-tel {
        font-size: 6.6vw;
        padding-top: 4%;
        letter-spacing: 0.2vw;
    }

    .box-recruit .img {
        width: 13%;
        top: auto;
        bottom: 0;
        right: 6%;
    }
    
    .box-form .tit {
        padding: 0;
        font-size: 4.2vw;
        width: 100%;
        background: none;
        margin-bottom: 8%;
    }
    
    .box-form .box-wrap {
        width: 100%;
        margin: 0 auto 10%;
    }
    .box-form .box-wrap:nth-of-type(1) {
        margin-bottom: 5%;
    }
    .box-form .box-wrap:nth-of-type(2) {
        margin-bottom: 12%;
        padding-bottom: 0;
    }
    
    .box-input {
        grid-template-columns: 29% 1fr;
        gap: 2%;
        margin-bottom: 5%;
        letter-spacing: 0.4vw;
    }
    
    .box-input:last-of-type {
        margin-bottom: 8%;
    }
    
    .box-input .input {
        font-size: 2.8vw;
        padding: 3%;
        letter-spacing: 0.2vw;
    }

    .box-select .input {
        padding: 6.25% ;
    }
    
    .box-radio,
    .box-radio-txt {
        padding: 2% 0;
        font-size: 3vw;
        letter-spacing: 0.4vw;
    }
    
    .box-radio-txt {
        grid-template-columns: 52% 1fr;
    }
    
    .box-select {
        top: -18%;
    }

    .box-select::after {
        right: 8%;
        width: 2vw;
        height: 1.6vw;
    }

    .box-select select {
        appearance: none;
        cursor: pointer;
    }
    
    .box-radio-txt span,
    .box-radio label {
        padding-left: 30px;
    }
    
    .box-radio label::before {
        width: 15px;
        height: 15px;
        left: 3px;
    }
    
    .box-radio label::after {
        height: 4px;
        width: 8px;
        top: calc(50% - 5.5px);
        left:  6px;
    }
    
    .box-input .tit-input {
        padding: 6% 0;
        font-size: 3vw;
        letter-spacing: 0.2vw;
    }

    .box-input .tit-input::before {
        font-size: 3vw;
        top: 0%;
        margin-right: 6%;
    }
    
    .btn-send {
        width: calc(100% - 31%);
        margin-left: 31%;
        font-size: 4vw;
        padding: 3% 0;
    }
    
    .btn-back {
        width: calc(100% - 30%);
        margin:3% 0 0 30%;
        font-size: 4vw;
        padding: 3% 0;
    }

    .box-txt-co .box-txt {
        font-size: 3vw;
    }
    
    .box-form .txt {
        font-size: 2.3vw;
        margin: 0 0 12% 31%;
    }
    
    .box-form .img {
        position: relative;
        width: 90%;
        bottom: auto;
        display: block;
    }
    
    .box-form .img-02 {
        right: auto;
        left: 0;
        margin-bottom: 10%;
    }
    
    .box-form .img-01 {
        left: auto;
        right: -10%;
    }
    
    .box-thanks p {
        font-size: 3vw;
    }
    
    label.error {
        padding: 3% 3% 2%;
        margin-top: 3%;
        font-size: 2.4vw;
    }
    
}


