@charset "UTF-8";

/* -----------------------------
  ボタン
----------------------------- */
.btn-adjust {
  text-align: center;
}
.creation-btn {
  position: relative;
  display: inline-block;
  padding: 16px 95px 16px 85px;
  color: #fff !important;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  background: #333;
  border-radius: 4px;
}
@media screen and (max-width: 680px) {
  .creation-btn {
    padding: 16px 68px 16px 60px;
    font-size: 16px;
  }
}
.creation-btn::after {
  position: absolute;
  content: "";
  display: block;
  top: 45%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.creation-btn:hover {
  opacity: 0.7;
  -webkit-transition: ease all 0.3s;
  transition: ease all 0.3s;
}
.creation-btn:visited {
  color: #fff;
}

/* -----------------------------
  セクション MV swiperスライダー
----------------------------- */
#sec_mv {
  position: relative;
  padding-top: var(--header-height, 0px);
}

#sec_mv .mv-swiper {
  width: 100%;
  height: calc(100vh - var(--header-height, 0px));
  max-height: calc(100vh - var(--header-height, 0px));
  position: relative;
}

#sec_mv .mv-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sec_mv .mv-swiper .swiper-slide picture,
#sec_mv .mv-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* SP版: 横幅依存で高さを自動調整 */
@media (max-width: 680px) {
  #sec_mv .mv-swiper {
    height: auto;
    max-height: none;
  }
  
  #sec_mv .mv-swiper .swiper-slide,
  #sec_mv .mv-swiper .swiper-slide picture,
  #sec_mv .mv-swiper .swiper-slide img {
    height: auto;
    object-fit: contain;
  }
}

/* MVスライダーのページネーション */
.mv-swiper > .mv-swiper-pagination {
  position: absolute !important;
  z-index: 100 !important;
  pointer-events: auto !important;
}

/* PC版: 縦配置（上下中央、右端から20px） */
@media (min-width: 681px) {
  .mv-swiper.swiper-horizontal > .mv-swiper-pagination.swiper-pagination-bullets {
    right: 20px !important;
    top: 50% !important;
    left: auto !important;
    bottom: auto !important;
    width: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: right !important;
  }

  .mv-swiper .mv-swiper-pagination .swiper-pagination-bullet {
    width: 3px !important;
    height: 40px !important;
    border-radius: 1.5px !important;
    background: #CCCCCC !important; /* 非アクティブ時は白 */
    opacity: 1 !important;
    margin: 0 !important;
    transition: background 0.3s ease !important;
  }

  .mv-swiper .mv-swiper-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(180deg, #008CD6 0%, #004EA7 100%) !important;
    opacity: 1 !important;
  }
}

/* SP版: 横配置（左右中央、下端から8px） */
@media (max-width: 680px) {
  #sec_mv {
    position: relative;
  }
  
  #sec_mv .mv-swiper {
    position: relative;
  }

  .mv-swiper.swiper-horizontal > .mv-swiper-pagination.swiper-pagination-bullets {
    bottom: 8px !important;
    left: 50% !important;
    top: auto !important;
    right: auto !important;
    width: auto !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    position: absolute !important;
    z-index: 100 !important;
  }

  .mv-swiper .mv-swiper-pagination .swiper-pagination-bullet {
    width: 30px !important;
    height: 2px !important;
    border-radius: 1px !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    margin: 0 !important;
    transition: background 0.3s ease !important;
  }

  .mv-swiper .mv-swiper-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #008CD6 0%, #004EA7 100%) !important;
    opacity: 1 !important;
  }
}

/* -----------------------------
  セクション 重要なお知らせ
----------------------------- */
#sec_important_news {
  padding-top: 0;
  padding-bottom: 0;
}

#sec_important_news .sec_inner {
  width: min(100% - 80px, 1300px);
  margin: 0 auto;
}

.important-news {
  background-color: #FFFFFF;
  width: 100%;
}

.important-news li {
  font-size: 15px;
  line-height: 1.8;
  padding: 25px 40px 20px;
}

.important_title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #004E85;
  line-height: 2;
  margin-bottom: 5px;
  border-bottom: 2px solid #B4CADB;
  padding-bottom: 2px;
}

.important_title img {
  width: auto;
  flex: 0 0 auto;
}

