/* ===== MV（ヒーロー） ===== */
.mv{
  position: relative;
  aspect-ratio: 1420 / 675;
  width: 100%;
  overflow: hidden;
  @media (max-width: 767px){
    height: 570px;
  }
}
/* Swiperは高さを受け取る */
.mv .swiper,
.mv .swiper-wrapper,
.mv .swiper-slide{
  height: 100%;
}
/* オーバーレイの基準 */
.mv .swiper-slide{ position: relative; }

/*img.mv__bg */
.mv__bg{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
}

/* ===== オーバーレイ（ロゴ＋テキスト） ===== */
.mv__overlay{
  z-index:1;
  position:absolute;
  top: 88px; /* headerの高さを考慮 */
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  height: calc(100% - 88px);
  @media (max-width: 767px){
    height: calc(570px - 88px);
  }
}
.mv__inner{
  display:grid;
  grid-template-columns: 9fr 11fr; /* 9:11 = 45% : 55% */
  align-items:center;
  width: min(1400px, 100% - 40px);
  gap: 50px;
  @media (max-width: 767px){
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
  }
}

/* 左：大きいロゴ */
.mv__logo{
  margin: 0 0 0 auto;
  max-width: 430px;
  width: 70%;
  @media (max-width: 767px){
    margin: 0 auto 0 0;
    width: 180px !important;
  }
}
.mv__logo img{
  width:100%;
  height:auto;
}
/* 右：テキスト */
.mv-text {
  @media (max-width: 767px){
  width: 300px;
  margin: 0 auto;
  }
}
.mv-text__title {
  margin: 0 0 0.5em;
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  color: #299653;
  text-stroke: 1.5px #fff;
}
.mv-text__desc {
  margin: 0;
  line-height: 1.6;
  font-size: clamp(15px, 1.6vw, 20px);
  color: #fff;
}

/* レスポンシブ調整 */
@media (max-width: 767px){
  .mv__inner{ grid-template-columns: 1fr; }
  .mv__logo{ width:min(60vw, 460px); margin-inline:auto }
}

/* //////////////////////////////////////////// */

/* MV直下リードの行間
--------------------------- */
.lead h1 {
  font-size: clamp(34px, 3.125vw, 40px); /* 1280px */
  line-height: 1.4;
  @media (max-width: 767px) {
    font-size: 26px;
  }
}

/* サイトメニューセクション
--------------------------- */
/* 写真とセットボックスの段差横並び */
.CardWrap .SetBox_ {
  background-color: #fff;
}
/* -- PC -- */
@media screen and (min-width: 768px) {
  section#features .ContentBody{
    padding: 100px 0 130px;
    max-width: 1200px;
    overflow: visible;
  }
  .CardWrap{
    position: relative;
    margin-bottom: 90px;
    padding: 70px 0 0;
    width: 100%;
  }
  .CardWrap:last-child{
    margin-bottom: 0;
  }
/* -------------------------------------------- */
  .CardWrap .ImageBox_ {
    z-index: 2;
    position: absolute;
    top: 0;
    right: calc(50% - 65px);
    max-width: 785px;
    width: calc(50vw + 65px);
    height: 460px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  }
  .CardWrap.Reverse .ImageBox_ {
    top: 0;
    right: auto;
    left: calc(50% - 65px);
  }
  .CardWrap .ImageBox_ img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
/* -------------------------------------------- */
  .CardWrap .SetBox_ {
    z-index: 1;
    box-sizing: border-box;
    border: 1px solid #ccc;
    margin-left: auto;
    padding: 95px 70px 95px 260px;
    min-width: 700px;
    width: 63%; /* 760px */
  }
  .CardWrap.Reverse .SetBox_{
    margin-left: 0;
    padding-left: 70px;
    padding-right: 260px;
  }
  .CardWrap .HeadingBox_ {
    margin-bottom: 20px;
  }
  .CardWrap .TextBox_ {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
  }
  .CardWrap .ButtonBox_{
    display: inline-block !important;
  }
}
/* -------------------------------------------- */
@media (min-width: 768px) and (max-width: 1100px) {
  .CardWrap .ImageBox_ {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    width: calc(100vw - 500px) !important;
  }
  .CardWrap.Reverse .ImageBox_ {
    top: 0;
    right: 0 !important;
    left: auto;
  }
}
/* -- SP -- */
@media screen and (max-width: 767px) {
  .CardWrap{
    margin-bottom: 10px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
  }
  .CardWrap .SetBox_ {
    padding: 20px;
  }
  .CardWrap .ImageBox_ {
    width: 100%;
    margin-bottom: 0;
  }
  .CardWrap .ImageBox_ img{
    width: 100%;
    height: auto;
  }
  .CardWrap .HeadingBox_ {
    margin-bottom: 10px;
  }
  .CardWrap .TextBox_ {
    margin-bottom: 15px;
  }
}

