/*****************************************************************
全てに適用
*****************************************************************/
body {
    overflow-x: hidden;
    background-color: #fccf00 !important;
    -webkit-font-smoothing: auto !important;
    -moz-osx-font-smoothing: auto !important;
}
.loading2{
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #fccf00;
    z-index: 555;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
} 
.loading2 img{
    height: 100%;
    width: auto;
    object-fit: cover;
}
.loading2.active img {
    display: block;
}
.circle-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 600;
}
.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fccf00;
    transition: 2s;
    display: none;
}
.circle.active {
    display: block;
    transform: scale(100);
}
main {
    min-height: 80vh;
}
main > .w100 {
    overflow-x: clip;
}
main p {
    text-align: justify;
}
a {
    text-decoration: none;
    color: #333;
}
p {
    line-height: 1.75rem;
}
img {
    width: 100%;
}
th,td {
    padding: 10px;
}
h3 {
    font-size: 2.5rem;
    font-weight: bold;
}
h3 img {
    width: 80px;
    vertical-align: middle;
}
.w40 {
    width: 40%;
}
.justify-sb {
    justify-content: space-between;
}
.position-r {
    position: relative;
}
.position-a {
    position: absolute;
}
.bold {
    font-weight: bold;
}
.fade {
    opacity: 0;
}
.fade.is-active {
    opacity: 1;
}
.scale {
    animation: scale 5s infinite ease-out;
}
@keyframes scale{
    0%{
        transform: scale(0.95);
    }
    5%{
        transform: scale(1.05);
    }

    10%{
        transform: scale(1);
    }
    15%{
        transform: scale(1.05);
    }
    20%{
        transform: scale(1);
    }
    100%{
        transform: scale(1);
    }
}
@keyframes reflection {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(45deg);
        opacity: .5;
    }
    
    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

/*-------------------------------
header
--------------------------------*/
header {
    height: 100px;
    z-index: 1;
}
header > .flex-wrap {
    height: inherit;
}
header .flex-wrap {
    align-items: center;
}
header h1 {
    padding: 20px;
}
header h1 img {
    width: 400px;
    height: auto; 
}
header nav ul li {
    width: max-content;
}
header nav .nav-contents,
header nav .nav-1 {
    height: 100px;
}
header nav .nav-1 {
    align-items: center;
    margin-right: 20px;
    color: #333;
    text-shadow: 4px 4px 4px #fccf00, -4px -4px 4px #fccf00, -4px 4px 4px #fccf00, 4px -4px 4px #fccf00, 4px 0 4px #fccf00, -4px 0 4px #fccf00, 0 4px 4px #fccf00, 0 -4px 4px #fccf00;
}
header nav .nav-2 {
    position: absolute;
    writing-mode: vertical-rl;
    width: 60px;
    height: max-content;
    right: 0;
    top: 150px;
}
header nav .nav-2 .btn {
    border-radius: 10px 0 0 10px;
    margin-bottom: 10px;
    width: 100%;
    border-right: none;
}
header nav .nav-2 .btn:hover {
    border: 1px solid #fff;
}
header nav .nav-2 .btn.instagram {
    background-color: #fff;
    border: 1px solid #fff;
    height: 60px;
    padding: 0.75em;
}
header nav .nav-2 .btn.instagram:hover {
    background-color: #333;
    border: 1px solid #333;
}
header nav .nav-2 .btn p {
    line-height: 30px;
    /* margin-top: 0.5em; */
}
#nav_icon {
    background-color: #fccf00;
}
@media screen and (max-width: 1379px){
    .md-spmenu #nav_icon {
        display: block;
    }
    .md-spmenu .nav-contents {
        display: none;
        position: fixed;
        top: 100px;
        width: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 100px);
        background-color: #fff;
        z-index: 999999999;
        max-width: 400px;
        left: auto;
    }
    body.drawer-opened {
        overflow-y: hidden;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
    }
    body.drawer-opened header {
        height: 100px !important;
    }   
    body.drawer-opened nav.type1 .nav-2 {
        max-width: none !important;
        margin: auto !important;
        writing-mode: horizontal-tb !important;
        width: 100% !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
    }
    body.drawer-opened nav.type1 .nav-2 a {
        width: max-content;
        padding: 10px 20px;
    }
}
body.drawer-opened nav.type1 .nav-contents > ul {
    height: auto;
    max-width: 600px;
    margin: auto;
    color: #333;
    text-shadow: none;
}
body.drawer-opened .nav-contents > ul > li {
    width: 100%;
    margin: 2% 5%;
}
body.drawer-opened nav.type1 .nav-2 {
    justify-content: center;
    max-width: 600px;
    margin: auto auto 100px auto;
    padding: 2%;
}

