@charset "utf-8";
/* ===============================================================
   TOP用CSS（top.css）
   2026/05/12 UP
=============================================================== */
/* ----------------------------------------------------------------
   TOP共通
---------------------------------------------------------------- */
/* タイトル */
.top-ttl {
  color: var(--color-deep-green);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.8rem, 8.5vw, 5rem);
}
/* サブタイトル */
.top-ttl-sub {
  color: #B1CDCA;
  font-weight: 500;
  letter-spacing: 10%;
  margin-bottom: .5rem;
}


/* ----------------------------------------------------------------
   Heroエリア
   class: top-about-
---------------------------------------------------------------- */
.top-hero-area {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.top-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

/* ***************** コピー */
.top-hero-area h1 {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: max-content;
}
.top-hero-area h1 > span {
  display: inline-block;
  background: rgba(255, 255, 255, .85);
  color: var(--color-deep-green);
  padding-inline: 18% 5%;
  width: fit-content;
}
.hero-copy {
  padding-block: 2px;
  line-height: 0.75;
  text-wrap: nowrap;
  letter-spacing: .1rem;
  font-family: "Karla", sans-serif;
  font-weight: 400;
  /* PC 80px。375px では nowrap のまま収まるよう縮める（1rem=10px） */
  font-size: clamp(2.8rem, 10.5vw, 8rem);
}
.top-hero-area h1 .hero-small {
  padding-block: 2px;
  line-height: 1.05;
  letter-spacing: .2rem;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "游ゴシック体", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  font-weight: 500;
  /* PC 45px。狭い幅ではみ出さない */
  font-size: clamp(2.6rem, 8.5vw, 4.5rem);
}

/* ***************** スライド */
.js-hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}
.js-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js-hero-slide.is-active {
  display: block;
}

/* ***************** News */
.top-hero-news-box {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  width: min(680px, 100%);
  min-height: 80px;
  background-color: rgba(255, 255, 255, .85);
  border: 1px solid var(--color-deep-green);
}
.top-hero-news-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  background: var(--color-deep-green);
  color: var(--color-white);
  font-size: 1.8rem;
}
.top-hero-news-list {
  flex: 1;
  padding: 2rem 25px;
  position: relative;
  min-width: 0;
}
.top-hero-news-list::after {
  content: '';
  width: 1px;
  height: auto;
  background-color: var(--color-deep-green);
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  display: block;
}
.top-hero-news-list li p {
  font-size: 1.4rem;
}
.top-hero-news-list .news-date {
  margin-bottom: 8px;
}
.top-hero-news-list li a {
  display: block;
  color: inherit;
  text-decoration: none;
  font-size: 1.4rem;
  width: 100%;
}
.top-hero-news-text {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-hero-news-more {
  width: 110px;
}
.top-hero-news-btn {
  color: var(--color-deep-green);
  text-decoration: none;
  font-size: 1.5rem;
  position: relative;
  font-weight: 500;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-hero-news-btn::after {
  content: "↓";
  margin-left: 5px;
}

/* ***************** ▼▼▼デバイス対応 1376px以下 */
@media screen and (max-width: 1376px) {
  .top-hero-news-list {
    padding: 1.5rem 20px;
  }
}


/* ***************** ▼▼▼デバイス対応 680px以下 */
@media screen and (max-width: 680px) {
  /* ***************** コピー */
  .top-hero-area h1 {
    /* gap: 10px; */
  }
  .top-hero-area h1 > span {
    padding-inline: 14% 20px;
  }
  
  /* ***************** News */
  .top-hero-news-label {
    min-width: 95px;
    font-size: 1.6rem;
  }
  .top-hero-news-more {
    width: 95px;
  }
  
}

/* ***************** ▼▼▼デバイス対応 480px以下 */
@media screen and (max-width: 480px) {
  .top-hero-area {
      overflow: visible;
      height: 96vh;
  }
  .top-hero-area h1 {
    top: 38%;
    left: 50%;
    transform: translateX(-50%); 
    text-align: center;
    justify-content: center;
    max-width: calc(100% - 30px);
    gap: 6px;
  }
  .top-hero-area h1 > span {
    padding-inline: 12px;
  }
  .hero-small,
  .hero-copy {
    margin: 0 auto;
  }
  .top-hero-area h1 .hero-small {
    letter-spacing: .1rem;
    font-size: 2rem;
  }
  .hero-copy {
    letter-spacing: 0;
  }
  
  /* ***************** News */
  .top-hero-news-box {
  flex-direction: column;
  width: 95%;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding-bottom: 35px;
}
  .top-hero-news-label {
    width: 100%;
  }
  .top-hero-news-more {
    width: 100%;
  }
  .top-hero-news-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
    flex-direction: column;
    font-size: 1.3rem;
    line-height: 1.3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-deep-green);
}
  .top-hero-news-btn::after {
    margin-left: 0;
  }
  .top-hero-news-list::after {
    display: none;
  }

}

