/************************************
** popup
************************************/
#popup {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease; /* ポップアップの表示/非表示をゆっくり行うためのトランジション */
    opacity: 0; /* 初期状態では透明度を0に設定 */
    z-index: 10000; /* 画面の最前面に表示 */
  }
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #555;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
  }

@media screen and (max-width: 769px) {
  #popup {width: 80%;}
}

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

.br-sp {
  display: none;
}

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

.heading .sub-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #2e3192;
}

.heading h2 img {
  height: 60px;
}

@media screen and (max-width: 769px) {
  .br-sp {
    display: block;
  }

  .heading h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .heading .sub-title {
    text-align: center;
    font-size: 12px;
    color: #2e3192;
  }

  .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: #081456;
  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: #040404;
}

.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;
  }
}


/************************************
** sec_001
************************************/
#sec_001,
#sec_001_sp {
  background-image: url(https://comz-small-factory.com/wp-content/uploads/2022/02/img_xxii_0112_2_1366x768.jpg);
  background-attachment: fixed;
  background-size: cover;
  padding-bottom: 60px;
  margin-bottom: 0;
  height: 80vh;
}


#sec_001 .img-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;
  height: 80vh;
  margin: auto;
}

#sec_001 .img-box img {
  position: relative;
  animation: anime-002 2s forwards;
}

@media screen and (max-width: 769px) {
  #sec_001_sp {
    background: url(https://comz-small-factory.com/wp-content/uploads/2022/11/20221129111056.jpeg);
    background-size: cover;
    height: 90vh;
  }

  #sec_001::before,
  #sec_001_sp::before {
    box-sizing: border-box;
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.1);
  }

  #sec_001_sp::before {
    height: 90vh;
    animation: anime-001 2s forwards;
  }

  #sec_001_sp .img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    position: relative;
  }

  #sec_001_sp .img-box img {
    animation: anime-002 4s forwards;
    width: 50%;
  }
}

@keyframes anime-001 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes anime-002 {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.header-infomation {
    background: #000;
    color: #fff;
}

.header-infomation p {
    padding: 12px;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
}

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

#sec_002 .heading h2 {
  color: #000;
  font-size: 1.0em;
}

#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: center;
    padding: 10px 0px;
    font-size: 1.0em;
    font-weight: 100;
  }
}



/************************************
** sec_005
************************************/

#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: #eee;
}

.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) {
  #sec_005 {
    background: none;
    padding: 0;
  }

  #sec_005::before {
    display: none;
  }

  #sec_005.alignfull {
    left: auto;
    right: auto;
    max-width: initial;
    width: inherit;
  }

  .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_008
************************************/
#sec_008 .this-contents-main img {
  margin: 0 auto;
  width: 100%;
}

#sec_008 .contents {
  position: relative;
}

#sec_008 .swiper-2 {
  position: relative;
  overflow: hidden;
}

#sec_008 .swiper-slide-inner .wp-block-image {
  margin-bottom: 0;
}

#sec_008 .swiper-slide a img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  transition: all ease 1s;
}

#sec_008 .swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -5%;
  right: auto;
}

#sec_008 .swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -5%;
  left: auto;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
}

:root {
  --swiper-navigation-color: #000000;
  --swiper-pagination-color: #000000;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-width: 12px;
  --swiper-pagination-bullet-height: 12px;
}

:root {
  --swiper-navigation-color: #000000;
  --swiper-pagination-color: #ffffff;
}

@media screen and (max-width: 769px) {

  #sec_008 .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 3%;
    right: auto;
  }

  #sec_008 .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 3%;
    left: auto;
  }
}



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

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

.container_col4 .col4_item {
  width: 24%;
  position: relative;
  overflow: hidden;
  transition: all ease 1s;
  margin: 0px 5px;
  box-shadow: 0px 10px 15px rgb(0 0 0 / 10%);
}

.container_col4 .col4_item .news-pic {
  overflow: hidden;
  margin-bottom: 10px;
}

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

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

.container_col4 .col4_item .discription {
  height: 3em;
  margin: 10px;
  margin-bottom: 0;
}

.container_col4 .col4_item .discription .title {
  line-height: 1.5;
  margin-bottom: 0.5em;
}

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

.container_col4 .col4_item .news_meta {
  display: flex;
  align-items: baseline;
  font-size: 0.8em;
  color: #999;
  margin: 0 10px;
}

.container_col4 .col4_item .news_meta ul {
  padding-left: 10px;
}

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

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

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

  .container_col4 .col4_item img {
    width: 100%;
    object-fit: cover;
  }
}



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

.container_col3 {
  display: flex;
  gap: 10px;
}

.container_col3 .col3_item {
  width: 33%;
  margin-bottom: 20px;
  padding: 10px;

}

.col3_item_up {
  display: flex;
  margin: 20px 0;
}

.col3_item_up .img-box {
  width: 30%;
  margin-right: 10px;
}

.col3_item_up .discription {
  font-size: 0.8em;
}

.col3_item_up .discription .title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 0;
}

.col3_item_down {
  position: relative;
  margin-bottom: 1em;
}

.col3_item_down .item_down_img {
  width: 90%;
  margin-top: 30px;
}

.col3_item_down .item_price {
  position: absolute;
  top: -18px;
  right: 0px;
  z-index: 2;
}

.item_price p {
  padding: 0px 20px;
  background: #081456;
  color: #fff;
  font-size: 1.3em;
  font-weight: 700;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}


.subSwiper {
  height: 200px;
  box-sizing: border-box;
  padding: 10px 0;
}

.subSwiper .swiper-slide {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  line-height: 120px;
}

.subSwiper .swiper-slide-thumb-active {
  opacity: 1;
}



@media screen and (max-width: 769px) {
  .container_col3 {
    display: block;
  }

  .container_col3 .col3_item {
    width: 100%;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: 0px 10px 15px rgb(0 0 0 / 10%);
  }

  .container_col3 .col3_item .img-box {
    width: 30%;
  }

  .col3_item_down .item_down_img {
    width: 90%;
    margin: 20px auto;
    margin-bottom: 40px;
  }
}

/************************************
** sec_009 
************************************/

#sec_009 .container_col2 {
  align-items: stretch;
  background: none;
}

#sec_009 .col2_item {
  background: #fff;
}

#sec_009 .col2_item:nth-child(2) {
  width: 30%;
}

#sec_009 .col2_item:nth-child(1) {
  width: 70%;
}

#sec_009 .col2_item .title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 0;
}

@media screen and (max-width: 769px) {
  #sec_009 .col2_item:nth-child(1) {
    width: 100%;
  }

  #sec_009 .col2_item .description {
    margin-bottom: 0.5em;
  }
}