/*
トップページ用CSS
*/
/*-------------------------------------------------
h1 ロゴ
--------------------------------------------------*/
.h1-top {
  padding: 0;
  margin: 0;
  font-size: 0;
}
/*-------------------------------------------------
メインビジュアル
--------------------------------------------------*/
.wrap-top-mainvis {
  position: relative;
  display: block;
}
.wrap-top-mainvis img {
  max-width: 2000px;
  margin: 0 auto;
}
.top-main-pc {
  display: block;
}
.top-main-tab,.top-main-sp {
  display: none;
}
/*-------------------------------------------------
Layout
--------------------------------------------------*/
.contents-main .sec-top {
  position: relative;
  display: block;
  margin-top: 80px;
}
.contents-main+.sec-top:first-of-type {
  margin-top: 0;
}
/*-------------------------------------------------
What’s New
--------------------------------------------------*/
.sec-top-news {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}
.sec-top-news .wrap-btn {
  position: absolute;
  top: 0;
  right: 10px;
  width: 150px;
}
/*-------------------------------------------------
Contents
--------------------------------------------------*/
.contents-main .sec-top-contents {
  background: #F8F0EB;
  padding: 160px 60px 120px;
  margin-top: 45px;
  overflow: hidden;
}
.inner-top-contents {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 150px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
.wrap-top-contents {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-right: -60px;
}
.item-top-contents  {
  position: relative;
  display: block;
  padding: 70px calc(35% - 30px) 50px 60px;
  background: #fff;
  width: calc(100% - 260px);
  min-height: 400px;
  z-index: 2;
}
.img-top-contents {
  position: absolute;
  display: block;
  width: 50%;
  top: -70px;
  right: 0;
  z-index: 3;
}
.h2-top-contents {
  position: absolute;
  display: inline-block;
  width: auto;
  min-width: 30%;
  top: -40px;
  border-bottom: 1px solid #9A2E00;
  margin: 0;
  font-size: 4.4rem;
  font-weight: 500;
  color: #9A2E00;
  letter-spacing: 2px;
  line-height: 1.7;
}
.link-top-contents {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  padding-top: 25px;
  width: max-content;
}
.link-top-contents a {
  position: relative;
  display: inline-block;
  border-bottom: 1px solid rgba(225,89,29,0);
  padding-right: 3px;
  color: #373737;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;;
}
.arrow-top-contents {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 2px;
  margin: 7.1px 0;
  margin-right: 8px;
  border-radius: 9999px;
  background-color: #000000;
  transition: 0.2s all;
}
.arrow-top-contents::before,
.arrow-top-contents::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 12px;
  height: 2px;
  border-radius: 9999px;
  background-color: #000000;
  transform-origin: calc(100% - 1px) 50%;
  transition: 0.2s all;
}
.arrow-top-contents::before {
  transform: rotate(45deg);
}
.arrow-top-contents::after {
  transform: rotate(-45deg);
}
.link-top-contents a:hover {
  color: #E1591D;
  border-bottom: 1px solid rgba(225,89,29,100);
}
.link-top-contents a:hover .arrow-top-contents,
.link-top-contents a:hover .arrow-top-contents::before,
.link-top-contents a:hover .arrow-top-contents::after{
  background: #E1591D;
}
/*逆パターン*/
.wrap-top-contents:nth-of-type(2n) {
  align-items: flex-end;
  margin-right: auto;
  margin-left: -60px;
}
.wrap-top-contents:nth-of-type(2n) .img-top-contents {
  left: 0;
  right: auto;
}
.wrap-top-contents:nth-of-type(2n) .item-top-contents {
  padding: 70px 60px 50px 35%;
}
.wrap-top-contents:nth-of-type(2n) .link-top-contents {
  margin-left: auto;
}
/*背景装飾*/
.wrap-top-contents::before,
.wrap-top-contents:nth-of-type(3)::after,
.wrap-top-contents:nth-of-type(4)::after {
  content: "";
  position: absolute;
  margin: auto;
  aspect-ratio: 1 / 1;
  z-index: 1;
}
.wrap-top-contents:nth-of-type(1)::before {
  width: 590px;
  background: url('../images/top/circle_brown.png') center / contain no-repeat;
  top: -180px;
  left: -170px;
}
.wrap-top-contents:nth-of-type(2)::before {
  width: 420px;
  background: url('../images/top/circle_pink.png') center / contain no-repeat;
  top: -190px;
  right: -190px;
}
.wrap-top-contents:nth-of-type(3)::before {
  width: 370px;
  background: url('../images/top/circle_yellow.png') center / contain no-repeat;
  top: -190px;
  left: 60px;
}
.wrap-top-contents:nth-of-type(3)::after {
  width: 500px;
  background: url('../images/top/circle_violet.png') center / contain no-repeat;
  top: 190px;
  left: -160px;
}
.wrap-top-contents:nth-of-type(4)::before {
  width: 590px;
  background: url('../images/top/circle_green.png') center / contain no-repeat;
  top: -190px;
  right: -190px;
}
.wrap-top-contents:nth-of-type(4)::after {
  width: 420px;
  background: url('../images/top/circle_orange.png') center / contain no-repeat;
  top: 190px;
  left: -160px;
}
/*-------------------------------------------------
footer
--------------------------------------------------*/
.home .footer {
  padding-top: 0;
}
.home .footer .footer-list {
   border: none;
}
/*-------------------------------------------------
break point 1300px 
--------------------------------------------------*/
@media only screen and (max-width: 1300px) {
  .contents-main .sec-top-contents {
    padding: 160px 40px 100px;
  }
  .wrap-top-contents {
    margin-right: -40px;
  }
  .wrap-top-contents:nth-of-type(2n) {
    margin-left: -40px;
  }
  .img-top-contents {
    width: 45%;
    top: -35px;
  }
  .item-top-contents {
    padding: 60px 32% 40px 50px;
    width: calc(100% - 200px);
    min-height: 350px;
  }
  .wrap-top-contents:nth-of-type(2n) .item-top-contents {
    padding: 60px 40px 40px 32%;
  }
  .h2-top-contents {
    font-size: 4rem;
  }
}
/*-------------------------------------------------
break point 1100px 
--------------------------------------------------*/
@media only screen and (max-width: 1100px) {
  /*contents*/
  .contents-main .sec-top-contents {
    margin-top: 40px;
    padding-top: 80px;
  }
  .sec-top-contents {
    padding-top: 80px;
  }
  .inner-top-contents {
    align-items: center;
    row-gap: 60px;
    max-width: 800px;
  }
  .wrap-top-contents,
  .wrap-top-contents:nth-of-type(2n) {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }
  .img-top-contents {
    position: relative;
    width: 80%;
    top: 0;
    right: auto;
  }
  .item-top-contents,
  .wrap-top-contents:nth-of-type(2n) .item-top-contents {
    width: 100%;
    margin-top: -60px;
    padding: 80px 40px 40px;
  }
  .h2-top-contents {
    position: relative;
    display: block;
    top: 0;
    text-align: center;
    border: none;
    padding-bottom: 25px;
    font-size: 3.8rem;
  }
  .h2-top-contents::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 2px;
    background: #9A2E00;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: auto;
  }
  .box-top-contents .txt-cmn-18 {
    font-size: 1.7rem;
  }
  .link-top-contents {
    width: auto;
  }
  .link-top-contents a {
    padding-left: 25px;
  }
  .link-top-contents a {
    font-size: 2.2rem;
    color: #9A2E00;
    border: none;
  }
  .link-top-contents a .txt-link-top-contents {
    border-bottom: 1px solid #9A2E00;
  }
  .arrow-top-contents {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
  }
  .arrow-top-contents,.arrow-top-contents::before, .arrow-top-contents::after {
    background: #9A2E00;
  }
  .link-top-contents a:hover {
    color: #9A2E00;
    border-bottom: none;
  }
  .link-top-contents a:hover .arrow-top-contents,
  .link-top-contents a:hover .arrow-top-contents::before,
  .link-top-contents a:hover .arrow-top-contents::after{
    background: #9A2E00;
  }
  .wrap-top-contents:nth-of-type(2n) .item-top-contents {
    padding: 80px 40px 40px;
  }
  .wrap-top-contents:nth-of-type(2n) .link-top-contents {
    margin-left: 0;
  }
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  .contents-main .sec-top {
    margin-top: 60px;
  }
  .sec-top-news .wrap-btn {
    top: -5px;
  }
  .top-main-tab {
    display: block;
  }
  .top-main-pc,.top-main-sp {
    display: none;
  }
}
/*-------------------------------------------------
break point 700px 
--------------------------------------------------*/
@media only screen and (max-width: 700px) {
  /*news*/
  .sec-top-news .wrap-btn {
    top: -5px;
  }
  /*contents*/
  .item-top-contents,
  .wrap-top-contents:nth-of-type(2n) .item-top-contents {
    margin-top: -50px;
    padding: 60px 30px 30px;
  }
  .h2-top-contents {
    font-size: 3.2rem;
  }
  .box-top-contents .txt-cmn-18 {
    font-size: 1.6rem;
  }
  .link-top-contents a {
    font-size: 2rem;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .contents-main .sec-top {
    margin-top: 35px;
  }
  .top-main-sp {
    display: block;
  }
  .top-main-pc,.top-main-tab {
    display: none;
  }
  /*news*/
  .sec-top-news .wrap-btn {
    position: relative;
    width: 100%;
    right: 0;
  }
  .contents-main .sec-top-contents {
    padding: 60px 15px 80px;
  }
  .inner-top-contents {
    row-gap: 50px;
  }
  .img-top-contents {
    width: calc(100% - 30px);
  }
  .item-top-contents,
  .wrap-top-contents:nth-of-type(2n) .item-top-contents {
    margin-top: -20px;
    padding: 35px 20px 30px;
    min-height: 0;
  }
  .h2-top-contents {
    padding-bottom: 20px;
    font-size: 2.8rem;
    letter-spacing: 1px;
  }
  .h2-top-contents::after {
    width: 80px;
  }
  .box-top-contents .txt-cmn-18 {
    font-size: 1.5rem;
  }
  .link-top-contents {
    row-gap: 10px;
    padding-top: 20px;
  }
  .link-top-contents a {
    font-size: 1.8rem;
  }
  .arrow-top-contents {
    width: 18px;
  }
  .arrow-top-contents::before, .arrow-top-contents::after {
    width: 10px;
  }
  /*背景装飾*/
  .wrap-top-contents:nth-of-type(1)::before {
    width: 240px;
    top: -60px;
    left: -60px;
  }
  .wrap-top-contents:nth-of-type(2)::before {
    width: 320px;
    top: -290px;
    right: -160px;
  }
  .wrap-top-contents:nth-of-type(3)::before {
    width: 300px;
    top: -380px;
    left: -60px;
  }
  .wrap-top-contents:nth-of-type(3)::after {
    width: 230px;
    top: 130px;
    right: -90px;
    left: auto;
  }
  .wrap-top-contents:nth-of-type(4)::before {
    width: 310px;
    top: -190px;
    right: auto;
    left: -60px;
  }
  .wrap-top-contents:nth-of-type(4)::after {
    width: 320px;
    top: 290px;
    left: auto;
    right: -60px;
  }
}