/* ***************** ▼▼▼デバイス対応 320px以下 */
@media screen and (max-width: 320px) {
  /* ***************** コピー */
  .top-hero-area h1 > span {
    /* font-size: 3.2rem; */
  }
}

/* ----------------------------------------------------------------
   高松グループバナー
   class: top-group-
---------------------------------------------------------------- */
.top-group-area {
  padding-top: 3%;
  text-align: center;
}
.top-group-txt {
  margin-bottom: 2rem;
}
.top-group-txt img {
  margin-inline: auto;
  max-width: 540px;
  width: 100%;
}
.top-group-banner {
  transition: var(--transition-default);
}
.top-group-banner:hover {
  opacity: 0.8;
}
.top-group-banner img {
  max-width: 100%;
}

/* ***************** ▼▼▼デバイス対応 896px以下 */
@media screen and (max-width: 896px) {
  .top-group-area {
    padding-top: 30px;
    text-align: center;
  }
  .top-group-txt {
    margin-bottom: 1.5rem;
  }
  .top-group-txt img {
    max-width: 440px;
  }
}

/* ***************** ▼▼▼デバイス対応 680px以下 */
@media screen and (max-width: 680px) {
  .top-group-txt img {
    max-width: 380px;
  }
}

/* ***************** ▼▼▼デバイス対応 480px以下 */
@media screen and (max-width: 480px) {
  .top-group-area {
    padding-top: 80px;
  }
  .top-group-txt {
    margin-bottom: 1.2rem;
  }
  .top-group-txt img {
    max-width: 320px;
  }
}

/* ----------------------------------------------------------------
   About us
   class: top-about-
---------------------------------------------------------------- */
.top-about-area {
  width: 100%;
  display: block;
  background: url("/assets/img/top/top_bg_wave.svg") no-repeat center bottom;
  background-size: 100% auto;
  padding: 30px 0 200px;
  position: relative;
}
.top-about-inner {
  position: relative;
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 1100px;
}
/* テキスト */
.top-about-content {
  position: absolute;
  left: 52%;
  top: 28%;
  /* 55px ×「暮らしの安心を支える。」が2行に収まる幅。右端（left 52% の残り）を超えない */
  width: min(620px, 46%);
}
/*.top-about-label {
  margin-bottom: 20px;
}*/
.top-about-title {
  margin-bottom: 18px;
  color: var(--color-deep-green);
  font-family: var(--font-serif);
  font-weight: 500;
  /* 1440px で 5.5rem。狭いPCでは列幅に合わせて縮む（1rem = 10px） */
  font-size: clamp(2.6rem, 3.82vw, 5.5rem);
  letter-spacing: .1rem;
}
.top-about-title span {
  font-weight: 700;
  /* 最大 4rem。それ未満は親の 80% */
  font-size: min(4rem, 80%);
}
.top-about-text {
  margin-bottom: 40px;
  line-height: 2;
}
/* 背景のグレー四角 */
.top-about-square {
  content: '';
  position: absolute;
  z-index: -1;
}
.top-about-square--1 {
  top: 12%;
  left: -5%;
  width: 200px;
  height: 200px;
  z-index: -1;
}
.top-about-square--2 {
  top: 24%;
  right: 5%;
  width: 97px;
  height: auto;
  z-index: -1;
}
.top-about-square--3 {
  left: 64%;
  bottom: 23%;
  width: 30px;
  height: auto;
  z-index: -1;
}
.top-about-square--4 {
  right: 16%;
  bottom: 25.5%;
  width: 97px;
  height: auto;
  z-index: -1;
}
.top-about-square--5 {
  display: none;
  z-index: -1;
}
/* 左の大画像 */
.top-about-image {
  position: absolute;
  left: 0;
  top: 20%;
  width: min(600px, 45%);
}
/*右上の写真*/
.top-about-sub01 {
  position: absolute;
  top: 8%;
  right: 100px;
  width: 280px;
  max-width: 92%;
}
/*中央下の写真*/
.top-about-sub02 {
  position: absolute;
  left: 40%;
  bottom: 0;
  width: 320px;
  max-width: 60%;
}
/* 右下写真 */
.top-about-sub03 {
  position: absolute;
  right: 8%;
  bottom: 13%;
  width: 170px;
  max-width: 92%;
}
.top-about-image img, .top-about-sub01 img, .top-about-sub02 img, .top-about-sub03 img {
  width: 100%;
  height: auto;
}

