/** TOP PAGE /  **************************************************/
/************************************************************************/
.top_mv_wrp {
  height: 100vh;
}

.top_mv {
  width: 100%;
  height: calc(100vh - 64px);
  position: absolute;
  top: 64px;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.top_mv::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(16, 57, 75, 0.4);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.top_mv video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.top_mv_overlay {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 100px;
  color: #fff;
}

.top_mv_overlay_txt {
  width: 90%;
  margin: auto;
  line-height: 1.8;
  text-shadow: 0 0 5px #000;
  font-size: 18px;
}

.top_mv_overlay_txt h2 {
  margin: 0 0 40px 0;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.6;
  text-shadow: 0 0 5px #000;
}

.dash {
  letter-spacing: -0.2em;
  overflow: hidden;
  white-space: nowrap;
  width: 40px;
  margin: 0 8px 0 4px;
  font-weight: 400;
  font-family: 'Yu Gothic', Meiryo, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    sans-serif;
}

.scrolldown {
  position: absolute;
  bottom: 1%;
  right: 50%;
  animation: arrowmove 2s ease-in-out infinite;
}

@keyframes arrowmove {
  0% {
    bottom: 1%;
  }

  50% {
    bottom: 3%;
  }

  100% {
    bottom: 1%;
  }
}

.scrolldown span {
  position: absolute;
  left: -20px;
  bottom: 10px;
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.scrolldown:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 1px;
  height: 20px;
  background: #eee;
  transform: skewX(-31deg);
}

.scrolldown:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 50px;
  background: #eee;
}

@media screen and (min-width: 768px) {
  /*.top_mv {
    min-width: 960px;
  }*/

  .top_mv_overlay_txt h2 {
    margin: 0 0 48px 0;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 1;
    text-shadow: 0 0 5px #000;
  }

  .top_mv_overlay_txt {
    width: 85%;
    margin: auto;
    line-height: 2.2;
    text-shadow: 0 0 5px #000;
    font-size: 20px;
  }
}

