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

.top-ttl::before {
  content: "";
  display: block;
  width: 93px;
  height: 54px;
  background: url(../../images/top_ttl_deco.svg) no-repeat center/contain;
  margin: 0 auto 10px;
}

.top-ttl .txt01 {
  display: block;
  font-size: 44px;
  margin-bottom: 15px;
}

.top-ttl .txt02 {
  display: block;
  color: var(--wp--preset--color--secondary);
  font-size: 18px;
}

.top-list01 li {
  position: relative;
  padding-left: 15px;
}

.top-list01 li:before {
  content: "";
  background: #333;
  border-radius: 50%;
  display: block;
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
}

.top-table01 th,
.top-table01 td {
  border: 1px solid #c9c9c9;
  padding: 10px 15px;
  vertical-align: middle;
}

.top-table01 th {
  background-color: var(--wp--preset--color--primary);
  color: #fff;
}

.top-table01 .bg01 {
  background-color: #f5f5f5;
}

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

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

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

  .top-table01 th,
  .top-table01 td {
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/*------------
Block
--------------*/
.sec01 {
  padding: 100px 0;
  background: var(--wp--preset--color--cream-light-bg);
}

.sec02 {
  padding: 170px 0 150px;
  background-image: url(../../images/sec02_bg_top.png), url(../../images/sec02_bg_bottom.png);
  background-repeat: no-repeat;
  background-position: left top, right bottom;
  background-size: 1000px auto, 1000px auto;
}

.sec03 {
  /* background: var(--wp--preset--color--primary); */
  background: #F6AC1D;
  padding: 130px 0 150px;
}

.sec03 .top-ttl .txt01 {
  color: var(--wp--preset--color--primary);
}
.sec03 .top-ttl .txt02 {
  color: #fff;
}

.sec03 .btn-more {
  background-color: transparent;
  border: 1px solid #fff;
}

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

  .sec02 {
    padding: 60px 0 100px;
    background-size: 75% auto, 85% auto;
  }

  .sec02 .l-img::after {
    left: 0;
    bottom: -10vw;
    width: 45vw;
    height: 27vw;
  }

  .sec02 .l-desc {
    padding-top: 0;
  }

  .sec03 {
    padding: 60px 0 70px;
  }

  .top-ttl::before {
    width: 70px;
    height: 41px;
    margin-bottom: 15px;
  }
}

/*------------
Layout
--------------*/
.top-layout01 {
  display: flex;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.top-layout01 .l-img {
  width: 55%;
  margin: 0 6.5% 0 0;
  position: relative;
}

.top-layout01 .l-img::after {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -40px;
  width: 320px;
  height: 195px;
  background: url(../../images/sec02_img_deco.svg) no-repeat center/contain;
  pointer-events: none;
}

.top-layout01 .l-img img {
  border-radius: 10px;
}

.top-layout01 .l-desc {
  flex: 1;
  margin-top: -25px;
}

.top-layout01 .l-ttl {
  margin-bottom: 45px;
}

.top-layout01 .l-ttl::before {
  content: "";
  display: block;
  width: 93px;
  height: 54px;
  background: url(../../images/top_ttl_deco.svg) no-repeat center/contain;
  margin-bottom: 10px;
}

.top-layout01 .l-ttl .txt01 {
  display: block;
  font-size: 40px;
  letter-spacing: .18em;
  margin-bottom: 5px;
}

.top-layout01 .l-ttl .txt02 {
  display: block;
  font-size: 20px;
  color: var(--wp--preset--color--secondary);
  letter-spacing: .17em;
}

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

.top-layout01.reverse .l-img {
  margin: 0 0 0 5%;
}

.top-layout02 {
  display: flex;
}

.top-layout02 .l-img {
  width: 45%;
  margin: 0 5% 0 0;
}

.top-layout02 .l-desc {
  flex: 1;
}

.top-layout02 .l-ttl {
  margin-bottom: 30px;
}

.top-layout02 .l-ttl .txt01 {
  display: block;
  font-size: 30px;
  margin-bottom: 20px;
}

.top-layout02 .l-ttl .txt02 {
  display: block;
  font-size: 16px;
}

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

.top-layout02.reverse .l-img {
  margin: 0 0 0 5%;
}

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

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

.top-layout03 .l-desc {
  flex: 1;
  background: #f5f5f5;
  padding: 5%;
  position: relative;
  margin: 60px 0 0 -60px;
  z-index: 0;
}

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

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

.top-layout03 .l-ttl .txt02 {
  display: block;
  font-size: 16px;
}

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

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

.top-layout04 {
  background: #F5F5F5;
  display: grid;
  grid-template-columns: 260px 1fr;
  padding: 50px 60px;
  min-height: 255px;
  position: relative;
}

.top-layout04 .l-ttl .txt01 {
  display: block;
  font-size: 30px;
  margin-bottom: 15px;
}

.top-layout04 .l-ttl .txt02 {
  display: block;
  font-size: 16px;
}

.top-layout04 .l-sub-ttl {
  font-family: var(--font_jp);
  font-size: 17px;
  margin-bottom: 25px;
}

.top-layout04 .l-btn {
  position: absolute;
  bottom: 50px;
  left: 60px;
}

.top-layout05 {
  background: #F5F5F5;
  display: flex;
}

.top-layout05 .l-img {
  width: 43.95%;
}

.top-layout05 .l-img img {
  object-fit: cover;
  height: 100%;
}

.top-layout05 .l-desc {
  flex: 1;
  padding: 5%;
}

.top-layout05 .l-ttl {
  margin-bottom: 25px;
}

.top-layout05 .l-ttl .txt01 {
  display: block;
  font-size: 30px;
  margin-bottom: 15px;
}

.top-layout05 .l-ttl .txt02 {
  display: block;
  font-size: 16px;
}

.top-layout05 .l-btn {
  margin-top: 30px;
}

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

.top-layout06 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 5%;
}

