/* ##### index ##### */

/* ## index heroセクション ## */
.hero {
  position: relative;
  width: 100%;
}
.hero-media {
  width: 100%;
  line-height: 0;
}
.hero-pc, .hero-sp {
  width: 100%;
}
.hero-pc {
  position: relative;
}
.hero-pc-video, .hero-pc-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}
.hero-pc-video {
  z-index: 1;
}
.hero-pc-after {
  z-index: 2;
}
.hero-pc img, .hero-pc video, .hero-sp img {
  width: 100%;
  height: auto;
  display: block;
}

/* PC/SP Switching */
@media (max-width: 767px) {
  .hero-pc { display: none; }
  .hero-sp { display: block; }
}
@media (min-width: 768px) {
  .hero-pc { display: block; }
  .hero-sp { display: none; }
}

/* Hero Catchcopy */
.hero-catchcopy {
  position: absolute;
  top: 18%;
  right: 0;
  z-index: 2;
  pointer-events: none;
  text-align: right;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.7) 15%,
    rgba(255,255,255,0.8) 100%
  );
  padding: 2em 2.5em 2em 10em;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hero-catchcopy.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.hero-catchcopy-en {
  font-size: clamp(44px, 2.5vw + 12px, 60px);
  color: var(--black);
  margin: 0 0 1rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  font-weight: bold;
  line-height: 1.1;
}
.hero-catchcopy-ja {
  font-size: clamp(16px, 1.5vw + 8px, 30px);
  color: var(--black);
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  line-height: 1.1;
  font-weight: bold;
}
.hero-catchcopy-en.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-catchcopy-ja.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1024px) {
.hero-catchcopy {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%)!important;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  background: rgba(255,255,255,0.7);
  padding: 2em;
  width: 85%;
}
.hero-catchcopy-en  { font-size: var(--font_xxlarge); }
.hero-catchcopy-ja { font-size: var(--font_normal); }

}


/* ## index_section_featbtns ## */
.com_featbtn {
  display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
[class^="com_featbtn_link"] {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  padding: 3rem 2rem;
  background: url(../images/index/btnbg.png) no-repeat center center;
  background-size: 150% 150%;
  transition: background-size 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
[class^="com_featbtn_link"]:hover {
  background-size: 160% 160%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
.com_featbtn_link-clinic {background-color: #36caf6;}   /* 青 (ブルー) */
.com_featbtn_link-welfare {background-color: #37cac7;} /* 青緑 (ターコイズ) */
.com_featbtn_link-office {background-color: #50d18d;}   /* グリーン */
[class^="com_featbtn_link"] em {
  font-size: var(--font_xxlarge);
  font-weight: bold;
  line-height: 1.2;
  display: block;
}
[class^="com_featbtn_link"] small {
  font-size: var(--font_small);
  display: block;
  line-height: 1;
}


/* ## index_featbtns new ## */
[class^="index_wrapFeatbtns"] {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 280px;
  overflow: hidden;
  position: relative;
}
[class^="index_wrapFeatbtns"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: center center / cover no-repeat;
  transition: transform 0.2s ease-in-out;
  z-index: 0;
}
.index_wrapFeatbtns-office::after {
  background-image: url(../images/index/feat1.jpg);
}
.index_wrapFeatbtns-welfare::after {
  background-image: url(../images/index/feat3.jpg);
}
.index_wrapFeatbtns-clinic::after {
  background-image: url(../images/index/feat2.jpg);
}

[class^="index_wrapFeatbtns"]:hover::after {
  transform: scale(1.1);
}
[class^="index_wrapFeatbtns"] a {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.65) 100%);
  color: var(--white);
  text-decoration: none;
}
[class^="index_wrapFeatbtns"] a em {
  font-size: var(--font_xxxlarge);
  font-weight: bold;
  line-height: 1;
  display: block;
  padding: 0 2rem;
}
[class^="index_wrapFeatbtns"] a em span {
  display: inline-block;
}
[class^="index_wrapFeatbtns"] a em span + span:before {
  content: "/";
}
[class^="index_wrapFeatbtns"] a small {
  font-size: var(--font_normal);
  display: block;
  line-height: 1;
  padding: 0 2rem;
}
[class^="index_wrapFeatbtns"] a p {
  font-size: var(--font_large);
  display: block;
  line-height: 1.2;
  padding: 1rem 2rem;
  margin:0;
  font-weight: bold;
}

@media screen and (max-width: 1599px) {
  [class^="index_wrapFeatbtns"] a em span { display: block; }
  [class^="index_wrapFeatbtns"] a em span + span:before { content: none; }
}


@media screen and (max-width: 767px) {
  [class^="index_wrapFeatbtns"] {
    aspect-ratio: 24/9;
  }
}


/* ## index_section_imagesction ## */
#index_section_imagesction {
  width: 100%;
  height: 100vh;
  min-height: 480px;
  max-height: 1000px;
  z-index: 1;
  overflow: hidden;
}
#index_section_imagesction_inner {
  background: url(../images/index/23966178_l.jpg) no-repeat center center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
  min-height: 480px;
  max-height: 1000px;
  z-index: 1;
}
#index_section_imagesction_inner.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
}

/* ## 3つの数字 ## */
.index_wrap_3num {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bordergray);
    position: relative;
}
.index_ttl_3num_ttl {
    font-family: var(--en-sans);
    font-weight: normal;
    margin-bottom: 1rem;
    position: relative;
    top: -2.5rem;
    font-size:0;
}
.index_ttl_3num_ttl1 {
  display: inline-block;
  background: var(--white);
  padding:0 0 0 2rem;
  font-size: var(--font_large);
}
.index_ttl_3num_ttl2 {
  display: inline-block;
  background: var(--white);
  padding: 0 2rem 0 0.5rem;
  font-size: var(--font_xxxlarge);
  transform: skewX(-15deg);
  border-left: 1px solid var(--bordergray);
  margin-left: -0.05rem;
  position: relative;
  top: 0.25rem;
}
.index_ttl_3num_ttl2 strong {
  display: inline-block;
  font-weight: bold;
  transform: skewX(15deg);
}

