/*iphone*/
@media only screen and (max-width:480px) {
    
}
/*tablet*/
@media only screen and (min-width:481px) and (max-width:768px) {
    
}
/*iphone&tablet*/
@media only screen and (max-width:968px) {
    
}

/*全体共通*/
body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #181619;
}

/*ヘッダー*/
header {
    color:#ffffff;
}

header .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
    padding: 20px 0;
}

header .logo {
    font-size: 24px;
    font-weight: 700;   
}
header nav ul {
    display: flex;
}
header nav ul li {
    margin-left: 50px;
}
header nav ul li a {
    transition: 0.2s;
}
header nav ul li a:hover {
    transition: 0.2s;
    opacity: 0.6;
}
@media only screen and (max-width:968px){
    header .row {
    display: block;
    }
    header nav ul {
    justify-content: space-between;
    margin-top: 20px;
}
    header nav ul li {
    margin-left: 0px;
}
}


@media only screen and (max-width:968px){
    
    #header.active {
    background-color: #181619dc;
}

/*非アクティブ*/
header #menu {
    width: 32px;
    height: 28px;
    cursor: pointer;
    z-index: 30;
}
header #menu span {
    width: 40px;
    height: 3px;
    display: block;
    background-color: grey;
    border-radius: 2px;
    position: absolute;
    right:30px;
    transition: 0.2s;
}
header #menu span:first-child {
    top:15px;
}
header #menu span:nth-child(2) {
    top:30px;
}
header #menu span:last-child{
    top:45px;
}
header nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #181619;
    z-index: 20;
    opacity: 0.2;
    visibility: hidden;
    transform: translateX(100%);
    transition-property: all;
    transition-duration: 0.2s;
}

header nav ul li a{
    background-color: ;
    display: block;
    margin-bottom: 16px;
}

    .active #menu span:first-child{
    top: 12px;
    transform: rotate(45deg);
}

.active #menu span:nth-child(2){
    opacity: 0;    
}

.active #menu span:last-child {
    top: 12px;
    transform: rotate(-45deg);
}

.active nav {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}
.active::before {
    content: '';
    position: fixed;
    top:0;
    right: 0;
    background-color: black;
    width: 100%;
    height: 100vh;
    opacity: 0.4;
    z-index: 10;
}
header nav ul {
    flex-direction: column;
}
}

/*アクティブ*/



/*メインビジュアル*/
.main_visual {
    background-image: url('../images/mein.jpg');
    background-size: cover;
    background-position:   center;
    position: relative;
}
.main_visual .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
    height: 680px;
    position: relative;
}
.main_visual h1 {
    font-size: 70px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}
.main_visual p {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.main_visual .title {
    position: absolute;
    bottom: 300px;
    left: 0;
    z-index: 3;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
.main_visual .title.show {
    opacity: 1;
}

.main_visual .purple {
    background-color: #181619;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0.4;
}


@media only screen and (max-width:968px){
    .main_visual h1 {
        font-size: 30px;
}
    .main_visual .container {
    height: 540px;
}
    .main_visual .title {
    position: absolute;
    bottom: 280px;
    left: 0;
    z-index: 3;
}
    
}

/*セクション１*/
.section1 {
    color: #ffffff;
    padding: 80px 0;
}
.section1 .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
}
.section1 .row {
    display: flex;
    justify-content: space-between;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}

.section1 .col {
    width: 48%;
}
.section1 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.section1 h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.6;
}
.section1 .text {
    font-size: 18px;
    line-height: 1.8;
    padding-top: 50px;
    padding-bottom: 50px;
}
.btn {
    font-size: 18px;
    border: solid 1px #ffffff;
    border-radius: 100px;
    display: inline-block;
    width: 270px;
    line-height: 60px;
    text-align: center;
    transition: 0.2s;
}
.btn:hover {
    color: #60188f;
    border: solid 1px #60188f;
    transition: 0.2s;
}
@media only screen and (max-width:968px) {
    .section1 .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }
    .section1 .col {
    width: 100%;
    }
    .section1 h2 {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.6;
    }
    .section1 .text {
    font-size: 16px;
    line-height: 1.6;
    padding-top: 30px;
    padding-bottom: 40px;
    }
}

/* セクション2*/
.section2 {
    color: #ffffff;
    padding: 80px 0;
}
.section2 .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
    transform:translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
