/************************************
** 共通
************************************/

.br-sp {
  display: none;
}

.heading h2 {
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
  border: none;
  font-size: 36px;
  font-weight: 700;
}

@media screen and (max-width: 769px) {
  .br-sp {
    display: block;
  }
  .heading h2 {
    font-size: 1.5em;
  }
  .heading p {
    padding: 0 20px;
  }
}

#sec_002,
#sec_003 {
  margin-bottom: 0;
}

/* button */
.button-wrap {
  text-align: center;
  margin-top: 40px;
}
a.btn-flat {
  overflow: hidden;
  padding: 1.2em 6rem;
  color: #fff;
  border: none;
  border-radius: 0;
  background: #000;
  font-size: 1em;
}
.btn-flat span {
  position: relative;
}
.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-96%);
  transform: translateX(-96%);
  background: #482426;
}
.btn-flat:hover:before {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}
.fa-position-right {
  position: absolute;
  top: calc(50% - 0.5em);
  right: 1rem;
}

@media screen and (max-width: 769px) {
  a.btn-flat {
    width: 100%;
    padding: 1.2em 3rem;
  }
}


.contents-list .aaa {display: grid;grid-template-columns: 1fr 1fr;gap: 1em;}


/************************************
** sec_001
************************************/
#sec_001,
#sec_001_sp {
  background-image: url(https://comz-small-factory.com/wp-content/uploads/2022/01/img_xxii_0105.jpg);
  background-attachment: fixed;
  background-size: cover;
  padding-bottom: 60px;
  margin-bottom: 0;
  height: 80vh;
  font-family: "Sawarabi Gothic", sans-serif;
}
#sec_001::before,
#sec_001_sp::before {
  box-sizing: border-box;
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 50%);
}
.video-overlay-box .header-title {
  width: 100%;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  text-align: center;
  z-index: 3;
  animation: fallText1-2 10s forwards;
}

.video-overlay-box .header-title span {
  display: inline-block;
  font-size: 5vw;
  font-weight: 700;
  color: rgb(0, 0, 0);
  letter-spacing: 1vw;
  text-shadow: 0 15px 15px rgb(0 0 0 / 30%);
  position: relative;
  transform: translateY(-100vh);
  animation: fallText 2s forwards;
}

.video-overlay-box .header-title span:nth-child(2) {
  animation-delay: 0.4s;
}
.video-overlay-box .header-title span:nth-child(3) {
  animation-delay: 0.8s;
}
.video-overlay-box .header-title span:nth-child(4) {
  animation-delay: 1.2s;
}
.video-overlay-box .header-title span:nth-child(5) {
  animation-delay: 1.6s;
  padding-right: 0.5em;
}
.video-overlay-box .header-title span:nth-child(6) {
  animation-delay: 2s;
}
.video-overlay-box .header-title span:nth-child(7) {
  animation-delay: 2.4s;
}
.video-overlay-box .header-title span:nth-child(8) {
  animation-delay: 2.8s;
}
.video-overlay-box .header-title span:nth-child(9) {
  animation-delay: 3.2s;
}
.video-overlay-box .header-title span:nth-child(10) {
  animation-delay: 3.6s;
}
.video-overlay-box .header-title span:nth-child(11) {
  animation-delay: 4s;
  padding-right: 0.5em;
}

.video-overlay-box .header-title span:nth-child(12) {
  animation-delay: 4.4s;
}
.video-overlay-box .header-title span:nth-child(13) {
  animation-delay: 4.8s;
}
.video-overlay-box .header-title span:nth-child(14) {
  animation-delay: 5.2s;
}
.video-overlay-box .header-title span:nth-child(15) {
  animation-delay: 5.6s;
}
.video-overlay-box .header-title span:nth-child(16) {
  animation-delay: 6s;
}
.video-overlay-box .header-title span:nth-child(17) {
  animation-delay: 6.4s;
}
.video-overlay-box .header-title span:nth-child(18) {
  animation-delay: 6.8s;
}

