@layer page {
  @media screen and (max-width: 767px) {
    .p-hdr-page {
      padding-bottom: 6.6666666667vw;
    }
  }
  @media screen and (min-width: 768px) {
    .p-hdr-page::after {
      top: -7.5rem;
    }
  }
  .history-img {
    border-radius: 0 1.25rem 1.25rem 0;
    margin-right: 12.5rem;
    overflow: hidden;
  }
  @media screen and (max-width: 767px) {
    .history-img {
      margin-right: 16vw;
    }
  }
  .history-img img {
    width: 100%;
  }
  .history-sec {
    margin-top: 3.125rem;
    margin-bottom: 5.625rem;
    position: relative;
  }
  @media screen and (max-width: 767px) {
    .history-sec {
      margin-top: 2.6666666667vw;
      margin-bottom: 6.6666666667vw;
    }
  }
  .history-sec__inner {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .history-sec__inner::after {
      content: "";
      display: block;
      z-index: 1;
      pointer-events: none;
      position: absolute;
      top: 0;
      left: -10.625rem;
      aspect-ratio: 487/155;
      width: 30.4375rem;
      background: url("../../../img/page/about/cloud_0.svg") 50% 0/contain no-repeat;
    }
  }
  .history-sec__ttl {
    font-weight: 600;
    font-family: var(--serif);
    font-size: 2.5rem;
  }
  @media screen and (max-width: 767px) {
    .history-sec__ttl {
      font-size: 6.2666666667vw;
    }
  }
  .history-sec__wtext {
    position: relative;
    z-index: 2;
    padding-top: 1.25rem;
  }
  .history-sec__text {
    margin-top: 3.125rem;
    line-height: 1.8;
  }
  @media screen and (min-width: 768px) {
    .history-sec__text {
      font-size: 1.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-sec__text {
      margin-top: 4vw;
    }
  }
  .history-sec__text-mt {
    margin-top: 1em;
  }
  .history-sec__illust {
    position: absolute;
    right: 2.5rem;
    top: 0rem;
    width: 17.0625rem;
  }
  @media screen and (max-width: 767px) {
    .history-sec__illust {
      right: 0;
      top: -43.4666666667vw;
      width: 33.6vw;
      overflow: hidden;
    }
    .history-sec__illust img {
      transform: translateX(14.6666666667vw);
    }
  }
  .history-img-1 {
    border-radius: 1.25rem 0 0 1.25rem;
    margin-left: 11.875rem;
    overflow: hidden;
  }
  @media screen and (max-width: 767px) {
    .history-img-1 {
      margin-left: var(--sp-pad);
    }
  }
  .history-img-1 img {
    width: 100%;
  }
  .history-msg {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .history-msg {
      margin-top: 6.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-msg {
      margin-top: 16vw;
    }
  }
  .history-msg__inner {
    position: relative;
    z-index: 3;
    background: #fff;
  }
  @media screen and (min-width: 768px) {
    .history-msg__ttl {
      width: 62.9375rem;
      transform: translate(-1.25rem, -1.25rem);
      margin-bottom: -1.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-msg__ttl {
      width: 95.4666666667vw;
      transform: translate(-1.3333333333vw, 2.6666666667vw);
    }
  }
  .history-msg__ttl img {
    max-width: none;
    width: 100%;
  }
  .history-msg__sttl {
    font-size: 2.25rem;
    margin-bottom: 1.875rem;
    letter-spacing: 0.1em;
  }
  @media screen and (max-width: 767px) {
    .history-msg__sttl {
      font-size: 4.2666666667vw;
      font-weight: 600;
      margin-bottom: 2.6666666667vw;
    }
  }
  .history-msg__wtext {
    padding: 0 5rem 4.375rem 5rem;
  }
  @media screen and (max-width: 767px) {
    .history-msg__wtext {
      padding: 8.8vw var(--sp-pad) 8vw var(--sp-pad);
    }
  }
  .history-msg__text {
    line-height: 2;
    font-family: var(--serif);
  }
  @media screen and (min-width: 768px) {
    .history-msg__text {
      font-size: 1.25rem;
    }
  }
  .history-msg__text-mt {
    margin-top: 1.6em;
  }
  .history-msg__name {
    margin-top: 2.5rem;
    text-align: right;
    line-height: 1.5;
  }
  .history-cont {
    margin-top: 6.25rem;
  }
  @media screen and (max-width: 767px) {
    .history-cont {
      margin-top: 20vw;
    }
  }
  .history-cont__inner {
    overflow: hidden;
  }
  .history-cont__hdr {
    position: relative;
    padding-top: 5rem;
    margin-bottom: 3.125rem;
  }
  @media screen and (max-width: 767px) {
    .history-cont__hdr {
      padding-top: 10.6666666667vw;
      margin-bottom: 10.6666666667vw;
    }
  }
  .history-cont__hdr::after {
    content: "";
    display: block;
    z-index: 1;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: calc(50% - 28.75rem);
    aspect-ratio: 487/155;
    width: 30.4375rem;
    background: url("../../../img/page/about/cloud_0.svg") 50% 0/contain no-repeat;
  }
  @media screen and (max-width: 767px) {
    .history-cont__hdr::after {
      left: -4vw;
      width: 64.9333333333vw;
    }
  }
  .history-cont__ttl {
    position: relative;
    z-index: 2;
    text-align: center;
    font-weight: 600;
    font-family: var(--serif);
    font-size: 2.5rem;
  }
  @media screen and (max-width: 767px) {
    .history-cont__ttl {
      font-size: 6.2666666667vw;
    }
  }
  .history-cont__row {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .history-cont__row {
      display: grid;
      grid-template-columns: 50.75rem 26.25rem;
      gap: 4.375rem;
    }
  }
  @media screen and (min-width: 768px) {
    .history-cont__row::after {
      content: "";
      display: block;
      z-index: 1;
      pointer-events: none;
      position: absolute;
      aspect-ratio: 529/128;
      width: 33.0625rem;
      background: url("../../../img/page/history/cloud_0.svg") 50% 0/contain no-repeat;
      bottom: 9.375rem;
      right: calc(-13.75rem);
    }
  }
  .history-cont__row-1 {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .history-cont__row-1 {
      margin-top: -9.375rem;
      display: grid;
      grid-template-columns: 26.25rem 46.6875rem;
      gap: 9.375rem;
      justify-content: flex-end;
    }
  }
  @media screen and (max-width: 767px) {
    .history-cont__row-1 {
      display: flex;
      flex-direction: column-reverse;
      margin-top: 8vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-cont__row-1::after {
      content: "";
      display: block;
      z-index: 1;
      pointer-events: none;
      position: absolute;
      aspect-ratio: 597/127;
      width: 37.3125rem;
      background: url("../../../img/page/history/cloud_1.svg") 50% 0/contain no-repeat;
      bottom: 0rem;
      left: calc(-13.75rem);
    }
  }
  .history-cont__text {
    line-height: 2;
  }
  @media screen and (min-width: 768px) {
    .history-cont__text {
      font-size: 1.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-cont__text {
      margin-top: 6.6666666667vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-cont__text.is-0 {
      padding-top: 6.875rem;
    }
  }
  @media screen and (min-width: 768px) {
    .history-cont__text.is-1 {
      padding-top: 12.1875rem;
    }
  }
  .history-list {
    margin-top: -3.125rem;
  }
  @media screen and (max-width: 767px) {
    .history-list {
      margin-top: 20vw;
    }
  }
  .history-list__ttl {
    text-align: center;
  }
  .history-list__ttl img {
    width: 26.875rem;
  }
  @media screen and (max-width: 767px) {
    .history-list__ttl img {
      width: 58.1333333333vw;
    }
  }
  .history-outline {
    background: #fff;
    margin-top: 5.625rem;
    padding: 3.125rem 4.375rem;
  }
  @media screen and (max-width: 767px) {
    .history-outline {
      margin-top: 12vw;
      padding: 4vw 2.6666666667vw 10.6666666667vw 2.6666666667vw;
    }
  }
  .history-outline__ttl {
    font-weight: 600;
    font-family: var(--serif);
    font-size: 1.875rem;
    border-bottom: 3px double #000;
    padding: 0 1.25rem 0.625rem 1.25rem;
  }
  @media screen and (max-width: 767px) {
    .history-outline__ttl {
      font-size: 4.8vw;
      padding: 0 1.3333333333vw 0.8vw 1.3333333333vw;
    }
  }
  .history-outline__info {
    display: flex;
    flex-direction: column;
    margin-top: 1.25rem;
  }
  @media screen and (max-width: 767px) {
    .history-outline__info {
      font-size: 3.4666666667vw;
      padding: 0 2.6666666667vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-outline__row {
      display: grid;
      grid-template-columns: 8.75rem 1fr;
      gap: 0.625rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-outline__row {
      padding: 2.6666666667vw 0 3.7333333333vw 0;
      border-bottom: 2px solid #F2F2F2;
    }
  }
  @media screen and (min-width: 768px) {
    .history-outline__row dt, .history-outline__row dd {
      padding: 0.9375rem 0 0.9375rem 1.25rem;
      border-bottom: 4px solid #F2F2F2;
    }
  }
  .history-items {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .history-items {
      width: 70rem;
      margin-left: auto;
      margin-right: auto;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items {
      padding-left: 2.6666666667vw;
      padding-right: 2.6666666667vw;
      display: flex;
      flex-direction: column;
      gap: 4.8vw;
      padding-bottom: 4vw;
    }
  }
  .history-items::before {
    position: absolute;
    left: 50%;
    top: 0;
    content: "";
    z-index: 1;
    display: block;
    width: 6px;
    height: 100%;
    background: #E60012;
  }
  @media screen and (min-width: 768px) {
    .history-items::before {
      transform: translateX(-50%);
    }
  }
  @media screen and (max-width: 767px) {
    .history-items::before {
      width: 3px;
      left: 6.1333333333vw;
    }
  }
  .history-items__item {
    position: relative;
    z-index: 2;
    overflow: visible;
    display: flex;
  }
  @media screen and (min-width: 768px) {
    .history-items__item {
      height: 5.625rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__item:has(.history-items__img) {
      min-height: 30.6666666667vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__item:nth-child(even) .history-items__box {
      flex-direction: row-reverse;
    }
    .history-items__item:nth-child(even) .history-items__img {
      left: inherit;
      right: -5.375rem;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__item:nth-child(odd) {
      justify-content: flex-end;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__item.is-last {
      display: block;
      margin-bottom: 15.625rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__item.is-last {
      padding-left: 2.6666666667vw;
      padding-right: 2.6666666667vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__item .history-items__box.is-last {
      width: auto;
      align-items: center;
      flex-direction: column;
    }
  }
  .history-items__img {
    position: absolute;
  }
  @media screen and (min-width: 768px) {
    .history-items__img {
      bottom: -3.125rem;
      left: -5.375rem;
      width: 6.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__img {
      top: 8.6666666667vw;
      left: -18vw;
      width: 22vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__img.is-low {
      bottom: -5rem;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__img.is-low2 {
      bottom: -3.75rem;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__box {
      display: flex;
      align-items: flex-start;
      gap: 0.9375rem;
      width: 38.4375rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__box {
      display: grid;
      align-items: flex-start;
      grid-template-columns: 17.8666666667vw 11.7333333333vw 1fr;
      gap: 1.3333333333vw;
    }
  }
  .history-items__nengo {
    background: #000;
    color: #fff;
    font-size: 1rem;
    border-radius: 6.25rem;
    text-align: center;
    padding: 0.0625rem 0 0.25rem 0;
  }
  @media screen and (min-width: 768px) {
    .history-items__nengo {
      width: 6.875rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__nengo {
      font-size: 2.6666666667vw;
    }
  }
  .history-items__nengo b {
    font-size: 1.625rem;
    font-weight: normal;
  }
  @media screen and (max-width: 767px) {
    .history-items__nengo b {
      font-size: 4.5333333333vw;
    }
  }
  .history-items__y {
    position: relative;
    font-family: var(--serif);
    color: #E5D09E;
    font-size: 2.25rem;
    text-align: center;
    line-height: 1;
    padding-bottom: 0.875rem;
  }
  @media screen and (min-width: 768px) {
    .history-items__y {
      width: 4.875rem;
      transform: translateY(-1.875rem);
    }
    .history-items__y.is-last {
      transform: translateY(0rem);
      padding-bottom: 0;
    }
    .history-items__y.is-last::after {
      display: none;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__y {
      font-size: 4.8vw;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__y::after {
      content: "";
      position: absolute;
      left: 0.625rem;
      bottom: 0;
      width: 3.625rem;
      height: 1px;
      border-bottom: 2px dotted #000;
    }
  }
  .history-items__text {
    position: relative;
    background: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    padding: 1.5rem 1.375rem;
    line-height: 2;
  }
  @media screen and (min-width: 768px) {
    .history-items__text {
      width: calc(100% - 12.8125rem);
      transform: translateY(-30%);
    }
    .history-items__text.is-last {
      transform: translateY(0%);
      width: 30rem;
      margin-left: auto;
      margin-right: auto;
      font-size: 1.25rem;
      text-align: center;
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__text {
      line-height: 1.8;
    }
  }
  @media screen and (min-width: 768px) {
    .history-items__illust {
      position: absolute;
      top: 2.5rem;
      left: 50%;
      width: 73.125rem;
      transform: translateX(-50%);
    }
  }
  @media screen and (max-width: 767px) {
    .history-items__illust {
      position: relative;
      z-index: 2;
      margin-top: -2.6666666667vw;
      margin-left: auto;
      margin-right: auto;
      width: 95.4666666667vw;
    }
  }
  .history-items__illust img {
    width: 100%;
  }
  @media screen and (min-width: 768px) {
    .history-div {
      display: grid;
      grid-template-columns: repeat(3, 28.125rem);
      justify-content: center;
      gap: 2.5rem;
      margin-top: 3.75rem;
      margin-bottom: 4.375rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-div {
      display: flex;
      flex-direction: column;
      gap: 4.8vw;
      margin-bottom: 16vw;
    }
  }
  @media screen and (max-width: 767px) {
    .history-div {
      margin-top: 16vw;
    }
  }
  .history-div__text {
    line-height: 1.8;
  }
  @media screen and (min-width: 768px) {
    .history-div__text {
      padding: 1.125rem 1.5rem;
    }
  }
  @media screen and (max-width: 767px) {
    .history-div__text {
      margin-top: 4vw;
    }
  }
}