/* CSS Document */
/**************************
TOP PAGE
**************************/
/*movie*/
/*.mv{
	position:relative;
	height:100vh;
	overflow:hidden;
}

.mv video{
	position:absolute;
	top:50%;
	left:50%;
	width:100%;
	height:100%;
	object-fit:cover;
	transform:translate(-50%,-50%);
*/
.mv{
  position:relative;
  width:100%;
  height:calc(100vh - 70px);
  overflow:hidden;
  background:#000;
}

.mv video{
  position:absolute;
  top:50%;
  left:50%;
  width:auto;
  height:100%;
  transform:translate(-50%,-50%);
}

/*@media (max-width:768px){

  .mv{
    height:auto;
    aspect-ratio:auto;
    overflow:visible;
    background:#000;
  }

  .mv video{
    position:static;
    transform:none;

    display:block;
    width:100%;
    height:100%;
    max-width:100%;
    object-fit:contain;
    object-position:center center;
  }

}*/


/* ===== 私たちについて ===== */

.about-visual {
  position: relative;
  height: 700px;
}

/* 右画像 */
.about-image {
  width: calc(50vw + 600px);
  height: 700px;

  position: absolute;
  top: 0;
  left: 360px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50px 0 0 50px;
}

/* 左カード */
.about-card {
  width: 460px;
  min-height: 340px;
  background: #fff;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 45px;
  z-index: 10;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transition: .3s;
}
.about-card img {
  width: 90%;
  display: block;
  margin: 0 auto 30px;
}
.about-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.about-card p.lyric {
  margin-bottom: 2.5rem;
}

/* 画像上テキスト */
.about-copy {
  position: absolute;
  right: 60px;
  top: 120px;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.8;
  z-index: 5;
}
@media (max-width: 768px) {
  .about-visual {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .about-image {
    order: 1;
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 400px;
  }
  .about-image img{
    border-radius: 0;
  }
  .about-copy {
    order: 2;
    display: block;
    position: absolute;
    top: 55px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 78%;
    z-index: 20;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 2;
    text-align: left;
  }
  .about-card {
    order: 3;
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 48px);
    margin: -32px auto 2rem;
    padding: 28px 30px 36px;
    z-index: 30;
  }
}

/*slide*/
.top-slide {
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.top-slide-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: topSlide 40s linear infinite;
}

.top-slide-track img {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.top-slide-track img:nth-child(even) {
  margin-top: 20px;
}

@keyframes topSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 12px));
  }
}

/*事業内容*/
.products-list {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 5rem;
}

.product-card {
  flex: 1;
  position: relative;
  padding-left:1.5rem;
}

.product-card-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.product-card-body {
  position: relative;
  background: #fff;
  padding: 72px 20px 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.product-card-body h3 {
  position: absolute;
  min-height: 104px;
  top: -50px;
  left: -20px;
  width: calc(100% + 0px);
  background: #2D80C9;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  padding: 16px 32px;
  margin: 0;
  display: flex;
  align-items: center; 
}

.product-card-body::before {
  content: "";
  position: absolute;
  top: 54px;
  left: -20px;
  width: 0;
  height: 0;
  border-top: 20px solid #183752;
  border-left: 20px solid transparent;
}

.product-card-body p {
  margin: 0;
  line-height: 2;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .products-list {
    display: block;
  }

  .product-card {
    margin-bottom: 40px;
  }

  .product-card-img img {
    height: 220px;
  }

  .product-card-body {
    padding: 40px 24px 24px;
  }

  .product-card-body h3 {
    left: -16px;
    top: -30px;
    font-size: 1.0rem;
    padding: 18px 24px;
    min-height: 0;
  }
  .product-card-body::before {
    left: -16px;
    top: 30px;
    border-top-width: 16px;
    border-left-width: 16px;
  }

  .product-card-body p {
    font-size: 0.9rem;
  }
}


/*=====AED=====*/
.top-aed {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.aed-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 左の背景 */

.aed-bg {
  position: absolute;
  left: 0;
  top: 24px;
  width: calc(50vw + 180px);
  height: 640px;
  background-color: #F5FDFA;
  border-radius: 0 50px 50px 0;
  z-index: 1;
}

/* コンテンツ */

.aed-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* テキスト */

.aed-text{
  width: 430px;
  padding-left: 12px;
}
.aed-text p{
  margin-bottom: 40px;
}

/* 画像 */

.aed-image{
  width: 720px;
}

.aed-image img{
  width: 100%;
  display: block;
  border-radius: 15px;
}

@media (max-width: 768px){
  .top-aed{
    padding: 40px 16px;
  }
  /* PC用背景は消す */
  .aed-bg{
    display:none;
  }
  .aed-content{
    display:flex;
    flex-direction:column;
  }
  
  /* 画像 */
  .aed-image{
    width:100%;
    margin:0;
    order:1;
  }

  .aed-image img{
    width:100%;
    height:280px;
    object-fit:cover;
    display:block;
    border-radius: 0;
  }

  /* カード */

  .aed-text{
    order:2;
    width:auto;
    background:#F5FDFA;

    margin:-40px 20px 0;
    padding:32px 24px 40px;

    position:relative;
    z-index:10;

    border-radius:8px;

    box-shadow:0 4px 16px rgba(0,0,0,.15);
  }


  .aed-text p{
    margin-bottom:30px;
  }

  .btn-more{
    width:180px;
    height:42px;

    margin:0 auto;

    font-size:14px;
  }

}


/*=====お知らせ=====*/
.flex_news {
  display: flex;
  gap: 20px;
  width: 100%;
}

.flex_news > div:first-child {
  flex: 0 0 30%;
}

.flex_news > div:nth-child(2) {
  flex: 1;
}

@media (max-width: 768px) {
  .flex_news {
    flex-direction: column;
  }

  .flex_news > div:first-child,
  .flex_news > div:nth-child(2) {
    flex: none;
    width: 100%;
  }
}
.bg_news{
  background-image: url("../images/wave.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  padding-bottom: 80px;
}
@media screen and (max-width: 768px) {
  .bg-news{
    background-size: cover;
  }
}


/*採用情報*/
.bg_circle{
  background-image: url("../images/frontpage/top_circle.svg");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0 120px; 
}
.recruit_catch{
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

.recruit-link-list {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-bottom: 5rem;
}

.recruit-link-card {
  flex: 1;
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.recruit-link-img img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  display: block;
}

.recruit-link-body {
  position: relative;
  background: #b5a875;
  text-align: center;
  padding: 38px 16px 18px;
}

.recruit-link-body span {
  position: absolute;
  font-family: 'Barlow Condensed', sans-serif;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  min-width: 205px;
  background: #fff;
  color: #7c6b35;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 14px 20px;
  border-radius: 4px;
}

.recruit-link-body p {
  margin: 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .bg_circle{
    padding: 0;
  }
  .recruit_catch{
    font-size: 1rem;
  }
  .recruit-link-list {
    display: block;
    margin-bottom: 2rem;
  }

  .recruit-link-card {
    margin-bottom: 24px;
  }

  .recruit-link-img img {
    height: 240px;
  }

  .recruit-link-body {
    padding: 36px 16px 20px;
  }
}

