@charset "UTF-8";

:root{
  /* --color: #4c4c4c; */
  --color: #222222;
  --headercolor: #000;
}

/*hero------------------------------------------------------*/
header {
	position: fixed;
}
/*----------------------------------------------------------*/

body .hero .header_bm {
    width: 100%;
    max-width: 1200px;
    padding: 100px 0 50px 0;
    margin: 0 auto;
    color: var(--headercolor);
  }
  body .hero .header_bm .header_bm_left {
    float: left;
    margin-left: 50px; 
    margin-bottom: 70px;
  }
  body .hero .header_bm .header_bm_left p {
    font-size: 15px;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
  }
  body .hero .header_bm .header_bm_left h2 {
    border-left: 1px solid #000;
    padding-left: 40px;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
    font-size: 1.5rem;
    color: var(--color);
  }
  body .hero .header_bm .header_bm_right {
    float: right;
    margin-right: 100px;
  }
  body .hero .header_bm .header_bm_right img{
    width: 100%;
    margin-top: 60px;
  }
  .hero_image img {
    width: 100%;
    height: auto;
  }


  .main_title {
    padding: 100px 0 0 0;
    text-align: center;
  }
  .main_title h4 {
    margin-bottom: 15px;
    font-size: 18px; 
    font-weight: normal;
  }


/*main----------------------------------------------------------*/
.container_wrapper {
    overflow: hidden;
  }
  .container_wrapper .container {
    width: 100%;
    max-width: 900px; 
    text-align: center;
    margin: 0 auto;
  }
  .container_wrapper .container .sec {
    text-align: left;
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
  }
  .container_wrapper .container .sec:nth-of-type(even)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    z-index: -1;
    background-color: #f6f6f6;
  }
  .container_wrapper .container .sec .sec_title h3 {
    text-align: left;
    font-size: 22px;
    letter-spacing: 0.12em;
    padding: 0px 0px 40px 0;
    color: var(--color);
  }
  .container_wrapper .container .sec .sec_title h4 {
    text-align: center;
    font-size: 20px; 
    letter-spacing: 0.15em; 
    line-height: 34px;
    padding: 0px 0px 40px 0;
    color: var(--color);
  }
  .container_wrapper .container .sec .sec_title p {
    font-size: 16px;
    letter-spacing: 2px; 
    line-height: 2rem;
    margin-bottom: 40px; 
    text-align: left;
    font-weight: normal;
  }
  .container_wrapper .container .sec .sec_title img {
    width: 100%;
    margin-bottom: 30px;
  }
  .container_wrapper .container .sec .center {
    text-align: center;
  }
  .container_wrapper .container .sec .container {
    margin-bottom: 50px;
  }
  .container_wrapper .container .sec .container .content .list {
    display: flex;
    /* display:-webkit-box; */
    display:-ms-flexbox;
    justify-content: center;
    -webkit-box-pack: center;
	  -ms-flex-pack: center;
    align-items: center;
    -webkit-box-align: center;
	  -ms-flex-align: center;
  }
  .container_wrapper .container .sec .container .content .list .list_item {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
  }

  .container_wrapper .container .sec .container .content .list .list_item a:nth-child(1){ 
    padding: 10px 10px 10px 0;  
  }  
  .container_wrapper .container .sec .container .content .list .list_item a:nth-child(2){ 
    padding: 10px;
  }  
  .container_wrapper .container .sec .container .content .list .list_item a:nth-child(3){ 
    padding: 10px 0px 10px 10px;
  }  
  .container_wrapper .container .sec .container .content .list .list_item a figure {
    width: 285px;
    height: 285px;
    overflow: hidden;
    cursor: pointer;
  }
  .container_wrapper .container .sec .container .content .list .list_item a figcaption {
    display: block;
    padding: 20px;
  }
  .container_wrapper .container .sec .container .content .list .list_item a figure img {
    width: 100%;
    height: 100%;
    transition: 0.3s ease-in-out;
    margin: 0; 
  }
  .container_wrapper .container .sec .container .content .list .list_item a figure img:hover {
    transform: scale(1.1);
  }
  .container_wrapper .container .sec .contact {
    text-align: left;
    color: var(--color);
  }
  .container_wrapper .container .sec .contact a {
    text-decoration: none;
    color: rgb(125, 125, 125);
  }
  .container_wrapper .container .sec .contact a:hover {
    color: #000;
  }


/* MediaQuery -----------------------------------*/
/* 画面サイズが992px以上に適用*/
@media screen and (min-width: 992px) {
	.br-sp { 
    display: block; /*1012*/
    margin-bottom: 30px;
  }
  .sp{
    display: none; /*1012*/
  }
  .hero {
    width: 100%;
    height: auto;
  }  
  .container_wrapper .container .sec .sec_title h3 {
    padding: 0 60px 60px 0;
  }
  .main_title-sp{  /*1009*/
    display: none;
  }
}

