@charset "utf-8";

/* ==================================================================

    index.css

=================================================================== */


/* ◇ box
-------------------------------- */
.contents main > section{
    padding: 120px 0;
}

.contents main > section + section{
    margin-top:0;
}

.contents main > section .buttonStyle.more{
    margin-bottom: 0;
}

.contents main > section .buttonStyle.more a{
    width: 258px;
}

/* SP用
----------- */
@media only screen and
(max-width : 767px) {
    
    /* ◇ box
    -------------------------------- */
    .contents main > section{
        padding-top: 16vw;
        padding-bottom: 16vw;
    }


    .contents main > section .buttonStyle.more a{
        width: 70%;
    }

}

/* --------------------------------
■accentBox
-------------------------------- */ 

/* メインビジュアル */
.top_mv {
    margin: 0 calc(50% - 50vw);
  }
  
  .top_mv .mv_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .top_mv .sns_list {
    width: 10.1%;
    max-width: 137px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-bottom: 37px;
  }
  @media screen and (max-width: 767px) {
    .top_mv .sns_list {
      display: none;
    }
  }
  
  .top_mv .sns_item {
    margin-top: 12px;
  }
  
  .top_mv .sns_img {
    width: 35px;
  }
  
  .top_mv .mv_main {
    position: relative;
    width: 100%;
  }
  @media screen and (max-width: 767px) {
    .top_mv .mv_main {
      padding-bottom: 86px;
    }
  }
  
  .top_mv .mv_img {
    width: 100%;
    max-height: calc(100vh - 70px);
    object-fit: cover;
    video{
        width: 100%;
        height: 100%;
        max-height: calc(100vh - 70px);
        object-fit: cover;
    }
  }
  @media screen and (max-width: 767px) {
    .top_mv .mv_img {
      max-height: calc(100vh - 140px);
    }
  }
  
  .top_mv .mv_catch {
      position: absolute;
      bottom: 5.502793%;
      left: 8.613617719%;
      width: 36.587366694%;
      transition: 0.5s;
      height: auto;
      -o-object-fit: contain;
       object-fit: contain;
  
      -webkit-filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
            filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
  
  }
  
  @media screen and (max-width: 1350px) {
    .top_mv .mv_catch {
      left: 3.613617719%;
    }
  }
  @media screen and (max-width: 1070px) {
    .top_mv .mv_catch {
      bottom: 17.502793%;
    }
  }
  
  @media screen and (max-width: 767px) {
    .top_mv .mv_catch {
      bottom: 22%;
      left: 5.128205128%;
      width: 72.051282051%;
    }
  }
  .top_mv .news_slider {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 48.318%;
    min-width: 589px;
    margin: 0;
    padding: 20px 22px;
    background-color: #111;
  }
  @media screen and (max-width: 767px) {
    .top_mv .news_slider {
      width: 100%;
      min-width: unset;
    }
  }
  
  .top_mv .news_item {
    font-size: 1.4rem;
    line-height: 1.286;
    color: #fff;
    text-decoration: none;
  }
  
  .top_mv .news_date {
    margin: 0 0 8px;
    letter-spacing: 0.1em;
  }
  
  .top_mv .news_title {
    margin: 0;
    letter-spacing: 0.04em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }
  
  .top_mv .slick-dots {
    position: absolute;
    top: 20px;
    left: 119px;
    width: calc(100% - 119px);
    height: 18px;
    background-color: #111;
  }
  
  .top_mv .slick-dots li {
    display: inline-block;
  }
  
  .top_mv .slick-dots li:not(:last-of-type) {
    margin-right: 12px;
  }
  
  .top_mv .slick-dots button {
    position: relative;
    font-size: 0;
    width: 41px;
    height: 18px;
  }
  
  .top_mv .slick-dots button::after {
    content: "";
    position: absolute;
    top: calc(50% - 0.5px);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(224, 223, 218, 0.39);
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
  }
  
  .top_mv .slick-active button::after,
  .top_mv .slick-dots button:hover::after {
    background-color: #fff;
  }

  /* --------------------------------
  ■service
  -------------------------------- */
  .serviceList{
    @media screen and
    (max-width: 767px) {
      gap: 3vw 6vw!important;
    }
    li{
      a{
        text-decoration: none;
        transition: .3s;
        &:hover{
          opacity: 0.8;
        }
      }
      figure{
        .image{
          margin-bottom: 23px;
          @media screen and
          (max-width: 767px) {
            margin-bottom: 10px;
          }
        }
        figcaption{
          dl{
            dt{
              font-size: 2.2rem;
              text-align: center;
              @media screen and
              (max-width: 767px) {
                font-size: 1.6rem;
              } 
            }
            dd{
              margin-top: 18px;
              @media screen and
              (max-width: 767px) {
                margin-top: 10px;
              }
            }
          }
        }
      }
    }
  }

  /* --------------------------------
  ■works
  -------------------------------- */
  .contents main .worksList{
    gap: 8px 8px;
    li{
      figure{
        position: relative;
        .image{
          margin-bottom: 0;
        }
      }
      figcaption{
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;

        @media only screen and
        (max-width: 767px) {
          bottom: 10px;
        }

        p{
          text-align: center;
          color: #fff;
          font-size: 2.2rem;
          text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);

          @media only screen and
          (max-width: 767px) {
            font-size: 1.4rem;
          }
        }
      }
    }
  }
  
  /* --------------------------------
  ■message
  -------------------------------- */
  #message{
    background: #fff url("../../images/index/message_background.jpg") 100% 100% no-repeat;
    
    .image img{
      @media screen and
      (max-width: 767px) {
        margin-inline: auto;
      }
    }
  }

  /* --------------------------------
  ■philosophy
  -------------------------------- */
  #philosophy{
    .textBox{
      margin-top: 40px;
      .text{
        margin: 0;
        & + .text{
          margin-top: 1.8em;
        }
      }
    }
    .philosophyList{
      margin-top: 52px;
      li{
        figure{
          .image{
            margin-bottom: 23px;
            text-align: center;
          }
          figcaption{
            dl{
              dt{
                text-align: center;
                .en{
                  font-size: 2.2rem;
                  display: block;
                  text-align: center;
                  margin-bottom: 8px;
                }
              }
              dd{
                margin-top: 24px;
                .text{
                  text-align: center;
                }
              }
            }
          }
        }
      }
    }
  }

  /* --------------------------------
  ■outline
  -------------------------------- */
  #outline{
    .tableStyle{
      tr{
        th{
          width: 8em;
        }
        td{
          dl{
            display: flex;
            gap: 8px;
          }
          dl dd{
            flex-grow: 1;
          }
        }
      }
    }
  }

  /* --------------------------------
  ■history
  -------------------------------- */
  #history{
    .tableStyle{
      tr{
        th{
          width: 8em;
        }
      }
    }
  }

  /* --------------------------------
  ■access
  -------------------------------- */
  #access{
    background: url("../../images/index/access_background.jpg") 0% 0% no-repeat;
    .text{
      margin-bottom: 24px;
    }
    iframe{
      width: 100%;
      height: 450px;
    }
  }

  /* --------------------------------
  sdgs
  -------------------------------- */
  #sdgs{
    padding-top: 0;

    .goals{
      dl{
        margin-bottom: 38px;
        @media screen and
        (max-width: 767px) {
          margin-bottom: 20px;
        }
        dt{
          text-align: center;
          margin-bottom: 38px;
          @media screen and
          (max-width: 767px) {
            margin-bottom: 20px;
          }
        }
        .list{
          justify-content: center;
          align-items: center;
          gap: 4px;

          li{
            @media screen and
            (max-width: 767px) {
              width: calc(100% / 3 - 4px);
            }
            img{
              @media screen and
              (max-width: 767px) {
                width: 100%;
              }
            }
          }
        }
      }
      .text{
        text-align: center;
        @media screen and
        (max-width: 767px) {
          text-align: left;
        }
      }
    }

    #objective{
      padding-top: 80px;
      background: url("../../images/index/sdgs/background.jpg") 0% 0% no-repeat;
      background-size: 100% auto;
      margin-left: max(10.1%, 137px);
      margin-top: 80px;
      margin-bottom: 80px;

      @media only screen and
      (max-width: 1200px) {
        background-color: #5F7FAD;
        background-size: cover;
      }

      @media screen and
      (max-width: 767px) {
        margin-left: 0;
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 8vw 0;
      }

      .sideTextImageBox{
        align-items: stretch;
        .image{
          display: flex;
          align-items:center;
          justify-content: center;
          flex-shrink: 1;
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
          background: #fff;
          margin-bottom: -30px;

          @media only screen and
          (max-width: 1200px) {
            flex-shrink: 0;
            max-width: 35vw;
            margin-bottom: 0;
          }

          @media screen and
          (max-width: 767px) {
            max-width: 100%;
          }

          img{
            width: 100%;
          }
        }
        .explain{
          min-width: 400px;
          color: #fff;
        }
      }
    }

    #initiatives{
      padding-top: 80px;
      padding-bottom: 80px;
    }

    #initiatives_list{
      padding-top: 80px;

      .list{
        margin-top: 57px;
        gap: 8px;
        @media screen and
        (max-width: 767px) {
          gap: 10vw;
          padding: 0 8vw;
        }
        li{
          figure{
            .image{
              margin-bottom: 19px;
            }
            figcaption{
              dl{
                dt{
                  font-size: 2.2rem;
                  margin-bottom: 19px;
                  text-align: center;
                  @media screen and
                  (max-width: 767px) {
                    font-size: 1.8rem;
                    margin-bottom: 10px;
                  }
                }
              }
              ul.icon{
                display: flex;
                margin-top: 19px;
                justify-content: center;
                align-items: center;
                gap: 4px;
                @media screen and
                (max-width: 767px) {
                  gap: 10px;
                }
              }
            }
          }
        }
      }
    }
  }