.pbPage {
    width: 100% !important;
}
.pbPage .pbAreaWrapper1{
  margin-top: 0 !important;
}

body {
  min-width: 1050px !important;
  padding-top: 100px;
  font-family: "Noto Serif JP", serif;
}
  @media screen and (max-width: 800px) {
    body {
      min-width: 800px !important;
    }
  }
  main{
    position: relative;
      width: 100%;
      padding-top: 35px;
      background-image: url(/library/kyousai/kasai/lp/202404/renew/top/image/decoration_brick01.png);
      background-size: 2000px 655px;
      background-repeat: repeat-y;
      overflow: hidden;
  }
  @media screen and (max-width: 800px) {
    main{
      padding-top:45px;
    }
  }
  @media (min-width: 2000px) {
    main{
        background-size: 100vw 32.75vw;
    }
}
  
  .kasai2404Ayumi-container {
    width: 100%;
  }
  @media screen and (min-width: 801px) {
    .kasai2404Ayumi-container {
        padding-top: 20px;
    }
}
  
  .kasai2404Ayumi-inner {
    width: 100%;
    max-width: calc(960px + 37px*2);
    margin: 0 auto;
    padding-bottom: 120px;
  }
.kasai2404-topMessage {
	width: 1025px;
    display: flex;
	margin: 0 auto 10px auto;
    text-align: center;
    gap: 17px;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 800px) {
    .kasai2404-topMessage {
        width: 92.5%;
        margin: 10px auto 10px auto;
    }
}
.kasai2404-topMessage figure{
	height: 81px;
}
  .kasai2404Ayumi-message {
    margin: 0 22px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-message {
      margin: 0 45px;
    }
  }
  
  .kasai2404Ayumi-message__title {
    text-align: center;
  }
  
  .kasai2404Ayumi-message__title > img {
      height: 83px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-message__title > img {
      height: 91px;
    }
  }
  
  .kasai2404Ayumi-message > p {
    margin-top: 10px;
    font-size: 22px;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 2.2;
    color: #330000;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-message > p {
      font-size: 32px;
      margin-top: 13px;
      letter-spacing: 0.025em;
      text-align: left;
      line-height: 1.8;
    }
  }
  
  .kasai2404Ayumi-history {
    padding: 65px;
    padding-bottom: 0;
    background-color: #ffffff;
    margin: 60px 37px 100px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history {
      padding: 45px;
      margin: 60px 45px 80px;
    }
  }
  
  /* アンカー */
  .kasai2404Ayumi-history-anchor {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 2.6vw;
    column-gap: 36.8px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-anchor {
      gap: 28px 98px;
      column-gap: 24px;
    }
  }
  
  .kasai2404Ayumi-history-anchor > li > a {
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #330000;
    font-size: 18px;
    border-bottom: 1px solid #330000;
    position: relative;
    padding-left: 23px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-anchor > li > a {
      width: 120px;
      font-size: 32px;
    }
  }
  
  .kasai2404Ayumi-history-anchor > li > a::before {
    content: "∨";
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  /* リンクテキスト */
  a.kasai2404Ayumi-linkText {
    color: #330000;
    text-decoration: underline;
    text-underline-offset: 4px;
}
a.kasai2404Ayumi-linkText:hover {
  text-decoration: underline;
}
  
  /* 注釈 */
  .kasai2404Ayumi-history-note {
    margin-top: 15px !important;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-note {
      margin-top: 30px !important;
    }
  }
  
  .kasai2404Ayumi-history-note > li {
    font-size: 16px;
    color: #330000;
    padding-left: 1em;
    letter-spacing: 0.06em;
    line-height: 1.5;
    font-weight: 200;
    position: relative;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-note > li {
      font-size: clamp(23px,3.25vw,26px);
    }
  }
  
  .kasai2404Ayumi-history-note > li::before {
    position: absolute;
    content: "※";
    display: block;
    left: 0;
    top: 0;
  }
  
  .kasai2404Ayumi__text {
    color: #330000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.8;
    margin-top: 30px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi__text {
      font-size: clamp(29px,3.75vw,30px);
      margin-top: 50px;
    }
  }
  
  /* 破線つき */
  .kasai2404Ayumi__text.opt__line {
    margin-top: 80px;
    position: relative;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi__text.opt__line {
      margin-top: 70px;
      position: relative;
    }
  }
  
  .kasai2404Ayumi__text.opt__line::before {
    content: "";
    position: absolute;
    top: 1em;
    width: 35px;
    border-top: 1px dashed;
    left: -65px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi__text.opt__line::before {
      left: -45px;
    }
  }
  
  /* ラベル説明 */
  .kasai2404Ayumi-history-label {
    margin-top: 55px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-label {
      margin-top: 80px;
    }
  }
  
  .kasai2404Ayumi-history-label > li {
    max-width: 300px;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.025em;
    line-height: 1;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-label > li {
      max-width: 100%;
      text-align: center;
      padding: 20px 0;
      font-size: 30px;
    }
  }
  
  .kasai2404Ayumi-history-label > li:not(:first-child) {
    margin-top: 15px;
  }
  
  .kasai2404Ayumi-history-label__darkGreen {
    background-color: #66877f;
    color: #ffffff;
  }
  
  .kasai2404Ayumi-history-label__lightGreen {
    background-color: #d8e7e4;
    color: #447d8c;
  }
  
  /* タイムライン */
  .kasai2404Ayumi-history-timeline{
      width:100%;
    margin-top: 50px;
  }
  
  .kasai2404Ayumi-history-timeline section {
    position: relative;
    margin-top: 0;
    padding-bottom: 80px
  }
  
  .kasai2404Ayumi-history-timeline section h2 {
    color: #330000;
    font-size: 41px;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.2;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
    padding-left: 45px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline section h2 {
      font-size: 6.5vw;
      padding-left: 0;
    }
  }
  
  .kasai2404Ayumi-history-timeline section h2 > span {
    font-size: 60px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline section h2 > span {
      font-size: 74px;
    }
  }
  
  .kasai2404Ayumi-history-timeline__content {
    margin-left: 80px;
    margin-top: 15px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__content {
      margin-left: 0;
    }
  }
  
  .kasai2404Ayumi-history-timeline__content + .kasai2404Ayumi-history-timeline__content {
    margin-top: 80px;
  }
  
  .kasai2404Ayumi-history-timeline__content > h3 {
    color: #330000;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__content > h3 {
      font-size: clamp(35px,4.75vw,38px);
    }
  }
  
  .kasai2404Ayumi-history-timeline__label {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
    width: calc(100% + 152px);
    margin: 15px 0px 15px -65px;
    padding: 15px 0px 15px 65px;
    position: relative;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__label {
        font-size: clamp(35px,4.75vw,38px);
        width: calc(100% + 120px);
        margin-left: -45px;
        padding-left: 45px;
    }
  }
  


  .kasai2404Ayumi-history-timeline__label::after {
    content: '';
    position: absolute;
      border-style: solid;
      border-color: transparent;
    top: 100%;
    right: 0;
      border-width: 22px 22px 0 0;	
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__label::after {
      border-width: 30px 30px 0 0;	
    }
  }
  
  .kasai2404Ayumi-history-label__darkGreen.kasai2404Ayumi-history-timeline__label::after {
    border-top-color: #334440;
  }
  
  .kasai2404Ayumi-history-label__lightGreen.kasai2404Ayumi-history-timeline__label::after {
    border-top-color: #758e87;
  }
  
  .kasai2404Ayumi-history-timeline__content > figure {
    margin: 30px auto 0;
    width: 100%;
    max-width: 500px;
    line-height: 1;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__content > figure {
      margin-top: 50px;
      max-width: 620px;
    }
  }
  
  .kasai2404Ayumi-history-timeline__content > figure > img {
    width: 100%;
    height: 100%;
  }
  
  .kasai2404Ayumi-history-timeline__content .opt__slim {
    max-width: 207px;
  }
  
  .kasai2404Ayumi-history-timeline__content .opt__mw {
    max-width: 400px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__content .opt__mw {
      max-width: 420px;
    }
  }
  
  
  .kasai2404Ayumi-history-timeline-detail {
    background-color: #e8ddc9;
    padding: 45px 35px;
    position: relative;
    margin-top: 37px;
    box-shadow: 8px 8px 8px rgba(130, 120, 100, 0.5);
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail {
      padding: 50px 30px;
      margin-top: 47px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail::before {
    content: "";
    position: absolute;
    top: -54px;
    left: 50%;
    margin-left: -27px;
    border: 27px solid transparent;
    border-bottom: 27px solid #e8ddc9;
  }
  
  .kasai2404Ayumi-history-timeline-detail p {
    margin-top: 0;
    color: #330000;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.8;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail p {
      font-size: 30px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail > p.opt__square {
    text-indent: -1.4em;
    padding-left: 1.4em;
  }
  
  .kasai2404Ayumi-history-timeline-detail p + ul {
    margin-top: 25px;
    padding-bottom: 35px;
  }
  
  /* 番号ありリスト */
  .kasai2404Ayumi-history-timeline-detail > ul {
    counter-reset: count 0;
  }
  .kasai2404Ayumi-history-timeline-detail > ul > li {
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail > ul > li {
      padding: 0;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail > ul > li .opt__green {
    color: #447d8c;
  }
  .kasai2404Ayumi-history-timeline-detail > ul > li > p {
    padding-left: 60px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail > ul > li > p{
      padding-left: 55px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail > ul > li > p::before {
    content: counter(count) ".";
    position: absolute;
    left: 0;
    top: -18px;
    counter-increment: count 1;
    width: 40px;
    text-align: right;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-size: 36px;
    color: #938276;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail > ul > li > p::before {
      font-size: clamp(46px,6vw,48px);
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail > ul > li:not(:first-child) {
    margin-top: 32px;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child {
    background-color: #938276;
    border-radius: 31px;
    margin-top: 30px;
    margin-inline: auto;
    max-width: 580px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child {
      margin-top: 50px;
      margin-left: 0px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child__inner {
    padding: 35px 45px 45px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child__inner {
      padding: 40px;
    }
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child__inner .opt__col2 img{
      max-width: calc((100% - 40px) / 2 );
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child p {
    color: #ffffff;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child figure {
    max-width: 430px;
    padding: 20px;
    background-color: #ffffff;
    margin-top: 25px;
    margin-inline:auto;
    line-height: 1;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child figure img {
    width: 100%;
    height: 100%;
  }
  
  /* ドットリスト */
  .kasai2404Ayumi-history-timeline-detail-child ul.opt__dot > li {
    font-size: 16px;
    color: #330000;
    padding-left: 1em;
    letter-spacing: 0.06em;
    line-height: 1.5;
    font-weight: 200;
    position: relative;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child ul.opt__dot > li::before {
    position: absolute;
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    display: inline-block;
    background-color: #ffffff;
    border-radius: 50%;
    left: 0;
    top: 15px;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child ul.opt__dot > li:not(:first-child) {
    margin-top: 15px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child ul.opt__dot > li::before {
      top: 25px;
    }
  }
  
  /* 3カラム画像 */
  .kasai2404Ayumi-history-timeline-detail-child-col3 {
    max-width: 430px;
    padding: 25px;
    background-color: #ffffff;
    margin-top: 30px;
    margin-inline: auto;
    line-height: 1;
    display: flex;
    justify-content: space-between;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child-col3 {
      flex-direction: row;
      justify-content: space-between;
      align-items: baseline;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child-col3__child {
    width: calc((100% - 23px) / 3);
    max-width: 130px;
    text-align: center;
  }
  
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child-col3__child {
      max-width: 100%;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child-col3__child > p {
    margin-top: 0;
    font-size: 15px;
    color: #330000;
    text-align: center;
    line-height: 1.3;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child-col3__child > img {
    width: auto;
    max-height: 74px;
    max-width: 110px;
    margin-top: 18px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child-col3__child > img {
      max-height: 150px;
    }
  }
  
  /* 調整 */
  .kasai2404Ayumi-history-timeline-detail-child .opt__maxWidth {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child .opt__maxWidth img {
    width: 100%;
    max-width: 207px;
    max-height: 90px;
  }
  
  .kasai2404Ayumi-history-timeline-detail-child .opt__col2 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 25px;
    padding-bottom: 25px;
    gap: 4%;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child .opt__col2 {
      flex-direction: row;
      gap: 40px;
      padding-top: 40px;
      padding-bottom: 40px;
    }
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child .opt__col2 img {
      max-width: calc((100% - 40px) / 2 ) !important;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child .opt__col2 img:first-child {
    width: 67%;
    max-width: 200px;
  }
  /* @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child .opt__col2 img:first-child {
      width: 100%;
      max-width: 400px;
    }
  } */
  
  .kasai2404Ayumi-history-timeline-detail-child .opt__col2 img:nth-child(2) {
    width: 29%;
    max-width: 110px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child .opt__col2 img:nth-child(2) {
      width: 100%;
      max-width: 233px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child .opt__col2 .opt__wide:first-child {
    width: 56%;
    max-width: 210px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child .opt__col2 .opt__wide:first-child {
      width: 100%;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child .opt__col2 .opt__wide:nth-child(2) {
    width: 40%;
    max-width: 148px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-detail-child .opt__col2 .opt__wide:nth-child(2) {
      width: 100%;
      max-width: 291px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-detail-child.opt__center {
    margin-right: auto;
    margin-left: auto;
  }
  
  /* ボタン */
  .kasai2404Ayumi-history-timeline__btn {
    margin-top: 40px;
    margin-bottom: 80px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__btn {
      margin-top: 50px;
    }
  }
  
  .kasai2404Ayumi-history-timeline__btn > a {
    box-shadow: 0px 3px 20px 0px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 30px;
    color: #3e3a39;
    line-height: 1.5;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__btn > a {
      font-size: 32px;
    }
  }
  
  .kasai2404Ayumi-history-timeline__btn > a::after {
    content: '';
    width: 17px;
    height: 28px;
    position: absolute;
    background-image: url(/library/kyousai/kasai/lp/202404/ayumi/images/icon_arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    border-radius: 1px;
    transition: 0.3s ease-in-out;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline__btn > a::after {
      width: 24px;
      height: 40px;
    }
  }
  
  /* 加入件数 */
  .kasai2404Ayumi-history-timeline-subscribers {
    background-color: #d8e7e4;
    padding: 60px 0;
    margin-left: calc((50vw - 50%) / -2);
    margin: 0 -65px;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-subscribers {
      padding-bottom: 80px;
      margin: 0 -45px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-subscribers p {
    color: #330000;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-subscribers p {
      font-size: clamp(34px,4.5vw,36px);
    }
  }
  
  .kasai2404Ayumi-history-timeline-subscribers img {
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-subscribers img {
      margin-top: 30px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-subscribers-note {
    margin-top: 20px !important;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-subscribers-note {
      margin-top: 40px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-subscribers-note > li {
    font-size: 14px;
    color: #330000;
    padding-left: 1em;
    letter-spacing: 0.06em;
    line-height: 1.5;
    font-weight: 400;
    position: relative; 
    width: fit-content;
    margin: 0 auto;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-subscribers-note > li {
      font-size: clamp(24px,3.25vw,26px);
    }
  }
  
  .kasai2404Ayumi-history-timeline-subscribers-note > li::before {
    position: absolute;
    content: "※";
    display: block;
    left: 0;
    top: 0;
  }
  
  /* 感謝メッセージ */
  .kasai2404Ayumi-history-timeline-thanks {
    padding: 40px 0 80px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-thanks {
      padding: 74px 0 50px;
      margin-left: -65px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-thanks__col2 {
    display: flex;
    align-items: flex-start;  
  }
  
  .kasai2404Ayumi-history-timeline-thanks__col2 > img {
    width: 100%;
    max-width: 130px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-thanks__col2 > img {
      margin-top: -35px;
    }
  }
  
  .kasai2404Ayumi-history-timeline-thanks__col2 > p {
    color: #330000;
    font-size: 26px;
    letter-spacing: 0.06em;
    line-height: 1.8;
    font-family: "Klee One", cursive;
    font-weight: 600;
    font-style: normal;
    text-align: center;
    margin: 50px auto 0px;
    padding-left: 35px;
    flex: 1;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline-thanks__col2 > p {
      font-size: clamp(34px,4.5vw,36px);
      margin-top: 0;
    }
  }
  
  .kasai2404Ayumi-history-timeline-thanks__col2 > p > span {
    color: #e50012;
  }
  
  /* MOIVE */
  .kasai2404Ayumi-history-movie {
    background-color: #938276;
    margin: 0 calc(50% - 50vw);
    padding: 80px 0;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-movie {
      padding: 80px 45px;
      margin: 0;
    }
  }
  
  .kasai2404Ayumi-history-movie > h2 {
    color: #fff;
    font-size: 60px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-movie > h2 {
      font-size: clamp(58px,7.5vw,60px);
    }
  }
  
  .kasai2404Ayumi-history-movie__lead {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
    margin-top: 20px;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-movie__lead {
      font-weight: 400;
      font-size: clamp(42px,5.5vw,44px);
      margin-top: 50px;
    }
  }
  
  .kasai2404Ayumi-history-movie__text {
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 2.2;
    margin-top: 20px;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-movie__text {
      font-weight: 400;
      font-size: clamp(28px,3.75vw,30px);
      margin-top: 50px;
    }
  }
  
  .kasai2404Ayumi-history-movie__img {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 40px;
  }
  
  .kasai2404Ayumi-history-movie__img > img {
    width: 100%;
  }
  
  /* リンク集 */
  .kasai2404Ayumi-links {
    margin-top: 80px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-links {
      padding:0 45px;
    }
    
  }
  .kasai2404Ayumi-links__title {
    font-size: 22px;
    color: #330000;
    font-weight: 700;
    text-align: center;
}
@media screen and (max-width: 800px) {
  .kasai2404Ayumi-links__title {
    font-size: 32px;
  }
}
.kasai2404Ayumi-links__title:not(:first-of-type){
  margin-top: 35px;
}
  
  .kasai2404Ayumi-links > ul {
    display: flex;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 24px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-links > ul {
      flex-direction: column;
      align-items: center;
      gap: 40px;
    }
  }
  
.kasai2404Ayumi-links > ul:last-of-type a {
  background-color: #aa998a;
}
  
  .kasai2404Ayumi-links > ul > li {
    width: calc((100% - 24px) / 2);
    max-width: 365px;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-links > ul > li {
      width: 80%;
      max-width: 710px;
    }
  }
  
  .kasai2404Ayumi-links > ul > li > a {
    position: relative;
    display: flex;
    min-height: 105px;
    color: #fff;
    font-size: 22px;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, "MS PGothic", sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    background-color: #009944;
    border-radius: 12px;
    padding: 17.5px 35px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-links > ul > li > a {
      font-size: 30px;
      padding: 15px 35px;
      line-height: 1.6;
    }
  }
  
  .kasai2404Ayumi-links > ul > li > a::after {
    content: '';
    width: 17px;
    height: 28px;
    position: absolute;
    background-image: url(/library/kyousai/kasai/lp/202404/ayumi/images/icon_arrow_white.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    stroke: #ffffff;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    border-radius: 1px;
    transition: 0.3s ease-in-out;
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-links > ul > li > a::after {
      width: 24px;
      height: 40px;
    }
  }
  
  .kasai2404Ayumi-links > ul > li:nth-child(n + 3) > a {
    background-color: #82bc00;
  }
  
  /* モーダル */
  .modal, .videoModal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.702);
    transition: unset;
  }
  
  .modal__content, .videoModal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    text-align: center;
  }
  @media screen and (max-width: 800px) {
    .modal__content,.videoModal__content {
      width: 90%;
    }
  }
  
  .modal__content img {
    width: 100%;
    height: 100%;
    max-width: 800px;
    object-fit: contain;
  }
  
  .modal__close, .videoModal__close {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 120px;
    right: 20px;
    border-radius: 50%;
    background: #fff;
  }
  @media screen and (max-width: 800px) {
    .modal__close {
      width: 90px;
      height: 90px;
      top: 130px;
      right: 30px;
    }
  }
   
  .modal__close::before, .modal__close::after, .videoModal__close::before, .videoModal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 32px;
    background: #938276;
  }
  @media screen and (max-width: 800px) {
    .modal__close::before, .modal__close::after, .videoModal__close::before, .videoModal__close::after {
      width: 6px;
      height: 58px;
    }
  }
   
  .modal__close::before, .videoModal__close::before {
    transform: translate(-50%,-50%) rotate(45deg);
  }
   
  .modal__close::after, .videoModal__close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
  }
  
  /* タイムライン_装飾 */
  .border-line {
      position: absolute;
    top: 39px;
      left: 14px;
      width: 2px;
      height: 0;
      background-image: url("/library/kyousai/kasai/lp/202404/ayumi/images/decoration_dash.svg");
      background-size: 1px 8px;
      background-repeat:repeat;
      background-position: 0% 0%;
    transition: height 2s ease;
    transition-delay: 0.5s;
    transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }

  @media screen and (max-width: 800px) {
    .border-line {
      left: -45px;
    }
  }
  
  .kasai2404Ayumi-history-timeline section::after{
      content:'';
      position: absolute;
      top: 24px;
      left: 0;
      width: 30px;
      height: 30px;
    background-image: url(/library/kyousai/kasai/lp/202404/ayumi/images/icon_rhombus.svg);
    background-position: 100% 100%;
    background-size: contain;
      transform: rotate(90deg);
  }
  @media screen and (max-width: 800px) {
    .kasai2404Ayumi-history-timeline section::after{
      width: 50px;
      height: 50px;
      left: -70px;
    }
  }
  
  /* アニメーション */
  /* フェード */
  .u-fade-type-up{
    transform: translateY(50px);
    opacity: 0;
  }
  
  .u-fade-type-up.is-active{
    transition: .6s;
    transform: translateY(0);
    opacity: 1;
  }
  
  /* ズーム */
  .u-zoom-type-up{
    transform: scale(0.8);
    opacity: 0;
  }
  
  .u-zoom-type-up.is-active{
    transition: .6s;
    opacity: 1;
    transform: scale(1);
  }
  

/*　フッターpc  */
@media screen and (min-width: 801px) {
    #footerArea .pbNestedWrapper {
      overflow: visible;
    }
    .pbFooterArea {
      overflow: visible !important;
    }
    .page-footer {
      font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "MS PGothic", sans-serif;
      zoom: 1;
      min-width: 960px;
      padding-top: 70px;
      background: url(/library/default/img/layout/footer_bg01.png) repeat-x 0 0;
      overflow: visible;
    }
    .page-footer .pbNestedWrapper {
      overflow: visible;
    }
    .page-footer:before,
    .page-footer:after {
      content: '';
      display: table;
    }
    .page-footer:after {
      clear: both;
    }
    .page-footer .inner {
      position: relative;
      width: 100%;
      max-width: 960px;
      margin: 0 auto;
    }
    .page-footer .footer-lower {
      clear: both;
      position: relative;
      padding: 30px 0 60px;
      font-size: 1.0em;
      background: url(/library/default/img_renew/layout/footer_line_img01.png) bottom center / 960px 45px no-repeat, url(/library/default/img_renew/layout/footer_line_img02.png) bottom 16px left / 1px 13px repeat-x;
      background-color: #fff;
      overflow: visible;
    }
    .page-footer .footer-lower .footer-logo {
      float: left;
    }
    .page-footer .footer-lower .footer-sub-nav {
      overflow: hidden;
      float: right;
      width: 620px;
      text-align: right;
    }
    .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list {
      margin-right: -10px;
      margin-top: 0;
      margin-bottom: 0;
      padding-top: 3px;
      font-size: 0;
    }
    .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li {
      display: inline-block;
      margin: 0 5px 12px 0;
      padding-right: 5px;
      border-right: 1px solid #bcbcbc;
      line-height: 1;
      font-size: 11px !important;
    }
    .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li a {
      border-bottom: none;
      color: #333;
      text-decoration: none;
    }
    .page-footer .footer-lower .copyright {
      clear: both;
      color: #666;
      font-size: 11px !important;
      text-align: right;
    }
    .footer-totop {
      margin-top: 0!important;
    }
    .footer-totop a {
      display: block;
      position: absolute;
      top: -94px;
      right: 42px;
      width: 67px;
      padding: 66px 5px 21px;
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
      background: url(/library/default/img_renew/layout/footer_totop.png) top center / 67px 115px no-repeat;
      font-size: 12px !important;
      line-height: 1.1667;
      color: #009944!important;
      text-align: center;
    }
  }
  
  
  /* フッターsp */
  @media screen and (max-width: 800px) {
    #footerArea {
      padding-bottom: 156px;
    }
    
    #footerArea .pbNestedWrapper {
      overflow: visible;
    }
    
    .page-footer {
      background: none;
      min-width: 100%;
    }
    
    .page-footer .return-top-wrap {
      width: 800px;
      height: 62px;
      margin: 0;
    }
    
    .page-footer .return-top-wrap .return-top {
      height: 62px;
      width: auto;
      padding: 0;
      margin-right: 40px;
      border-radius: 5px 5px 0 0;
      font-size: 2.2em;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
    }
    
    .page-footer .return-top-wrap .return-top > a {
      display: inline-block;
      padding: 18px 25px 18px 60px;
      background: url(/library/default/middle/img/layout/sp-footer_return-top_bg01.png) no-repeat 30px center;
    }
    
    .page-footer .footer-nav {
      padding: 50px 40px 100px;
      background: #094;
    }
    
    .page-footer .footer-nav .footer-nav_col {
      float: left;
      width: 340px;
      margin-left: 40px;
    }
    
    .page-footer .footer-nav .footer-nav_col:first-child {
      margin-left: 0;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category {
      margin-bottom: 35px;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > ul > li {
      padding-left: 23px;
      font-size: 2.4em;
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg02.png) no-repeat left 0.5em;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li {
      border-bottom: 2px solid #00823a;
      font-size: 2.8em;
      font-weight: bold;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p:first-child,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li:first-child {
      margin-top: 0;
      border-top: 2px solid #00823a;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li > a {
      padding: 14px 0;
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg01.png) no-repeat 322px center;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_contact > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_contact > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_estimate > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_estimate > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_request > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_request > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_web-procedure > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_web-procedure > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_information-counter > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_information-counter > a {
      padding-left: 55px;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_contact > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_contact > a {
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg_contact.png) no-repeat 5px center;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_estimate > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_estimate > a {
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg_estimate.png) no-repeat 5px center;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_request > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_request > a {
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg_request.png) no-repeat 10px center;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_web-procedure > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_web-procedure > a {
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg_web-procedure.png) no-repeat 5px center;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p.footer-nav_category_information-counter > a,
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > li.footer-nav_category_information-counter > a {
      background: url(/library/default/middle/img/layout/sp-footer-nav_bg_information-counter.png) no-repeat 10px center;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category > p {
      border-top: 1px solid #00823a;
    }
    
    .page-footer .footer-nav .footer-nav_col .footer-nav_category:first-child {
      margin-top: 0;
    }
    
    .page-footer .footer-lower {
      padding: 40px 40px 180px;
      background: #ffffff url(/library/default/middle/img_renew/layout/footer_line.png) bottom 74px center / 800px 94px no-repeat;
    }
    
    .page-footer .footer-lower .footer-pc-page {
      text-align: center;
    }
    
    .page-footer .footer-lower .footer-logo {
      float: none;
      margin: 0;
      text-align: center;
    }
    
    .page-footer .footer-lower .footer-sub-nav {
      overflow: visible;
      float: none;
      width: 100%;
      margin-top: 42px;
    }
    
    .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list {
      margin: 0;
      text-align: center;
    }
    
    .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li {
      overflow: visible;
      display: inline-block;
      margin: 25px 15px 0 0;
      padding-right: 15px;
      border-right: 2px solid #bcbcbc;
      font-size: 2.2em;
      line-height: 1;
      vertical-align: middle;
    }
    
    .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li:last-child {
      margin-right: 0;
      padding-right: 0;
      border-right: none;
    }
    
    .page-footer .footer-lower .copyright {
      display: block;
      width: 100%;
      margin: 42px 0 0 0;
      font-size: 2.2em;
      text-align: center;
    }
    
    .footer-content {
      position: relative;
      overflow: visible;
    }
    
    .footer-totop {
      margin-top: 0 !important;
    }
  
    .footer-lower .inner, .footer-nav-wrap .inner {
      width: 100%;
    }
    
    .footer-totop a {
      width: 150px !important;
      background: url(/library/default/middle/img_renew/layout/footer_totop.png) center / 150px 252px no-repeat !;
      padding: 152px 19px 42px !important;
    }
    
    .footer-totop a:hover {
      text-decoration: none;
    }
    

    /* Footer
       ========================================================================== */
       .page-footer {
        font-family: "Hiragino Kaku Gothic ProN", "Meiryo", "MS PGothic", sans-serif;
        background: none;
        padding-top: 250px;
      }
      .page-footer .footer-lower {
        padding: 40px 40px 180px;
        background: #ffffff url(/library/default/middle/img_renew/layout/footer_line.png) bottom 74px center / 100% auto no-repeat;
      }
      .page-footer .footer-lower .footer-pc-page {
        text-align: center;
      }
      .page-footer .footer-lower .footer-logo {
        float: none;
        margin: 0;
        text-align: center;
      }
      .page-footer .footer-lower .footer-sub-nav {
        overflow: visible;
        float: none;
        width: 100%;
        margin-top: 42px;
      }
      .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list {
        margin: 0;
        text-align: center;
      }
      .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li {
        overflow: visible;
        display: inline-block;
        margin: 25px 15px 0 0;
        padding-right: 15px;
        border-right: 2px solid #bcbcbc;
        font-size: 22px!important;
        line-height: 1;
        vertical-align: middle;
      }
      .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li a {
        color: #333333;
        text-decoration: none;
      }
      .page-footer .footer-lower .footer-sub-nav .footer-sub-nav_list > li:last-child {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
      }
      .page-footer .footer-lower .copyright {
        display: block;
        width: 100%;
        margin: 42px 0 0 0;
        font-size: 22px!important;
        text-align: center;
      }
      .page-footer .pbNestedWrapper {
        overflow: visible;
      }
      .page-footer.type-w375 {
        padding-top: 100px;
      }
      .page-footer.type-w375 .footer-lower {
        padding: 40px 15px 80px;
        background-size: 100% auto;
        background-position: bottom 12px center;
      }
      .page-footer.type-w375 .footer-lower .footer-logo {
        width: 200px;
        margin: auto;
      }
      .page-footer.type-w375 .footer-lower .footer-logo img {
        width: 100%;
        height: auto !important;
      }
      .page-footer.type-w375 .footer-totop a {
        top: -95px;
        right: 15px;
        width: 68px;
        font-size: 12px;
        background-size: 66px auto;
        padding: 70px 7px 17px;
      }
      .page-footer.type-w375 .footer-lower .footer-sub-nav .footer-sub-nav_list > li {
        margin: 5px 5px 0 0;
        padding-right: 5px;
        font-size: 10px !important;
      }
      .page-footer.type-w375 .copyright {
        font-size: 12px !important;
      }
      .footer-totop {
        position: relative;
        margin-top: 0!important;
      }
      .footer-totop a {
        display: block;
        position: absolute;
        top: -213px;
        right: 32px;
        width: 142px;
        background: url(/library/default/middle/img_renew/layout/footer_totop.png) center / 142px 244px no-repeat;
        padding: 148px 19px 38px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        color: #009944;
        font-size: 25.6px;
        line-height: 1.166;
        margin-top: 0;
        text-align: center;
        font-weight: 600;
        z-index: 100;
      }
      .footer-totop a:hover {
        text-decoration: none;
      }
      .type-w375 .footer-totop a {
        font-size: 12px;
      }
  }

  

  @media screen and (max-width: 800px) {
    /* parts
       ========================================================================== */
    .align-center {
      text-align: center;
    }
    
  }