/* 画面サイズが768px以上992px以下に適用*/
@media screen and (min-width: 768px) and (max-width:991.98px){
  .br-sp { 
    display: block;  /*1012*/
    margin-bottom: 30px;
  }  
  .br-pc { 
    display: block; 
  }
  .sp{
    display: none; /*1012*/
  }
  main section {
    display: block;
  }
  .hero {
    width: 100%;
    height: auto;
  }  
  .hero .header_bm .header_bm_left h2 {
    font-size: 1.2rem;
  }
  .container_wrapper .container .sec .sec_title p{
    padding: 0 30px 0 30px; /*1009*/
  }
  .container_wrapper .container .sec .sec_title h3 {
    font-size: 1.3rem;
    text-align: left;
    /* padding: 0 60px 60px 30px; */ /*1009 */
    padding: 0 30px 60px 30px; /*1009*/
  }
  .main_title-sp{
    display: none; /*1009*/
  }
}

/* 画面サイズが768px以下に適用*/
@media screen and (max-width: 767.98px){
  .br-pc { 
    display:none; 
  }
	.br-sp { 
    display: block;
    /* padding-bottom: 30px; 1003変更 */ /*1009*/
    padding: 0 15px 30px 15px !important; /*1003変更*/ /*1009*/
    margin-bottom: 0 !important;
  }
  .nm {
		font-size: .9rem!important;
	}
  .nm-12{
    font-size: 12px!important;
  }
  body .hero .header_bm {
    width: 100%;
    height: 200px;
    padding: 100px 0 0 0 ;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-direction: column;
  }
  .flex1{ 
    order: 2;
  }
  .flex2{ 
    order: 1;
  }
  body .hero_image img{ 
    /* margin-top: 200px; */
    margin-top: 250px; /*1009会社の名前を上に移動*/
  }
  body .hero .header_bm .header_bm_left p {
    line-height: 1.7;
    margin-bottom: 20px;
    margin-top: 50px;
  }
  .main_title {
    padding: 20px 0 0 0 ;
    display: none; /*1009会社の名前を上に移動*/
  }
  .main_title h3{
    font-size: 13px;
  }
  .main_title h4 { /*pc版*/
    font-size: 13px;
    text-align: left; /*1009会社の名前を上に移動*/
  }
  .main_title-sp {
    margin-top: 20px; /*1009会社の名前を上に移動*/
  }
  .main_title-sp h4 { /*sp版*/
    font-size: 13px;
    text-align: left; /*1009会社の名前を上に移動*/
    font-weight: normal;
  }
  .container_wrapper .container .sec {
    padding-bottom: 30px;
  }
  body .hero .header_bm .header_bm_left {
    width: 85%;
    margin: 0 auto;
    position: relative;
  }
  body .hero .header_bm .header_bm_left::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
  }
  body .hero .header_bm .header_bm_left .header_bm_left_inner{
    width: 85%;
    margin-right: 0;
  }
  body .hero .header_bm .header_bm_left h2 {
    width: 100%;
    font-size: 15px;
    padding-left: 20px;
    margin-bottom: 20px!important; 
    line-height: 26px; /*1012*/
  }
  body .hero .header_bm .header_bm_left .date { 
    margin: 0;
  }
  body .hero .header_bm .header_bm_right {
    margin-right: 0px;
    margin: 0 auto;
  }
  .container_wrapper .container .sec .sec_title h3 {
    font-size: 1rem;
    text-align: left;
    padding: 0 15px 30px 15px; /*1009*/
  }
  .container_wrapper .container .sec .sec_title h4{
    font-size: 1rem; 
    text-align: center;
    padding: 0 30px 30px 30px;
  }
  body .hero .header_bm .header_bm_right img{
    max-width: 50px;
    width: 100%;
    margin-bottom: 32px; 
    margin-top: 32px;
  }
  .container_wrapper .container .sec .sec_title p {
      line-height: 1.7;
      padding: 30px 15px 0 15px; /*1003*/ /*1009*/
  }
  .container_wrapper .container .sec .container .content .list .list_item {
    display: grid;
  }
  .container_wrapper .container .sec .container .content .list .list_item a:nth-child(1){ 
    padding: 10px;
  }  
  .container_wrapper .container .sec .container .content .list .list_item a:nth-child(2){ 
    padding: 10px;
  }  
  .container_wrapper .container .sec .container .content .list .list_item a:nth-child(3){ 
    padding: 10px;
  }  
}


/* 1200px以上 */

@media (min-width: 1200px) {
	.logo {
		padding-top: 300px;
	}

	nav {
		max-width: 1200px;
		margin: 0 auto;
		display: block;
	}
	nav ul li a {
		font-size: .9rem;
	}
	.dropdown li {
		font-size: .9rem;
	}
	
	.MainImage {
		width: 790px;
		height: 490px;
		margin-top: 150px;
		margin-right: auto;
	}
	.card {
		width: 100%;
		max-width: 280px;
	}
	.contents-box-6 {
		padding: 0;
		width: 16%;
		text-align: center;
	}
}


/* 1500px以上 */

@media (min-width: 1500px) {
	.toplogo {
		left: 5%;
	}
}