/* 業務内容：緑BG（右下がほんのり明るい） */
.SetBox_.CardBusiness {
  background-color: #176142;
  background-image: radial-gradient(
    circle at right 12% bottom 12%,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.08) 35%,
    rgba(255,255,255,0) 75%
  );
}
.CardBusiness .HeadingBox_ h2,
.CardBusiness .HeadingBox_ h2 span,
.CardBusiness .TextBox_ p {
  color: #fff;
}
.CardBusiness .ButtonBox_ a.BtnStyleA_ {
  border: 1px solid #fff;
}

/* ピックアップ
--------------------------- */
section#pickup {
  background: url(/img/fm/qos01/home/bg-pickup.webp) bottom center no-repeat;
  background-size: cover;
  @media (min-width: 768px) {
    background-attachment: fixed;
  }
}

#pickup .HdgStyleE_ h1 { color: var(--font-colorE) !important; }
#pickup .HdgStyleE_ span { color: var(--font-colorE) !important; }

#pickup .PB_ {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  container-type: inline-size;
}
#pickup .CB_ {
  padding: 0;
  width: clamp(320px, calc(100cqw - 600px), 500px);
  background-color: #fff;
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1);
}
#pickup .CB_ a{
  display: block;
}
#pickup .CB_ .ImageBox_{
  margin: 0;
}
#pickup .CB_ .HeadingBox_{
  margin: 0;
  padding: 40px 0;
}
#pickup .CB_ .HeadingBox_ h2{
  text-align: center;
  font-size: clamp(24px, 2.5455vw, 28px);
}
/* -- SP -- */
@media screen and (max-width: 767px) {
  #pickup .CB_ {
    margin-bottom: 20px;
    width: 100%;
  }
  #pickup .CB_ .HeadingBox_ h2{
    font-size: 24px;
  }
}

/* クリック可能カード */
.card{
  display:block;
  text-decoration:none;
}
.card:hover {
  color: var(--main-color);
}
/* 画像拡大のアニメ設定 */
.card__media{ position:relative; overflow:hidden; }
.card__media img{
  display:block;
  width:100%;
  transform:scale(1);
  transition:transform .35s ease;
  transform-origin:center;
}
/* ★ホバーやフォーカス時に画像を拡大 */
.card:hover .card__media img {
  transform:scale(1.04);
}
/* テキスト＋矢印の配置 */
.link-arrow {
  display: flex;
  justify-content:center;
  align-items: center;
  gap: 10px; /* テキストと矢印の間隔 */

  font-weight: 700;
  text-indent: 26px;
  color: var(--main-color);
}
/* SVGのサイズと色 */
.link-arrow .ico {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* INFORMATION
--------------------------- */
ul#information_list {
  display: block;
  margin: 0 auto 35px;
  padding: 0;
  width: 1000px;
  list-style-type: none;
}
#information_list li {
  clear: both;
  border-bottom: 1px dotted gray;
  padding: 15px;
  overflow: hidden;
}
#information_list span {
  display: inline-block;
  padding: 3px 0;
}
#information_list .Date {
  width: 120px;
  font-weight: bold;
}
#information_list .Category{
  border-radius: 5px;
  width: 120px;
  background-color: var(--main-color);
  text-align: center;
  font-size: 12px;
  color: #fff;
}
#information_list .Title {
  float: right;
  display: block;
  width: 700px;
}
@media screen and (max-width: 767px) {
  ul#information_list {
    width: 100%;
  }
  #information_list span {
    padding: 2px 0;
  }
  #information_list .Category{
    width: 110px;
    font-size: 11px;
  }
  #information_list .Title {
    display: block;
    margin-top: 5px;
    width: 100%;
  }
}

