﻿@charset "utf-8";
/*--------------------------------------------------------------------------------

  main visual

--------------------------------------------------------------------------------*/
.mv {
  width: 100%;
  position: relative;
  overflow: hidden;
}
@media (min-width: 769px) {
  .mv { height: clamp(600px, 80dvh, 800px); }
}
@media (max-width: 768px) {
  .mv {
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
}

/* .mv-copy
----------------------------------------*/
.mv-copy {
  pointer-events: none;
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mv-copy-main {
  padding: 0 var(--space-2l);
}
@media (max-width:768px) {
  .mv-copy {
    position: relative;
    z-index: 2;
    order: 2;
    height: auto;
    padding: var(--space-s) 0 var(--space-4l);
    background-color: var(--color-primary);
  }
}
@media (max-width:640px) {
  .mv-copy-main {
    padding: 0 var(--space-m);
  }
}

/* .mv-ompany-name
----------------------------------------*/
.mv-company-name {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 35%;
}
@media (max-width:1400px) {
  .mv-company-name {
    width: 45%;
    height: auto;
  }
}
@media (max-width:970px) {
  .mv-company-name {
    width: 60%;
    height: auto;
  }
}

/* .mv-slider
----------------------------------------*/
.mv-slider {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
}
.mv-slider_item picture:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  background: rgb(0,78,161);
  background: linear-gradient(80deg, rgba(0,78,161,0.62) 0%, rgba(0,78,161,0.62) 30%, rgba(0,78,161,0) 60%);
}
.mv-slider_item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mv-slider_item .mv-factory-name {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  background-color: rgba(255,255,255,0.6);
  width: 100%;
  padding: 0.75em 1.5em;
  box-sizing: border-box;
}
@media (max-width: 1400px) {
  .mv-slider_item picture:before {
    background: linear-gradient(35deg, rgba(0,78,161,0.62) 0%, rgba(0,78,161,0.62) 40%, rgba(0,78,161,0) 60%);
  }
}
@media (max-width:970px) {
  .mv-slider_item .mv-factory-name {
    left: auto;
    right: 0;
    bottom: var(--space-2l);
    background-color: inherit;
    color: #fff;
    text-align: right;
  }
}
@media (max-width:768px) {
  .mv-slider {
    position: relative;
    order: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 600;
  }
  .mv-slider_item picture:before {
    background: none;
  }
  .mv-slider_item picture img {
    aspect-ratio: 768 / 600;
  }
  .mv-slider_item .mv-factory-name {
    display: none;
    /*
    bottom: 0;
    color: var(--color-text);
    font-weight: bold;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
                -1px 1px 0 #FFF, 1px -1px 0 #FFF,
                0px 1px 0 #FFF,  0-1px 0 #FFF,
                -1px 0 0 #FFF, 1px 0 0 #FFF;    
    */
  }
}

/* pattern2 */
.mv-slider-thumbnail {
  position: absolute;
  bottom: 20px;
  left: 0;
  z-index: 2;  
  width: calc(100% - 1000px);
  max-width: 480px;
}
.mv-slider-thumbnail .slick-track {
  transform: unset !important;
  display: flex;
  justify-content: flex-start;
  column-gap: 16px;
}
.mv-slider-thumbnail_item {
  width: calc(25% - 12px) !important;
  opacity: 0.3;
  transition: opacity .3s linear;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
}
.mv-slider-thumbnail_item img {
  aspect-ratio: 860 / 353;
}
.mv-slider-thumbnail_item.slick-current {
  opacity: 1;
}
@media (max-width:1400px) {
  .mv-slider-thumbnail {
    width: calc(40% - 10px);
  }
}
@media (max-width:970px) {
  .mv-slider-thumbnail {
    width: 70%;
    max-width: max-content;
    left: auto;
    right: 0;
    bottom: calc((70vw * 0.16) + 1em);
  }
}
@media (max-width:768px) {
  .mv-slider-thumbnail {
    display: none;
  }
}

/*--------------------------------------------------------------------------------

  topics

--------------------------------------------------------------------------------*/
#topics {
  padding: var(--space-3s);
}
#topics .topics-link,
#topics .topics-nolink {
  display: grid;
  grid-template-columns: 10.5em auto;
  align-items: center;
  gap: 1em;
}
#topics .topics-link {
  text-decoration: none;
}
#topics .topics-link:hover {
  color: var(--link-color-hover);
}
#topics .topics-time {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #202020;
  color: #fff;
  padding: 0.5em 0.75em;
}
#topics .topics-cttitle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#topics .topics-link .topics-cttitle {
  text-decoration: underline;
}
@media (max-width:768px) {
  #topics .topics-list {
    display: none;
  }
}