@keyframes fallText {
  0% {
    opacity: 0;
  }
  75% {
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media screen and (max-width: 769px) {
  .video-overlay-box .header-title {
    padding: 40% 20% 20%;
    text-align: left;
    font-size: 2.5em;
    font-weight: 700;
    color: #000;
  }
  .video-overlay-box .header-title p {
    text-shadow: 0 15px 15px rgb(0 0 0 / 30%);
    transform: translateY(-100vh);
    transition: 1.5s ease;
    animation: fallText 2s forwards;
  }
  .video-overlay-box .header-title p:nth-child(2) {
    animation-delay: 1s;
  }
  .video-overlay-box .header-title p:nth-child(3) {
    animation-delay: 2s;
  }
}

/************************************
** sec_002
************************************/

#sec_002 .heading h2 {
  color: #000;
}
#sec_002 .contents {
  position: relative;
  text-align: center;
  color: #000;
  font-size: 1.2em;
  line-height: 2em;
  font-weight: 700;
}

@media screen and (max-width: 769px) {
  #sec_002 {
    height: auto;
  }
  #sec_002 .contents {
    text-align: left;
    font-size: 1em;
  }
}

/************************************
** sec_003
************************************/

#sec_003 {
  /* margin-bottom: 100px; */
}
#sec_003::before {
}

#sec_003 .wp-block-group__inner-container {
  padding: 0;
}

#sec_003 .heading h2 span {
  font-size: 0.8em;
}

#sec_003 .heading h2 span:after {
    background: none;
}

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

.container_col4 .col4_item {
  width: 25%;
  position: relative;
  overflow: hidden;
  transition: all ease 1s;
}

.container_col4 .col4_item .wp-block-image {
  margin-bottom: 0;
  border: 2px solid #fff;
  position: relative;
  overflow: hidden;
  width: 100%;
  transition: all ease 1s;
}

.container_col4 .col4_item img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  transition: all ease 1s;
}

.container_col4 .col4_item img:hover {
  width: 150%;
  opacity: 0.8;
  transform: scale(1.2);
}

.container_col4 .col2_text {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 100%;
  padding: 50px 50px 0px;
  color: #fff;
  background-image: linear-gradient(to bottom, transparent, rgb(0 0 0 / 50%));
  display: flex;
  align-items: flex-end;
}

.container_col4 .col2_text p {
  font-size: 1.75em;
  font-weight: 700;
  color: #ffffff;
}

@media screen and (max-width: 769px) {
  .container_col4 .col4_item img {
    width: 100%;
    object-fit: cover;
  }
  .container_col4 .col4_item {
    width: 50%;
  }
  .container_col4 .col2_text p {
    font-size: 1em;
  }
}

/************************************
** sec_004
************************************/
#sec_004 {
  background-image: url(https://comz-small-factory.com/wp-content/uploads/2022/01/img_0401_800x480.jpg);
  background-attachment: fixed;
  background-size: cover;
  padding: 30px 0 60px;
  margin-bottom: 0;
}
#sec_004::before {
  box-sizing: border-box;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 10%);
}

#sec_004 .wp-block-group__inner-container {
  padding: 0;
}
#sec_004 .heading {
  color: #fff;
}

.container_col3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.container_col3 .col3_item {
  width: 33%;
  position: relative;
  background: #fff;
  z-index: 1;
}

.container_col3 .col3_item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  z-index: -1;
  border-style: solid;
  border-width: 0 1px;
  border-color: #ddd;
}

.container_col3 .col3_item:nth-child(3n)::after,
.container_col3 .col3_item:nth-child(3n + 2)::after {
  border-left: none;
}

.container_col3 .col3_item:nth-last-child(-n + 3)::after {
  border-bottom-width: 1px;
}

.container_col3 .col3_item .discription {
  padding: 30px 20px;
}

.container_col3 .col3_item .discription .title {
  font-size: 1.5em;
  margin-bottom: 1em;
  line-height: 1.5em;
}

@media screen and (max-width: 769px) {
  #sec_004 {
    padding-bottom: 0;
  }
  #sec_004 .heading h2 {
    font-size: 1.5em;
  }
  .container_col3 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .container_col3 .col3_item {
    width: 50%;
  }
  .container_col3 .col3_item .discription {
    padding: 20px 10px;
  }
  .container_col3 .col3_item .discription .title {
    font-size: 1em;
  }
  .container_col3 .col3_item .discription .text {
    font-size: 0.8em;
  }
}

