@charset "UTF-8";

/* メインビジュアル（背景画像 + ロゴ）
--------------------------------- */
.serendie-mainVisual {background: url(../img/img_mv.png) no-repeat 28% center / cover;}
.serendie-mainVisual__title {background-color: #FFF; position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: flex-end; width: 50%; max-width: 600px; margin: 0; padding: 85px 90px 30px 20px; isolation: isolate;}
.serendie-mainVisual__title::before {content: ""; position: absolute; top: 0; right: 100%; bottom: 0; z-index: -1; background: linear-gradient(to right, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.013) 7.3%, rgba(255, 255, 255, 0.049) 14%, rgba(255, 255, 255, 0.104) 20.3%, rgba(255, 255, 255, 0.175) 26.1%, rgba(255, 255, 255, 0.259) 31.8%, rgba(255, 255, 255, 0.352) 37.1%, rgba(255, 255, 255, 0.45) 42.4%, rgba(255, 255, 255, 0.55) 47.6%, rgba(255, 255, 255, 0.648) 52.9%, rgba(255, 255, 255, 0.741) 58.2%, rgba(255, 255, 255, 0.825) 63.9%, rgba(255, 255, 255, 0.896) 69.8%, rgba(255, 255, 255, 0.951) 76%, rgba(255, 255, 255, 0.987) 82.7%, #fff 90%); width: 200px;}
.serendie-mainVisual__title img {display: block; width: 490px; max-width: 100%; height: auto;}

/* アンカーナビ・KV
--------------------------------- */

.serendie-kv {margin-top: 60px; border: 1px solid #dcdcdc;}
.serendie-kv__box {display: flex; align-items: center; padding: 40px; background-color: #fff;}
.serendie-kv__logo {display: flex; align-items: center; justify-content: center; width: 40%; margin-bottom: 0;}
.serendie-kv__logo img {display: block; max-width: 252px; width: 100%; height: auto;}
.serendie-kv__box .c-regularText {width: 60%; margin-top: 0; padding-left: 20px;}

/* e-F@ctory から Serendie Automation へ
--------------------------------- */
.serendie-flow {margin-top: 30px;}
.serendie-flow__logos {display: flex; justify-content: space-between; align-items: center;}
.serendie-flow__body {display: flex; align-items: stretch; margin-top: 15px;}
.serendie-flow__year {box-sizing: border-box; display: flex; flex: 0 0 126px; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; line-height: 1; color: #fff;}
.serendie-flow__year--start {padding-right: 15px; background-color: #0080cc; clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);}
.serendie-flow__year--end {padding-left: 18px; background-color: #e60012; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15px 50%);}
.serendie-flow__list {display: flex; flex: 1 1 auto; margin: 0; padding: 0; list-style: none;}
.serendie-flow__item {display: flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; min-height: 126px; margin-left: -4px; padding: 10px 25px; text-align: center; background-color: #e4f2fa; clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%, 15px 50%);}
.serendie-flow__item:nth-child(3) {background-image: linear-gradient(to right, #e4f2fa, #fde7e9);}
.serendie-flow__item:nth-child(4) {background-color: #fde7e9;}
.serendie-flow__icon {width: 48px; height: 48px;}
.serendie-flow__title {margin-top: 5px; font-size: 16px; font-weight: 700; line-height: 1.3; color: #0080cc;}
.serendie-flow__title--gradient {background: linear-gradient(to right, #0080cc 34%, #e60012 67%); -webkit-background-clip: text; background-clip: text; color: transparent;}
.serendie-flow__title--red {color: #e60012;}
.serendie-flow__text {margin-top: 5px; font-size: 12px; line-height: 1.2; color: #444;}

/* 画像枠線（Partners・関連リンク）
--------------------------------- */
.serendie-imgBorder {box-sizing: border-box; border: 1px solid #dcdcdc;}

/* 関連リンク
--------------------------------- */
.serendie-related__title + .c-text {margin-top: 15px;}
.serendie-related__line {margin: 26px 0; border-top: 1px solid #dcdcdc;}
.serendie-related__line + .l-grid {margin-top: 26px;}

/* 記事や動画・CTA
--------------------------------- */
.serendie-comingSoon {margin-top: 30px; padding: 60px 15px; font-size: 20px; font-weight: 700; text-align: center; color: #9a9a9a; background-color: #f2f2f2;}
.serendie-cta {margin-top: 80px; text-align: center;}
.serendie-cta__btn.c-btn {width: 400px; max-width: 100%; height: 60px; padding: 0 1em; justify-content: center; font-size: 17px; font-weight: 700; line-height: 26px; color: #fff; border: none; border-radius: 4px; background-color: red;}
.serendie-cta__btn.c-btn:active, .serendie-cta__btn.c-btn:hover, .serendie-cta__btn.c-btn:link, .serendie-cta__btn.c-btn:visited {color: #fff;}
.serendie-cta__btn.c-btn:active, .serendie-cta__btn.c-btn:hover {background-color: #d90000;}

@media only screen and (max-width:767px){
  .serendie-mainVisual {background: url(../img/img_mv.png) no-repeat 0% center / cover; display: flex; align-items: center; justify-content: center; height: 358px; padding: 0 15px;}
  .serendie-mainVisual__title {position: relative; top: 33px; right: auto; bottom: auto; display: block; width: auto; max-width: 100%; margin: 0; padding: 20px; background: rgba(255, 255, 255, 0.9); transform: none;}
  .serendie-mainVisual__title::before {display: none;}
  .serendie-mainVisual__title img {width: 240px;}
  .serendie-kv {margin-top: 40px;}
  .serendie-kv__box {display: block; padding: 20px 15px;}
  .serendie-kv__logo {width: auto; margin-bottom: 10px;}
  .serendie-kv__box .c-regularText {width: auto; padding-left: 0;}
  .serendie-kv__logo img {display: block; width: 170px;}
  .serendie-flow {display: flex; flex-direction: column;}
  .serendie-flow__logos {display: contents;}
  .serendie-flow__logos img {max-width: 45%; height: auto;}
  .serendie-flow__logos img:first-child {order: 1; align-self: center;}
  .serendie-flow__body {order: 2;}
  .serendie-flow__logos img:last-child {order: 3; align-self: center; margin-top: 15px;}
  .serendie-flow__body {flex-direction: column;}
  .serendie-flow__year {flex-basis: auto;}
  .serendie-flow__year--start {padding: 15px 0 30px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 50% 100%, 0 calc(100% - 15px));}
  .serendie-flow__year--end {margin-top: -4px; padding: 30px 0 15px; clip-path: polygon(0 0, 50% 15px, 100% 0, 100% 100%, 0 100%);}
  .serendie-flow__list {flex-direction: column;}
  .serendie-flow__item {margin-top: -4px; margin-left: 0; padding: 35px 25px 30px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 15px; align-content: center; text-align: left; clip-path: polygon(0 0, 50% 15px, 100% 0, 100% calc(100% - 15px), 50% 100%, 0 calc(100% - 15px));}
  .serendie-flow__item:nth-child(3) {background-image: linear-gradient(to bottom, #e4f2fa, #fde7e9);}
  .serendie-flow__icon {grid-row: 1 / 3; align-self: center; justify-self: end;}
  .serendie-flow__title {grid-column: 2; margin-top: 0; align-self: end;}
  .serendie-flow__title--gradient {background-image: linear-gradient(to bottom, #0080cc 34%, #e60012 67%);}
  .serendie-flow__text {grid-column: 2; margin-top: 5px; align-self: start;}
  .serendie-comingSoon {padding: 40px 15px; font-size: 18px;}
}

/* 追記 */
@media only screen and (min-width:1560px){
  .serendie-mainVisual__title {right: 50%; margin-right: -778px;}
}

.serendie-mainVisual .c-mainVisual__fa {position: absolute; top: 85px; left: 0; z-index: 1; padding: 20px 55px;}
@media only screen and (min-width:1380px){
  .serendie-mainVisual .c-mainVisual__fa {left: 50%; margin-left: -690px;}
}
@media only screen and (max-width:767px){
  .serendie-mainVisual .c-mainVisual__fa {top: 65px; padding: 20px 15px;}
}
