@charset "UTF-8";
/* CSS Document */

/*------------------------------------------------
 index.css
------------------------------------------------*/
main{
  overflow: hidden;
}
h1 {
  position: absolute;
  top: 50px;
  left: 60px;
  z-index: 20;
}
h1 *{
  display: block;
  font-weight: 500;
  font-family: var(--mincho);
  text-shadow: 0 3px 10px #10101038;
  color: #fff;
}
h1 span{
  display: inline-block;
  line-height: 1.2;
  font-size: 0.75rem;
  margin-bottom: 20px;
}
h1 small{
  line-height: 1.5;
  font-size: 0.43rem;
}
h2 {
  display: flex;
  align-items: center;
  font-size: 0.40rem;
  font-weight: 500;
  line-height: 1.2;
  gap: 15px;
  margin-bottom: 35px;
}


/*------------------------------------------------
 index01
------------------------------------------------*/
.index01{
  position: relative;
  margin-left: 5%;
}
.index01 figure{
  position: relative;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}
.index01 figure::before{
  content: "";
  position: absolute;
  background: url(../img/index/grad_top_f.png) no-repeat;
  background-position: left center;
  background-size: cover;
  inset: 0;
  z-index: 10;
}
.color_h .index01 figure::before{
  background-image: url(../img/index/grad_top_h.png);
}
.color_m .index01 figure::before{
  background-image: url(../img/index/grad_top_m.png);
}
.index01 figure img{
  object-fit: cover;
  min-height: 650px;
  height: 100%;
  width: 100%;
}

/*------------------------------------------------
 index03
------------------------------------------------*/
.index03{
  position: relative;
  padding: 55px 15px 80px 0;
}
.index03::before{
  content: "";
  position: absolute;
  background-color: var(--site_color_lit);
  border-radius: 0 20px 20px 0;
  inset: 0;
  right: 10%;
  z-index: -10;
}
.index03_about_list{
  display: grid;
  list-style: none;
  align-items: flex-start;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 5%;
}
.index03_about_list .index03_thumb{
  box-shadow: 3px 3px 6px #0000004d;
  border-radius: 20px;
}
.index03_about_list a {
  display: block;
  position: relative;
  max-width: 300px;
  padding: 20px 15px 25px 50px;
  margin: -40px auto 0;
  transition: .2s ease;
  z-index: 10;
}
.index03_about_list a::after {
  content: "";
  position: absolute;
  background: #fff url(../img/common/parts/arrow_black_bold.svg) no-repeat;
  background-position: 93% 50%;
  background-size: 20px;
  box-shadow: 5px 5px 0 var(--site_color);
  border-radius: 30px 10px 10px 10px;
  inset: 0;
  transition: .2s ease;
  z-index: -10;
}
.index03_about_list a::before {
  content: "";
  aspect-ratio: 1/1;
  position: absolute;
  background-color: var(--site_color);
  border-radius: 1000px;
  width: 85px;
  top: -22px;
  left: 8px;
  transition: .2s ease;
  z-index: -10;
}
.index03_about_list a:hover{
  transform: translate(5px, 5px);
  opacity: unset;
}
.index03_about_list a:hover::after{
  box-shadow: 0 0 0 var(--site_color);
}
.index03_about_list a:hover::before{
  top: -22px;
  left: 0px;
}
.index03_about_list a:hover figure::before{
  display: none;
}
.index03_about_list figure {
  position: absolute;
  background-color: #fff;
  border-radius: 1000px;
  left: 0px;
  top: -25px; 
  padding: 20px;
}
.index03_about_list figure img {
  aspect-ratio: 1/1;
  width: 45px;
}
.index03_about_list b{
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 0.29rem;
}


