@charset "utf-8";

/* ==================== section_01 ==================== */
#sec01 {
  width: 100%;
  height: auto;
}

.sec01_inner {
  width: 100%;
  position: relative;
}

/* Swiper スライダー */
.sec01_swiper {
  width: 100%;
  height: 100vh;
}

.sec01_swiper .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 暗幕オーバーレイ */
.sec01_swiper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
  pointer-events: none;
}

/* ページネーション（ドット）をオーバーレイより前面に */
.sec01_swiper .swiper-pagination {
  z-index: 10;
}

/* PC テキストオーバーレイ */
.sec01_ttl {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Noto Sans JP";
  font-weight: 600;
  letter-spacing: 8px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px #222;
  z-index: 10;
  pointer-events: none;
}

.sec01_ttl small {
  display: block;
  font-size: 24px;
}

.sec01_ttl h2 {
  font-size: 64px;
}

/* キャッチコピー（PC） */
.sec01_ttl .sec01_catch {
  writing-mode: horizontal-tb;
  display: block;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  animation: catchFadeIn 1.2s ease 0.4s both;
}

@keyframes catchFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sec01_cont_sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .sec01_swiper {
    height: 100vh;
  }

  .sec01_ttl {
    display: none;
  }

  .sec01_cont_sp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 85%;
    text-align: center;
    pointer-events: none;
  }

  .sec01_cont_sp h2 {
    display: none;
  }

  /* キャッチコピー（SP） */
  .sec01_cont_sp .sec01_catch {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    animation: catchFadeIn 1.2s ease 0.4s both;
  }
}
/* ==================== section_02 ==================== */
#sec02 {
  padding: 100px 40px;
  width: 100%;
  height: auto;
}
.sec02_block01 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.sec02_block_cont {
  max-width: 1024px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.sec02_block_cont_list {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.sec02_block_cont_list ul {
  width: 100%;
  margin-bottom: 60px;
}
.sec02_block_cont_list li {
  width: 100%;
  padding: 20px 0;
  border-top: 1px dotted #333;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sec02_block_cont_list li:last-child {
  border-bottom: 1px dotted #333;
}
.sec02_block_cont_list a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}
.sec02_block_cont_list h3 {
  font-size: 20px;
}
.sec02_block_cont_list li:last-child {
  border-bottom: 1px dotted #333;
}
.sec02_block_cont_facebook {
  width: 40%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sec02_inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.sec02_inner h4 {
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 45px;
}
.sec02_inner p {
  display: block;
  width: 672px;
  font-size: 16px;
  line-height: 53px;
  text-align: center;
  letter-spacing: 0.08em;
}

/* @media screen and (max-width:768px) {
    #sec02 {
        padding: 100px 24px;
    }
    .sec02_block_cont {
        max-width: 1024px;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        gap: 100px;
    }
    .sec02_block_cont_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    }
    .sec02_block_cont_facebook {
    width: 60%;
    height: auto;
    display: flex;
    justify-content: center; 
    align-items: center;
}
} */

@media screen and (max-width: 768px) {
  .sec02_block_cont {
    flex-direction: column; /* ← 縦並び */
    align-items: center; /* ← stretchではなくcenterに */
  }

  .sec02_block_cont_list,
  .sec02_block_cont_facebook {
    width: 100%; /* 全幅で表示 */
    height: auto; /* ← 高さを独立させる */
  }

  .sec02_block_cont_facebook iframe {
    height: auto; 
    min-height: 500px; /* 必要なら制限を追加 */
  }
}

/*追記しました*/
.sec02_block_cont {
  display: flex;
  align-items: stretch; /* ← 高さをそろえる */
}

.sec02_block_cont_facebook {
  display: flex;
  align-items: stretch; /* ← これも重要 */
}

.sec02_block_cont_facebook iframe {
  height: 100%;
  width: 100%;
}

/* ==================== section_03 ==================== */
#sec03 {
  width: 100%;
  height: auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 40px;
}
.sec03_block {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.sec03_block:nth-child(2) {
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
}
.sec03_block_img {
  width: 50%;
  height: 426px;
  object-fit: cover;
  overflow: hidden;
}
.sec03_block_img img {
  width: 100%;
  height: auto;
}
.sec03_block_name {
  width: 50%;
  height: 426px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 40px;
  text-align: center;
  z-index: 2;
}
.sec03_block_name h2 {
  font-size: 36px;
}
.sec03_block_name h2::after {
  content: "";
  display: block;
  position: relative;
  top: 10px;
  width: 40%;
  height: 2px;
  background-color: var(--main_color);
  margin: 0 auto;
}

.sec03_block-sp01,
.sec03_block-sp02 {
  display: none;
}

@media screen and (max-width: 768px) {
  #sec03 {
    padding: 0;
    width: 100%;
    height: auto;
    /* background:
      linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%); */
      /* url(../img/top_img002.jpg); */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-color: #464646; */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sec03_block {
    display: none;
  }
  .sec03_block-sp01,
  .sec03_block-sp02 {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 426px; /* 高さは必要に応じて調整してください */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .sec03_block-sp01 {
    background-image: url("../img/headquarters.webp");
  }
  .sec03_block-sp02 {
    background-image: url("../img/robot_lr_mate200id.webp");
  }

  .sec03_block-sp01::before,
  .sec03_block-sp02::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
  }

  .sec03_block-sp01 .sec03_block_name,
  .sec03_block-sp02 .sec03_block_name {
    position: relative;
    z-index: 2; /* フィルターより前に表示する */
    color: white; /* テキストを白にする */
    text-align: center;
    padding: 20px;
  }
  .sec03_block-sp {
    display: block;
  }
}

/* ==================== section_04 ==================== */
#sec04 {
  padding: 100px 0;
  width: 100%;
  height: 450px;
  /* グラデーション */
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 74.5%),
    url(../img/index_sec04_bg.webp);
  /* 画像を常に天地左右の中央に配置 */
  background-position: center center;
  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: cover;
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #464646;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.sec04_inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.sec04_inner h2 {
  font-size: 36px;
}
.sec04_inner p {
  max-width: 768px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #sec04 {
    padding: 100px 24px;
  }
  .sec04_inner {
    gap: 40px;
  }
}
/* ==================== section_05 ==================== */
#sec05 {
  padding: 150px 40px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  margin-bottom: 150px;
}

.sec05_inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.sec05_cont {
  max-width: 1280px;
  width: 100%;
  margin-bottom: 100px;
}

.sec05_cont p {
  line-height: 32px;
  letter-spacing: 0.08rem;
}

.sec05_list {
  max-width: 1027px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 80px;
}
.sec05_list:after {
  content: "";
  display: block;
  width: 308px; /* .boxに指定したwidthと同じ幅を指定する */
  height: 0;
}
.sec05_list_item {
  width: 308px;
  height: auto;
}
.sec05_list_item a {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.sec05_list_item_img {
  position: relative;
  max-width: 308px;
  width: 100%;
  height: 216px;
  overflow: hidden;
  margin-bottom: 5px;
}

.sec05_list_item_img img {
  width: 100%;
  height: 216px;
  overflow: hidden;
  margin-bottom: 5px;
}
.sec05_list_item time {
  font-size: 12px;
  margin-bottom: 5px;
}

@media screen and (max-width: 768px) {
  #sec05 {
    padding: 65px 24px;
    margin-bottom: 140px;
  }
  .sec05_cont {
    margin-bottom: 70px;
  }
  .sec05_list {
    max-width: 767px;
    width: 100%;
    gap: 50px 25px;
    margin-bottom: 30px;
  }
}
