@charset "UTF-8";
/* CSS Document */
/*case_mv*/
.case_mv{
  height: calc(750 / 1920 * 100vw);
  background-image: url("../images/case/case_mv.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  position: relative;
  display: flex;
  justify-content: center;
}
.case_mv::before{
  content: "";
  position: absolute;
  background-color: rgba(219,226,231,0.3);
  width: 100%;
  height: 100%;
}
.case_mv_content{
  width: 90%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.case_mv h2 {
  margin-bottom: 1.875rem;
  letter-spacing: 0.03em;
}
/*case*/
.case_bg {
  background: linear-gradient(to bottom,#F2F2F2 90%,rgba(242,242,242,0.6)98%,#fff 100%);
  padding-block: 5.5rem 9rem;
}
.case_warap {
  width: min(1200px, 90%);
  margin-inline: auto;
  position: relative;
}
/*case_intro*/
.case_intro{
  margin-bottom: 8rem;
}
.case_description {
  width: fit-content;
  font-size: var(--fs-18);
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: left;
}
.case_search {
  width: 100%;
  background-color: #fff;
  padding: 3rem 1rem;
  outline: solid 1px #C5AE98;
  outline-offset: -18px;
  position: relative;
  margin-bottom: 2rem;
}
.case_search::before, .case_search::after {
  content: "";
  position: absolute;
  background-color: rgba(165, 180, 191, 0.6);
  width: 10%;
  height: 20%;
}
.case_search::before {
  clip-path: polygon(0 0, 0 100%, 100% 0);
  top: 0;
  left: 0;
}
.case_search::after {
  clip-path: polygon(100% 0%, 100% 100%, 0% 100%);
  bottom: 0;
  right: 0;
}
.search_ttl {
  text-align: center;
  font-size: var(--fs-20);
  font-family: var(--font-shippori);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.search_list {
  width: min(810px, 90%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  gap: 2rem;
}
.search_list li {
  display: flex;
}
.search_list li a {
  text-decoration: none;
  width: min(210px, 100%);
  height: min(172px, 100%);
  background-color: #EBF9FE;
  color: #393327;
  font-size: var(--fs-18);
  font-family: var(--font-shippori);
  display: flex;
  flex-direction: column;
  row-gap: 6px;
  align-items: center;
  margin: auto;
  padding: 2rem 0.5rem;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform .3s,box-shadow .3s;
}
.search_list li a:hover{
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,.12);
}
.search_list li a::before {
  content: "";
  position: absolute;
  width: 10%;
  height: 10%;
  background-color: #A5B4BF;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  bottom: 2px;
  right: 2px;
}
.search_list li a img {
  width: 60%;
  height: auto;
  object-fit: contain;
}
.search_list li a span {
  font-size: var(--fs-18);
  font-weight: 500;
  text-align: center;
  flex-grow: 1;
}
/*case_categories*/
.case_categories h2{
  text-align: center;
  margin-bottom: 5rem;
}
/*categories_warap*/
.categories_warap{
  background-color: #fff;
  padding-block: 3.75rem 5.625rem;;
  margin-bottom: 8.5rem;
  scroll-margin-top: 7.5rem; 
}
.categories_ttl{
  width: min(900px,90%);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:2rem;
  border-bottom: solid 1px #A38168;
  border-top: solid 1px #A38168;
  padding-block: 1rem;
  margin-bottom: 3.5rem;
}
.categories_ttl img{
  max-height: 48px;
}
.categories_ttl h3{
  font-size: var(--fs-30);
  text-align: center;
}
/*case_card*/
.case_card {
  width: min(900px, 90%);
  margin-inline: auto;
  min-width: 0;
  margin-bottom: 3.5rem;
}
.case_card:last-child{
  margin-bottom: 0;
}
.case_num {
  font-size: clamp(1.5rem, 1.397rem + 0.5vw, 2rem);
  font-family: var(--font-cormorant);
}
.case_b-a {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.case_b-a img {
  width: 100%;
  height: auto;
  padding-bottom: 45px;
}
.case_before, .case_after {
  position: relative;
  z-index: 0;
}
.case_before::before, .case_after::before {
  position: absolute;
  width: 100%;
  height: 45px;
  bottom: 0;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-cormorant);
  font-size: var(--fs-18);
}
.case_before::before {
  content: "Before";
  background-color: #A5B4BF;
}
.case_after::before {
  content: "After";
  background-color: #D8A7A2;
}
.case_before::after, .case_after::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  right: -5px;
  bottom: -5px;
  z-index: -1;
}
.case_before::after {
  background-color: #DBE2E7;
}
.case_after::after {
  background-color: #FFE3DD;
}
.case_toggle {
  position: relative;
  background: #C5AE98;
  color: #fff;
  padding: 0.8rem;
  font-family: var(--font-shippori);
  font-size: var(--fs-18);
  font-weight: 600;
  list-style: none;
  text-align: center;
}
.case_toggle::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
  border-radius: 1px;
  border-width: 2px;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}
details[open] .case_toggle::before {
  transform: translateY(-50%) rotate(-135deg);
}
.case_content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .5s ease,opacity .3s ease;
}
.case_content_inner{
  overflow: hidden;
}
details[open] .case_content {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.5rem;
}
.case_content_inner dl{
  border: solid 1px #D9D9D9;
}
.row {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  border-bottom: 1px solid #D9D9D9;
  align-items: stretch;
  background-color: #fff;
}
.row:last-child{
  border-bottom: none;
}
.row dt {
  background-color: #C5AE98;
  color: #fff;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
}
.row dd {
  padding: 0.8rem 1rem;
}
.separate-fee {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
}
.case_price{
  display: inline-flex;
  align-items: center;
}
.case_content_inner .tax{
  margin-inline: 3px 6px;
  font-size: clamp(0.813rem, 0.797rem + 0.06vw, 0.875rem);
  white-space: nowrap;
}
.case_link {
  text-align: right;
  width: min(1200px, 90%);
  margin-inline: auto;
}
.case_link a {
  text-decoration: none;
  color: #fff;
  background-color: #597E98;
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  font-size: 1.125rem;
  font-family: var(--font-shippori);
  padding: 0.8rem 4rem;
  position: relative;
}
.case_link a::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 1px;
  background-color: #fff;
  bottom: 10px;
  left: 0;
  right: 0;
  margin-inline: auto;
  transition: .3s ease;
}
.arrow {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
}
.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #597E98;
  border-right: 2px solid #597E98;
}
.case_link a:hover{
  background-color: #6888A5;
}
.case_link a:hover .arrow{
  transform: translateX(4px);
  transition: .25s ease;
}
@media(max-width:960px) {
  .categories_warap{
    scroll-margin-top: 0; 
  }
  .case_description{
    max-width: 622px;
  }
  .case_search::before, .case_search::after {
    width: 15%;
    height: 15%;
  }
  .search_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .search_list li a img {
    width: 50%;
  }
  .case_link {
    text-align: center;
  }
}
@media(max-width:600px){
  .pc_br{
    display: none;
  }
  .case_mv{
    height: calc(450 / 600 * 100vw);
    background-position: 70% 50%;
  }
  .case_bg{
    padding-block: 3.5rem 5rem;
  }
  .case_intro {
    margin-bottom: 3.5rem;
  }
  .case_search{
    outline-offset: -8px;
    padding: 1.5rem 1rem;
  }
  .case_search::before, .case_search::after{
    width: 20%;
    height: 10%;
  }
  .search_list{
    gap: 1rem;
  }
  .search_list li a{
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0.8rem 0.5rem;
    justify-content: center;
  }
  .search_list li a:active{
    transform: scale(.97);
  }   
  .search_list li a span{
    flex-grow: unset;
  }
  .case_categories h2{
    margin-bottom: 3.5rem;
  }
  .categories_warap{
    padding-block: 2.5rem 3.75rem;
    margin-bottom: 5.5rem;
  }
  .categories_ttl{
    flex-direction: column;
    row-gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .categories_ttl img{
    max-height: 40px;
  }
  .case_b-a{
    flex-direction: column;
  }
  .case_b-a img{
    padding-bottom: 25px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .case_before::before, .case_after::before{
    height: 25px;
  }
  .case_link a{
    width: min(280px, 90%);
    padding: 0.8rem 0;
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }
  .row{
    grid-template-columns: 36% minmax(0, 1fr);
  }
  .row dt,.row dd{
    padding: 0.8rem;
  }
  .case_price{
    display: flex;
  }
  .row dd .no_warap{
    white-space: normal;
  }
}