@media screen and (max-width: 680px) {
  #sec_important_news .sec_inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .important-news {
    box-shadow: none;
  }
  
  .important-news li {
    padding: 16px 0 32px;
  }
  
  .important_title {
    display: flex;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
}

/* -----------------------------
  セクション バナーswiperスライダー
----------------------------- */
#sec_bnr-swiper {
  padding-top: 80px;
}
#sec_bnr-swiper .swiper-wrapper {
  transition-timing-function: linear;
  padding-bottom: 10px;
}
#sec_bnr-swiper .swiper-slide img {
  height: auto;
  width: 100%;
}
#sec_bnr-swiper .bnr-swiper {
  overflow: hidden;
}
.bnr-swiper .swiper-slide {
  width: 400px !important;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}
#sec_bnr-swiper .bnr_link {
  display: block;
  width: 100%;
}
#sec_bnr-swiper .bnr_img {
  display: block;
  /* width: 400px;
  height: auto; */
  object-fit: cover;
  max-height: 230px;
} 
@media (max-width: 680px) {
  #sec_bnr-swiper {
    padding-top: 20px;
  }
  .bnr-swiper .swiper-slide {
    width: 250px !important;
  }
  #sec_bnr-swiper .bnr_img {
    max-height: 125px;
  }
}

/* セクション リノベーションswiperスライダー（バナーと同様に等速スクロール） */
#sec_renovation .swiper-wrapper {
  transition-timing-function: linear;
}


/* -----------------------------
  セクション 共通
----------------------------- */
.sec_inner {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
}
.sec_title {
  font-size: 54px;
  font-weight: bold ;
  color: #004E85;
  line-height: 1;
  margin-bottom: 20px;
}
.sec_subtitle {
  font-size: 18px;
  margin-bottom: 60px;
}
@media screen and (max-width: 680px) {
  .sec_title {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 10px;
  }
  .sec_subtitle {
    font-size: 17px;
    margin-bottom: 24px;
  }
}


/* -----------------------------
  セクション BUSINESS
----------------------------- */
#sec_business {
  padding-top: 150px;
}