/* ***************** ▼▼▼デバイス対応 896px以下 */
@media screen and (max-width: 896px) {
  .top-about-area {
    padding: 0 0 3%;
    position: relative;
  }
  .top-about-inner {
    position: relative;
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 900px;
  }
  .top-about-content {
    top: 22%;
  }
  .top-about-title {
    margin-bottom: 16px;
  }
  .top-about-text {
    margin-bottom: 20px;
    line-height: 1.8;
  }
  .top-about-sub01 {
    top: 5%;
    right: 6%;
    width: 200px;
    max-width: 94%;
  }
  .top-about-sub02 {
    left: 28%;
    bottom: 9%;
    width: 220px;
    max-width: 72%;
  }
  .top-about-sub03 {
    right: 0;
    /*bottom: 20%;*/
    bottom: 20%;
    width: 120px;
    max-width: 100%;
  }
  .top-about-square--2 {
    top: 19%;
    right: 15px;
    width: 70px;
  }
  .top-about-square--3 {
    left: 62%;
    bottom: 28%;
    width: 25px;
  }
  .top-about-square--4 {
    right: 13%;
    bottom: 30%;
    width: 50px;
  }
}

/* ***************** ▼▼▼デバイス対応 768px以下 */
@media screen and (max-width: 768px) {
  .top-about-title {
    font-size: clamp(3.3rem, 8.5vw, 3.7rem);
  }
}

