@charset "UTF-8";

/*  ================================================================================
  上書き
================================================================================= */

/* ヘッダー */
.top .header-inner {
  padding: 15px;
}

/* フッター */
.footer-link-wrap {
  padding: 20px 0 50px;
}

.breadcrumbs-inner {
  display: none;
}

.top #art-02 .section-wrap,
.top #art-03 .section-wrap,
.top #art-04 .section-wrap {
	max-width: 100%;
}

.top #art-02 .section-wrap:nth-of-type(2n),
.top #art-04 .section-wrap:nth-of-type(2n) {
	background: #F3F8FD;
}

.top #art-03 .section-wrap-bg:nth-of-type(2n) {
	background: #fff;
}

@media screen and (max-width: 768px) {
  .footer-link-wrap {
    padding: 10px 0 30px;
  }
}

@media screen and (max-width: 767px) {
  .top .header-inner {
  padding: 0;
}
  
  .footer-link-container {
    margin-top: 0;
  }
}

/*  ================================================================================
  TOPスライダー
================================================================================= */
.top-slide-wrap {
  margin-bottom: 50px;
  padding-top: 125px;
  background: var(--c-white);
}

.top-slide-item {
  width: calc(100% - 50px);
  max-width: 582px;
  height: 358px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: var(--c-white);
  border-radius: 16px;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.12);
}

.top-slide-item a {
  width: 100%;
  height: 358px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 1100px) {
.top-slide-wrap {
  padding-top: 60px;
}
}

@media screen and (max-width: 767px) {
.top-slide-wrap {
  padding-top: 60px;
}
}


/* 左画像 */
.top-slide-img-area {
  width: 100%;
  height: 100%;
  position: relative;
}

.top-slide-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* テキスト */
.top-slide-ttl {
  width: 100%;
  margin-bottom: 5px;
  font-size: 22px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.35;
}

.top-slide-txt-area .category-tag {
  background: var(--c-white);
  color: var(--c-black);
}


@media screen and (max-width: 768px) {

.top-slide-item a {
  display: block;
}

.top-slide-img-area {
  height: 197px;
}
.top-slide-img-area img {
  border-radius: 0;
}
.top-slide-ttl {
  margin: 10px 0;
  padding-bottom: 0;
  background: none;
  font-size: 20px;
  line-height: 1.35;
}
.top-slide-txt {
  font-size: 14px;
  line-height: 1.4;
}

.top-slide-txt-area .ttl-txt {
  font-size: 16px;
}

.top-slide-img {
  width: 100%;
  height: auto;
}

.top-slide-txt-area .main-txt {
  margin-top: 20px;
}
}


@media screen and (min-width: 768px) {
.main-slider-box {
  margin-left: 50%;
}

.main-slider-box li {
  width: 582px !important;
  margin-right: -291px;
	margin-left: 291px;
}

.top-slide-txt-area {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  position: absolute;
  background: url(../images/top/slider_txt_bg.png) repeat-x center bottom;
  background-size: 582px auto;
  border-radius: 0 0 16px 16px;
}

.top-slide-ttl {
  color: var(--c-white);
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.top-slide-txt-area .category-date-txt {
  color: var(--c-white);
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

}


@media screen and (max-width: 767px) {
  .top-slide-wrap {
    margin: 0 0 20px;
    background: none;
  }
  .top-slide-bg {
    display: none;
  }

  .top-slide-item {
    width: 100%;
    top: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    position: relative;
    margin-bottom: 60px;
  }

  .top-slide-img-area {
    width: 100%;
    height: 231px;
  }
  .top-slide-txt-area {
    width: 100%;
    padding: 15px;
    background: var(--c-bg);
  }

  .top-slide-ttl {
    margin: 14px 0 0;
    padding: 0;
    background: none;
  }
  .top-slide-ttl a {
    color: #fff;
    font-size: 16px;
  }
  .top-slide-txt {
    display: none;
  }

  .top-slide-txt-area .category-tag {
    background: var(--c-white);
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
  }
}

/*  ================================================================================
  おすすめタグ
================================================================================= */
.top-tag-wrap {
  margin-bottom: 100px;
  margin-top: 34px;
  display: flex;
}

.tag-item {
  width: calc((100% - 104px) / 5);
  position: relative;
}

.tag-item + .tag-item {
  margin-left: 26px;
}

.tag-item.new {
  position: relative;
}

.tag-item.new::before {
  color: #ffffff;
  background-color: #1173d1;
  border-radius: 4px;
  content: "NEW";
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: 30;
}

.tag-item a {
  display: block;
  color: #1173d1;
  line-height: 50px;
  padding: 0 14px 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0;
  background-color: #f2f2f2;
  border-radius: 4px;
  text-align: center;
}


/*  ================================================================================
  本文
================================================================================= */

.sub-ttl {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-black);
}

.sub-ttl.single {
  display: inline-block;
}

@media screen and (max-width: 767px) {
.sub-ttl {
  font-size: 30px;
}

.sub-ttl-narrow {
  font-size: 28px;
  letter-spacing: -0.1rem;
}
}


/*  ================================================================================
  新着情報+人気記事
================================================================================= */
.top-info-wrap {
  margin-bottom: 60px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}


/* 新着情報 */
.top-newarticle {
  width: calc(100% - 380px);
}

.top-newarticle-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}


