@charset "utf-8";
/* CSS Document */
/* ==========================
下層ページ共通
============================= */

main {
    /*padding: 40px 0;*/
    width: 1100px;
	overflow: hidden;
}

main p {
    line-height: 28px;
}

.contents-box {
  max-width: 880px;
  margin: auto;
  overflow: hidden;
  margin-bottom: 30px;
}
.txt {
    float: left;
    margin-top: 35px;
}
.flex-box {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap:20px;
}



/*=========================================*/


/* maincontents
=========================================*/

.section {
    margin-bottom: 40px;
}

.right-box {
    float: right;
    text-align: left;
    overflow: hidden;
        width: 560px;
}

.left-box {
	width:auto;
}
.left-box img {
    border: 1px solid #ccc;
    padding: 1px;
}




/* 制作実績
=========================================*/
p.txt-link {
    margin-top: 10px;
}
.main-contents .works {
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
}
.works-img {
    margin-right: 0px;
}
.works-cap {
    overflow: hidden;
    width: 515px;
}

.aniversal-list {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 0 auto 50px;
  height: auto;
  gap: 20px;
}

.aniversal-list li {
  width: 235px;
  margin-bottom: 20px;
}

.aniversal-list div {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  width: 235px;
  height: 235px;
  padding: 15px;
  background: #F2EFE1;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.list-title {
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  color: #832120;
  margin-bottom: 20px;
}

.example-box {
  width: 90%;
  margin: auto;
  border: 2px #D6C9A9 solid;
  text-align: center;
  padding: 30px;
  margin-bottom: 80px;
  box-sizing: border-box;
}

.aniversal-list2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 30px auto;
  height: auto;
}

.example-title {
  font-size: 16px;
  font-weight: bold;
  color: #832120;
}

/* スマートフォン */
/* ---------------------------------------- */
@media screen and ( max-width: 767px ){
  .left-box {
    width: auto;
    margin-bottom: 15px;
    margin-top: 5px;
    text-align: center;
    float: none;
}
  .right-box{
    display: block;
    float: none;
    width: 100%;
    height: auto;
    margin-left:0px;
  }
	      .works {
    padding: 30px 5%;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
      box-sizing: border-box;
    }
  .works-cap {
    overflow: hidden;
    float: none;
    width: 100%;
  }
  .works-img {
    float: none;
    margin-right: 0px;
    margin-bottom: 15px;
    text-align: center;
  }
  .txt {
    text-align: center;
  }
    .txt p{
    text-align: left;
  }
  
.aniversal-list {
  flex-direction: column;
  justify-content: center;
  }
  
.aniversal-list li {
  width: 90%;
  margin: 0 auto 20px;
  }
  
  .aniversal-list div {
    width: 100%;
  }

.aniversal-list2 {
  flex-direction: column;
  justify-content: center;
}
  
  .aniversal-list2 li {
    margin-bottom: 50px;
  }
.main-contents .works {
  padding: 20px;
}
  
}