.index_ttl_3num {
    font-size: var(--font_xxxxxxlarge);
    font-family: var(--en-sans);
    font-weight: normal;
    margin-bottom: 1rem;
    position: relative;
}
.index_ttl_3num em {
    font-size: 1.75em;
    font-family: var(--en-sans);
    font-weight: normal;
    line-height: 1;
    display: block;
    text-align: center;
}
.index_ttl_3num small {
    font-size: var(--font_xlarge);
    font-family: var(--en-sans);
    font-weight: normal;
    line-height: 1;
    display: block;
    text-align: center;
}
/* 「Over」をabsoluteで配置（数字の前に来るsmall要素） */
.index_ttl_3num:has(small + em) small:first-of-type {
    position: absolute;
    top: -1.2em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.index_wrap_3num p {
    text-align: center;
    padding-bottom: 2rem;
}
.num-roller__cell {
  margin: 0 -0.02em;
}

/* レスポンシブ対応 */
@media (max-width: 1399px) {
  .index_wrap_3num {
    flex-direction: row;
    overflow: visible;
  }
  .index_ttl_3num_ttl {
    position:absolute;
    top:-2.5rem;
  } 
  .index_ttl_3num {
    margin:0;
    padding: 3.5rem 0 0.5rem 0;
    width: 5em;
    text-align: center;
  }
  .index_ttl_3num small {
    position: relative;
    top:-0.75em;  
  }
  /* レスポンシブ時の「Over」の位置調整（枠内に収める） */
  .index_ttl_3num:has(small + em) small:first-of-type {
    top: 1em;
    left: 50%;
    transform: translateX(-50%);
  }
  .index_wrap_3num p {
    text-align: left;
    padding: 1rem 1.5rem 0 1.5rem;
    width: 21em;
  }
}
@media screen and (max-width: 767px) {
  .index_ttl_3num_ttl {
    top:-1.5rem;
  }
  .index_ttl_3num {
    padding-top: 3rem;
  }
  /* モバイル時の「Over」の位置調整（枠内に収め、文字サイズを小さく） */
  .index_ttl_3num:has(small + em) small:first-of-type {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ## index_section_history ## */
.index_listHistory {
  display: flex;
  flex-direction: column;
  position: relative;
}
.index_listHistory:before {
  content: "";
  display: block;
  width: 2px;
  height: calc(100% - 2rem);
  background: var(--bordergray);
  position: absolute;
  top: 2rem;
  left: 0.5rem;
}
.index_unitHistory {
  list-style: none;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-left: 3rem;
  position: relative;
}
.com_history_date:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--bordergray);
  position: absolute;
  border-radius: 50%;
  top: 1.25em;
  left: calc(-3rem + 4px);
}
.com_history_date:after {
  content: "";
  display: block;
  width: calc(3rem - 12px);
  height: 1px;
  background: var(--bordergray);
  position: absolute;
  top: calc(1.25em + 5px);
  left: calc(-3rem + 6px);
}

.com_history_date {
  color: var(--keycolor);
  font-weight: bold;
  font-size: var(--font_large);
  position: relative;
  width: 9em;
}
.com_history_date em {
  font-size: var(--font_xxlarge);
  display: inline-block;
  position: relative;
  top:0.1em;
}

.com_history_content {
  flex: 1;
  padding: 1.15rem 0 0 0;
}

@media screen and (max-width: 767px) {
  .index_unitHistory {
    flex-direction: column;
    margin-left: 2rem;
    gap: 0.25rem;
  }
  .index_listHistory:before {
    height: calc(100% - 1rem);
    top: 1rem;
  }
  .com_history_date {
    width: auto;
    margin-bottom: 0.25em;
    padding-left: 0; 
  }
  .com_history_content {
    padding: 0 0 0.75rem 0;
  }
  .com_history_date:before {
    left: calc(-2rem + 3px);
    top: calc(0.8em);
  }
  .com_history_date:after {
    left: calc(-2rem + 3px);
    top: calc(0.8em + 4px);
    width: 1.5rem;
  }
}

/* ## strength ## */
.btn_strength {
    display: block;
    background: var(--white);
    margin-bottom: 1.5rem;
    text-decoration: none;
    border-radius: 1rem;
    position: relative;
    font-weight: bold;
    line-height: 1.4;
    font-size: var(--font_large);
    transition: box-shadow 0.1s ease-out;
}
.btn_strength_inner {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2.5rem;
    border-radius: 1rem;
}
.btn_strength:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 24px solid var(--white);
    transform: translateY(-50%);
    transition: left 0.1s ease-out;

}
.btn_strength.is-active {
    box-shadow: 0 0 18px 0 rgba(0, 0, 0, 0.2);
}
.btn_strength.is-active:before {
    left: -24px;
}
.btn_strength span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60%;
    width: 60%;
    margin: auto;
    transform: skewX(-15deg);
    overflow: hidden;
}
.btn_strength span img {
    transform: skewX(15deg);
    position: relative;
    left: -10%;
}