/****** tablet / 768 - 1024 *****/
@media screen and (min-width: 768px) and (max-width: 1024px) {
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {
}

/****** SP / 375 or less *****/
@media screen and (max-width: 375px) {
}

/****** SP / 320 or less *****/
@media screen and (max-width: 320px) {
}

/** TOP PAGE / Topics-grid **************************************************/
/************************************************************************/
.grid_wrp {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  /*height: 600px;*/
  height: calc(100vh - 16vh);
  padding: 0 40px;
}

.grid_wrp .grid {
  position: relative;
  overflow: hidden;
  background: -moz-linear-gradient(top, #fff, 70%, #000);
  background: -webkit-linear-gradient(top, #fff, 70%, #000);
  background: linear-gradient(to bottom, #fff, 70%, #000);
}

.grid a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.grid a:hover img {
  transform: scale(1.1, 1.1);
}

.grid_text_wrp {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), 63%, rgba(0, 0, 0, 1));
  /*border-top: 1px #000 solid;
  border-bottom: 1px #000 solid;*/
  z-index: 2;
}

.grid_text_inn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
}

.grid_cat {
  margin-bottom: 8px;
  color: #5291e4;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.grid_ttl {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.grid_sub_ttl {
  color: #efefef;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.item_wide {
  position: relative;
  grid-row: 1/3;
  grid-column: 1/3;
  /*max-height: 400px;*/
}

.item_wide .grid_cat {
  color: #5291e4;
  font-size: 15px;
}

.item_wide .grid_ttl {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.item_1 {
  grid-row: 1;
  grid-column: 3/4;
  /*max-height: 200px;*/
}

.item_2 {
  grid-row: 2/3;
  grid-column: 3/4;
  /*max-height: 200px;*/
}

.item_3 {
  grid-row: 3/4;
  grid-column: 1/2;
  /*max-height: 200px;*/
}

.item_4 {
  grid-row: 3/4;
  grid-column: 2/3;
  /*max-height: 200px;*/
}

.item_5 {
  grid-row: 3/4;
  grid-column: 3/4;
  /*max-height: 200px;*/
}

.top img {
  object-position: top;
}

.bottom img {
  object-position: bottom;
}

.view_link_wrp {
  margin-top: 24px;
  text-align: center;
}

/****** tablet / 768 - 1024 *****/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .grid_wrp {
    height: 500px;
    padding: 0;
  }

  .grid_text_inn {
    bottom: 12px;
    left: 12px;
    right: 12px;
  }

  .item_wide .grid_ttl {
    font-size: 18px;
  }

  .grid_ttl {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .grid_sub_ttl {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {
  .topics {
    overflow: hidden;
  }

  .grid_wrp {
    display: flex;
    flex-direction: column;
    height: 720px;
    padding: 0;
  }

  .item_3,
  .item_4,
  .item_5 {
    display: none;
  }

  .grid_wrp .grid {
    /*overflow: inherit;
    height: 240px;*/
  }

  .grid a {
    position: static;
  }

  .item_wide .grid_ttl {
    font-size: 16px;
  }

  .item_wide .grid_cat {
    font-size: 14px;
  }

  .business_index_wrp .item_text h3 {
    letter-spacing: 1px;
  }
  .grid a:hover img {
    transform: none;
  }
  .grid img {
    height: auto;
    object-fit: contain;
  }
}

/** TOP PAGE / business **************************************************/
/************************************************************************/
#services .c_ttl {
  margin: 60px auto 40px auto;
}

.business_index_wrp {
  margin: auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.business_index_wrp .item {
  flex: 1 1;
  min-width: 200px;
  max-width: 250px;
  border: 1px #333 solid;
  transition: 0.3s;
  word-break: break-word;
}

.break {
  width: 100%;
}

.business_index_wrp img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: 0.3s;
}

.business_index_wrp .item_text {
  padding: 16px 16px 24px 16px;
  font-size: 16px;
  color: #333;
  letter-spacing: 1.5px;
}

.business_index_wrp .item {
  background: #fff url(../img/link_bg.svg) bottom 16px right 16px / 30px 30px
    no-repeat;
  transition: 0.3s;
}

.business_index_wrp .item:hover {
  background: #f5f5f5 url(../img/link_bg.svg) bottom 16px right 16px / 34px 34px
    no-repeat;
}

.business_index_wrp .item_text h3 {
  min-height: 48px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

/****** 1150- *****/
@media screen and (max-width: 1160px) {
  .business_index_wrp .item {
    background: #fff url(../img/link_bg.svg) bottom 16px right 16px / 16px 16px
      no-repeat;
  }
  .business_index_wrp .item:hover {
    background: #f5f5f5 url(../img/link_bg.svg) bottom 16px right 16px / 20px
      20px no-repeat;
  }

  .business_index_wrp .item {
    width: calc(33% - 8px);
    max-width: 250px;
    flex: auto;
  }
}
/****** tablet / 768 - 1024 *****/
@media screen and (min-width: 640px) and (max-width: 1024px) {
  .business_index_wrp {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .business_index_wrp .item {
    width: calc(50% - 8px);
    flex: auto;
    max-width: calc(50% - 8px);
  }
}

/****** SP / 767 or less *****/
@media screen and (max-width: 639px) {
  .business_index_wrp {
    flex-direction: column;
    padding: 0;
  }

  .business_index_wrp .item {
    width: calc(100% - 32px);
    margin: auto;
    max-width: none;
  }

  .business_index_wrp .item_text h3 {
    height: auto;
  }
}

/** Company Info **************************************************/
/************************************************************************/
.pl-0 {
  padding-left: 0 !important;
}

.company_info_wrp {
  max-width: 1080px;
  margin: 56px auto 0 auto;
  padding: 40px;
  background: #f5f5f5;
  border-radius: 8px;
}

.company_info_wrp h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.company_info_inner {
  max-width: 720px;
  margin: 32px auto;
  font-size: 14px;
}

.company_info_inner dt {
  width: 170px;
  border-left: 4px #666 solid;
  padding-left: 8px;
}

.company_info_inner dd {
  margin: 0 0 42px 200px;
}

.company_info_inner dt span,
.company_info_inner dd span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {
  .company_info_wrp {
    padding: 40px 16px;
  }

  .company_info_inner dt span,
  .company_info_inner dd span {
    display: inline;
    padding-left: 12px;
  }

  .company_info_inner dt {
    width: 100%;
    margin-bottom: 8px;
  }

  .company_info_inner dd {
    margin: 0 0 24px 0px;
    padding-bottom: 8px;
    border-bottom: 1px #ccc solid;
  }
}

/*RELATED COMPANIES*/
.partner_wrp {
  max-width: 640px;
  margin: 56px auto 0 auto;
  padding: 16px;
  font-size: 15px;
}

.partner_wrp h2 {
  margin-bottom: 40px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.partner_wrp dd {
  margin-left: 140px;
}

.partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px #ccc solid;
}

.partner_logo {
  width: 220px;
}

.partner_logo img {
  max-height: 48px;
}

.partner_name {
  width: calc(100% - 220px);
  margin-left: 0;
  padding-left: 40px;
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {
  .partner_wrp {
    flex-direction: column;
    justify-content: center;
  }

  .partner_logo {
    width: 100%;
    text-align: center;
  }

  .partner_name {
    width: 100%;
    padding-left: 0;
    text-align: center;
  }
}

/** TOP PAGE / News **************************************************/
/************************************************************************/
.news_index_wrp {
  max-width: 800px;
  margin: auto;
  padding: 0 40px;
}

.news_index_inner a {
  display: block;
  padding: 16px 8px;
  border-bottom: 1px #aaaaaa solid;
  color: #333;
}

.news_index_inner a:first-child {
  border-top: 1px #aaaaaa solid;
}

.news_index_date {
  color: #777;
}

.news_index_inner a:hover {
  background: #f5f5f5;
}

.news_index_wrp .view_link_wrp {
  margin-top: 40px;
  text-align: right;
}

/****** SP / 767 or less *****/
@media screen and (max-width: 767px) {
  .news_index_wrp {
    padding: 0 16px;
  }

  .news_index_inner dt {
    width: 100%;
    margin-bottom: 8px;
  }

  .news_index_wrp .view_link_wrp {
    text-align: center;
  }
}
