@charset "utf-8";

/*----------------------------------------
  top page style
----------------------------------------*/
/* .topKeyvisual */
.topKeyvisual a{
    display: block;
}
.topKeyvisual img{
    display: block;
    margin: auto;
}
.topKeyvisual .slick-dots{
    bottom: 12px;
}
.topKeyvisual.slick-dotted.slick-slider{
    margin: 0;
}
.topKeyvisual .slick-dots li button::before{
    font-size: 12px;
}
.topKeyvisual .slick-dots li.slick-active button:before{
    opacity: 1;
    color: #47CBC3;
}
@media screen and (max-width: 599px) {
    .topKeyvisual .slick-dots{
        bottom: 2px
    }
    .topKeyvisual .slick-dots li button::before{
        font-size: 10px;
    }
}

/* .top_msg */
.top_msg {
    padding: 72px 5%;
}
.top_msg_inner {
    width: fit-content;
    margin: auto;
}
.top_msg .figure p{
    font-size: 24px;
    line-height: 2;
/*     text-align: left; */
    margin-right: 1em;
}
.top_msg .link{
    color: #000;
}
@media screen and (min-width: 800px) {
    .top_msg {
        text-align: left;
    }
    .top_msg .figure{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media screen and (max-width: 799px) {
    .top_msg {
        padding: 48px 5%;
    }
    .top_msg .figure{
        margin-bottom: 32px;
    }
    .top_msg .figure p{
        font-size: 14px;
    }
    .top_msg .figure img{
        width: 100%;
    }
    .top_msg .link{
        font-size: 13px;
    }
}

/* .top_reason */
.top_reason{
    background: url(../img/top/bg_top_reason.jpg) center top/cover no-repeat;
    padding: 90px 16px 72px;
}
.top_reason h2{
    font-size: 54px;
    font-weight: normal;
}
.top_reason h2 .txt_l{
    font-size: 1.85em;
    letter-spacing: -.15em;
    margin-left: -.15em;
}
.top_reason_list{
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: top_reason_list;
}
.top_reason_list li{
    background-color: rgba(255, 255, 255, .9);
}
.top_reason_list h3{
    background-color: #6FC9C4;
    color: #fff;
    font-size: 32px;
    font-weight: normal;
    text-align: left;
    text-indent: -1em;
    padding: 34px 42px 22px calc(42px + 1em);
    margin: 0;
}
.top_reason_list h3::before{
    counter-increment: top_reason_list;
    content: counter(top_reason_list) ".";
}
.top_reason_list h3 .txt_l{
    font-size: 1.25em;
}
.top_reason_list p{
    text-align: left;
    padding: 24px 64px;
    margin: 0;
}
@media screen and (min-width: 600px) {
    .top_reason_inner{
        width: 90%;
        margin: auto;
    }
    .top_reason_list{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px 8%;
    }
    .top_reason_list li{ width: 46%;}
}
@media screen and (max-width: 1099px) {
    .top_reason h2{
        font-size: 32px;
    }
    .top_reason_list h3{
        font-size: 28px;
        padding: 8px 24px 8px calc(24px + 1em);
    }
}
@media screen and (max-width: 599px) {
    .top_reason{
        padding: 32px 16px;
    }
    .top_reason h2{
        font-size: 18px;
        margin-top: 0;
    }
    .top_reason_list li + li{
        margin-top: 32px;
    }
    .top_reason_list h3{
        font-size: 19px;
    }
    .top_reason_list p{
        font-size: 13px;
        padding: 16px 24px;
    }
}

/* .top_row_col_campaign */
.top_row_col_campaign {
    background-color: #F1DBDB;
    padding: 55px 5%;
}
.top_row_col_campaign .grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    gap: 16px;
}
@media screen and (max-width: 599px) {
    .top_row_col_campaign{
        padding: 40px 0 24px;
    }
    .top_row_col_campaign .slide a{
        display: block;
        padding: 0 5px;
    }
}

/* .top_menu */
.top_menu{
    padding: 90px 5% 45px;
}
.top_menu_inner{
    max-width: 1140px;
    margin: auto;
}
.top_menu .lead{
    font-size: 18px;
    margin-bottom: 2em;
}
.top_menu .stc_title{
    text-align: left;
}
.top_menu .grid{
    display: grid;
}
.top_menu .grid .col + .col{
    margin-top: 42px;
}
.top_menu_col{
    color: #000;
    text-align: left;
    display: grid;
    grid-template-columns: 51.5% 46.5%;
    gap: 2%;
}
.top_menu_col .img{
    position: relative;
}
.top_menu_col .time{
    width: 68px;
    height: 68px;
    background-color: #E95D5D;
    border-radius: 100%;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    padding-top: 1.4em;
    padding-left: 5px;
    position: absolute;
    right: -5px;
    top: -5px;
}
.top_menu_col .time .f_mts{
    font-size: 1.7em;
    font-weight: 600;
}
.top_menu_col .time.pl0{
    padding-left: 0;
}
.top_menu_col_title{
    font-size: 24px;
    font-weight: normal;
    line-height: 1.2;
    margin: 0;
}
.top_menu_col_title::before{
    content: "";
    display: inline-block;
    border-left: .5em solid #888;
    border-top: .3em solid transparent;
    border-bottom: .3em solid transparent;
    margin-right: 5px;
}
.top_menu_col_title .f_mts{
    font-size: .8em;
}
.top_menu .grid .col p{
    font-size: 14px;
    margin: 0;
}
.set .top_menu_col{
    display: block;
}
.top_menu .set .col + .col{
    margin-top: 0;
}
.top_menu .set .col p{
    margin-top: 8px;
}
@media screen and (min-width: 1000px) {
    .top_menu_col .img{
        grid-row: 1/3;
        grid-column: 2/3;
    }
}
@media screen and (min-width: 600px) {
    .top_menu .grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }
    .top_menu .grid .set{
        grid-column: 1/3;
    }
    .top_menu .set .cols{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 40px;
    }
}
@media screen and (max-width: 999px) {
    .top_menu .grid .col p{
        grid-row: 2/3;
        grid-column: 1/3;
        font-size: 13px;
    }
    .top_menu .stc_title .f_mts{
        font-size: 25px;
    }
    .top_menu_col_title{
        font-size: 18px;
    }
    .top_menu_col .time{
        width: 53px;
        height: 53px;
        font-size: 10px;
    }
}
@media screen and (max-width: 599px) {
    .top_menu{
        padding: 42px 5% 21px;
    }
    .top_menu .lead{
        font-size: 13px;
    }
    .top_menu .grid{
        gap: 56px;
    }
    .top_menu .grid .col + .col{
        margin-top: 48px;
    }
}