/*************
メインビジュアル .m-visual
*************/
.m-visual {
    flex-direction: column;
}
.m-visual > .position-r {
    margin-left: calc(50% - 600px);
    max-width: 600px;
}
@media screen and (768px <= width <= 1200px) {
    h2 {
        margin-bottom: 0;
    }
    .m-visual > .position-r {
        margin-left: 0 !important;
        width: 50% !important;
    }
    .m-visual > .position-r .position-r {
        padding: 0 5% !important;
        box-sizing: border-box;
    }
    .m-visual > .position-r .position-r img {
        width: 30% !important;
    }
    .m-visual ol li.none::before {
        left: -30px !important;
    }
    .m-visual ol {
        font-size: 1.25rem !important;
        line-height: 2rem !important;
        padding: 20px 20% !important;
    }
}
.m-visual > .position-r .position-r {
    background-image: url(../../img/recruit/topframe.svg);
    height: auto;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    padding: 5%;
    box-sizing: border-box;
}
.m-visual > .position-r .position-r img {
    max-width: max-content;
    display: block;
    margin: auto;
}
.m-visual .position-a {
    right: 0;
    top: -300px;
    z-index: 0;
    margin-right: calc(60% - 60vw);
    width: 60vw;
    max-height: 1750px;
}
.m-visual .position-a img {
    max-height: 1500px;
    width: auto;
}
.m-visual ol {
    font-size: 1.75rem;
    line-height: 3.5rem;
    padding: 50px 25%;
    width: 100%;
    box-sizing: border-box;
}
.m-visual ol li {
    width: max-content;
}
.m-visual ol li.none {
    /* padding-left: 3.5rem; */
    position: relative;
}
.m-visual ol li.none::before {
    content: "\f101";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: -40px;
}
/*************
01 田浦組ってどんな会社？  #about
*************/
#about {
    background-image: url(../../img/recruit/01bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 800px;
}
#about .bold {
    font-size: 1.25rem;
    line-height: 2.25rem;
    margin-left: 90px;
}
@media screen and (768px <= width <= 1200px) {
    #about .bold {
        margin-left: 0;
    }
}
#about .fade:nth-of-type(2) {
    transition-delay: 0.5s;
}

/*************
02 数字で見る田浦組  #number
*************/
#number {
    background-image: url(../../img/recruit/02bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#number .w100 {
    height: 350px;
}
#number .w100 img {
    position: absolute;
}
#number picture .animated {
    opacity: 0;
}
#number picture .animated.jackInTheBox {
    opacity: 1;
}
#number picture:nth-of-type(2) .jackInTheBox {
    animation-delay: 0.2s;
}
#number picture:nth-of-type(3) .jackInTheBox {
    animation-delay: 0.4s;
}
#number picture:nth-of-type(4) .jackInTheBox {
    animation-delay: 0.6s;
}
#number picture:nth-of-type(5) .jackInTheBox {
    animation-delay: 0.8s;
}
/* #number .w100:first-of-type {
    margin-top: -100px;
} */
#number .w100:first-of-type picture:first-of-type img {
    width: 38%;
    height: auto;
}
#number .w100:first-of-type picture:nth-of-type(2) img {
    width: 38%;
    height: auto;
    left: 30%;
}
#number .w100:first-of-type picture:nth-of-type(3) img {
    width: 28%;
    height: auto;
    right: 0;
    top: -100px;
}
#number .w100:nth-of-type(2) picture img {
    width: 48%;
    height: auto;
}
#number .w100:nth-of-type(2) picture:nth-of-type(2) img {
    right: 0;
}

/*************
03 社員インタビュー  #interview
*************/
#interview .interview1 {
    background-image: url(../../img/recruit/03_01-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#interview .interview2 {
    background-image: url(../../img/recruit/03_02-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#interview .bold {
    font-size: 2rem;
    line-height: 3rem;
    margin-bottom: 0.5em;
}
#interview .animated {
    opacity: 0;
}
#interview .animated.bounce {
    opacity: 1;
}

