html {
    font-size: 62.5%;
  }
  body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    font-family: "Meiryo", "游ゴシック", "Montserrat";
    font-weight: 500;
    background-color: #F0F0F0;
}
img {
    width: 100%;
}
.header_box {
    height: 80px;
}
.header_flex h1 {
    margin: 16px 0 0 50px;
    font-weight: 500;
    font-size: 3.2rem;
}
.menu_botton {
    margin-top: 40px;
}
/* body {
    width:1000px;
} bodyにwidthをつけたら右側に変な余白ができた*/
.menu_botton {
    margin-top: 33px;
}
#menu_botton a {
color: #333;
list-style: none;
}
#menu_botton ul {
    display: flex;
    position: right;
}
#menu_botton li {
    margin-right: 20px;
}
.btn {
    color: #fff;
    display: inline-block;
    margin: 30px 68px;
}
.btn:hover {
    background-color: #333;
}
.action_botton {
    background-color: #333;
    width: 200px;
    height: 80px;
    display: inline-block;
    line-height: 28px;
    text-align: center;
    /*インラインブロックにして、ブロック要素とインライン要素の
    性質を持たせることで動かすことができる */
}
.header_pic {
    width: 100%;
}
.header_flex {
    display: flex;
    justify-content: space-between;
}
.news {
    margin: 0 auto;
    width: 1000px;
}
.news_group {
    display: flex;
}
.news_mark {
    background-color: #333;
    color: #fff;
    width: 50px;
    height: 20px;
    display: inline-block;
    line-height: 20px;
    font-size: 0.75rem;
    text-align: center;
    margin-left: 40px;
}
/*上　四角の中に文字が入る記述 */
.news_list {
    display: flex;
}
.news_list li {
width: calc(100%/3);
 /* 横幅を３等分する */
border-right: solid 1px #000;
padding: 10px 20px;
}
.news_list li:last-child {
    border-right: none;
}
.title_news,.title_about,.title_business,.title_company {
    margin-top: 133px ;
    margin-bottom: 20px;
    font-size: 3.6rem;
    letter-spacing: 6.3px;
}
.title_small {
    position: relative;
}
.title_small::after {
position: absolute;
content: "";
width:20px;
height: 1px;
color: #333;
}
/*
  疑似要素を使って下線を引く
  */
.title_small {
    font-weight: normal;
    line-height: 1;
    margin-bottom: 50px;
    position: relative;
}
.title_small:after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #000;
    display: block;
    position: absolute;
    top: 40px;
}
.about {
    margin: 0 auto;
    width: 100%;
}
.about_flex {
    display: flex;
}
.about_pic {
    margin-top: 133px;
    height: 400px;
}
.about_text_box {
    margin: 200px 95px 0 70px;
}
.business {
    margin: 0 auto;
    width: 1000px;
    padding: 0 184px 0 184px;
}
.business_big_flex {
    display: flex;
    justify-content: space-between;
}
.business_flex1,.business_flex2 {
    display: flex;
    flex-direction: column;
}
.business_text {
    margin-bottom: 20px;
}
.title_business {
    margin-bottom: 10px;
}
.margin_flex2 {
    margin-left:30px;
}
.business_flex1 {
    margin-top: 100px;
    margin-right: 20px;
}
.business_pic {
    margin-bottom: 50px;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
.text_group {
    background-color: #fff;
    width: 50%;
    padding: 0px 8% 100px 6%;
    margin-top: 100px;
}
.text_info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.text_info dt {
    margin-right: 40px;
    width: 20%;
}
.text_info dd {
    width: 80%;
}
.company_flex {
    height: 750px;
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1032px;
    padding: 0 16px;
    margin: 0 auto;
}
.company_pic {
    width: 53%;
    position: absolute;
    top: 115px;
    right: 0;
}
.company_pic img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/*.company_text_all {
    position: absolute;
    width: 55%;
    background-color: #fff;
}
.company_flex_all {
    display: flex;
}
.company {
    position: relative;
}
.company_pic {
    width: 53%;
    position: absolute;
}
.company_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* .company {  
height: 750px;
display: flex;
align-items: center;
position: relative;
}
.company_text {
width: 55%;
background-color: #fff;
padding: 100px,8%,100px,6%;
position: absolute;
top: 0;
left: 0;
}
.company_pic {
width: 53%;
position: absolute;
top: 115px;
right: 0;
}
.company_pic img {
width: 100%;
height: 400px;
object-fit: cover;
}
.company_text {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.company_text dt {
    width: 20%;
    margin-top: 10px;
}*/

.footer {
margin: 0 auto;
padding: 0 184px 0 184px;
height: 209px;
background-color: #fff;
margin-top: 200px;
}
.footer small {
text-align: center;
}
.footer_flex {
display: flex;
justify-content: space-between;
padding-top: 60px;
}
.footer_text {
font-size: 1.4rem;
}
small {
font-size: 1.2rem;
}
.logo {
width: 120px;
}
@media (max-width: 900px) {
.action_botton {
display: none;
}
#menu_botton li {
font-size: 13px;
}
.header_flex {
flex-direction: column;
margin-left: 30px;
}
.header_flex h1 {
margin: 0;
}
.title_about {
margin-top: 0px;
}
.about_flex {
flex-direction: column;
}
.about_text_box {
margin: 0 30px;
}
.about_pic {
    height: 240px;
}
.menu_botton {
margin-top: 0;
}
.news {
width: 100%;
padding: 0 30px;
}
.news_list {
flex-direction: column;
}
.news_list li {
border-right: none;
width: fit-content;
margin-bottom: 10px;
}
.news_text_box {
padding: 0 30px;
}
.news_text {
margin-top: 14px;
}
.business {
width: 100%;
padding: 0 30px 0 30px;
}
.business_big_flex {
flex-direction: column;
}
.business_flex1 {
    margin-right: 0px;
}
.business_text {
    font-weight: 600;
}
.title_business {
    margin-top: 80px;
}
.company {
width: 100%;
padding: 0 30px;
}
.company_flex {
    display: block;
    position: static;/*絶対配置を解消していく*/
    height: auto;
}
.company_pic {
    position: static;/*絶対配置を解消していく.これがあるとflexが解消される*/
    width: 100%;
}
.text_group {
    padding: 40px 20px;
    margin-bottom: 20px;
    width: 100%;
}
.footer {
height: auto;
padding-bottom: 20px;
padding: 0 30px 20px 30px;
}
.footer_flex {
flex-direction: column;
}
.footer_flex dl {
display: inline;
}
.footer_text {
margin: 17px 0 17px 0;
}
}