.slick_case .slick-track{
    display:flex !important;
 }
 .slick_case .slick-list {
  overflow: visible !important;
}
.slick_case .slick-slide{
    height: auto !important;
}

.slick_case_inner {
    padding: 0 1.5rem;
}
.box_case {
  display: block;
    background: var(--white);
    overflow: hidden;
    height: 100%;
    padding-bottom: 1cqh;
    position: relative;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    text-decoration: none;
}
.slick_case_inner.slick-current .box_case {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
    transform: scale(1.15);
}
.box_case_photo {
    width: 100%;
    height: 0;
    padding-top: 65%;
    position: relative;
    overflow: hidden;
}
.box_case_photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box_case_txt {
    padding: 1rem 1.5rem;
}
.box_case_tag {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
[class^="box_case_unitTag"] {
    background: var(--bg_light);
    padding: 0.5rem 1rem;
    list-style: none;
    margin: 0.1em;
    padding: 0.25em 0.5em;
    font-size: var(--font_xsmall);
    color: var(--white);
    background-color: #4A4A4A;
}
.box_case_unitTag-office {
    background-color: #4A4A4A; /* ダークグレイッシュピンク */
}
.box_case_unitTag-welfare {
    background-color: #3C3C3C; /* ダークグレイッシュブルー */
}
.box_case_unitTag-clinic {
    background-color: #2E2E2E; /* ダークグレイッシュグリーン */
}
.box_case_ttl {
    font-size: var(--font_large);
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0.5em;
    margin-top: 1em;
}
.box_case_btnBox {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 1.5rem;
    left: 0;
    right: 0;
}


/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .slick_case_inner.slick-current .box_case {
      transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .slick_case_inner {
      padding: 0 1rem;
  }
  .slick_case_inner.slick-current .box_case {
      transform: scale(1.05);
      box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 480px) {
  .slick_case_inner {
      padding: 0 0.5rem;
  }
  .slick_case_inner.slick-current .box_case {
      transform: scale(1.02);
      box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
  }
}





