@charset "utf-8";

body {
    margin: 0;
    padding: 0;
    background-color: #CCCCCC;
    color: #333333;
    font-size: 15px;
    line-height: 2;
}

p, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

img {
    vertical-align: bottom;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    color:#3583aa;
    text-decoration: none;
}

a:visited {
    color: #788d98;
}

a:hover {
    text-decoration: underline;
}

header {
    width: 960px;
    height: 100px;
    margin: 0 auto;
}

.logo {
    float: left;
    margin-top: 50px;
}

.JOINT-nav {
    float: right;
    margin-top: 60px;
    text-shadow: 3px 4px 5px #141414;
}

.JOINT-nav li {
    float: left;
    margin: 0 20px;
    font-size: 20px;
    list-style: none;
    font-family: 'Bitter' ,serif;
}

.JOINT-nav li a {
    color: #ffffff;
}

.JOINT-nav Li a:hover {
    border-bottom: 2px solid #ffffff;
    padding-bottom: 3px;
    text-decoration: none;
}

#wrap {
    clear: both;
    background-color: #ffffff;
    margin-top: 220px;
    padding: 35px 0;
}

.JOINTcontent {
    width: 960px;
    margin: 0 auto;
}

footer {
    text-align: center;
    color: #ffffff;
    padding: 20px 0;
    background-color: #767671;
}

footer small {
    font-size: 12px;
}

#JOINTindex h1 {
    font-size: 100px;
    line-height: 1;
    color: #ffffff;
    font-family: 'Bitter', serif;
    margin-top: 50px;
    border: none;
}

#JOINTindex .JOINTcontent {
    margin-top: 150px;
}

#JOINTindex p {
    font-size: 16px;
    color: #ffffff;
}

.btn a {
    background-color: #1260c7;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Bitter', serif;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    border-radius: 10px;
    border: 3px solid #726a60;
}

.btn a:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #1260c7;
}

.btnY a {
    background-color: #f3083b;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Bitter', serif;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    border-radius: 10px;
    border: 3px solid #726a60;
}

.btnY a:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #f3083b;
}

.btnGoPro a {
    background-color: #f3083b;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Bitter', serif;
    width: 350px;
    display: block;
    text-align: center;
    line-height: 50px;
    margin-top: 20px;
    border-radius: 10px;
    border: 3px solid #726a60;
}

.btnGoPro a:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #f3083b;
}

#JOINTindex footer {
    width: 960px;
    margin: 0 auto;
    text-align: center;
    margin-top: 150px;
    background-color: transparent;
}
#JOINTindex {
    background-image: url(../Jimages/bg-index.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
}

#JOINTabout {
    background-image: url(../Jimages/bg-about.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 100% auto;
}

.main-center {
    width: 940px;
    margin: 0 auto;
}

h1 {
    font-family: 'Bitter', serif;
    font-size: 36px;
    border-bottom: 1px solid #cccccc;
}

h2 {
    font-family: 'Bitter', serif;
    font-size: 24px;
}

.icon:before {
    content: "";
    padding-right:  10px;
    border-left: 7px solid #9cb4a4;
}

#JOINTabout .profile-txt {
    width: 540px;
    float: left;
}

#JOINTabout .profile-txt span {
    font-weight: bold;
}

#JOINTabout .profile-image {
    float: right;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

section {
    margin-bottom: 35px;
}

#JOINTabout .career th {
    width: 240px;
    background-color: #f0f0f0;
    padding: 12px 0;
    border: 1px solid #cccccc;
}

#JOINTabout .career td {
    width: 660px;
    padding: 12px 0 12px 40px;
    border: 1px solid #cccccc;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

#JOINTindex #wrap {
    background-color: transparent;
    margin-top: 0;
    padding: 0;
}

#JOINTportfolio {
    background-image: url(../Jimages/bg-portfolio.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    block-size: 100% auto;
}

.main {
    width: 700px;
    margin: 0 10px;
    float: left;
}

.sidebar {
    width: 200px;
    margin: 0 10px 0 30px;
    float: right;
    font-family: 'Bitter', serif;
}

a img:hover {
    opacity: 0.8;
}

.sidebar h2 {
    margin-bottom: 10px;
}

.sidebar ul {
    font-size: 16px;
    margin-left: 20px;
}

.sidebar ul a {
    color: #333333;
}

#JOINTperspective {
    background-image: url(../Jimages/bg-perspective.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 100% auto; 
}

#JOINTperspective .Perspective-list li {
    float: left;
    list-style: none;
    margin: 0 20px 15px 0;
}

#JOINTperspective .Perspective-list li:nth-child(3n){
    margin-right: 0;
}

#JOINTprocess {
    background-image: url(../Jimages/bg-process.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: 100% auto;
}

#JOINTprocess .time th {
    width: 100px;
    background-color: #f0f0f0;
    padding: 12px 0 12px 0px;
    border: 1px solid #cccccc;
}

#JOINTprocess .time td {
    width: 400px;
    padding: 12px 0 12px 10px;
    border: 1px solid #cccccc;
}

.ZZZ:before {
    content: "";
    padding-right:  10px;
    border-left: 7px solid #9cb4a4;
}

.ZZZ {
    margin-top: 50px;
}

#JOINTindex h1 {text-shadow: 2px 3px 5px #141414;
}

#JOINTindex p {text-shadow: 1px 2px 3px #141414;
}

#JOINTperspective #price th {
    width: 120px;
    background-color: #f0f0f0;
    padding: 6px 0;
    border: 1px solid #cccccc;
}

#JOINTperspective #price td {
    width: 90px;
    padding: 12px 0 12px 20px;
    border: 1px solid #cccccc;
}



@media screen and (max-width:600px) {
/*画面サイズが600px以下の場合に適用*/ 

   body {
       font-size: 2vw;
   }

   h1 {
       font-size: 4.5vw;
   }

   h2 {
       font-size: 3vw;
   }

   header {
       width: auto;
       margin: 0 5%;
   }

   .logo {
       float: none;
       margin-top: 60px;
       text-align: center;
   }

   .JOINT-nav {
       float: none;
       margin: 0 auto;
       margin-top: 5px;
       font-size: 1vw;
       text-align: center; 
}

   .JOINT-nav li {
       display: inline;
       float: none;
       margin: 0 8px;
       text-align: center; 
   }

   #wrap {
       margin-top: 40px;
       padding: 35 0 0;
   }

   .JOINTcontent {
       width: 100%;
   }

   .JOINTprocess {
       width: 100%;
   }


   
   .main {
       float: none;
       width: auto;
       margin: 0 5%;
   }

   .main-center {
    float: none;
    width: auto;
    margin: 0 5%;
}

   h2 img {
       max-width: 100%;
   }

   .time img {
       max-width: 100%;
   }

   .sidebar {
       width: auto;
       float: none;
       margin: 0;
   }  

   #JOINTabout .career th {
       width: 100px;
       background-color: #f0f0f0;
       padding: 12px 0;
       border: 1px solid #cccccc;
   }

   #JOINTabout .career td {
       width: 300px;
       padding: 12px 0 12px 40px;
       border: 1px solid #cccccc;
   }

   .JOINTcontent {
       width: auto;
       margin: 0 auto;
   }

   #JOINTindex footer {
    width: auto;
   }

   #JOINTindex h1 {
    font-size: 9.5vw;
   }

   #JOINTindex p {
    font-size: 3vw;
    color: #ffffff;
   }

   .btn a {
    margin: 0 auto;
   }

   .btnY a {
    margin: 0 auto;
   }
  

}

