/* 共通事項 */

/*基準を1rem=10pxに設定*/
html {
    font-size: 62.5%;
}

body{
    font-family: "メイリオ", sans-serif;
    cursor: auto;
    min-width: 360px;
    height: auto;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}

input, text{
    font-family: inherit;
}

/*　aタグの下線を無効　*/
a {
	color:inherit;
	text-decoration: none;
}

a.disabled{
    pointer-events: none;
}

/*　liタグのマークを無効　*/
li {
    list-style-type: none;
}

/* ヘッダ領域を設定 */
header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
	background-color: white;
	z-index: 300;
    border-bottom: 2px #f6f4f4 solid;
    /* overflow: auto; */
}

.header-inner {
    display: flex;
    width: 99%;
    margin: 0 auto;
    align-items: center;
}

/* タイトルのスタイル */
.header-title {
	display: inline;
    position: relative;
    height: 100%;
    padding: 0;
    text-align: left;
    /* align-items:center; */
    /* vertical-align:top; */
    white-space: nowrap;
} 
/* Qualia Logo */
.header-title img {
	width:180px;                                   
 	height:64px;
    vertical-align:bottom;
}

/* クオリア株式会社 */
.header-title a {
    font-size: 2.2rem;
}
   
/* 各メニューリストのスタイル */
.header-menu {
    display: flex;
    width: 99%;
    height: 100%;
    white-space: nowrap;
}
/* ul　メニューリストの配置  */
.header-menu_list {
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: flex-end;
}

/* li　各メニューリストのスタイル */
.header-menu_item {
    display: block;
    padding: 0 1.6rem;
    text-align: center;
    font-weight: 500;
    line-height: 2.5;
    border-left: 1px solid #d8d6d6;
}

/* :hover擬似クラス（マウスが乗った時にスタイルを指定） */
.header-menu_item:hover{
    color:#00f ;
}

/* :last-child擬似クラス（一番最後の子要素にスタイルを指定） */
.header-menu_item:last-child {
    border-right: 1px solid #d8d6d6;
}

/* li　各メニューリストのスタイル */
.sub-menu {
    position: relative;
}

.header-menu_list02, .header-menu_list03{
    display: none;
    position: absolute;
    top: 3.0rem;
    left: 0;
    padding: 8px 5px;
    /* text-align: center; */
    color: #000;
    line-height: 1.6;
    cursor: pointer;
    border-radius: 5px;
    background-color: #f6f4f4;
}

.header-menu_list02 {
    width: 90%;
}
.header-menu_list03 {
    width: 180%;
}

.sub-menu:hover .header-menu_list02, .sub-menu:hover .header-menu_list03{
    display: block;
}

.header-menu_list02 li{
    display: block;
    position: relative;
}

/* :hover擬似クラス（マウスが乗った時にスタイルを指定） */
.header-menu_list02 li a:hover, .header-menu_list03 li a:hover{
    font-weight: 500;
    color:#00f;
}

/* ハンバーガーメニュー */
#sp-menu_check, .sp-menu_box {
    display: none;
}

.sp-menu_box {
    position: absolute;
    top: 0;
    right: 0;
    height: 75px;
    width: 75px;
    z-index: 250;
    background: #3584bb;
}

.sp-menu_box span,
.sp-menu_box span:before,
.sp-menu_box span:after {
    content: "";
    height: 2px;
    width: 30px;
    border-radius: 2px;
    background: #ffffff;
    position: absolute;
}
.sp-menu_box span:before {
    bottom: 12px;
}
.sp-menu_box span:after {
    top: 12px;
}

#sp-menu_check:checked ~ .sp-menu_box span {
    background: rgba(255, 255, 255, 0);
}
#sp-menu_check:checked ~ .sp-menu_box span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#sp-menu_check:checked ~ .sp-menu_box span::after {
    top: 0;
    transform: rotate(-45deg);
}

#sp-menu_check:checked ~ .sp-menu_content {
    left: 0;
}

