@charset "UTF-8";
/*=======================================
トップページ
=========================================*/
.l-kv {
  background: url("../img/top/mv_bg.png") no-repeat center;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  position: relative;
}
.l-kv .info-box {
  position: absolute;
  right: 0;
  bottom: -3.75rem;
  width: 34.75rem;
  border-radius: 15px 0px 0px 15px;
  background: #fff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.l-kv .info-box a {
  display: block;
  text-decoration: none;
  padding: 1.875rem 5rem 1.875rem 1.875rem;
  background: url("../img/common/arrow.png") no-repeat right 20px center;
}
.l-kv .info-box a .day {
  font-weight: normal;
  font-size: 0.875rem;
  line-height: 1;
  color: #3d91ce;
}
.l-kv .info-box a .tit {
  font-size: 1.125rem;
  line-height: 1;
  margin-top: 0.625rem;
  color: #747474;
}
.l-kv:before {
  content: "";
  width: 21.8125rem;
  height: 35.375rem;
  display: block;
  position: absolute;
  left: 0;
  bottom: -6.25rem;
  background: url("../img/top/mv_flower_l.png") no-repeat center;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  transform: translateY(calc(var(--scroll-y, 0) * -0.2)) translateX(calc(var(--scroll-y, 0) * -0.15));
  opacity: var(--flower-opacity, 1);
  will-change: transform, opacity;
  transition: opacity 0.1s ease-out;
}
.l-kv:after {
  content: "";
  width: 29.5rem;
  height: 29.125rem;
  display: block;
  position: absolute;
  right: 0;
  top: -3.125rem;
  background: url("../img/top/mv_flower_r.png") no-repeat center;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  transform: translateY(calc(var(--scroll-y, 0) * 0.15)) translateX(calc(var(--scroll-y, 0) * 0.15));
  opacity: var(--flower-opacity, 1);
  will-change: transform, opacity;
  transition: opacity 0.1s ease-out;
}
.l-kv h1 {
  color: #FFF;
  font-size: 3.5rem;
  line-height: 1;
  position: relative;
  z-index: 10;
}
.l-kv p {
  font-size: 1.5rem;
  color: #FFF;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 10;
}
.l-kv .inner {
  position: relative;
  padding: 14.25rem 0 14.9375rem;
}
.l-kv .inner:after {
  content: "";
  width: 934px;
  height: 510px;
  background: url("../img/top/mv.png") no-repeat center;
  transform: translateY(calc(var(--scroll-y, 0) * 0.05));
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  position: absolute;
  right: 6.25rem;
  bottom: -0.625rem;
  z-index: 0;
}
.l-kv .inner .txt {
  float: left;
}
.l-kv .inner .txt h1 {
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.l-kv .inner .txt h1 span {
  padding-bottom: 20px;
  background: url("../img/common/line2.svg") repeat-x left bottom;
}
.l-kv .inner .txt p {
  text-align: center;
}

.p-top__intro .inner {
  padding: 9rem 0 10.25rem;
  position: relative;
}
.p-top__intro .inner:before {
  content: "";
  width: 146px;
  height: 199px;
  display: block;
  background: url("../img/common/icon_human1.svg") no-repeat center;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  position: absolute;
  top: 140px;
  right: -40px;
}
.p-top__intro .inner:after {
  content: "";
  width: 149px;
  height: 225px;
  display: block;
  background: url("../img/common/icon_human2.svg") no-repeat center;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  position: absolute;
  bottom: 56px;
  left: -50px;
}
.p-top__intro h2 {
  text-align: center;
  padding-bottom: 3.4375rem;
  font-size: 3rem;
  background-image: url("../img/common/icon1.png");
  background-repeat: no-repeat;
  background-position: center bottom;
}
.p-top__intro p {
  text-align: center;
  font-size: 1.125rem;
  line-height: 3;
  padding: 3.125rem 0 0;
  font-weight: bold;
}
.p-top__intro .ct {
  text-align: center;
  font-size: 1.625rem;
  font-weight: bold;
  padding-top: 2.6875rem;
  padding-bottom: 1.25rem;
  background-image: url("../img/common/line1.png");
  background-repeat: no-repeat;
  background-position: center bottom;
}
.p-top__intro .ct span {
  font-size: 2.0625rem;
}
.p-top__link {
  position: relative;
  z-index: 10;
}
.p-top__link ul {
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.p-top__link ul:before, .p-top__link ul:after {
  content: none;
}
.p-top__link ul li {
  width: 520px;
  -webkit-border-radius: 16px;
  border-radius: 16px;
}
.p-top__link ul li:nth-child(1) {
  background-color: #F7CF83;
}
.p-top__link ul li:nth-child(2) {
  background-color: #5BA0D1;
}
.p-top__link ul li a {
  display: block;
  color: #fff;
  text-align: center;
  padding: 3.125rem 0;
  font-size: 1.875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.p-top__link ul li a i {
  font-size: 4.0625rem;
}
.p-top__link ul li a span {
  display: block;
  margin-top: 1.25rem;
}
.p-top__news {
  background: #F4ECD9 url("../img/top/info_bg.png") no-repeat center top;
  -webkit-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
  padding: 25rem 0 14.0625rem;
  margin-top: -7.75rem;
  position: relative;
}
.p-top__news .inner {
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.p-top__news .inner:before, .p-top__news .inner:after {
  content: none;
}
.p-top__news .inner .title h3 {
  text-align: center;
}
.p-top__news .inner .title h3:after {
  content: "";
  display: block;
  width: 5rem;
  height: 4.375rem;
  background: url("../img/common/icon_title.png") no-repeat center;
  -webkit-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  margin: 2.875rem auto;
}
.p-top__news .inner .title h3 .ja {
  writing-mode: vertical-rl;
  display: inline-block;
  width: fit-content;
  font-weight: normal;
  font-size: 2rem;
  line-height: 1;
  text-align: center;
  color: #747474;
  letter-spacing: 0.1em;
  font-weight: bold;
}
.p-top__news .inner .title h3 .en {
  display: block;
  margin-top: 0.625rem;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  color: #589fd1;
}
.p-top__news .inner .title .btn a {
  display: block;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1;
  width: 9.6875rem;
  height: 2.6875rem;
  line-height: 2.6875rem;
  -webkit-border-radius: 1.625rem;
  border-radius: 1.625rem;
  background-color: #5BA0D1;
}

.sampleText {
  width: 100vw;
  overflow: hidden;
  position: absolute;
  bottom: -2.5rem;
}

.textWrapper {
  display: flex;
  /* 横に並べる */
  width: max-content;
  /* 中身の幅に合わせる */
  animation: scrollingText 55s linear infinite;
}

.textInner {
  padding-right: 1em;
  /* 文字の間の余白をここで調整 */
  white-space: nowrap;
  font-size: 12.5rem;
  line-height: 1.2;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.3);
}

@keyframes scrollingText {
  from {
    translate: 0 0;
  }
  to {
    translate: -50% 0;
  }
  /* 2つ並んでいるので、半分動いたらループ */
}
/* ----------------------------- スマホ（～767px） */
@media screen and (max-width: 767px) {
  .l-kv {
    background: url("../img/top/mv_bg.png") no-repeat center top -56px;
    -webkit-background-size: 350%;
    -o-background-size: 350%;
    background-size: 350%;
    margin-top: 76px;
  }
  .l-kv .info-box {
    position: relative;
    border-radius: 15px;
    width: 95%;
    margin: auto;
    right: 0;
    left: 0;
    bottom: -1.875rem;
  }
  .l-kv .info-box a {
    display: block;
    text-decoration: none;
    padding: 1.875rem 4.375rem 1.875rem 1.25rem;
    background: url("../img/common/arrow.png") no-repeat right 10px center;
    -webkit-background-size: 15%;
    -o-background-size: 15%;
    background-size: 15%;
  }
  .l-kv .info-box a .day {
    font-weight: normal;
    font-size: 0.875rem;
    line-height: 1;
    color: #3d91ce;
  }
  .l-kv .info-box a .tit {
    font-size: 1.125rem;
    line-height: 1;
    margin-top: 0.625rem;
    color: #747474;
  }
  .l-kv:before {
    content: "";
    width: 10.875rem;
    height: 17.6875rem;
    display: block;
    position: absolute;
    left: 0;
    bottom: -6.25rem;
    background: url("../img/top/mv_flower_l.png") no-repeat center;
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    transform: translateY(calc(var(--scroll-y, 0) * -0.2)) translateX(calc(var(--scroll-y, 0) * -0.15));
    opacity: var(--flower-opacity, 1);
    will-change: transform, opacity;
    transition: opacity 0.1s ease-out;
  }
  .l-kv:after {
    content: "";
    width: 11.625rem;
    height: 26rem;
    display: block;
    position: absolute;
    right: -2.5rem;
    top: -8.75rem;
    background: url("../img/top/mv_flower_r.png") no-repeat center;
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    transform: translateY(calc(var(--scroll-y, 0) * 0.15)) translateX(calc(var(--scroll-y, 0) * 0.15));
    opacity: var(--flower-opacity, 1);
    will-change: transform, opacity;
    transition: opacity 0.1s ease-out;
  }
  .l-kv h1 {
    color: #FFF;
    font-size: 2rem;
    line-height: 1;
    position: relative;
    z-index: 10;
  }
  .l-kv p {
    font-size: 1.125rem;
    color: #FFF;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 10;
  }
  .l-kv .inner {
    position: relative;
    padding: 8.125rem 0 12.5rem;
  }
  .l-kv .inner:after {
    content: "";
    width: 417px;
    height: 205px;
    background: url("../img/top/mv.png") no-repeat center;
    transform: translateY(calc(var(--scroll-y, 0) * 0.05));
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    position: absolute;
    right: -3.125rem;
    bottom: -1.875rem;
    z-index: 0;
  }
  .l-kv .inner .txt {
    float: none;
  }
  .l-kv .inner .txt h1 {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }
  .l-kv .inner .txt h1 span {
    padding-bottom: 20px;
    background: url("../img/common/line2.svg") repeat-x left bottom;
  }
  .l-kv .inner .txt p {
    text-align: center;
  }

  .p-top__intro .inner {
    padding: 9rem 15px 5rem;
    position: relative;
  }
  .p-top__intro .inner:before {
    content: "";
    width: 146px;
    height: 199px;
    display: block;
    background: url("../img/common/icon_human1.svg") no-repeat center;
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    position: absolute;
    top: 140px;
    right: -40px;
  }
  .p-top__intro .inner:after {
    content: "";
    width: 149px;
    height: 225px;
    display: block;
    background: url("../img/common/icon_human2.svg") no-repeat center;
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    position: absolute;
    bottom: 56px;
    left: -50px;
  }
  .p-top__intro .inner:before, .p-top__intro .inner:after {
    content: none;
  }
  .p-top__intro h2 {
    text-align: center;
    padding-bottom: 2.1875rem;
    font-size: 1.75rem;
    -webkit-background-size: 30%;
    -o-background-size: 30%;
    background-size: 30%;
    letter-spacing: 0.1em;
    line-height: 1.6;
    font-feature-settings: "palt";
  }
  .p-top__intro p {
    text-align: left;
    font-size: 1rem;
    line-height: 2;
    padding: 1.25rem 0 0;
  }
  .p-top__intro .ct {
    padding-top: 1.25rem;
    line-height: 1.4;
    -webkit-background-size: 80%;
    -o-background-size: 80%;
    background-size: 80%;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    font-size: 1.5rem;
  }
  .p-top__intro .ct span {
    font-size: 2rem;
  }
  .p-top__link ul {
    display: block;
  }
  .p-top__link ul li {
    width: 100%;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    margin-bottom: 1.25rem;
  }
  .p-top__link ul li:last-child {
    margin-bottom: 0;
  }
  .p-top__link ul li a {
    padding: 1.875rem 0;
    font-size: 1.5rem;
  }
  .p-top__link ul li a i {
    font-size: 4.0625rem;
  }
  .p-top__link ul li a span {
    display: block;
    margin-top: 1.25rem;
  }
  .p-top__news {
    background: #F4ECD9 url("../img/top/info_bg.png") no-repeat center top;
    padding: 12.5rem 0 6.5625rem;
    margin-top: -7.75rem;
    position: relative;
  }
  .p-top__news .inner {
    display: block;
  }
  .p-top__news .inner .title h3:after {
    content: "";
    display: block;
    width: 5rem;
    height: 4.375rem;
    background: url("../img/common/icon_title.png") no-repeat center;
    -webkit-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    margin: 1.25rem auto;
  }
  .p-top__news .inner .title h3 .ja {
    writing-mode: horizontal-tb;
  }
  .p-top__news .inner .btn a {
    display: block;
    text-align: center;
    color: #FFF;
    text-decoration: none;
    font-size: 1.1875rem;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.875rem;
    width: 80%;
    height: auto;
    line-height: 1;
    padding: 1.25rem 0;
    -webkit-border-radius: 1.875rem;
    border-radius: 1.875rem;
    background-color: #5BA0D1;
  }

  .sampleText {
    bottom: -1.25rem;
  }

  .textInner {
    font-size: 6.25rem;
  }
}
