/*----------
 .top-mv
 -----------*/

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

.top-mv-counter {
  max-width: 953px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
}
/* 4列にするとき削除 */
.top-mv-counter > :nth-child(1) {
  grid-column: 2;
  grid-row: 2;
}

.top-mv-counter > :nth-child(2) {
  grid-column: 3;
  grid-row: 2;
}
/* 4列にするとき削除　ここまで */

.top-mv-counter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
  position: relative;
  border-right: 1px solid #f4ede3;
}

/* 4列にするとき削除 */
.top-mv-counter-item:nth-child(3) {
  display: none;
}
.top-mv-counter-item:nth-child(4) {
  display: none;
}
/* 4列にするとき削除　ここまで */

.top-mv-counter-img {
  max-width: 60px;
}

.top-mv-counter-textbox {
  width: 100%;
}

.top-mv-counter-title p {
  border-radius: 15px;
  background: #f4ede3;
  color: #26292b;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 4px 0;
  width: 100%;
}

.top-mv-counter-text {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 6px;
  gap: 2px;
}

.top-mv-counter-text p:nth-child(1) {
  color: #005d8b;
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.48px;
}
.top-mv-counter-text p:nth-child(2) {
  color: #26292b;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 3px;
}

@media screen and (max-width: 1000px) {
  .top-mv {
    position: relative;
    z-index: 0;
  }

  .top-mv-counter {
    max-width: 600px;
    padding: 0 10px;
    grid-template-columns: repeat(2, 1fr);
    bottom: 40px;
    left: 50%;
  }

  .top-mv-counter-img {
    max-width: 40px;
  }

  .top-mv-counter-textbox {
    width: 100%;
  }

  .top-mv-counter-title p {
    font-size: 10px;
  }

  .top-mv-counter-text p:nth-child(1) {
    font-size: 32px;
  }
  .top-mv-counter-text p:nth-child(2) {
    font-size: 16px;
  }

  /* 4列にするとき削除 */
  .top-mv-counter > :nth-child(1) {
    grid-column: auto;
    grid-row: auto;
  }

  .top-mv-counter > :nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
}

/*----------
.top-pickup 
 -----------*/