.sp-menu_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    background-color: #92cbf3;
    transition: all 0.5s;
    font-size: 1.5rem;
}
.sp-menu_list {
    margin: 100px 15%;
    padding-top: 5px;
    padding-left: 0px;
}
.sp-menu_item {
    padding: 10px;
    border-bottom: solid 1px #ffffff;
}
.sp-menu_list02{
    padding-top: 5px;
    padding-left: 20px;
}
.sp-menu_link {
    display: block;
    box-sizing: border-box;
}
 
.sp-menu_link:hover{
    background-color: #C2EEFF	;
}
.sp-menu_title{
    display: block;
    position: relative;
    margin: 60px 15%;
}
.sp-menu_title img{
    width:135px;                                   
    height:48px;
    vertical-align:bottom;
}
.sp-menu_title a {
    font-weight: 500;
    white-space: nowrap;
}

/* 画面幅が 941px以上の場合 */
@media screen and (min-width: 941px) {
    .sp-menu{
        display: none;
    }
}

/* 画面幅が 940px以下の場合 */
@media screen and (max-width: 940px) {
    .sp-menu_box {
        display: flex;
        justify-content: center;
        align-items: center;    
    }  
    .sp-menu_content {
        display: block;
    }
    .footer-menu{
        display: none;
    }
    .header-menu{
        display: none;
    }
}

/*　footerのスタイル　*/
footer {
    display: block;
    position: relative;
    width: 100%;
    top: 76px;
    bottom: 0;
    /* height: auto; */
    background-color: #f6f4f4;
	z-index: 200;
    white-space: nowrap;
    /* overflow: auto; */
}

.footer-1 {
    display: flex;
    position: relative;                 
    width: 100%;
    text-align:left;
	padding: 20px 0 0;
    font-size: 1.5rem;
}

.footer-1 img{
 	width:100px;                                   
	height:32px;
    margin: 0;                                 
}

/*　footerタグのa、pタグのスタイル　*/
.footer-1 p{
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 2.1;
}

/* nav　各メニューリストのスタイル */
.footer-menu{
    width: 100%;
    height: 100%;
}

/* ul　メニューリストの配置  */
.footer-menu_list {
    display: flex;
    position:relative;
    height: 100%;
    margin: 0 auto;
    justify-content:flex-end;
    font-size: 1.4rem;
    padding-right:20px;
}
.footer-menu_list>li{
    padding-left:30px;
}

.footer-menu_list>li>a{
    font-weight: 500;
}

.footer-menu_list02{ 
    padding-top: 5px;
    padding-left: 0px;
    font-size: 1.3rem;
}

/* :hover擬似クラス（マウスが乗った時にスタイルを指定） */
.footer-menu_list>li>a:hover, .footer-menu_list02>li>a:hover{
    color:#0000ff ;
}

.footer-2 {
    margin: 60px auto 20px;
    text-align: center;
}

.footer-2 p{
    font-size: 1.0rem;
}

/*　mainのスタイル　*/
main{
    position:relative;
    top: 76px;
    bottom: 0;
}

/* Top画面 */
.main_top{
    position: relative;
    height: 640px;
    max-height: 640px;
}

.main_top img{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: change-img-anim 50s infinite;
}

.top_msg{
    position: relative;
    margin: 40px 10px;
    padding-left: 20px;
    font-size: 1.6rem;
    line-height: 2.0; 
}

.main_top img:nth-of-type(1) {
    animation: change-img-anim-first 50s infinite;
    animation-delay: 0s;
}
.main_top img:nth-of-type(2) {
    animation-delay: 10s;
}
.main_top img:nth-of-type(3) {
    animation-delay: 20s;
}
.main_top img:nth-of-type(4) {
    animation-delay: 30s;
}
.main_top img:nth-of-type(5) {
    animation-delay: 40s;
}

@keyframes change-img-anim-first {
  0%{ opacity: 1;}
  15%{ opacity: 1;}
  25%{ opacity: 1;}
  30%{ opacity: 0;}
  100%{ opacity: 0;}
}

@keyframes change-img-anim {
  0%{ opacity: 0;}
  15%{ opacity: 1;}
  25%{ opacity: 1;}
  30%{ opacity: 0;}
  100%{ opacity: 0;}
}