@media screen and (max-width: 1100px) {
.top-newarticle-inner .category-date-wrap {
  display: block;
}

.top-newarticle-inner .card-wrap .card-img {
  height: 120px;
}

.top-newarticle-inner .category-date-wrap .category-tag {
  width: fit-content;
  margin-top: 5px;
}
  
}


@media screen and (max-width: 767px) {
.top-slide-item {
  background: none;
}
  
.top-slide-item .category-date-wrap {
  padding-top: 0;
}

.top-newarticle {
  width: 100%;
}

.top-newarticle-inner .card-wrap .card-img {
  height: 200px;
}

.top-slide-txt-area {
  padding: 15px 15px 0;
}
}



/* 人気記事 */
.top-populer {
  width: 340px;
  padding: 20px;
  border-radius: 16px;
  background: var(--c-white);
}

.sub-ttl-populer {
  margin-bottom: 35px;
  font-size: 24px;
  font-weight: bold;
}


@media screen and (max-width: 767px) {
.top-populer {
  width: 100%;
  margin-top: 35px;
  padding: 15px;
}

.sub-ttl-populer {
  margin-bottom: 15px;
  font-size: 20px;
}

}


.top-info-wrap .col50 {
  width: calc(50% - 15px);
  margin-top: 35px;
}

.top-info-container {
  /*margin-top: 30px;*/
  display: flex;
  justify-content: space-between;
}
.top-info-container a {
  display: flex;
  margin-top: 30px;
  max-height: 330px;
  height: 100%;
}

.top-info-container + .top-info-container {
  /*margin-top: 50px;*/
}

.top-info-item {
  width: calc(100% - 250px);
}

.top-info-item + .top-info-item {
  margin-left: 16px;
}

.top-info-item.img-area {
  max-width: 230px;
  width: 100%;
  height: 140px;
}