.top-pickup {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.top-pickup-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.top-pickup-title img {
  max-width: 42px;
}

.top-pickup-title h2 {
  color: #29262b;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.pickup-loop {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.pickup-track {
  display: flex;
  width: max-content; /* 中身サイズぶんだけ */
  will-change: transform; /* 合成最適化 */
  animation: pickupMarq 24s linear infinite;
  transform: translate3d(0, 0, 0); /* GPUに載せる */
}

.pickup-track > span {
  display: block;
  white-space: nowrap;
  line-height: 1; /* 小数行高を避ける */
  font-size: 140px; /* pxで整数 */
  font-weight: 500;
  color: #f4ede3;
  /* レンダリング安定化（任意） */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  z-index: -1;
}

/* 自要素幅の 50%（=左側ブロック1つ分）だけ移動 */
@keyframes pickupMarq {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.swiper-top {
  margin-top: 80px;
}

.swiper-top .swiper-button-next {
  right: 13.25vw;
  background-image: url(../../img/top/top-pickup-arrow-right.png);
}
.swiper-top .swiper-button-prev {
  left: 13.25vw;
  background-image: url(../../img/top/top-pickup-arrow-left.png);
}

.pickup-single {
  max-width: 750px;
  margin: 0 auto;
  margin-top: 60px;
}

@media screen and (max-width: 1000px) {
  .top-pickup {
    padding: 60px 0;
  }

  .top-pickup-title img {
    max-width: 30px;
  }

  .top-pickup-title h2 {
    font-size: 26px;
  }

  .pickup-loop {
    top: 45px;
  }

  .pickup-track > span {
    font-size: 60px; /* pxで整数 */
  }

  .swiper-top {
    margin-top: 40px;
  }

  .swiper-top .swiper-button-next {
    right: 3vw;
    background-image: url(../../img/top/top-pickup-arrow-right.png);
  }
  .swiper-top .swiper-button-prev {
    left: 3vw;
    background-image: url(../../img/top/top-pickup-arrow-left.png);
  }
}
/*----------
 .top-intro 
 -----------*/
.top-intro {
  padding: 90px 0;
  background: #fcf9f5;
}

.top-intro-wrap {
  border-radius: 8px;
  background: #18839a;
  padding: 50px 20px 70px;
}

.top-intro-title {
  color: #fff;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
}

.top-intro-text {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 2.4;
  margin: 24px 0 45px;
}

.top-intro-btns {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.top-intro-btns .modal-trigger img {
  border-radius: 8px;
}

.top-intro-modal-title {
  color: #000;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 40px;
}

.top-intro-modal-step {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-intro-modal-step-item {
}

.top-intro-modal-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.top-intro-modal-subtitle p:nth-child(1) {
  border-radius: 20px;
  background: #d44b25;
  width: 120px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.top-intro-modal-subtitle p:nth-child(2) {
  color: #000;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.top-intro-modal-text {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75;
}

.top-intro-modal-step-img {
  max-width: 40px;
  margin: 0 auto;
}

.top-intro-modal-link {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  background: #d44b25;
  max-width: 500px;
  margin: 0 auto;
  height: 118px;
  gap: 30px;
  margin-top: 100px;
}
.top-intro-modal-link p {
  color: #fff;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.top-intro-modal-link img {
  max-width: 48px;
}

.top-intro-bnr {
  margin-top: 60px;
}

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

  .top-intro-wrap {
    padding: 40px 20px;
  }

  .top-intro-title {
    color: #fff;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.28;
    text-align: center;
  }

  .top-intro-text {
    font-size: 14px;
    line-height: 2;
    margin: 24px 0 24px;
  }

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

  .top-intro-modal-title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .top-intro-modal-step {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .top-intro-modal-subtitle p:nth-child(1) {
    width: 100px;
    height: 28px;
    font-size: 16px;
  }
  .top-intro-modal-subtitle p:nth-child(2) {
    font-size: 18px;
  }

  .top-intro-modal-text {
    font-size: 14px;
  }

  .top-intro-modal-link {
    height: 80px;
    gap: 16px;
    margin-top: 50px;
  }
  .top-intro-modal-link p {
    font-size: 20px;
  }
  .top-intro-modal-link img {
    max-width: 40px;
  }

  .top-intro-bnr {
    margin-top: 40px;
  }
}

/*----------
 .top-news
 -----------*/

.top-news {
  padding: 80px 0 100px;
}

.top-news-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 76px;
  background: #e6f2fa;
  padding: 20px 20px 20px 40px;
}

.top-news-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.top-news-content-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-news-content-title img {
  max-width: 36px;
}

.top-news-content-title h2 {
  color: #26292b;
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.top-news-btn {
  max-width: 240px;
}

.top-news-content-article a {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-news-content-article a p:nth-child(1) {
  color: #005d8b;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.top-news-content-article a p:nth-child(2) {
  color: #29262b;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  max-width: 324px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1000px) {
  .top-news {
    padding: 40px 0;
  }

  .top-news-wrap {
    padding: 40px 20px;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border-radius: 38px;
  }

  .top-news-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }

  .top-news-content-title {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .top-news-content-title img {
    max-width: 26px;
  }

  .top-news-content-title h2 {
    font-size: 30px;
    white-space: normal;
  }

  .top-news-content-article a {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .top-news-content-article a p:nth-child(1) {
    font-size: 12px;
  }
  .top-news-content-article a p:nth-child(2) {
    font-size: 14px;
    max-width: 100%;
    white-space: normal;
  }
}

/*----------
 .top-about
 -----------*/

.top-about {
  padding-bottom: 60px;
}

.top-about-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.top-about-textbox {
  max-width: 622px;
}

.top-about-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 50px;
}
.top-about-title h2 {
  color: #26292b;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.28;
}
.top-about-title img {
  max-width: 32px;
  padding-top: 14px;
}

.top-about-text p {
  color: #26292b;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 3.12;
  margin-bottom: 30px;
}

.top-about-btn a {
  max-width: 240px;
}

.top-about-img {
  max-width: 354px;
}

@media screen and (max-width: 1000px) {
  .top-about {
    /* padding-bottom: 60px; */
  }

  .top-about-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
  }

  .top-about-textbox {
    max-width: 622px;
  }

  .top-about-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
  }
  .top-about-title h2 {
    font-size: 28px;
  }
  .top-about-title img {
    max-width: 22px;
    padding-top: 10px;
  }

  .top-about-text p {
    font-size: 14px;
    line-height: 2.5;
  }

  .top-about-btn a {
    max-width: 240px;
  }

  .top-about-img {
    max-width: 354px;
  }
}

/*----------
 top-group
 -----------*/

.top-group-title {
  margin-bottom: 50px;
}

.top-group-title h2 {
  color: #26292b;
  font-size: 32px;
  font-style: normal;
  text-align: center;
  font-weight: 700;
  line-height: normal;
  padding-bottom: 18px;
  text-align: center;
}

.top-group-title-line {
  border-bottom: 4px dotted #005d8b;
  max-width: 520px;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .top-group-title {
    margin-bottom: 30px;
  }

  .top-group-title h2 {
    font-size: 22px;
    padding-bottom: 10px;
  }
}

.top-group {
  padding: 90px 0 100px;
  background-color: #fcf9f5;
  overflow: hidden;
}

.top-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  /* max-width: 450px; */
  margin: 0 auto;
  margin-bottom: 80px;
}

.top-group-grid-item {
  border-radius: 8px;
  background: #fff;
  padding: 30px;
}

.top-group-grid-title h3 {
  color: #26292b;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1px;
  padding-left: 20px;
  position: relative;
  margin-bottom: 18px;
}

.top-group-grid-title h3:after {
  content: '';
  position: absolute;
  border-radius: 20px;
  background: #d44b25;
  width: 6px;
  height: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.top-group-grid-img img {
  margin: 0 auto;
}

.top-group-grid-img--001 img {
  max-width: 298px;
}

.top-group-grid-img--002 img {
  max-width: 178px;
}

.top-group-grid-text {
  margin: 24px 0 20px;
}
.top-group-grid-text p {
  color: #26292b;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: -0.48px;
  min-height: 243px;
}

.top-group-grid-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.top-group-grid-item a p {
  color: #005d8b;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.8px;
}
.top-group-grid-item a img {
  max-width: 40px;
}

.top-group-grid-sns {
  background-color: #e6f2fa;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  gap: 30px;
}

.top-group-grid-sns p {
  font-size: 16px;
  color: #005d8b;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.top-group-grid-sns a img {
  max-width: 50px;
}

.top-group-copy {
  max-width: 677px;
  margin: 0 auto;
  margin-bottom: 70px;
  position: relative;
}

.top-group-copy::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 176px;
  background-image: url(../../img/top/top-group-copy-deco.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  top: -30px;
  left: -180px;
}

.top-group-copy p {
  color: #000;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.87;
}

.top-group-yuimaalu {
  position: relative;
}

.top-group-yuimaalu-wrap {
  background-color: #e6f2fa;
  border-radius: 17px;
  padding: 45px 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.top-group-yuimaalu-wrap:after {
  content: '';
  position: absolute;
  width: 140px;
  height: 120px;
  background-image: url(../../img/top/top-group-yuimaalu-leaf.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  bottom: -30px;
  right: -80px;
}

.top-group-yuimaalu-deco {
  max-width: 822px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  top: -20px;
  z-index: 2;
}

.top-group-yuimaalu-grid {
  max-width: 772px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
}

.top-group-yuimaalu-textbox h3 {
  color: #000;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.top-group-yuimaalu-textbox p {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.87;
  margin: 8px 0;
}

.top-group-yuimaalu-apps {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 240px;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  .top-group {
    padding: 60px 0;
  }

  .top-group-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-bottom: 40px;
  }

  .top-group-grid-item {
    padding: 30px 20px;
  }

  .top-group-grid-title h3 {
    font-size: 18px;
  }

  .top-group-grid-text p {
    font-size: 14px;
    min-height: auto;
  }

  .top-group-grid-item a p {
    font-size: 14px;
  }

  .top-group-grid-item a img {
    max-width: 30px;
  }

  .top-group-copy {
    margin-bottom: 50px;
  }

  .top-group-copy::after {
    content: none;
  }

  .top-group-copy p {
    font-size: 14px;
  }

  .top-group-yuimaalu-wrap:after {
    width: 70px;
    height: 60px;
    bottom: -10px;
    right: -10px;
  }

  .top-group-yuimaalu-img {
    max-width: 260px;
    margin: 0 auto;
  }

  .top-group-yuimaalu-deco {
    max-width: 90%;
    top: -4vw;
  }

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

  .top-group-yuimaalu-textbox h3 {
    font-size: 18px;
  }
  .top-group-yuimaalu-textbox p {
    font-size: 14px;
  }

  .top-group-yuimaalu-apps {
    grid-template-columns: 1fr 1fr;
  }
}

/*----------
top-think
 -----------*/
.top-think {
  padding: 0 !important;
  overflow: hidden;
}

.top-think-wrap {
  padding: 40px 0 !important;
}

.top-think-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 33px;
}

.top-think-title h2 {
  color: #26292b;
  font-size: 42px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.top-think-title img {
  max-width: 42px;
}

.top-think-wrap p {
  color: #26292b;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 2.87;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.top-think-iframe {
  margin: 45px auto !important;
}

.top-think-title-001:after {
  content: '';
  position: absolute;
  background-image: url(../../img/top/top-think-deco-001.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 195px;
  height: 163px;
  top: 50px;
  right: -220px;
}

.top-think-title-002:before {
  content: '';
  position: absolute;
  background-image: url(../../img/top/top-think-deco-002.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 171px;
  height: 146px;
  top: -10%;
  left: -350px;
}

@media screen and (max-width: 767px) {
  .top-think-title h2 {
    font-size: 24px;
  }
  .top-think-title img {
    max-width: 28px;
  }

  .top-think-wrap p {
    font-size: 14px;
    line-height: 2.2;
  }

  .top-think-iframe {
    margin: 30px auto !important;
  }

  .top-think-title-001:after {
    content: none;
  }

  .top-think-title-002:before {
    content: none;
  }
}