.main_top_texts{
    position: absolute;
    color: white;
    font-size:2.4rem;
    bottom: 10px;
    right: 20px;
    text-align: right;
    opacity: 0;
    animation: change-text-anime 50s infinite;
}

.main_top div:nth-of-type(1) {
    animation-delay: 0s;
}
.main_top div:nth-of-type(2) {
    animation-delay: 10s;
}
.main_top div:nth-of-type(3) {
    animation-delay: 20s;
}
.main_top div:nth-of-type(4) {
    animation-delay: 30s;
}
.main_top div:nth-of-type(5) {
    animation-delay: 40s;
}

@keyframes change-text-anime {
    0%{ opacity: 0;}
    22%{ opacity: 1;}
    28%{ opacity: 0;}
    100%{ opacity: 0;}
}
  
/*　Top画面以外　*/
.main_title{
    position: relative;
    top: 0;
    height: 270px;
}

.main_title p{
    position: absolute;
    color: #ffffff;
    font-size:2.4rem;
    top: 0px;
    left: 30px;
}
.col_bk{
    color: #000!important;
}

.main_title img{
    width: 100%;
    height: auto;
}

.main_inner {
    position: relative;
    height: auto;
    background-color: white;
    padding: 0 0 80px;
    z-index: 100;
}

/* 会社概要 */
.profile {
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}

.main_title2 {
    position: relative;
    text-align:center;
    font-size:2.2rem;
    color:#00f;
    line-height: 1.5;
    letter-spacing: 0.2em;
}

.profile dl, .recruit dl{
    position: relative;
    font-size: 1.5rem; 
    line-height: 1.5;     
    border-top: 1px solid #d5d6e5;
    margin: 0;
    padding: 10px;
}

/* .profile>dl:last-child, .recruit dl:last-child, .biz_results dl:last-child{
    border-bottom: 1px solid #d5d6e5;
} */

.profile>dl:last-child, .recruit dl:last-child{
    border-bottom: 1px solid #d5d6e5;
}

/* .profile dt,dd, .recruit dt,dd, .biz_results dt,dd{
   display: table-cell; 
   vertical-align: middle;

} */
.profile dt,dd, .recruit dt,dd{
    display: table-cell; 
    vertical-align: middle;
 
 } 
.profile dt, .recruit dt{
    padding-left: 10px;
    width: 110px;
}

.profile dd{
    padding-left: 10px;
}

 /* 企業理念 */
.policy {
    position: relative;
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
}

.policy_1,.policy_2 {
    position: relative;
    margin: 0 auto 20px;
    padding: 20px 80px;
    background-color: #f2f9fb;
}

.policy_h3, .recruit_h3{
    position: relative;
    top: -10px;
    text-align:center;
    font-size:2.0rem;
    color:#00f;
    line-height: 2.0;
    /* 文字間隔 */
    letter-spacing: 0.2em;
}

.policy_1 p, .recruit p{
    position: relative;
    font-size:1.6rem;
    line-height: 1.5;
}

.policy_2 p {
    position: relative;
    /* font-size:1.4rem; */
    line-height: 1.5;
}

/* アクセス */
.access {
    position: relative;
    width: 600px;
    height: 800px;
    top: 80px;
    bottom: 0;
    margin: 10px auto;
}
.access_title{
    position: relative;
    width: 100%;
    height: 80px;
    margin: 10px auto;
    background-color: white;
}
.access_title p{
    position: relative;
    text-align:center;
    font-size:3.0rem;
    line-height: 2.5;
    color:black;
}
.access iframe {
    position:relative;
    width: 100%;
    height:405px;
    margin: 20px auto;
}

 /* 事業紹介 */
/* .biz_top {
    position: relative;
    width: 70%;
    margin: 0 auto;
    padding: 40px 0;
}
.biz_top_comment {
    position: relative;
    width: 70%;
    margin: 20px auto;
    padding: 40px 0;
}
.biz_top p {
    position: relative;
    font-size:1.6rem;
    line-height: 1.5; 
}
.biz_top_title2 {
    padding-top: 50px;
}
.biz_top_p {
    text-align: center;
}
.biz_top_img {
    width: 80%;
    margin-left: 15%;
} */