.top-info-item.img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.top-info-ttl {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
  color: #111;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.top-info-txt {
  margin-top: 8px;
  font-size: 14px;
  color: #888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media screen and (max-width: 1100px) {
  .top-info-wrap {
    margin-bottom: 35px;
  }

  .top-info-wrap .col50 {
    width: calc(50% - 10px);
  }

  .top-info-container a {
    margin-top: 20px;
  }

  .top-info-item {
    width: calc(100% - 135px);
  }
  .top-info-item.img-area {
    max-width: 125px;
  }
  .top-info-ttl a {
    font-size: 14px;
    line-height: 1.25;
  }

  .top-info-txt {
    display: none;
  }

  .top-info-item.img-area {
    height: 100px;
  }

  /*.top-info-container .category-date-wrap {
    display: block;
  }*/
  
  .top-info-container .category-date-wrap .category-tag {
    font-size: 11px;
    line-height: 22px;
    padding: 0 8px 1px;
    margin-bottom: 5px;
    display: inline-block;
  }
  .top-info-container .category-date-wrap .category-date-txt {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  .top-info-wrap {
    flex-direction: column;
  }

  .top-info-item {
    width: calc(100% - 105px);
  }

  .top-info-item + .top-info-item {
    margin-left: 10px;
  }

  .top-info-item.img-area {
    max-width: 90px;
  }

  .top-info-wrap .col50 {
    width: 100%;
    margin-top: 25px;
  }

  /*.top-info-wrap .col50 + .col50 {
    margin-left: 0;
    margin-top: 50px;
  }*/

  /*.top-info-container {
    margin-top: 20px;
  }*/

  .top-info-item.img-area {
    height: 90px;
  }

  .top-info-ttl {
    margin-top: 4px;
  }
}

/*  ================================================================================
  サービス紹介
================================================================================= */
.top-service-outer {
  max-width: 100%;
  padding: 0;
}

.top-service-wrap {
  background-image: url(../images/top/sample_bg.jpg);
  background-size: cover;
  padding: 30px 0;
}

.top-service-more {
  margin-left: 30px;
  padding-right: 18px;
  position: relative;
  font-weight: 700;
  color: #fff;
}
.top-service-more::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/icon/more_page_icon.svg) no-repeat;
  width: 12px;
  height: 12px;
  right: 0;
}
.top-service-more.white::before {
  background: url(../images/icon/more_page_icon_white.svg) no-repeat;
}

.top-service-ttl-conatainer {
  max-width: 1150px;
  margin: 0 auto 30px;
  padding: 0 15px;
  display: flex;
  align-items: flex-end;
}

.top-service-conatainer {
  width: 100%;
  display: flex;
  margin-bottom: 32px;
}

.top-service-item {
  background-color: #ffffff;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.16);
  border-radius: 12px;
  width: 297px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.top-service-img,
.category-date-wrap + a {
  display: block;
}

.top-service-img {
  height: 185px;
}
.top-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-service-txt-area {
  padding: 15px;
}

.top-service-txt-area .ttl-txt {
  margin-top: 3px;
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.top-service-txt-area .date-txt {
  color: #888888;
  font-size: 12px;
  margin-top: 15px;
}

@media screen and (max-width: 768px) {
  .top-service-ttl-conatainer {
    width: 100%;
    margin-bottom: 25px;
  }
  .top-service-wrap {
    display: block;
  }

  .top-service-txt-area .ttl-txt {
    margin-top: 6px;
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .top-service-wrap {
    padding: 30px 0;
  }

  .top-service-outer {
    padding: 0;
  }

  .top-service-wrap .col50 {
    width: 100%;
    justify-content: center;
  }

  .top-service-wrap .col50 + .col50 {
    margin-left: 0;
    margin-top: 30px;
  }

  .top-service-txt-area .date-txt {
    margin-top: 16px;
  }
}


/*  ====================
  カルーセル
===================== */
.top-article-bx-slider .col30 + .col30 {
  margin: 0;
}


/*  ================================================================================
  **
================================================================================= */


/*
.category-date-wrap.top a {
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  line-height: 29px;
  padding: 0 8px 1px;
  border: 1px solid #1173d1;
  color: #1173d1;
}
@media screen and (max-width: 767px) {
  .category-date-wrap.top a {
    color: #fff;
    border: solid 1px #fff;
  }

  .category-date-wrap.top.new a,
  .category-date-wrap.top.service a {
    color: #1173d1;
    border: 1px solid #1173d1;
  }
}*/


/* おすすめタグ */
.top-tag-wrap .tag-item-list {
  overflow: hidden;
  width: calc((100% - 104px) / 5);
  max-height: 64px;
  padding-top: 12px;
}

.tag-item-list + .tag-item-list {
  margin-left: 26px;
}

.top-tag-wrap .tag-item-list .tag-item {
  width: 100%;
}

.tag-item-list .tag-item + .tag-item {
  margin-top: 25px;
  margin-left: 0;
}


