@charset "utf-8";

.sec-intro {
  position: relative;
  overflow: hidden;
}
.sec-intro .sec-img img {
  border-radius: 20px;
}
.sec-intro .scroll-text {
  overflow: hidden;
  position: absolute;
  bottom: calc(-88 / 1920 * 100vw);
  left: 0;
  display: flex;
  gap: 75px;
  position: absolute;
  height: calc(253 / 1920 * 100vw);
  animation: RighttoLeft 15s linear infinite;
  z-index: -1;
}
@keyframes RighttoLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-34%);
  }
}

.sec-intro .scroll-text .text {
  font-family: var(--zenkaku);
  font-weight: 500;
  font-size: clamp(5rem, 1.05rem + 8.24vw, 10.938rem);
  line-height: 1;
  color: #e4dfd3;
}

.sec-intro .inner {
  padding-bottom: 280px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sec-intro .inner .sec-img img {
  border-radius: 20px;
}

.sec-intro .inner .desc p {
  font-weight: 500;
  font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
  line-height: calc(36 / 18);
  color: #603215;
}

.has-bg {
  background: #d9d3c7;
  position: relative;
}

.has-bg .inner {
  padding: 159px 0 117px;
  display: flex;
  gap: 4%;
  justify-content: space-between;
  align-items: flex-start;
}

.has-bg .inner .sec-title {
  margin-top: 25px;
}

.has-bg .inner .tit-ja {
  font-weight: 500;
  font-size: clamp(1.25rem, 0.917rem + 0.69vw, 1.75rem);
  line-height: calc(60 / 28);
  color: #3b1802;
}

.has-bg .inner .tit-ja span {
  font-size: clamp(2rem, 1.667rem + 0.69vw, 2.5rem) !important;
  line-height: calc(60 / 40);
}

.has-bg .inner .desc {
  max-width: 857px;
  width: 64%;
}

.has-bg .inner .desc p {
  font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
  line-height: calc(36 / 18);
}

.box {
  border-radius: 30px;
  background: #fcf9f5;
  margin: 79px auto 0;
}

.box .box-inner {
  padding: 94px 0 116px;
  max-width: 1377px;
  width: 90%;
  margin: 0 auto;
}

.box .box-inner .sec-title,
.greeting .sec-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.box .box-inner .sec-title .tit-en,
.greeting .sec-title .tit-en {
  font-family: var(--zenkaku);
  font-weight: 500;
  font-size: clamp(0.75rem, 0.501rem + 0.52vw, 1.125rem);
  color: #3b1802;
}

.box .box-inner .sec-title .tit-ja,
.greeting .sec-title .tit-ja {
  font-weight: 500;
  font-size: clamp(1.5rem, 1.001rem + 1.04vw, 2.25rem);
  color: #3b1802;
}

.box .box-inner .sec-catch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.box .box-inner .sec-catch .tit-ja {
  text-align: center;
  color: #3b1802;
  position: relative;
  padding-bottom: 8px;
}

.box .box-inner .sec-catch.is-active {
  --opacity: 1;
}
.box .box-inner .sec-catch .tit-ja .char {
  display: inline-block;
  opacity: var(--opacity, 0);
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--char-index));
  font-weight: 500;
  font-size: clamp(1.5rem, 0.835rem + 1.39vw, 2.5rem);
  line-height: calc(60 / 40);
}

.box .box-inner .sec-catch .tit-ja.delay-2 .char {
  transition-delay: calc(0.6s + (0.05s * var(--char-index)));
}

.box .box-inner .sec-catch .tit-ja.delay .char {
  transition-delay: calc(0.8s + (0.05s * var(--char-index)));
}

.box .box-inner .sec-catch .text-wrap {
  display: flex;
}

.box .box-inner .sec-catch .tit-ja::after {
  content: "";
  background: url(/system_panel/uploads/images/20260607012348123016.svg) repeat-x left/cover;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
}

.message {
  margin-bottom: 59px;
}

.message .desc {
  margin-bottom: 60px;
}

.message .desc p {
  font-weight: 500;
  font-size: clamp(1rem, 0.917rem + 0.17vw, 1.125rem);
  line-height: calc(36 / 18);
  text-align: center;
  color: #603215;
}

.box .box-inner .sec-img {
  max-width: 814px;
  width: 90%;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 3px 6px rgba(183, 183, 183, 0.16);
}

.box .box-inner .sec-img img {
  border-radius: 10px;
}

.story {
  max-width: 1377px;
  width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  border: 1.5px solid #583f2f;
}

.story .box-inner {
  padding: 47px 0 123px;
  width: 80%;
  margin: 0 auto;
}

.story .list {
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.story .list .item {
  display: flex;
  gap: 8%;
  align-items: flex-start;
}

.story .list .item .text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 727px;
  width: 67%;
}

.story .list .item {
  position: relative;
}