/* 開発実績 */
/* .biz_top_results {
    width: 100%;
    height: 1000px;
    background-color:#000033;
    opacity: 0.9;
}
.biz_top_results p{
    text-align:center;
    font-size:2.8rem;
     letter-spacing: 0.2em;
    color: #EEFFFF;
    padding: 50px;
}
.biz_top_results ul{
    position: relative;
    width: 70%;
    margin:10px auto;
}
.biz_top_results>ul>li {
    position: relative;
    padding: 10px 30px;
    text-align: left;
    line-height: 1.2;
    list-style-type: square;
    padding-left: 0;
    color: white;
} */

/* 事業紹介 */
.biz_results_title{
    position: relative;
    width: 100%;
    margin: 160px auto 60px;
    text-align:center;
}
.biz_results_title p{
    position: relative;
    font-size:3.0rem;
}
.biz_results{
    position: relative;
    width: 90%;
    height: 940px;
    margin: 0px auto 50px;
}
.biz_results1 {
    position: relative;
    width: 49%;
    height: 100%;
    margin-left: 0;
}
.biz_results1 img{
    position: absolute;
    width: 100%;
    height: 100%;
}
#biz_img2{
    opacity: 0;
}
.biz_results1 p{
    position: absolute;
    margin: 180px 50px;
    font-size:1.5rem;
    z-index: 10;
}

.biz_results2 {
    position: absolute;
    top: 0px;
    right: 0;
    width: 49%;
    height: 100%;
    background-color:#669900;
}

.biz_results2 p{
    position: relative;
    text-align:center;
    font-size:2.0rem;
    letter-spacing: 0.2em;
    color: #EEFFFF;
    margin: 0;
    padding: 30px 0 20px;
}

.biz_results2 ul{
    position: relative;
    width: 80%;
    margin:10px auto;
}

.biz_results2>ul>li {
    position: relative;
   padding: 10px 30px;
    text-align: left;
   line-height: 1.4;
    list-style-type: square;
    padding-left: 0;
    color: white;
}

/* 開発事例 */
/* .biz_example {
    position:relative;
     height: 200px;
    margin: 0 auto;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #242E8A;
}
.biz_example img{
    width: 100%;
    height: 20px;  
} */

 /* 採用情報 */
.recruit, .recruit_voice {
    position: relative;
    width: 70%;
    margin: 0 auto;
    padding: 40px 0;
}
.recruit p{
    line-height: 2.0;
    margin-left: 20px;
}
.recruit_voice div{
    display: flex;
    position: relative;
    margin: 20px 0;
    align-items: center;
    vertical-align: middle;
}
.recruit_voice_left{
    position: relative;
    width: 100px;
    height:100px;
    padding-left: 40px;
}
.recruit_voice_right{
    position: relative;
    width: 100px;
    height: 100px;
    padding-right: 40px;
}
.recruit_voice p{
    position: relative;
    font-size: 1.6rem;
    padding: 0 40px;
}

/*　問い合わせタイトルのスタイル　*/
.contact{
    position: relative;
    width: 620px;
    height: 900px;
    max-height: 1000px;
    top: 80px;
    margin: auto;
}
.contact p{
    font-size: 1.3rem;
    color:#000;
}

.contact_title_in, .contact_title_set{
    position: relative;
    width: 100%;
    height: 90px;
}
.contact_title_in{
    background-color: #242E8A;
    background-color: white;

}
.contact_title_set{
    background-color: white;
}
.contact_title_in p,.contact_title_set p{
    position: relative;
    text-align:center;
    font-size:3.0rem;
    line-height: 3.0;
    color:white;
    color:black;
}
.contact_form{
    position: relative;
    width: 100%;
    height: 600px;
    background:rgb(244, 246, 242) ;
    margin: 20px auto;
    padding: 30px auto;
    line-height: 2.0;
}
.contact_form_in, .contact_form_set {
    display: block;
    position: absolute;
    width: 80%;
    margin: 10px 10%;
}

.contact_in_item, .contact_set_item{
    margin: 20px auto;
}