.top-layout06 .item-ttl {
  border-bottom: 2px solid #eee;
  font-size: 20px;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.top-layout06 .item-ttl02 {
  border-left: 5px solid var(--wp--preset--color--primary);
  font-size: 15px;
  padding-left: 10px;
  margin-bottom: 15px;
}

.top-layout06 .list-top-news {
  border-top: none;
}

.top-layout07 {
  display: grid;
  grid-template-columns: 1fr 400px;
  background-color: var(--wp--preset--color--cream-light-bg);
}

.top-layout07 iframe {
  vertical-align: bottom;
  height: 100%;
  width: 100%;
}

.top-layout07 .l-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 60px 30px;
}

.top-layout07 .l-txt {
  color: var(--wp--preset--color--primary);
  font-family: var(--font_jp);
  font-weight: 700;
  font-size: 20px;
  line-height: 2.2;
  letter-spacing: .15em;
  text-decoration: underline;
  text-underline-offset: 9px;
  margin: 0 0 50px;
}

.top-layout07 .l-logo {
  text-align: center;
  margin-bottom: 25px;
}

.top-layout07 .l-ttl {
  font-size: 22px;
  text-align: center;
  margin-bottom: 25px;
}

.top-layout07 .tel {
  border-bottom: 2px solid #333;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 22px;
}

.top-layout07 .tel img {
  margin-right: 5px;
}

.top-layout07 .l-dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}

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

  .top-layout01 .l-img {
    width: 100%;
    margin: 0 0 35px;
  }

  .top-layout01 .l-img::after {
    width: 210px;
    height: 125px;
    bottom: -25px;
  }

  .top-layout01 .l-img img {
    border-radius: 0;
  }

  .top-layout01 .l-desc {
    padding: 0 5%;
    margin-top: 0;
  }

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

  .top-layout01 .l-ttl::before {
    width: 70px;
    height: 41px;
    margin: 0 auto 15px;
  }

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

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

  .top-layout01.reverse .l-img {
    margin: 0 0 35px;
  }

  .top-layout02 {
    display: block;
  }

  .top-layout02 .l-img {
    width: 100%;
    margin: 0 0 35px;
  }

  .top-layout02 .l-desc {
    flex: 1;
  }

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

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

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

  .top-layout02.reverse .l-img {
    margin: 0 0 35px;
  }

  .top-layout03 {
    display: block;
  }

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

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

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

  .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;
  }

  .top-layout04 {
    grid-template-columns: 1fr;
    padding: 40px 5%;
    min-height: 0;
  }

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

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

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

  .top-layout04 .l-sub-ttl {
    text-align: center;
  }

  .top-layout04 .l-btn {
    position: static;
    margin-top: 30px;
  }

  .top-layout05 {
    display: block;
  }

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

  .top-layout05 .l-desc {
    padding: 40px 5%;
  }

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

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

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

  .top-layout05 .l-btn {
    margin-top: 30px;
  }

  .top-layout06 {
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }

  .top-layout07 {
    grid-template-columns: 1fr;
  }

  .top-layout07 iframe {
    height: 300px;
  }

  .top-layout07 .l-desc {
    padding: 10% 5%;
  }
}