/*------------------------------------------------
 index04
------------------------------------------------*/
/* グラデーションコンテンツ */
.index04_grad_box{
  position: relative;
  margin-bottom: 90px;
}
.index04_grad_box::before {
  content: "";
  aspect-ratio: 3/2;
  position: absolute;
  background: url(../img/index/grad_mid_f.png) no-repeat;
  background-size: 100%;
  width: 70%;
  right: -100px;
  top: -50px;
  z-index: -10;
}
.color_h .index04_grad_box::before{
  background-image: url(../img/index/grad_mid_h.png);
}
.color_m .index04_grad_box::before{
  background-image: url(../img/index/grad_mid_m.png);
}
.index04_grad_box p{
  line-height: 2;
  font-size: 0.2rem;
  font-weight: 500;
}
/* ペインクリニックとはリスト */
.index04_clinic_list{
  display: grid;
  list-style: none;
  align-items: flex-start;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px 50px;
  margin-bottom: 90px;
}
.index04_clinic_list.dev01{
  grid-template-columns: 1fr;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.index04_clinic_list .index04_thumb{
  display: block;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 3px 3px 6px #0000004d;
}
.index04_clinic_list a {
  display: block;
  position: relative;
  max-width: max-content;
  padding: 17px 55px 20px 80px;
  margin-top: -35px;
  margin-left: 35px;
  transition: .2s ease;
  z-index: 10;
}
.index04_clinic_list a::after {
  content: "";
  position: absolute;
  background: #fff url(../img/common/parts/arrow_black_bold.svg) no-repeat;
  background-position: calc(100% - 20px) 50%;
  background-size: 20px;
  box-shadow: 5px 5px 0 var(--site_color);
  border-radius: 30px 10px 10px 10px;
  inset: 0;
  transition: .2s ease;
  z-index: -10;
}
.index04_clinic_list a::before {
  content: "";
  aspect-ratio: 1/1;
  position: absolute;
  background-color: var(--site_color);
  border-radius: 1000px;
  width: 70px;
  top: -15px;
  left: 10px;
  transition: .2s ease;
  z-index: -10;
}
.index04_clinic_list a:hover{
  filter: drop-shadow(3px 3px 6px #0000001a);
  transform: translate(5px, 5px);
  opacity: unset;
}
.index04_clinic_list a:hover::after{
  box-shadow: 0 0 0 var(--site_color);
}
.index04_clinic_list a:hover::before{
  top: -5px;
}
.index04_clinic_list a:hover figure::before{
  display: none;
}
.index04_clinic_list figure {
  position: absolute;
  background-color: #fff;
  border-radius: 1000px;
  left: 0px;
  top: -15px;
  padding: 15px;
}
.index04_clinic_list figure img {
  aspect-ratio: 1/1;
  width: 45px;
}
.index04_clinic_list b{
  display: block;
  text-align: center;
  font-weight: 500;
  font-size: 0.23rem;
}



/*------------------------------------------------
 レスポンシブ　　　max-width:1600px
------------------------------------------------*/
@media screen and (max-width:1600px) {
  .index03::before{
    right: 5%;
  }
}

/*------------------------------------------------
 レスポンシブ　　　max-width:1400px
------------------------------------------------*/
@media screen and (max-width:1400px) {
  .index03::before{
    right: 15px;
  }
}

/*------------------------------------------------
 レスポンシブ　　　max-width:1199px
------------------------------------------------*/
@media screen and (max-width:1199px) {
  .index01 figure img {
    min-height: 600px;
  }
  h1 {
    top: 40px;
    left: 40px;
  }
  h1 span {
    font-size: 0.62rem;
  }
  h1 small {
    font-size: 0.38rem;
  }

  .index03_about_list a {
    max-width: 250px;
    padding: 15px 15px 20px 35px;
  }
  .index03_about_list figure {
    top: -15px;
  }
  .index03_about_list figure img {
    width: 35px;
  }
  .index03_about_list b {
    font-size: 0.24rem;
  }
  .index03_about_list a::after {
    background-size: 15px;
  }
  .index03_about_list a::before {
    width: 70px;
    top: -14px;
    left: 11px;
  }
  .index03_about_list a:hover::before{
    top: -5px;
  }
  .index04_clinic_list b {
    font-size: 0.21rem;
  }
}

/*------------------------------------------------
 レスポンシブ　　　max-width:991px
------------------------------------------------*/
@media screen and (max-width:991px) {
  h1{
    width: calc(100% - 55px);
    max-width: 650px;
  }
  h1 span{
    display: block;
    font-size: 0.58rem;
    max-width: max-content;
    margin-bottom: 5px;
  }
  h1 span:last-of-type{
    margin-left: auto;
    margin-bottom: 20px;
  }
  h1 small {
    font-size: 0.34rem;
  }

  .index03_about_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .index04_grad_box p {
    font-size: 0.18rem;
  }
  .index04_clinic_list {
    grid-template-columns: 1fr;
    gap: 45px 50px;
    margin-bottom: 65px;
  }
  .index04_clinic_list .index04_thumb {
    aspect-ratio: 3/1;
    border-radius: 10px;
  }
  .index04_clinic_list.dev01{
    max-width: 450px;
  }
  .index04_clinic_list.dev01 .index04_thumb{
    aspect-ratio: 18/15;
  }
}

/*------------------------------------------------
 レスポンシブ　　　max-width:767px
------------------------------------------------*/
@media screen and (max-width:767px) {
  h1 {
    max-width: 530px;
  }
  h1 span {
    font-size: 0.48rem;
  }
  h1 small {
    font-size: 0.26rem;
  }
  h2 {
    font-size: 0.32rem;
  }
  h2 img{
    max-height: 40px;
  }
  .index01 figure img {
    min-height: 500px;
  }
  .index01 figure::before {
    background-position: 100% 50%;
  }
  .index03 {
    padding: 35px 15px 50px 0;
  }
  .index03_about_list {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .index03_about_list img{
    width: 100%;
  }
  .index04_clinic_list a {
    padding: 17px 50px 18px 65px;
    margin-left: 20px;
  }
  .index04_clinic_list figure {
    top: -10px;
    padding: 15px;
  }
  .index04_clinic_list figure img {
    width: 30px;
  }
  .index04_clinic_list b {
    font-size: 0.18rem;
    line-height: 1.2;
  }
  .index04_clinic_list a::after {
    background-size: 15px;
  }
  .index04_clinic_list a::before {
    width: 60px;
    top: -10px;
    left: 6px;
  }
  .index04_clinic_list a:hover:before{
    left: 0;
  }
  .index04_grad_box::before {
    inset: unset;
    transform: translate(-50%, -50%);
    max-width: 1000px;
    width: 200%;
    left: 50%;
    top: 75%;
  }
}

/*------------------------------------------------
 レスポンシブ　　　max-width:480px
------------------------------------------------*/
@media screen and (max-width:480px) {
  section {
    margin-bottom: 60px;
  }

  h1 {
    width: calc(100% - 25px);
    left: 15px;
  }
  h1 span {
    font-size: 0.42rem;
  }
  h1 span:last-of-type {
    margin-bottom: 25px;
  }
  h1 small {
    font-size: 0.24rem;
  }
  h2 {
    gap: 10px;
    font-size: 0.26rem;
    margin-bottom: 25px;
  }
  h2 img {
    max-height: 35px;
  }
  .index01 figure img {
    min-height: 450px;
  }
  
  .index04_clinic_list b {
    max-width: 170px;
  }
}
