/* ========================================
   TOPページ
======================================== */
.top-ttl {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 35px;
  position: relative;
}

.top-ttl::before {
  content: "";
  background: url(../../images/share/ttl_deco.svg) no-repeat center center / cover;
  width: 130px;
  height: auto;
  aspect-ratio: 130 / 20;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.top-ttl .txt01 {
  display: block;
  font-size: 38px;
}

.top-ttl .txt02 {
  display: block;
  color: var(--wp--preset--color--primary);
  font-family: var(--font_en);
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 800px) {
  .top-ttl {
    margin-bottom: 30px;
  }

  .top-ttl .txt01 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .top-ttl .txt02 {
    font-size: 13px;
  }
}

/*------------
Block
--------------*/
.sec01 {
  padding: 100px 0;
}

@media (max-width: 800px) {
  .sec01 {
    padding: 50px 0;
  }
}

.sec02 {
  background: url(../../images/top_bg01.jpg) no-repeat center center / cover;
  padding: 150px 0;
}

.sec02 .top-layout03 .img::after {
  content: "";
  background: url(../../images/sec02_deco.png) no-repeat center center / cover;
  width: 40%;
  height: auto;
  aspect-ratio: 262 / 242;
  position: absolute;
  top: 0;
  left: 6px;
  z-index: 2;
}

@media (max-width: 800px) {
  .sec02 {
    padding: 50px 0;
  }
}

.sec03 {
  background: url(../../images/top_bg02.jpg) no-repeat center center / cover;
  padding: 150px 0;
}

@media (max-width: 800px) {
  .sec03 {
    padding: 50px 0;
  }
}

.sec04 {
  background: url(../../images/top_bg01.jpg) no-repeat center center / cover;
  padding: 150px 0;
}

@media (max-width: 800px) {
  .sec04 {
    padding: 50px 0;
  }
}

.sec05 {
  padding: 100px 0;
}

@media (max-width: 800px) {
  .sec05 {
    padding: 50px 0;
  }
}

/*------------
Layout
--------------*/

.top-layout03 {
  display: flex;
  align-items: flex-start;
}

.top-layout03 .l-img {
  width: 55%;
}

.top-layout03 .img {
  position: relative;
  z-index: 0;
}

.top-layout03 .img::before {
  content: "";
  border: 1px solid #3B4555;
  inset: 10px -10px -10px 10px;
  position: absolute;
  z-index: 1;
}

.top-layout03 .l-desc {
  flex: 1;
  background: var(--wp--preset--color--white);
  padding: 4% 6%;
  position: relative;
  margin: 60px 0 0 -60px;
  z-index: 0;
}

.top-layout03 .l-ttl {
  margin-bottom: 30px;
  padding-bottom: 30px;
  position: relative;
}

.top-layout03 .l-ttl::before {
  content: "";
  background: url(../../images/share/ttl_deco.svg) no-repeat center center / cover;
  width: 130px;
  height: auto;
  aspect-ratio: 130 / 20;
  position: absolute;
  bottom: 0;
  left: 0;
}

.top-layout03 .l-ttl .txt01 {
  display: block;
  font-size: 30px;
}

.top-layout03 .l-ttl .txt02 {
  display: block;
  color: var(--wp--preset--color--primary);
  font-family: var(--font_en);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.top-layout03 .desc-txt {
  margin-bottom: 60px;
}

.top-layout03.reverse {
  flex-direction: row-reverse;
}

.top-layout03.reverse .l-desc {
  margin: 60px -60px 0 0;
}

@media (max-width: 800px) {
  .top-layout03 {
    display: block;
  }

  .top-layout03 .l-img {
    width: 100%;
  }

  .top-layout03 .img {
    z-index: 1;
  }

  .top-layout03 .l-desc {
    padding: 40px 5%;
    margin: 0;
  }

  .top-layout03 .l-ttl {
    text-align: center;
    margin-bottom: 20px;
  }

  .top-layout03 .l-ttl::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .top-layout03 .l-ttl .txt01 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .top-layout03 .l-ttl .txt02 {
    font-size: 13px;
  }

  .top-layout03.reverse .l-desc {
    margin: 0;
  }
}

/*------------
Card
--------------*/

.top-card03>li {
  display: flex;
  flex-direction: column;
  background-color: var(--wp--preset--color--white);
  height: 100%;
  margin: auto;
  max-width: 492px;
}

.top-card03 .card-desc {
  padding: 7% 7% 65px;
}

.top-card03 .card-ttl {
  text-align: center;
  margin-bottom: 15px;
}

.top-card03 .card-ttl .txt01 {
  display: block;
  font-size: 26px;
}

.top-card03 .card-ttl .txt02 {
  display: block;
  color: var(--wp--preset--color--secondary);
  font-family: var(--font_en);
  font-size: 18px;
  font-weight: 500;
}

.top-card03 .card-btn {
  padding: 0 7%;
  margin: auto 0 40px;
  text-align: center;
}

/*------------
Post
--------------*/
.top-post-layout01 {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-gap: 50px;
  min-height: 170px;
  position: relative;
}

.top-post-layout01 .l-ttl .txt01 {
  display: block;
  font-size: 25px;
}

.top-post-layout01 .l-ttl .txt02 {
  display: block;
  color: var(--wp--preset--color--primary);
  font-family: var(--font_en);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.top-post-layout01 .l-btn {
  position: absolute;
  bottom: 0;
  left: 0;
}

.top-post-layout01 .btn-more {
  min-width: 170px;
}

.list-top-blog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-gap: 15px;
}

.list-top-blog .list-img {
  border: 1px solid #EBE8E5;
  margin-bottom: 10px;
  overflow: hidden;
}

.list-top-blog .list-img img {
  object-fit: cover;
  width: 100%;
  height: 165px;
  transition: transform 0.5s;
}

.list-top-blog time {
  color: #8694AA;
  display: block;
  font-size: 13px;
}

.list-top-blog .list-ttl {
  display: inline-block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.list-top-blog .category {
  display: inline-block;
  background-color: #EDE5DF;
  font-size: 11px;
  padding: 0 5px;
  margin-right: 5px;
}

.list-top-blog a {
  display: block;
  height: 100%;
}

.list-top-blog a:hover .list-img img {
  transform: scale(1.1);
}

.list-top-news {
  border-top: 1px solid var(--wp--preset--color--border-color);
}

.list-top-news a {
  display: grid;
  grid-template-columns: 75px 1fr;
  grid-gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  padding: 15px 0;
}

.list-top-news a:hover .ttl {
  text-decoration: underline;
}

.list-top-news time {
  display: inline-block;
  color: var(--wp--preset--color--secondary);
  font-family: var(--font_jp);
  font-size: 13px;
  font-weight: 500;
}

.list-top-news .ttl {
  display: inline-block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-family: var(--font_jp);
  font-weight: 500;
  font-size: 16px;
}

@media (max-width: 800px) {
  .top-post-layout01 {
    grid-template-columns: minmax(0, 1fr);
    grid-gap: 30px;
    min-height: 0;
  }

  .top-post-layout01 .l-ttl .txt01 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .top-post-layout01 .l-ttl .txt02 {
    font-size: 13px;
  }

  .top-post-layout01 .l-btn {
    position: static;
    text-align: center;
  }

  .list-top-blog {
    display: flex;
    grid-gap: 0;
    flex-wrap: nowrap;
    margin: 0 -5vw 0 0;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 5vw);
    overflow-x: auto;
  }

  .list-top-blog li {
    flex: 0 0 240px;
    margin: 0 5% 0 0;
    max-width: 100%;
  }

  .list-top-news a {
    display: block;
    line-height: 1.5;
    padding: 10px 0;
  }

  .list-top-news time {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .list-top-news .ttl {
    -webkit-line-clamp: 2;
  }
}