.story .list .item::before {
  content: "";
  width: 9px;
  height: calc(100% + 160px);
  background-image: radial-gradient(circle, #d9d3c7 3px, transparent 3px);
  background-size: 9px 38px;
  background-repeat: repeat-y;
  background-position: center top;
  position: absolute;
  top: 0;
  left: 15px;
}
.story .list .item:last-child::before {
  content: none;
}

.story .list .item .text .tit-ja {
  font-weight: 500;
  font-size: clamp(1.125rem, 0.709rem + 0.87vw, 1.75rem);
  color: #3b1802;
}

.story .list .item .text .tit-ja br {
  display: none;
}

.story .list .item .text .desc p {
  text-align: left;
  font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
  line-height: calc(28 / 16);
  font-weight: 400;
}

.story .list .item .head {
  font-weight: 500;
  font-size: clamp(1.5rem, 1.167rem + 0.69vw, 2rem);
  color: #3b1802;
  padding-left: 65px;
  position: relative;
}

.story .list .item .head::before {
  content: "";
  width: 40px;
  height: 40px;
  background-color: #3b1802;
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}

.greeting .inner {
  padding: 120px 0 140px;
}

.greeting .sec-body {
  display: flex;
  align-items: flex-start;
  gap: 5%;
  justify-content: flex-start;
}

.greeting .sec-body .sec-img {
  max-width: 459px;
  width: 35%;
  border-radius: 10px;
  background: #fff;
  padding: 20px;
}

.greeting .sec-body .sec-img img {
  border-radius: 10px;
}

.greeting .sec-body .sec-text {
  margin-top: 79px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-end;
  max-width: 749px;
  width: 56%;
}

.greeting .sec-body .sec-text .desc p {
  font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
  line-height: calc(28 / 16);
  color: #603215;
}

.greeting .sec-body .sec-text .name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.greeting .sec-body .sec-text .name .sub {
  font-weight: 400;
  font-size: 14px;
  color: #3b1802;
}

.greeting .sec-body .sec-text .name .main {
  font-weight: 500;
  font-size: clamp(1.25rem, 1.084rem + 0.35vw, 1.5rem);
  color: #3b1802;
}

@media (max-width: 1300px) {
  .story .box-inner {
    width: 85%;
  }
}

@media (max-width: 1200px) {
  .has-bg .inner {
    width: 80%;
  }
  .story .box-inner {
    width: 90%;
  }

  .story .list .item {
    gap: 5%;
  }
  .story .list .item .head {
    padding-left: 55px;
  }
}

@media (max-width: 1023px) {
  .sec-intro .inner {
    width: 80%;
    padding-bottom: 98px;
  }
  .sec-intro .scroll-text {
    gap: 41px;
  }
  .has-bg .inner {
    padding: 50px 0 69px;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
    align-items: center;
  }

  .has-bg .inner .desc p {
    text-align: center;
  }

  .box {
    margin-top: 120px;
    width: 98%;
  }

  .box .box-inner .sec-catch .text-wrap {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .box .box-inner {
    padding: 50px 0 58px;
  }
  .box .box-inner .sec-title,
  .greeting .sec-title {
    gap: 5px;
    margin-bottom: 40px;
  }
  .box .box-inner .sec-catch {
    gap: 10px;
    margin-bottom: 40px;
  }

  .message {
    margin-bottom: 40px;
  }

  .message .desc {
    margin-bottom: 27px;
  }
  .box .box-inner .sec-img {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(183, 183, 183, 0.16);
  }

  .box .box-inner {
    padding: 40px 0 52px;
  }
  .story .list .item {
    flex-direction: column;
    gap: 8px;
  }
  .story .list .item .head::before {
    width: 22px;
    height: 22px;
  }
  .story .list .item .head {
    padding-left: 32px;
  }
  .story .list .item .text {
    padding-left: 25px;
  }
  .story .list .item::before {
    left: 5px;
    background-size: 6px 32px;
  }

  .story .list .item .text .tit-ja {
    line-height: 2;
    white-space: nowrap;
  }
  .story .list .item .text .tit-ja br {
    display: block;
  }
  .story .box-inner {
    width: 92%;
  }

  .greeting .inner {
    padding: 40px 0 80px;
    width: 80%;
  }
  .greeting .sec-body {
    flex-direction: column;
    gap: 40px;
  }
  .greeting .sec-body .sec-img {
    padding: 10px;
    width: 100%;
    max-width: 100%;
  }
  .greeting .sec-body .sec-text {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    align-items: flex-start;
  }
  .greeting .sec-body .sec-text .name {
    margin-left: auto;
  }

  .story .list .item .text {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .sec-intro .sec-img {
    height: 165px;
  }
  .sec-intro .sec-img img {
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
  }
  .box .box-inner {
    width: 95%;
  }

  .sec-intro .scroll-text {
    height: 87px;
    bottom: -13px;
  }

  .has-bg .inner {
    width: 92%;
  }

  .has-bg .inner .tit-ja {
    text-align: center;
  }
  .has-bg .inner .desc {
    width: 100%;
  }
}