/* .top_info_links */
.top_info_links{
    padding: 45px 16px 90px;
}
.top_info_links_inner{
    max-width: 1140px;
    margin: auto;
}
.top_info_links_inner2 {
   display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
}
.top_info_links_inner2 .col {
    width: 400px;
    overflow: hidden;
}
.top_info_links .grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.top_info_links .grid .col{
    position: relative;
    overflow: hidden;
}
.top_info_links_guide{
    background-color: rgb(109, 201, 196, .7);
    color: #fff;
    padding: 2em 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all .3s;
}
.top_info_links .col .bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: -1;
    transition: all .3s;
}
@media (hover: hover) {
    .top_info_links .col:not(.wide):hover .top_info_links_guide{
       background-color: rgb(0, 0, 0, .2);
    }
    .top_info_links .col:hover .bg {
        transform: scale(1.15);
    }
}
.top_info_links .col.wide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all .3s;
}
.top_info_links .col.faq {
    background-image: url(../img/top/info_links_faq.jpg);
}
.top_info_links_guide .title{
    font-size: 32px;
}
.col:not(.wide) .top_info_links_guide .title::before{
    content: "";
    display: inline-block;
    border-left: .5em solid #fff;
    border-top: .3em solid transparent;
    border-bottom: .3em solid transparent;
    margin-right: 12px;
    vertical-align: middle;
}
.top_info_links .col:not(.bnr) > a:hover {
    opacity: 1;
}
.top_info_links_guide p{
    font-size: 14px;
}
.top_info_links .grid .wide{
    grid-column: 1/3;
}
.wide .top_info_links_guide .btns{
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 68px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.wide .top_info_links_guide .btns a{
    display: block;
    background-color: rgba(255, 255, 255, .8);
    color: #000;
    font-size: 18px;
    text-align: left;
    padding: 16px 58px 16px 32px;
    position: relative;
}
.wide .top_info_links_guide .btns a::after{
    content: "▶︎";
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
}
@media screen and (min-width: 600px) {
    .wide .top_info_links_guide{
        flex-direction: row;
        padding: 16px 10px;;
    }
}
@media screen and (max-width: 599px) {
    .top_info_links{
        padding: 32px 16px 64px;
    }
    .top_info_links .grid{
        gap: 8px
    }
    .top_info_links_guide{
        background-color: rgb(109, 201, 196, .8);
        padding: 1.5em 8px;
    }
    .top_info_links_guide .title{
        font-size: 16px;
        font-weight: bold;
    }
    .top_info_links_guide p{
        font-size: 12px;
    }
    .wide .top_info_links_guide .btns{
        margin-left: 0;
    }
    .wide .top_info_links_guide .btns a{
        font-size: 12px;
        padding: 8px 24px 8px 16px;
    }
    .wide .top_info_links_guide .btns a::after{
        right: 8px;
    }
    .top_info_links .col.faq {
        background-position: left center;
    }
}

/* .top_newsinfo */
.top_newsinfo {
    background-color: #f1eedb;/*F2F2F2*/
    margin: 0;
    padding: 70px 5% 64px;
  }
  .top_newsinfo .top_newsinfo_inner {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
  }
  .top_newsinfo .top_newsinfo_inner > div {
    width: auto;
  }
  .top_newsinfo .newsinfo_title {
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    margin: 0 0 0.6em;
  }
  .top_newsinfo .newsinfo_title .f_mts {
    font-size: 28px;
  }
  .top_newsinfo .col_news .newsinfo_title .f_mts {
    margin-right: 0.5em;
  }
  .top_newsinfo .col_news {
  }
  .top_newsinfo .col_news .news_frame {
    background-color: #fff;
    padding: 30px 20px 0 35px;
  }
  .top_newsinfo .col_news .news_frame .news_dl {
    margin: 0;
    padding: 0 15px 0 0;
    overflow-y: scroll;
    height: 148px;
  }
  .news_dl dt {
    font-weight: normal;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: baseline;
  }
  .news_dl dt a {
    color: #333;
    flex: 1;
  }
  .news_dl dd {
    margin: 0 0 30px;
    padding: 15px 0 30px;
    border-bottom: 1px solid #aaa;
    line-height: 1.6;
  }
  .news_dl dt .news_date {
    display: inline-block;
    color: #fff;
    background-color: #444;
    line-height: 1;
    font-size: 0.9rem;
    width: 100px;
    text-align: center;
    padding: 6px 5px 5px;
    margin: 0 10px 0 0;
  }
  .top_newsinfo .col_news .news_box_btm{
    background-color: #fff;
    padding: 23px 10px 10px;
    text-align: center;
  }
  .top_newsinfo .col_news .news_box_btm a{
    color: #000;
  }

  .top_newsinfo .col_info {
    text-align: center;
  }
  .top_newsinfo .col_line{
    display: flex;
    flex-direction: column;
  }
  .top_newsinfo .col_line figure{
    margin-top: auto;
  }
  @media screen and (max-width:1139px) {
    .top_newsinfo {
      padding: 40px 18px 50px;
    }
    .top_newsinfo .top_newsinfo_inner {
      display: block;
    }
    .top_newsinfo .top_newsinfo_inner > div {
      width: 100%;
    }
    .top_newsinfo .newsinfo_title .f_mts {
      font-size: 26px;
    }
    .top_newsinfo .col_news {
      margin-bottom: 0;
    }
  }
  @media screen and (min-width: 600px) {
    .top_newsinfo .top_newsinfo_inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .top_newsinfo .col_news{
        grid-column: 1/3;
    }
  }
  @media screen and (max-width:599px) {
    .top_newsinfo {
      padding: 40px 5% 50px;
    }
    .top_newsinfo .col_news .news_frame .news_dl {
      height: 260px;
    }
    .news_dl dt {
      font-size: 15px;
      display: block;
    }
    .news_dl dt a {
      display: block;
      margin-top: 10px;
    }
  }
  
/* .top_info_bnr */
.top_info_bnr{
    padding: 40px 18px;
}
.top_info_bnr_inner{
    max-width: 900px;
    margin: auto;
    display: grid;
}
.top_info_bnr .bd{
    border: 1px solid #cdcdcd;
}
@media screen and (min-width: 600px) {
    .top_info_bnr_inner{
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .top_info_bnr_inner img{ width: 100%;}
}
@media screen and (max-width: 599px) {
    .top_info_bnr{
        padding: 21px 18px;
    }
    .top_info_bnr_inner{
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* 202508修正_佐藤 */
.before-after {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 20px;
}

.before-after .subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 30px;
}

.cases {
  display: flex;
  /* flex-wrap: wrap; */
  gap: 20px;
  justify-content: center;
  padding-top: 40px;
}

.case-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  /* width: 400px; */
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.case-card-img {
    width: 150px;
    display: flex;
    gap: 5px;
    justify-content: center;
}
.case-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 10px 0;
}

.case-title {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 15px;
  width: 300px;
  margin-bottom: 5px;
  border-bottom: solid 1px #444;;
}

.case-title_case {
    font-size: 1.6rem;
    line-height: 1;
    color: #9D5567;
}
.case-title .number {
  font-size: 3rem;
  color: #a23;
}
.case-title .case {
    color: #9D5567;
}

.description {
  font-size: 1.6rem;
  word-spacing: nowrap;
  color: #444;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: left;
}

.case-card .btn {
  background: #9D5567;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.3s;
  width: 100%;
}

.btn:hover {
    opacity: 0.7;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .cases {
    flex-direction: column;
    align-items: center;
  }
  .top_info_links_inner2 {
    display: grid;
  }
  .top_info_links_inner2 .col {
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .pc_none {
    display: none;
  }
}