/*--------------------------------------------------------------------------------

  news

--------------------------------------------------------------------------------*/
#news {
  padding: var(--space-m) 0;
  background-color: #0055af;
  background-image: url(../img/top/news-bg-img.png);
  background-repeat: no-repeat;
  background-position: center;
  max-height: 533px;
}
@media (max-width:970px) {
  #news {
    background-position: left center;
  }
}
#news .news-contents {
  display: grid;
  grid-template-columns: 192px auto;
  gap: var(--space-m);
}
#news .news-hd h2 {
  margin-bottom: var(--space-s);
}
#news .news-hd .news-btn .c-btn {
  width: 100%;
  color: #fff;
  background-color: #153b82;
  border: none;
  padding: 1em;
  justify-content: flex-start;
  column-gap: 1em;
  transition: 0.2s ease-out;
}
#news .news-hd .news-btn .c-btn:hover {
  column-gap: 1.5em;
}
#news .news-hd .news-btn .c-btn .c-arrow3 {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  background-color: #fff;
}
#news .news-list-item:not(:first-child) {
  padding: 1em 0;
}
#news .news-list-item:first-child {
  padding-bottom: 1em;
}
#news .news-list-item:not(:last-child) {
  border-bottom: 1px solid #fff;
}
#news .news-link,
#news .news-nolink {
  display: grid;
  align-items: center;
  grid-template-columns: 9.5em auto;
  gap: 1em;
  color: #fff;
}
#news .news-link a {
  color: inherit;
}
#news .news-link .news-cttitle {
  display: grid;
  grid-template-columns: auto 1em;
  align-items: center;
  column-gap: 1em;
  line-height: var(--line-height-s);
  padding-right: 1.5em;
  transition: 0.2s ease-out;
}
#news .news-link:hover .news-cttitle  {
  padding-right: 1em;
}
#news .news-link .c-arrow4 {
  width: 1em;
  color: var(--color-primary);
}
@media (max-width:768px) {
  #news .news-contents {
    display: grid;
    grid-template-columns: auto;
    gap: var(--space-s);
  }
  #news .news-hd {
    display: grid;
    grid-template-columns: auto 182px;
    column-gap: var(--space-s);
  }
  #news .news-hd h2 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }
  #news .news-list-item:not(:first-child) {
    padding: 1.5em 0;
  }
  #news .news-list-item:first-child {
    padding-bottom: 1.5em;
  }
  #news .news-link,
  #news .news-nolink {
    grid-template-columns: auto;
    gap: 0.25em;
  }
}

/*--------------------------------------------------------------------------------

  message

--------------------------------------------------------------------------------*/
#message {
  background-image: url(../img/top/msg-bg.jpg);
  height: 729px;
  padding: var(--space) var(--space-m);
}
#message .l-container {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#message .message-contents {
  width: 100%;
  max-width: 740px;
  text-align: center;
  font-weight: bold;
  padding: var(--space-s);
  background-color: rgba(255,255,255,0.86);
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}
@media (max-width:660px) {
  #message .message-contents {
    text-align: left;
  }
  #message .message-contents br {
    display: none;
  }
}


/*--------------------------------------------------------------------------------

  business

--------------------------------------------------------------------------------*/
#business {
  background-image: url(../img/top/business-bg.jpg);
  padding: var(--space-l) 0;
}
#business .business-contents-list {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: var(--space-2s);
}
#business .business-thumnail {
  color: inherit;
  text-decoration: none;
}
#business .business-img {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1 / 1;
}
#business .business-img-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2);
  padding: var(--space-3s);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity .2s ease;
}
#business .business-thumnail:hover .business-img-hover {
  opacity: 1;
}
#business .business-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em 0.5em 0.5em 0.5em;
  border-bottom: 1px dashed var(--color-gray);
}
#business .business-title .c-arrow4 {
  margin-right: 0.5em;
  transition: 0.2s ease-out;
}
#business .business-thumnail:hover .business-title .c-arrow4  {
  margin-right: 0;
}
@media (max-width:970px) {
  #business .business-contents-list {
    grid-template-columns: repeat(3,1fr);
  }
  #business .business-title {
    font-size: var(--fs-s);
  }
}
@media (max-width:640px) {
  #business .business-title {
    padding: 2em 0.25em 0.5em 0.25em;
  }
  #business .business-contents-list {
    grid-template-columns: repeat(2,1fr);
  }
}