/* すべてのページに適用される設定 */
html {
    font-size: 16px;
    font-family: sans-serif;
}

body {
    margin: 0;
}

* {
    box-sizing: border-box;
}

main {
    margin: 50px auto 200px;
    padding: 0;
    max-width: 1000px;
}


section {
    
    margin: auto 30px;
    
}

.businessbody img{
    width: 400px;
    height:400px;
}



a:link {
    color: #0c0c0c;
    text-decoration: none;
}
a:visited {
    color: #040404;
    text-decoration: none;
}
a:hover {
    color: #F07D34;
    text-decoration: underline;
}
a:active {
    color: #f69a16;
    text-decoration: underline;
}

/* すべてのページに適用 ヘッダーに適用 */
.header{
    padding-top: 40px;
    max-width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    

}

.nav ul{
    display: inline;
    margin: auto 0;
    padding: auto 0;
}



.facio_logo img {
    width: 70px;
    height:60px;
    padding: 0;
    margin: 0;
}

.logoname {
    font-size: 1.8rem;
    line-height: 1.5rem;
    padding:5px 0;
    margin: 0;
}

.facio_logo {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}

.nav{
 padding: 0;
 margin: 0;
 
}



.nav ul{ 
    font-size: 18px;
    font-weight: bold;
    list-style: none;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin: 30px 0 0 130px;
    letter-spacing: 1px;
    
}


.logo_nav{
    display: flex;
    justify-content: flex-start;
    gap:100px;
    padding:10px 0;

}



.miraivalue{
    font-size: 3.2em;

}
/*ヘッダーここまで*/



.newslist ul{
    text-align: center;
    list-style: none;
    border: 1px solid #000;
    margin: 0 250px;
    padding: 40px;
    line-height: 50px;
    
}

.newslist {
    margin :0 0 80px 0
}



.borderone {
    font-size: 3rem;
    text-align: center;
   
}


h1 {
    font-size: 2.1em;
    letter-spacing: 3.5px;
    
}

.catch_copy p {
    font-size: 1.4em;
    display: inline;
    
    
}






h2,h3{
    text-align: center;
    line-height: 30px;


}

h2 {
    font-size: 3.0em;
    letter-spacing: 4px;
    
}

h3 {
    font-size: 1.5em;
    letter-spacing: 4px;
    
}

#news {
    margin: 0 0 50px 0;
}



#business{
    margin: 0 0 40px 0;
}

#company_profile{
    margin: 0 0 40px 0;
}


.parent img{
    max-width: 100%;
    padding: 0;
}


    

#business img{
    width: 400px;
    height: auto;
}

/* concept */

#concept {
    margin: 0 0 40px 0;

}

.concepttext {
    display: flex;
    align-items: center;
    background-color: #f69a16;
    margin: 0 0 80px 0;
    
    
   
}

.concepttext img{
    width : 500px;
    margin: 50px;
    
}

.conceptp {
   background-color: #ffffff;
   width: 380px;
   padding: 30px;
   position: absolute;
   top: 20px;   
   right: 10px;  
   

}


.cimg {
    position: relative;

}

.cp {
    position: absolute;
  top: 60px;   /* 親要素の上辺から10px */
  right: -250px;  
}






.business_one {
    position: relative;
    margin: 0 0 0 90px
}

.bop {
    position: absolute;
  top: 75px;   /* 親要素の上辺から10px */
  left: -50px;  
  
}





/* business */
.business_one {
    display: flex;
    justify-content: center;
    align-items: center;
    

}

.business_one p {
    font-size: 4em;
    font-weight: bold;
    
}

/*
.boi {
    position: relative; 
}

.bop {
    position: absolute;
    top: 50px;   
    right  50px;  
*/

.businesstext {
    display: flex;
    align-items: center;
    
    justify-content: space-around;
    border: 2px solid #f69a16;
    padding: 50px 0;
    margin: 0 0 70px;
    
}

.chapterone{
    margin: auto 50px;
}

span{
    font-size: 1.5rem;
}



.business_two {
    position: relative;
    margin: 0 50px 0 90px
}