/*************
04 福利厚生  #benefit
*************/
#benefit {
    background-image: url(../../img/recruit/04bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
#benefit .frame {
    margin-top: 50px;
}
#benefit .frame > img {
    object-fit: cover;
}
@media screen and (768px <= width <= 1200px) {
    #benefit .frame > img {
        position: relative;
    }
    #benefit .xs-none {
        width: 100% !important;
        object-fit: cover;
        position: absolute;
    }
}
#benefit .frame > img {
    width: 90%;
    display: block;
}
#benefit .flex-wrap .w48 {
    text-align: center;
}
#benefit .flex-wrap .w48 img {
    max-height: 300px;
    height: auto;
    width: auto;
}
#benefit .frame:nth-of-type(2n) .w48 {
    order: 2;
}
#benefit .frame:nth-of-type(2n) .w40 {
    order: 1;
    margin-left: auto;
    margin-right: 0;
}
#benefit .flex-wrap .w40 {
    margin-left: 0;
    margin-right: auto;
}
#benefit .flex-wrap .w40 img {
    max-height: 100px;
    height: auto;
    width: auto;
    display: block;
    margin-bottom: 20px;
}
#benefit .frame:nth-of-type(2n) > img {
    margin-left: 0;
    margin-right: auto;
}
#benefit .frame:nth-of-type(2n+1) > img {
    margin-left: auto;
    margin-right: 0;
}
#benefit .flex-wrap {
    z-index: 1;
    align-items: center;
    top: 0;
    padding: 2%;
}
#benefit .animated {
    opacity: 0;
}
#benefit .animated.slideInUp {
    opacity: 1;
}

/*************
募集要項  #application
*************/
/* #application h4 {
    text-align: center;
    font-weight: bold;
} */
/*#application .tab-menu ul {
    border-bottom: 2px solid #333;
}
#application .tab-menu li {
    position: relative;
    display: inline-block;
    padding: 10px 25px;
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
	background-size: 50% 50%;
	background-repeat: no-repeat;
    margin-right: 15px;
    font-size: 1.25rem;
}
#application .tab-contnts .m-all-auto {
    width: max-content;
    margin-top: 3%;
}
#application table tr {
    border-bottom: 1px solid #ccc;
}
#application table th,
#application table td {
    padding: 20px 10px;
    line-height: 1.75rem;
    box-sizing: border-box;
}
#application table th {
    text-align: left;
    width: 200px;
    font-weight: bold;
}
#application .flex-wrap .w48 {
    background-color: #fccf00;
    padding: 30px 15px;
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 1.75rem;
}
#application .flex-wrap .w48:first-of-type {
    font-size: 2rem;
}
#application .flex-wrap .w48 span {
    margin-bottom: 20px;
    font-size: 1.25rem;
}
@media screen and (768px <= width <= 1119px) {
    #application .flex-wrap .w48 {
        font-size: 1.2rem;
    }
    #application .flex-wrap .w48:first-of-type {
        font-size: 1.5rem;
    }
    #application .flex-wrap .w48 span {
        font-size: 1rem;
    }
}*/
/* #application .flex-wrap .w48 {
    background-color: #fccf00;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 1.5rem;
} */
#application .flex-wrap a {
    width: 45%;
}
#application .internship {
    margin-top: 8%;
    padding: 3%;
    border: 5px solid #fccf03;
}
#application .internship h4 {
    font-size: 1.875rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5%;
}

/*************
お問い合わせ  #contact
*************/
#contact .flex-wrap .w48 {
    background-color: #fff;
    padding: 30px 15px;
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 1.75rem;
}
#contact .flex-wrap .w48:first-of-type {
    font-size: 2rem;
}
#contact .flex-wrap .w48 span {
    margin-bottom: 20px;
    font-size: 1.25rem;
}
@media screen and (768px <= width <= 1119px) {
    #contact .flex-wrap .w48 {
        font-size: 1.2rem;
    }
    #contact .flex-wrap .w48:first-of-type {
        font-size: 1.5rem;
    }
    #contact .flex-wrap .w48 span {
        font-size: 1rem;
    }
}
.reflection {
    position: relative;
    overflow: hidden;
}
.reflection:after {
    content: '';
    height: 100%;
    width: 30px;
    position: absolute;
    top: -180px;
    left: 0;
    background-color: #fff;
    opacity: 0;
    transform: rotate(45deg);
    animation: reflection 5s ease-in-out infinite;
}

/*-------------------------------
footer
--------------------------------*/
footer {
    letter-spacing: 0;
}
footer p {
    margin-bottom: 1.75em;
}
footer .flex-wrap {
    justify-content: space-between;
}
footer .flex-wrap .w25:last-of-type a {
    color: red;
    text-decoration: underline;
}
@media screen and (width <= 1024px) {
    footer ul li {
        overflow: visible !important;
    }
    footer ul li a {
        align-items: flex-start !important;
    }
}
@media screen and (width <= 921px) {
    footer {
        font-size: 91.2%;
    }
    footer p {
        font-size: 100%;
    }
}