/* ***************** ▼▼▼デバイス対応 680px以下 */
@media screen and (max-width: 680px) {
  .top-about-area {
    padding-bottom: 5%;
  }
  .top-about-inner {
    width: 100%;
    min-height: 1130px;
    overflow-x: hidden;
    overflow: hidden;
  }
  .top-about-content {
    left: 0;
    top: 35%;
    width: 100%;
  }
  .top-ttl-sub, .top-about-title, .top-about-text {
    margin-inline: 15px;
  }
  .top-about-title span:nth-of-type(4)::after {
    content: "\A";
    white-space: pre;
  }
  .top-about-image {
    left: 10%;
    top: 8%;
    width: min(300px, 70%);
    aspect-ratio: 4 / 3;
  }
  .top-about-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .top-about-sub01 {
    top: calc(70% + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    max-width: 80%;
  }
  .top-about-sub02 {
    top: 22%;
    right: 10%;
    left: 50%;
    width: min(160px, 45%);
    max-width: 50%;
    bottom: auto;
  }
  .top-about-sub03 {
    left: 10%;
    bottom: calc(24% - 12px);
  }
  .top-about-square--1 {
    top: 3%;
    width: 130px;
    height: 130px;
  }
  .top-about-square--2 {
    top: 24%;
    right: -14%;
    left: 85%;
    width: 100px;
  }
  .top-about-square--3 {
    left: 33%;
    bottom: calc(35% - 19.5px);
    width: 30px;
    z-index: 1;
    mix-blend-mode: multiply;
  }
  .top-about-square--4 {
    right: 14%;
    bottom: calc(28% - 14.6px);
    width: 60px;
    z-index: 1;
    mix-blend-mode: multiply;
  }
  .top-about-square--5 {
    display: block;
    right: 27%;
    bottom: calc(35% - 19.5px);
    width: 25px;
    height: auto;
  }
  .top-about-content .btn-primary {
    position: absolute;
    bottom: -380px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ***************** ▼▼▼デバイス対応 450px以下 */
@media screen and (max-width: 450px) {
  .top-about-content .btn-primary {
    bottom: -360px;
  }
}

/* ***************** ▼▼▼デバイス対応 394px以下 */
@media screen and (max-width: 394px) {
  .top-about-content .btn-primary {
    bottom: -340px;
  }
}

/* ***************** ▼▼▼デバイス対応 380px以下 */
@media screen and (max-width: 380px) {
  .top-about-area {
    padding-bottom: 10%;
  }
  .top-about-inner {
    min-height: 1050px;
  }
  .top-about-content {
    top: 32%;
  }
  .top-about-sub03 {
    left: 5%;
    width: 100px;
  }
  .top-about-content .btn-primary {
    bottom: -380px;
  }
}

/* ***************** ▼▼▼デバイス対応 317px以下 */
@media screen and (max-width: 317px) {
  .top-about-inner {
    min-height: 1100px;
  }
  .top-about-content .btn-primary {
    bottom: -360px;
  }
}


/* ----------------------------------------------------------------
   お知らせ
   class: top-news-（タブとリストの中身は common.css の news-）
---------------------------------------------------------------- */
.top-news-area {
  background: url("/assets/img/top/top_bg_arc.svg") no-repeat center bottom;
  background-size: 100% auto;
  padding-bottom: 13%;
}
/* タイトル余白 */
.top-news-ttl {
  margin-bottom: 3rem;
}
/* お知らせ タブ。並びは common.css の news-tab-box */
.top-news-area .news-tab-box {
  margin-bottom: 3rem;
}
/* お知らせ パネル */
.top-news-panel-box {
  margin-bottom: 6%;
}
/* 詳細ボタン。一覧では使わない */
.top-news-arrow-sp {
  display: none;
}

/* ***************** ▼▼▼デバイス対応 680px以下 */
@media screen and (max-width: 680px) {
  .top-news-area .container {
    padding-inline: 0;
  }
  .top-news-ttl {
    margin-inline: 15px;
  }
  /* 一覧 .news-index と同じくタブ列をコンテンツ幅いっぱいに（common の 32rem 上限を外す） */
  .top-news-area .news-tab-box {
    width: calc(100% - 40px);
    max-width: none;
    margin-inline: 20px;
  }
  /* お知らせ一覧のタブと同じ縦サイズ・文字 */
  .top-news-area .news-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    padding-block: 16px;
  }
}

/* ***************** ▼▼▼デバイス対応 480px以下 */
@media screen and (max-width: 480px) {
  /* common の width: min(..., 32rem) より一覧の width:100% 相当を優先 */
  .top-news-area .news-tab-box {
    width: calc(100% - 40px);
    max-width: none;
    margin-inline: 20px;
  }
  .top-news-area .news-tab {
    padding-inline: 20px;
  }
}




/* ----------------------------------------------------------------
   技術紹介
   class: top-tech-
---------------------------------------------------------------- */
.top-tech-area {
  margin-top: -1px;
  padding-bottom: 6%;
}
.top-tech-area .bg--base-green {
  padding-bottom: 4%;
}

/* ***************** 技術紹介 Card Link */
.top-tech-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 4%;
}
.top-tech-list li {
  list-style: none;
}
.top-tech-link {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}
/* テキスト */
.top-tech-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 500;
}
/* 緑色のマスク */
.top-tech-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: rgba(38, 88, 81, .6);
  transition: opacity .3s ease;
}
/* 画像 */
.top-tech-fig {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 1;
}
.top-tech-fig img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.top-tech-link:hover .top-tech-mask, .top-tech-link:hover .top-tech-text {
  z-index: 0;
  opacity: 0;
}

/* ***************** ▼▼▼デバイス対応 896px以下 */
@media screen and (max-width: 896px) {
  .top-tech-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .top-tech-link {
    aspect-ratio: 375 / 230;
  }
}

/* ***************** ▼▼▼デバイス対応 480px以下 */
@media screen and (max-width: 480px) {
  .top-tech-area {
    padding-bottom: 30px;
  }
  .top-tech-list {
    grid-template-columns: 1fr;
  }

}