#sec_business .sec_business_inner {
  width: min(100% , 1600px);
  margin: 0 auto;
}
.sec_flex {
  display: flex;
  gap: 40px;
  line-height: 1.8;
  margin-bottom: 60px;
}
.sec_flex.un_right {
  max-width: 1300px;
  margin-left: auto;
  padding-left: 40px;
}
.flex_text-wrap {
  width: 45%;
  font-size: 16px;
}
.flex_text-wrap h4 {
  font-size: 18px;
  font-weight: bold;
  color: #004E85;
  margin-bottom: 20px;
}
.flex_img-wrap {
  width: 55%;
}
@media (max-width: 680px) {
    #sec_business {
    padding-top: 50px;
  }
  .sec_flex {
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 36px;
  }
  .sec_flex.un_right {
  padding-left: 20px;
}
  .flex_text-wrap,
  .flex_img-wrap {
    width: 100%;
  }
  .flex_text-wrap {
    font-size: 15px;
    line-height: 2;
  }
}
/* ------------------------------
  チーム・リオ（business-feature-grid）
  PC: 左画像 / 右テキスト + ボタン
  SP: テキスト + ボタン → 画像 の順
-------------------------------- */
.business-feature-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 55% 1fr; /* 画像:テキスト 比率 */
  grid-template-areas:
    "image text"
    "image btn"; /* PC: ボタンはテキスト下で右カラム */
  gap: 24px 40px; /* row col */
  max-width: 1300px;
  margin: 0 auto 60px 0; /* 既存 .sec_flex.un_left と同等の右寄せ */
  padding-right: 20px;
}
.business-feature-grid__image { grid-area: image; }
.business-feature-grid__image img { width: 100%; height: auto; display: block; }
.business-feature-grid__text { grid-area: text; font-size: 16px; line-height: 1.8; }
.business-feature-grid__title { font-size: 18px; font-weight: 700; color: #004E85; margin: 0 0 10px; }
.business-feature-grid__btn { grid-area: btn; text-align: center; }
/* .business-feature-grid__btn .creation-btn { padding-left: 70px; padding-right: 80px; } */

@media (max-width: 680px) {
  .business-feature-grid {
    grid-template-columns: 1fr; /* 1カラム */
    grid-template-areas:
      "text"
      "image"
      "btn"; /* SP順: テキスト→画像→ボタン */
    gap: 20px;
    padding: 0 20px; /* 既存スマホ余白に合わせる */
    margin: 0 0 60px 0;
  }
  .business-feature-grid__text { grid-area: text; font-size: 15px; line-height: 2; }
  .business-feature-grid__image { grid-area: image; }
  .business-feature-grid__btn { grid-area: btn; text-align: center; margin-top: 20px; }
  .business-feature-grid__title { font-size: 17px; }
  .business-feature-grid__btn .creation-btn { max-width: 200px; padding-left: 50px; padding-right: 58px; }
}

.business-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 120px;
}
@media (max-width: 680px) {
  .business-list {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}
.business-item {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate; /* z-indexの範囲をカード内に閉じる */
  padding: clamp(56px, 7.3vw, 120px) clamp(25px, 3.125vw, 50px) 50px;
  min-height: clamp(360px, 32vw, 507px);
}
@media (max-width: 680px) {
  .business-item {
    padding: 56px 36px 40px;
  }
}
.business-img-wrap,
.business-img-wrap picture,
.business-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-mask-wrap,
.business-mask-wrap picture,
.business-mask-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.business-mask-wrap {
  z-index: 10;
  mix-blend-mode: normal;
}
.business-text-wrap {
  position: relative;
  inset: auto;
  z-index: 20;
  color: #fff;
}
.business-title {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 40px;
}
.business-disc {
  font-size: 16px;
  line-height: 2;
}
@media (max-width: 680px) {
  .business-text-wrap {
    position: relative;
    inset: auto;
  }
  .business-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .business-disc {
    font-size: 15px;
  }
}


/* -----------------------------
  セクション DESIGN WORKS
----------------------------- */
#sec_renovation {
  padding-top: 175px;
  padding-bottom: 155px;
}
@media (max-width: 680px) {
  #sec_renovation {
    padding-top: 58px;
    padding-bottom: 48px;
  }
}
#sec_renovation .renovation-swiper .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
}
#sec_renovation .renovation_img {
  display: block;
  width: 314px;
  height: 310px;
  object-fit: cover;
  object-position: center;
} 
#sec_renovation .btn-adjust {
  margin-top: 50px;
}
#sec_renovation .btn-adjust .creation-btn {
  font-weight: 400;
}
@media (max-width: 680px) {
  #sec_renovation .renovation_img {
    width: 202px;
    height: 200px;
  }
  #sec_renovation .btn-adjust {
    max-width: 265px;
    margin-top: 30px;
    margin-inline: auto;
  }
  #sec_renovation .btn-adjust .creation-btn {
    font-size: 14px;
    padding-right: 36px;
    padding-left: 20px;
  }
}


/* -----------------------------
  セクション PROJECT
----------------------------- */
#sec_project {
  padding-top: 120px;
  padding-bottom: 120px;
  background-color: #F7FAFC;
}
@media (max-width: 680px) {
  #sec_project {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}
.project_item { 
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 50px;
  height: 100%;
}
.project_item_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 680px) {
  .project_item_wrap {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
.project_img_wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.project_title {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 30px;
}
@media (max-width: 680px) {
  .project_title {
    font-size: 22px;
    margin-bottom: 10px;
  }
}
.project_disc {
  font-size: 16px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 680px) {
  .project_subtitle {
    font-size: 14px;
  }
}
#sec_project .btn-adjust .creation-btn {
  font-weight: 400;
}
/* project-swiper のページネーションボタン */
#sec_project .project-swiper-outer {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  /* 外枠は overflow:visible でナビボタン表示 */
  overflow: visible;
  padding: 0 60px;
  box-sizing: content-box;
}
#sec_project .project-swiper {
  position: relative;
  overflow: hidden; /* スライド範囲を切る */
}

#sec_project .project-swiper-outer .project-swiper-button-prev,
#sec_project .project-swiper-outer .project-swiper-button-next {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-image: url(../creation/images/slider_arrow.png);
  background-repeat: no-repeat;
  background-size: 45px 45px;
  background-position: center;
  z-index: 10;
  cursor: pointer;
  margin-top: 0;
  transition: opacity .3s ease;
}

#sec_project .project-swiper-outer .project-swiper-button-prev:hover,
#sec_project .project-swiper-outer .project-swiper-button-next:hover {
  opacity: .7;
}

#sec_project .project-swiper-outer .project-swiper-button-prev {
  left: 0;
  right: auto;
  transform: translateY(-50%) scale(-1, 1);
}