/************************************
** sec_005
************************************/
#sec_005 {
  background-image: url(https://comz-small-factory.com/wp-content/uploads/2022/01/img_xxii_0150.jpg);
  background-attachment: fixed;
  background-size: cover;
  padding: 30px 0 60px;
  margin-bottom: 0;
  z-index: -2;
}
#sec_005::before {
  box-sizing: border-box;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 10%);
  z-index: -1;
}

#sec_005 .wp-block-group__inner-container {
  /*     width: auto; */
  padding: 0;
}
#sec_005 .heading {
  color: #fff;
}

.container_col2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
}

.container_col2 .col2_item {
  width: 50%;
}
.container_col2 .col2_item:nth-child(1) {
  order: 2;
  padding: 0 50px;
}
.container_col2 .col2_item:nth-child(2) {
  order: 1;
}
.container_col2 .col2_item:nth-child(3) {
  order: 3;
  padding: 0 50px;
}
.container_col2 .col2_item:nth-child(4) {
  order: 4;
}
.container_col2 .col2_item:nth-child(5) {
  order: 6;
  padding: 0 50px;
}
.container_col2 .col2_item:nth-child(6) {
  order: 5;
}
.container_col2 .col2_item .title {
  font-size: 1.5em;
}
@media screen and (max-width: 769px) {
  .container_col2 .col2_item {
    width: 100%;
  }
  .container_col2 .col2_item:nth-child(1) {
    order: 2;
    padding: 20px;
  }
  .container_col2 .col2_item:nth-child(2) {
    order: 1;
  }
  .container_col2 .col2_item:nth-child(3) {
    order: 4;
    padding: 20px;
  }
  .container_col2 .col2_item:nth-child(4) {
    order: 3;
  }
  .container_col2 .col2_item:nth-child(5) {
    order: 6;
    padding: 20px;
  }
  .container_col2 .col2_item:nth-child(6) {
    order: 5;
  }

  .container_col2 .col2_item .title {
    font-size: 1.3em;
    margin-bottom: 1em;
  }
}

/************************************
** sec_006
************************************/

#sec_006 .container_col4 {
  align-items: initial;
}
#sec_006 .container_col4 .col4_item {
  padding: 0 5px;
}
#sec_006 .container_col4 .col4_item .news-pic {
  overflow: hidden;
  margin-bottom: 10px;
}

#sec_006 .container_col4 .col4_item img {
  height: 25vh;
}
#sec_006 .container_col4 .col4_item .discription {
  height: 3em;
  margin-bottom: 10px;
}
#sec_006 .container_col4 .col4_item .discription .title {
  line-height: 1.5;
  margin-bottom: 0.5em;
}

#sec_006 .container_col4 .col4_item .discription a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

#sec_006 .container_col4 .col4_item .news_meta {
  display: flex;
  align-items: baseline;
  font-size: 0.8em;
  color: #999;
}
#sec_006 .container_col4 .col4_item .news_meta ul {
  padding-left: 10px;
}

#sec_006 .container_col4 .col4_item .news_meta li {
  list-style: none;
}

#sec_006 .container_col4 .col4_item .news_meta li a {
  text-decoration: none;
  color: #999;
}

@media screen and (max-width: 769px) {
  #sec_006 .container_col4 .col4_item {
    padding: 0 5px;
    width: 100%;
  }
}

/************************************
** sec_007 軽キャン
************************************/

#sec_007 .container_col3 .col3_item:nth-last-child(-n + 3)::after {
  border-bottom-width: 0px;
}

#sec_007 .container_col3 .col3_item .discription .title {
  font-size: 1.2em;
  margin-bottom: 1em;
  line-height: 1.5em;
}

@media screen and (max-width: 769px) {
  #sec_007 .container_col3 .col3_item {
      width: 100%;
      display: flex;
  }
  #sec_007 .container_col3 .col3_item .img-box {
      width: 30%;
  }
}