/* ----------------------------------------------------------------
   実績 カルーセル
---------------------------------------------------------------- */
.top-work-area {
  padding-top: 5%;
  padding-bottom: 6%;
}
.work-slick {
  margin-bottom: 3%;
}
/* 幅%だとPCフル幅でドット下が過剰に空くので固定値 */
.work-slick.slick-dotted {
  margin-bottom: 70px;
}
/* 実績 カルーセル */
.top-work-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  background-color: var(--color-deep-green);
  margin-inline: 30px;
  /* padding: 10px; */
}
.top-work-figure {
  width: 55%;
  min-width: 0;
  aspect-ratio: 320 / 220;
  margin: 0;
}
.top-work-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* border-radius: 10px; */
}
.top-work-inbox {
  width: 35%;
  min-width: 0;
  max-width: 100%;
  color: var(--color-white);
  padding: 50px 0 40px;
  margin-left: auto;
  margin-right: auto;
}
.top-work-inbox h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-weight: normal;
  margin-bottom: 2rem;
  line-height: 1.3;
  color: var(--color-white);
}
.top-work-cat {
  margin-bottom: 1rem;
  padding: 4px 20px;
  text-align: center;
  display: inline-block;
  color: var(--color-deep-green);
  letter-spacing: 5%;
  font-weight: 500;
  background-color: rgba(255, 255, 255, .8);
}
.top-work-list {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}
.top-work-list li {
  padding: 0 0 6px;
  color: var(--color-white);
  font-size: 1.4rem;
}
.top-work-pin {
  background: url("/assets/img/common/ico_mappin.svg") no-repeat left top 3px;
  background-size: 12px auto;
  /* padding-left: 20px;*/
  padding-left: 20px !important;
}
/* 矢印 */
.top-work-link {
  color: var(--color-white);
  position: relative;
  text-align: right;
  padding-right: 20px;
}
.top-work-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  background: url("/assets/img/common/ico_arrow_white.svg") no-repeat center / contain;
  transform: translateY(-50%);
}
/* Slick カスタマイズ（PC: アイコン実寸で画像の縦中央。ドットは bottom で間隔を固定） */
.work-slick .slick-arrow {
  z-index: 30;
  top: 50%;
  width: 50px;
  height: 50px;
  padding: 0;
  transform: translate(0, -50%);
}
.work-slick .slick-prev {
  left: calc(20% + 5px);
}
/* ボタン50px化に合わせ、旧20px基準の +35px を左と同値に */
.work-slick .slick-next {
  right: calc(20% + 5px);
}
.work-slick .slick-prev::before,
.work-slick .slick-next::before {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  opacity: 1;
  background: url("/assets/img/common/ico_arrow_grn_lg.svg") no-repeat center / contain;
}
.work-slick .slick-prev::before {
  transform: rotate(180deg);
}
.work-slick .slick-dots {
  bottom: -45px;
}
.work-slick .slick-dots li button:before {
  font-size: 0;
  width: 10px;
  height: 10px;
  border: 1px solid var(--color-deep-green);
  border-radius: 50%;
  opacity: 1;
  margin-top: 0;
}
.work-slick .slick-dots li.slick-active button:before {
  background-color: var(--color-deep-green);
}

/* ***************** ▼▼▼デバイス対応 1376px以下 */
@media screen and (max-width: 1376px) {
  /* 実績 カルーセル */
  .top-work-box {
    margin-inline: 20px;
  }
  .top-work-inbox {
    padding: 40px 0;
  }
  /* Slick カスタマイズ */
  .work-slick .slick-prev {
    left: calc(15% - 5px);
  }
  .work-slick .slick-next {
    right: calc(15% - 5px);
  }
  .work-slick .slick-dots {
    bottom: -40px;
  }
}

/* ***************** ▼▼▼デバイス対応 896px以下 */
@media screen and (max-width: 896px) {
  /* 実績 カルーセル */
  .top-work-box {
    margin-inline: 15px;
  }
  .top-work-inbox {
    padding: 30px 0;
  }
  /* Slick カスタマイズ */
  .work-slick .slick-prev {
    left: calc(10% - 10px);
  }
  .work-slick .slick-next {
    right: calc(10% - 10px);
  }
}