#sec_project .project-swiper-outer .project-swiper-button-next {
  right: 0;
  left: auto;
}

#sec_project .project-swiper-outer .project-swiper-button-prev::after,
#sec_project .project-swiper-outer .project-swiper-button-next::after {
  display: none;
}

@media (max-width: 680px) {
  #sec_project .project-swiper-outer {
    padding: 0;
  }
  #sec_project .project-swiper-outer .project-swiper-button-prev,
  #sec_project .project-swiper-outer .project-swiper-button-next {
    top: 18%;
    width: 35px;
    height: 35px;
    background-size: 35px 35px;
  }
  #sec_project .project-swiper-outer .project-swiper-button-prev {
    left: -10px;
  }

  #sec_project .project-swiper-outer .project-swiper-button-next {
    right: -10px;
  }
}


/* -----------------------------
  セクション MOVIE
----------------------------- */
#sec_movie {
  padding-top: 120px;
  padding-bottom: 120px;
}
.movie_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.movie_item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.movie_video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 のアスペクト比 */
  height: 0;
  overflow: hidden;
}
.movie_video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.movie_title {
  font-size: 16px;
  color: #333;
}
@media (max-width: 680px) {
  #sec_movie {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .movie_wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .movie_title {
    font-size: 17px;
  }
}


/* -----------------------------
  セクション PICK UP
----------------------------- */
#sec_pickup {
  padding-top: 110px;
}
@media (max-width: 680px) {
  #sec_pickup {
    padding-top: 50px;
  }
}
#sec_pickup .pickup-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 680px) {
  #sec_pickup .pickup-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
.pickup-item {
  display: block;
  overflow: hidden;
  position: relative;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}
.pickup-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 314 / 132;
}

.pickup-title {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 2;
  background-color: #CCCCCC;
}
.pickup-arrow {
  position: absolute;
  left: 50%;
  bottom: 3%;
  transform: translate(-50%, 0);
  transition: transform 0.35s ease;
  z-index: 1;
}
.pickup-item:hover .pickup-arrow,
.pickup-item:focus-visible .pickup-arrow {
  transform: translate(calc(-50% + 6px), 0);
}
@media (max-width: 680px) {
  .pickup-item img {
    aspect-ratio: 158 / 135;
  }
  .pickup-title {
    font-size: 13px;
  }
  .pickup-arrow {
    bottom: -5px;
  }
}


/* -----------------------------
  セクション NEWS
----------------------------- */
#sec_news {
  padding-top: 170px;
  padding-bottom: 200px;
}
@media (max-width: 680px) {
  #sec_news {
    padding-top: 60px;
    padding-bottom: 100px;
  }
}
.news_wrap {
  display: grid;
  grid-template-columns: 175px 1fr;
  grid-template-areas:
    "title list"
    "more list"
    ". list";
  column-gap: 60px;
  align-items: start;
}
@media (max-width: 680px) {
  .news_wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "list"
      "more";
  }
}
.news_wrap > * { min-width: 0; }

.news_title_wrap { grid-area: title; }
.news_list_wrap  { grid-area: list; margin: 0; padding: 0;}
.news_btn_adjust  { grid-area: more; text-align: left;}

.news_btn_adjust .creation-btn {
  font-weight: 400;
  padding: 16px 44px 16px 28px;
}

@media screen and (max-width: 680px) {
  .news_btn_adjust {
    max-width: 220px;
    margin-top: 34px;
    margin-inline: auto;
  }
  .news_btn_adjust .creation-btn {
    padding-right: 68px;
    padding-left: 60px;
  }
}

.news_list_wrap li {
  font-size: 16px;
  line-height: 2;
  padding-bottom: 25px;
  border-bottom: 1px solid #e0e0e0;
}
.news_list_wrap li:not(:first-child) {
  padding-top: 25px;
}
.news_list_wrap .day_text {
  margin-bottom: 10px;
}
.news_list_wrap .day {
  display: inline-block;
  min-width: 80px;
  color: #707070;
  font-size: 14px;
}
.news_list_wrap .category {
  display: inline-block;
  background-color: #333333;
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1;
  padding: 4px 16px;
  margin-left: 10px;
}
.news_list_wrap .contents {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 8px;
}
@media screen and (max-width: 680px) {
  .news_list_wrap .day_text {
    margin-bottom: 0;
  }
}