.section2 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.section2 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 60px;
}
.section2 .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.section2 .col {
    width: 31%;
    position: relative;
}
.section2 img {
    border-radius: 20px;
}
.section2 h3 {
    font-size: 14px;
    background-color: #181619;
    opacity: 0.8;
    display: inline-block;
    position: absolute;
    bottom: 6px;
    left:50%;
    transform: translateX(-50%);
    padding: 6px 20px;
}
.section2 .center {
    text-align: center;
}



@media only screen and (max-width:968px){
    .section2 .row {
    margin-bottom: 20px;
    flex-wrap: wrap;
}
    .section2 .col {
    width: 100%;
    margin-bottom: 20px;
    margin-left: 7px;
}
    
    
}

/* セクション3*/
.section3 {
    color: #ffffff;
    padding: 80px 0;
}
.section3 .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
}
.section3 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.section3 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
}
.section3 .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.section3 .col {
    width: 48%;
}

.section3 .text {
    line-height: 1.8;
    margin-bottom: 50px;
}
.section3 img {
    border-radius: 20px;
}
@media only screen and (max-width:968px){
    .section3 .row {
    flex-wrap: wrap;

}
   .section3 .col {
    width: 100%;
    margin-bottom: 30px;
}
   .section3 .text {
    font-size: 16px;
   }
}

/*footer*/
footer {
    color: #ffffff;
    text-align: center;
    font-size: 12px;
}
footer .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
    border-top: solid 1px #ffffff;
    padding: 50px 0 20px;
}
footer .logo {
    font-size: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
}
footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
footer ul li {
    font-size: 15px;
    margin: 0 20px;
}
footer ul li a {
    transition: 0.2s;
}
footer ul li a:hover{
    transition: 0.2s;
    opacity: 0.6;
}

/*下層ページ共通*/
.page_main_visual {
    background-image: url('../images/mein.jpg');
    background-size: cover;
    background-position:   center;
    position: relative;
}
.page_main_visual .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
    height: 300px;
    position: relative;
}
.page_main_visual h1 {
    font-size: 40px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
}
.page_main_visual p {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}
.page_main_visual .title {
    position: absolute;
    top:35%;
    left: 45%;
    z-index: 3;
    text-align: center;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}   
.page_main_visual .purple {
    background-color: #181619;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0.4;
}
@media only screen and (max-width:968px){
    .page_main_visual .title{
        width: 100%;
    }
    .page_main_visual .title {
    position: absolute;
    top:35%;
    left: 2%;
    }
}


/*会社概要セクション1*/
.company_section1 {
    color: #ffffff;
    padding: 80px 0;
}
.company_section1 .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
}

.company_section1 .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
.company_section1 .col {
    width: 48%;
}

.company_section1 img {
    border-radius: 20px;
}

.company_section1 table {
    width: 100%;

}
.company_section1 table tr {
    padding: 20px 0;
    display: block;
    border-bottom: solid 1px #ffffff;
    line-height: 1.5;
}
.company_section1 table th {
    width: 150px;
} 

.section2 .container{
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
@media only screen and (max-width:968px){
    .company_section1 .row {
    flex-wrap: wrap;

}
    .company_section1 .col {
    width: 100%;
    margin-bottom: 30px;
}
    .company_section1 table th {
    width: 90px;
}
    .section2 iframe {
        margin-left: px;
    }
}

/* 事業内容セクション1*/
.service_section1 {
    color: #ffffff;
    padding: 80px 0;
}
.service_section1 .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
}
.service_section1 .sub_title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
.service_section1 h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
}
.service_section1 .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
.service_section1 .col {
    width: 48%;
}

.service_section1 .text {
    line-height: 1.8;
    margin-bottom: 50px;
}
.service_section1 img {
    border-radius: 20px;
}
@media only screen and (max-width:968px){
    .service_section1 .row {
    flex-wrap: wrap;

}
   .service_section1 .col {
    width: 100%;
    margin-bottom: 30px;
}
}

/* お問い合わせセクション1*/
.contact_section1 {
    color: #ffffff;
    padding: 80px 0;
    transform: translateY(20px);
    transition: 5s ease;
    opacity: 0;
}
.contact_section1 .container {
    width:90%;
    margin: 0 auto;
    max-width: 1280px;
}