/*------------
Card
--------------*/
.top-card01 {
  display: flex;
  grid-gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-card01>li {
  text-align: center;
  width: calc(20% - 16px);
}

.top-card01 a {
  display: block;
  background-color: #f5f5f5;
  height: 100%;
  padding: 20px;
  position: relative;
  transition: transform 0.5s;
}

.top-card01 a::before {
  content: "";
  border-style: solid;
  border-width: 0 0 13px 13px;
  border-color: transparent transparent #333 transparent;
  position: absolute;
  bottom: 0;
  right: 0;
}

.top-card01 a:hover {
  transform: translateY(-10px);
}

.top-card01 .card-img {
  margin-bottom: 15px;
}

.top-card01 .card-ttl {
  line-height: 1.5;
  margin-bottom: 10px;
}

.top-card01 .txt01 {
  display: block;
  font-size: 15px;
}

.top-card01 .txt02 {
  display: block;
  font-size: 12px;
}

.top-card01 .card-desc {
  font-size: 14px;
}

.top-card02 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2.5%;
}

.top-card02 a {
  display: block;
  background-color: #f5f5f5;
  height: 100%;
  transition: transform 0.5s;
  position: relative;
}

.top-card02 a::before {
  content: "";
  border-style: solid;
  border-width: 0 0 13px 13px;
  border-color: transparent transparent #333 transparent;
  position: absolute;
  bottom: 0;
  right: 0;
}

.top-card02 a:hover {
  transform: translateY(-10px);
}

.top-card02 .card-desc {
  padding: 7%;
}

.top-card02 .card-number {
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

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

.top-card02 .card-ttl .txt01 {
  display: block;
  font-size: 22px;
  margin-bottom: 5px;
}

.top-card02 .card-ttl .txt02 {
  display: block;
  font-size: 15px;
}

.top-card03 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px 2.5%;
}

.top-card03>li {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--wp--preset--color--cream-light-bg);
  border-radius: 10px;
  overflow: hidden;
}

.top-card03 .card-img img {
  width: 100%;
  object-fit: cover;
}

.top-card03 .card-desc {
  padding: 30px 7%;
  margin: auto 0;
}

.top-card03 .card-number {
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

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

.top-card03 .card-ttl .txt01 {
  display: block;
  color: var(--wp--preset--color--primary);
  font-family: var(--font_jp);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.8;
}

.top-card03 .card-ttl .txt02 {
  display: block;
  font-size: 15px;
}

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

@media (max-width: 800px) {
  .top-card01 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }

  .top-card01>li {
    width: 100%;
  }

  .top-card01 a {
    padding: 10px;
  }

  .top-card01 .card-img {
    margin-bottom: 15px;
  }

  .top-card01 .card-ttl {
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .top-card01 .card-desc {
    font-size: 12px;
    line-height: 1.5;
  }

  .top-card02 {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
  }

  .top-card03 {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
  }
}

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

.top-post-layout01 .l-ttl .txt01 {
  display: block;
  font-size: 30px;
  margin-bottom: 15px;
}

.top-post-layout01 .l-ttl .txt02 {
  display: block;
  font-size: 16px;
  color: var(--wp--preset--color--secondary);
}

.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 #eaeaea;
  margin-bottom: 20px;
  overflow: hidden;
}

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

.list-top-blog time {
  color: #aaa;
  display: block;
  font-size: 12px;
}

.list-top-blog .list-ttl {
  display: inline-block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin-bottom: 10px;
}

.list-top-blog .category {
  display: inline-block;
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  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: 100px 1fr;
  grid-gap: 0;
  align-items: center;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  padding: 16px 0;
}

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

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

.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: 700;
}

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

.list-top-case a {
  display: block;
  border-bottom: 1px solid var(--wp--preset--color--border-color);
  padding: 20px 0;
}

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

.list-top-case .list-data {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.list-top-case time {
  display: inline-block;
  color: #888;
  margin-right: 15px;
}

.list-top-case .category {
  display: inline-block;
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  font-size: 11px;
  padding: 0 5px;
  margin-right: 5px;
}

.list-top-case .ttl {
  display: inline-block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-family: var(--font_jp);
}

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

.list-top-gallery .list-img {
  border: 1px solid #eaeaea;
  margin-bottom: 20px;
  overflow: hidden;
}

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

.list-top-gallery time {
  color: #aaa;
  display: block;
  font-size: 12px;
}

.list-top-gallery .list-ttl {
  display: inline-block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin-bottom: 10px;
}

.list-top-gallery .category {
  display: inline-block;
  background-color: var(--wp--preset--color--primary);
  color: #fff;
  font-size: 11px;
  padding: 0 5px;
  margin-right: 5px;
}

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

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

@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;
  }

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

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

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

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

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

/*------------
Other
--------------*/
.top-bnr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 20px;
}

.top-bnr li {
  max-width: calc(33.3333333333% - 15px);
}

.top-bnr.center {
  justify-content: center;
}

@media (max-width: 800px) {
  .top-bnr {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }

  .top-bnr li {
    max-width: 100%;
  }
}