.boop {
    position: absolute;
  top: 75px;   /* 親要素の上辺から10px */
  left: -50px;  
  
}


.business_two {
    display: flex;
    justify-content: center;
    align-items: center;
}

.business_two p {
        font-size: 4em;
        font-weight: bold;
        padding: 0;
        
    }

.businesstext_two {
    display: flex;
    align-items: center;
    
    justify-content: space-around;
    background-color: #f69a16;
    padding: 50px 0;
    margin: 0 0 70px;

}

.chaptertwo{
    margin: auto 50px;
}


.business_three {
    position: relative;
    margin: 0 0 0 90px;
}

.booop {
    position: absolute;
  top: 75px;   /* 親要素の上辺から10px */
  left: -50px;  
  
}
.business_three p {
    font-size: 4em;
    font-weight: bold;
    
}

.business_three {
    display: flex;
    justify-content: center;
    align-items: center;
}

.businesstext_three {
    display: flex;
    align-items: center;
    
    justify-content: space-around;
    border: 2px solid #f69a16;
    padding: 50px 0;

}
 .businessbody{
    margin: 0 0 80px 0;
} 

.chapterthree{
    margin: auto 50px;
}

/* top */

.parent {
    position: relative; /* 子要素がこれを基準に動くためのホームベース！ */
    width: 100%; /* 固定幅をやめる */
    max-width: 1000px; /* 最大幅を指定 */

  }
 
  .absolute-box {
    position: absolute;
    top: 200px;   /* 親要素の上辺から10px */
    left: 30px;  /* 親要素の右辺から10px */
    font-size: 16px;
    color: #ffffff
    ;
  }



  .wrap{
    display: flex;
    align-items: center;
    
    justify-content: space-around;
    
    flex-direction: row;
}

.businessbody > div:nth-child(even) .wrap
/*.wrap:nth-child(even) */{
    flex-direction: row-reverse;

}





/* テーブル */
.table_info td, .table_info th{
    border: 1px solid #dbdbdb;
    padding: 20px;
    
}

.table_info th {
    white-space: nowrap;
    background-color: #f69a16;
}

.table_info {
    border-collapse: collapse;
    margin : 0 0 100px 0;
}

.table_info {
    width: 100%;
}

#company_profile {
    margin: 0 0 40px 0;
}

.contactbtn {
    background-color: crimson;
    border-radius: 60px;
    text-align: center;
    margin: 0 330px 100px;
    padding: 20px;
    color: #ffffff;
    font-size: 1.4em;
    font-weight: bold;
}

.contactbt:visited {
    color:#ffffff;
}
    
.contactbt:hover {
    color: #F07D34;
    
}
.contactbt:active {
    color: #F07D34;
    text-decoration: underline;
}


/* フッターに適用　*/

footer {
    background-color: #f69a16;
    
    margin: 0 auto 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 600px;
    padding: 20px;
}

.endline {
    font-size: 1.5em;
    font-weight: bold;

}
 
.footercontact {
    background-color: crimson;
    color: #ffffff;
    margin: 0 0 80px 0;
}

/* topbtn */
.gotop {
    text-align: right;
    
    
}



/*.businesstext:nth-child(even) {
    flex-direction: row-reverse;
}

/* contact.html */

form {
    margin: 0 auto;
    max-width: 640px;
}

select {
    padding: 8px;
    font-size: 1rem;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
}

input[type="text"], textarea {
    width: 100%;
    padding: 9px;
    font-size: 1rem;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
}

textarea {
    height: 140px;
}

.submit {
    text-align: center;
}

input[type="submit"] {
    width: 200px;
    padding: 20px;
    border: none;
    /*background-color: #253958;*/
    background-image: linear-gradient(to bottom,crimson);
    color: #fff;
    font-size: 1rem;
    border-radius: 40px;
    cursor: pointer;
    margin: 100px 0 0 0;
}

input[type="submit"]:hover {
    background-image: linear-gradient(to bottom, rgb(239, 66, 98), crimson);
}

.action {
    text-align: left;
    line-height: 4;
    margin: 80px 10px 100px;

}


/* design.html   items.html */