/* ***************** ▼▼▼デバイス対応 680px以下 */
@media screen and (max-width: 680px) {
  /* 実績 カルーセル */
  .work-slick {
    container-type: inline-size;
    container-name: work-slick;
  }
  .top-work-box {
    padding: 15px;
  }
  .top-work-figure {
    width: 100%;
    margin: 0;
    aspect-ratio: 320 / 220;
  }
  .top-work-inbox {
    box-sizing: border-box;
    width: 100%;
    padding: 20px 10px;
    margin-inline: 0;
  }
  /* 2行タイトルでも3行分の高さを確保してカードを揃える */
  .top-work-inbox h3 {
    height: calc(1.3em * 3);
  }
  /*
   * SPはボタン20px＋アイコン40pxのまま（旧来の位置計算前提）。
   * サムネ（figure）縦中央にアイコンが来るよう top を合わせる。
   */
  .work-slick .slick-arrow {
    width: 20px;
    height: 20px;
    top: calc(15px + (100cqi - 60px) * 220 / 640 - 36px);
    transform: translate(0, -50%);
  }
  /* 20pxボタン＋40pxアイコン前提の左右（右ははみ出し分を加味） */
  .work-slick .slick-prev {
    left: calc(10% - 10px);
  }
  .work-slick .slick-next {
    right: calc(10% + 20px);
  }
  .work-slick .slick-prev::before,
  .work-slick .slick-next::before {
    width: 40px;
    height: 40px;
  }
  .work-slick .slick-dots {
    bottom: -40px;
  }
  .work-slick.slick-dotted {
    margin-bottom: 60px;
  }
}

/* ***************** ▼▼▼デバイス対応 481～680px */
@media screen and (max-width: 680px) and (min-width: 481px) {
  .work-slick .slick-arrow {
    top: calc(15px + (100cqi - 60px) * 220 / 640 - 52px);
    transform: translate(0, -50%);
  }
}

/* ***************** ▼▼▼デバイス対応 480px以下 */
@media screen and (max-width: 480px) {
  .top-work-area {
    padding-bottom: 30px;
  }
  .top-work-box {
    margin-inline: 25px;
    padding: 10px;
  }
  .work-slick .slick-prev {
    left: 8px;
  }
  .work-slick .slick-next {
    right: 30px;
  }
  /* margin 25px×2 + padding 10px×2（480以下はこの位置） */
  .work-slick .slick-arrow {
    width: 20px;
    height: 20px;
    top: calc(10px + (100cqi - 70px) * 220 / 640 - 10px);
    transform: translate(0, -50%);
  }
  .work-slick .slick-dots {
    bottom: -35px;
  }
  .work-slick.slick-dotted {
    margin-bottom: 55px;
  }
  .work-slick .slick-prev::before,
  .work-slick .slick-next::before {
    width: 40px;
    height: 40px;
  }
  
}


/* ----------------------------------------------------------------
   研究開発
   class: top-rd-
---------------------------------------------------------------- */
.top-rd-area {
  padding: 10% 5%;
  background: url("/assets/img/top/top_rd_bg.png") no-repeat top left / cover;
}
.top-rd-wrap {
  padding-block: 5%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  position: relative;
  isolation: isolate;
}
.top-rd-area .top-ttl-sub {
  mix-blend-mode: destination-out;
}

/* ***************** ▼▼▼デバイス対応 896px以下 */
@media screen and (max-width: 896px) {
  .top-rd-wrap {
    margin-bottom: 30px;
    padding-block: 10%;
  }
  .top-rd-wrap .btn-primary {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -30px;
  }
}


/* ----------------------------------------------------------------
   CTA
   class: top-cta-
---------------------------------------------------------------- */
.top-cta-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.top-cta-box {
  display: flex;
  transition: var(--transition-default);
}
.top-cta-box:hover {
  opacity: 0.9;
}
.top-cta-box a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-block: 8%;
  color: inherit;
  text-decoration: none;
}
.top-cta-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  color: var(--color-white);
  text-align: center;
}
.top-cta-box p {
  font-weight: 500;
}
.top-cta-box--recruit {
  background-color: var(--color-deep-green);
}
.top-cta-box--contact {
  background-color: var(--color-dark-green);
}

/* ***************** ▼▼▼デバイス対応 680px以下 */
@media screen and (max-width: 680px) {
.top-cta-wrap {
  /* margin: 30px 15px 0; */
}
}