.contact_in_item label, .contact_set_item label,
.contact_in_item2 label, .contact_set_item2 label{
    display:block;
    color: #242E8A;
	padding-left: 8px;
	border-left: 8px solid #242E8A;
    width: 100%;
}
.contact_in_item input, .contact_set_item input{
    width: 100%;
    height: 20px;
    font-size: 1.6rem;
    font-family: inherit;
}
.contact_in_item textarea, .contact_set_item textarea{
    resize: none;
    width: 100%;
    height: 20px;
    font-size: 1.6rem;
	line-height: 1.2;
    margin-top: 3px;
    font-family: inherit;
}
.contact_in_item2 textarea, .contact_set_item2 textarea{
    resize: none;
    width: 100%;
    height: 200px;
    font-size: 1.6rem;
    margin-top: 3px;
    font-family: inherit;
}
.contact_set_item input, .contact_set_item textarea, .contact_set_item2 textarea{
    background:rgb(244, 246, 242) ;
    color: rgb(46, 46, 46);
    border:2px solid lightgray ;  
}
.contact_form_button input{
    font-size: 1.6rem;
    margin: 20px 20px 20px 2px;
}
.contact_result1,.contact_result2 {
    position: relative;
    width: 100%;
    height: 80px;
    margin: 100px auto;
}
.contact_result1 p {
    font-size: 2.7rem;
    /* text-align:center; */
    text-align: left;
    padding: 0 10%;
}
.contact_result2 p {
    font-size: 1.5rem;
    text-align:left;
    padding: 0 10.2%;
}

/* 以下PC（1142pxより大きくなった場合 */
@media screen and (min-width: 1142px) {
    .profile, .policy, .recruit, .biz_top{
        width: 900px;
    }
    .biz_results {
        width: 1000px;
    }
}

/* ハンバーガーメニュー切り替え時 */
@media screen and (max-width: 940px) {
    .main_top{
        height: 540px;
    }
    .profile, .policy, .recruit {
        width: 90%; 
    }
    .biz_results{
        width: 96%; 
    }
    
}
/* 以下タブレット（770pxより小さくなった場合 */
@media screen and (max-width: 770px) {
    .header-title a {
        font-size: 1.8rem;
    }
    .main_top{
        height: 400px;
    }
    .main_title{
        height: 220px;    
    }
    .access, .contact{
        width: 90%;
    }
    .biz_results_title{
       margin: 120px auto 30px;
    }
    .biz_results_title p{
        font-size: 2.0rem;
    }  
    .biz_results{
        /* height: 1250px;   */
        height: auto;  
    }
    .biz_results1 {
        width: 100%;
        height: 360px;
        margin-bottom: 20px;
    }
    #biz_img1{
        opacity: 0;
    }
    #biz_img2{
        opacity: 1;
    }
    .biz_results1 p{
        margin: 20% 10%;
    }
    .biz_results2 {
        position: relative;
        top:0;
        width: 100%;
        height: auto;
        padding-bottom: 20px;
        margin-bottom: 50px;
    }

    .contact_in_item label, .contact_set_item label,
    .contact_in_item2 label, .contact_set_item2 label{
        line-height: 1.2;
    }

    .contact_in_item textarea, .contact_set_item textarea{
        height: 40px;
    }
}

/* 620pxより小さくなった場合 */
@media screen and (max-width: 620px) {
    .main_title{
        height: 180px;    
    }
}
/* 以下スマホ（430pxより小さくなった場合 */
@media screen and (max-width: 430px) {
    .header-title img {
        width:170px;                                   
        height:54px;
    }   
    .header{
        height: 60px;
    }
    .header-title a {
        font-size: 1.4rem;
    }
    .sp-menu_box{
        height: 60px;
        width: 60px;          
    }
    .main_top{
        height: 260px;
    }
    .main_top_texts{
        font-size: 1.6rem;
    }
    .top_msg{
        font-size: 1.4rem;
        line-height: 1.6;       
    }
    .main_title{
        height: 150px;    
    }    
    .profile, .policy {
        width: 98%;
    }
     .biz_results1 p, .biz_results2>ul>li{
        font-size:1.2rem;
    }
    .biz_results2 p{
        font-size:2.0rem;
    }

}