@layer page {
  .kramen-define,
  .kramen-define__wtext,
  .kramen-history__img::after {
    transition: 1s background;
  }
  body {
    transition: 1s background;
  }
  @media screen and (min-width: 768px) {
    .is-over .kramen-history__img::after {
      background: #fff;
    }
  }
  .is-over.kramen-define {
    color: #fff;
  }
  @media screen and (min-width: 768px) {
    .is-over .kramen-define__wtext {
      background: #000;
    }
  }
  @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;
    }
  }
  .kramen-img {
    border-radius: 0 1.25rem 1.25rem 0;
    margin-right: 12.5rem;
    overflow: hidden;
  }
  @media screen and (max-width: 767px) {
    .kramen-img {
      margin-right: 16vw;
    }
  }
  .kramen-img img {
    width: 100%;
  }
  .kramen-img-a {
    margin-top: 4.375rem;
    position: relative;
  }
  @media screen and (max-width: 767px) {
    .kramen-img-a {
      margin-top: 8vw;
    }
  }
  .kramen-img-a::after {
    content: "";
    display: block;
    z-index: 1;
    pointer-events: none;
    position: absolute;
    bottom: -3.375rem;
    left: 0;
    aspect-ratio: 282/128;
    width: 17.625rem;
    background: url("../../../img/page/kumamoto-ramen/cloud_1.svg") 50% 0/contain no-repeat;
  }
  @media screen and (max-width: 767px) {
    .kramen-img-a::after {
      bottom: -4vw;
      width: 34.1333333333vw;
    }
  }
  .kramen-img-a img {
    width: 100%;
  }
  .kramen-sec {
    margin-top: 3.125rem;
    margin-bottom: 7.125rem;
    position: relative;
  }
  @media screen and (max-width: 767px) {
    .kramen-sec {
      margin-top: 2.6666666667vw;
      margin-bottom: 8vw;
    }
  }
  .kramen-sec__inner {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .kramen-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/kumamoto-ramen/cloud_0.svg") 50% 0/contain no-repeat;
    }
  }
  .kramen-sec__ttl {
    font-weight: 600;
    font-family: var(--serif);
    font-size: 2.5rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-sec__ttl {
      font-size: 6.2666666667vw;
    }
  }
  .kramen-sec__wtext {
    position: relative;
    z-index: 2;
    padding-top: 1.25rem;
  }
  .kramen-sec__text {
    margin-top: 3.125rem;
    line-height: 1.8;
  }
  @media screen and (min-width: 768px) {
    .kramen-sec__text {
      font-size: 1.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-sec__text {
      margin-top: 4vw;
    }
  }
  .kramen-sec__illust {
    position: absolute;
    right: 2.5rem;
    top: 0rem;
    width: 19.6875rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-sec__illust {
      right: 0;
      top: -24.8vw;
      width: 29.3333333333vw;
      overflow: hidden;
    }
    .kramen-sec__illust img {
      transform: translateX(4vw);
    }
  }
  .kramen-item {
    position: relative;
  }
  .kramen-item + .kramen-item {
    margin-top: 4.375rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-item + .kramen-item {
      margin-top: 8vw;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-item.is-rev .kramen-item__img {
      margin-left: calc(100% - 71.625rem);
    }
    .kramen-item.is-rev .kramen-item__text {
      left: 0;
      right: inherit;
      padding: 3.125rem 4.375rem 0 0;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-item__img {
      width: 71.625rem;
    }
  }
  .kramen-item__box {
    position: relative;
  }
  .kramen-item__text {
    background: var(--base);
  }
  @media screen and (min-width: 768px) {
    .kramen-item__text {
      position: absolute;
      right: 0;
      bottom: 0;
      width: 37.5rem;
      padding: 3.125rem 0 0 4.375rem;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-item__text {
      margin-top: 6.9333333333vw;
    }
  }
  .kramen-text {
    line-height: 2.1;
    letter-spacing: 0.16em;
  }
  @media screen and (max-width: 767px) {
    .kramen-text {
      font-size: 3.4666666667vw;
      line-height: 1.8461538462;
    }
  }
  .kramen-sentence {
    margin-top: 6.25rem;
    letter-spacing: 0.16em;
  }
  @media screen and (min-width: 768px) {
    .kramen-sentence {
      line-height: 2.1;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-sentence {
      margin-top: 1.6em;
    }
  }
  .kramen-sentence p + p {
    margin-top: 1.6em;
  }
  .kramen-history {
    position: relative;
    padding-top: 10.625rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-history {
      padding-top: 6.6666666667vw;
    }
  }
  .kramen-history__item {
    overflow: hidden;
  }
  .kramen-history__box {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .kramen-history__box::before {
      content: "";
      display: block;
      z-index: 1;
      pointer-events: none;
      position: absolute;
      background: url("../../../img/page/kumamoto-ramen/history_cloud_0.svg") 50% 0/contain no-repeat;
      left: -15rem;
      top: -6.25rem;
      aspect-ratio: 487/155;
      width: 30.4375rem;
    }
  }
  .kramen-history__img {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .kramen-history__img {
      margin-left: calc(100% - 71.625rem);
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-history__img {
      position: 1;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-history__img::after {
      display: block;
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      background: var(--base);
      z-index: 2;
      width: 34.375rem;
      height: 28.125rem;
    }
  }
  .kramen-history__row {
    position: relative;
    z-index: 2;
  }
  @media screen and (min-width: 768px) {
    .kramen-history__row {
      display: grid;
      grid-template-columns: 35.375rem 35.125rem;
      justify-content: space-between;
      align-items: flex-end;
      margin-top: -24.375rem;
    }
  }
  .kramen-history__wtext {
    position: relative;
    padding-bottom: 6.875rem;
    z-index: 2;
  }
  @media screen and (max-width: 767px) {
    .kramen-history__wtext {
      padding-bottom: 4.8vw;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-history__wtext::before {
      content: "";
      display: block;
      z-index: 1;
      pointer-events: none;
      position: absolute;
      background: url("../../../img/page/kumamoto-ramen/history_cloud_1.svg") 50% 0/contain no-repeat;
      right: -16vw;
      top: 5.3333333333vw;
      aspect-ratio: 487/155;
      width: 64.9333333333vw;
      z-index: 2;
    }
  }
  .kramen-history__ttl {
    font-weight: 600;
    font-family: var(--serif);
    font-size: 3rem;
    margin-bottom: 2.5rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-history__ttl {
      position: relative;
      z-index: 3;
      font-size: 6.4vw;
      text-align: center;
      margin-bottom: 6.4vw;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-history__sec + .kramen-history__sec {
      margin-top: 10rem;
    }
  }
  .kramen-history__sttl {
    font-size: 1.75rem;
    margin-bottom: 0.625rem;
    letter-spacing: 0.1em;
  }
  @media screen and (max-width: 767px) {
    .kramen-history__sttl {
      margin-top: 7.3333333333vw;
      margin-bottom: 1.8666666667vw;
      font-size: 4.2666666667vw;
      font-weight: bold;
    }
  }
  .kramen-history__text {
    background: #fff;
  }
  @media screen and (min-width: 768px) {
    .kramen-history__text {
      margin-top: -26.25rem;
      padding: 3.125rem 4.375rem 0 0;
    }
  }
  .kramen-history__map {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .kramen-history__map {
      transform: translateX(6.25rem);
    }
  }
  .kramen-history__map::before {
    content: "";
    display: block;
    z-index: 1;
    pointer-events: none;
    position: absolute;
    background: url("../../../img/page/kumamoto-ramen/history_cloud_1.svg") 50% 0/contain no-repeat;
    right: -13.75rem;
    top: 26.875rem;
    aspect-ratio: 487/155;
    width: 30.4375rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-history__map::before {
      top: 53.3333333333vw;
      right: -22.6666666667vw;
      width: 64.9333333333vw;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-history__map {
      text-align: center;
    }
    .kramen-history__map img {
      width: 70.1333333333vw;
    }
  }
  .kramen-history__sentence {
    margin-top: 5rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-history__sentence {
      margin-top: 5.3333333333vw;
    }
  }
  .kramen-define {
    position: relative;
    padding-top: 11.25rem;
  }
  @media screen and (min-width: 768px) {
    .kramen-define {
      padding-bottom: 6.25rem;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-define {
      padding-top: 10.6666666667vw;
    }
  }
  .kramen-define::after {
    content: "";
    display: block;
    z-index: 1;
    pointer-events: none;
    position: absolute;
    top: 7.5rem;
    left: 0;
    aspect-ratio: 487/155;
    width: 30.4375rem;
    background: url("../../../img/page/kumamoto-ramen/define_cloud_0.svg") 50% 0/contain no-repeat;
  }
  @media screen and (max-width: 767px) {
    .kramen-define::after {
      width: 64.9333333333vw;
      top: 2.6666666667vw;
      left: -15.0666666667vw;
    }
  }
  .kramen-define__ttl {
    font-weight: 600;
    font-family: var(--serif);
    font-size: 3rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
  }
  @media screen and (max-width: 767px) {
    .kramen-define__ttl {
      font-size: 6.4vw;
      text-align: center;
      margin-bottom: 4vw;
    }
  }
  .kramen-define__sttl {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
  }
  @media screen and (max-width: 767px) {
    .kramen-define__sttl {
      width: fit-content;
      background: #000;
      transform: translateY(-2em);
      margin-bottom: -1.6em;
      font-size: 4.2666666667vw;
      padding: 2.1333333333vw 2.6666666667vw;
    }
  }
  .kramen-define__lead {
    margin-bottom: 3.75rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-define__lead {
      margin-bottom: 8vw;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-define__img {
      width: 71.625rem;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-define__img-a {
      margin-left: calc(100% - 71.625rem);
    }
  }
  .kramen-define__item + .kramen-define__item {
    margin-top: 8.125rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-define__item + .kramen-define__item {
      margin-top: 21.3333333333vw;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-define__box {
      display: flex;
      justify-content: flex-end;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-define__wtext {
      position: relative;
      z-index: 2;
      background: var(--base);
      margin-top: -16.75rem;
      width: 37.5rem;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-define__wtext.is-odd {
      padding: 3.75rem 0 0 4.375rem;
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-define__wtext.is-even {
      padding: 3.75rem 4.375rem 0 0;
    }
  }
  .kramen-define__sentence {
    margin-top: 5rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-define__sentence {
      margin-top: 6.6666666667vw;
    }
  }
  .kramen-define__photo {
    margin-top: 7.5rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-define__photo {
      margin-top: 6.6666666667vw;
    }
  }
  .kramen-column {
    position: relative;
  }
  @media screen and (min-width: 768px) {
    .kramen-column {
      margin-top: 8.75rem;
      padding-top: 8.75rem;
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-column {
      margin-top: 16vw;
    }
  }
  .kramen-column__inner {
    position: relative;
    z-index: 3;
    background: #fff;
  }
  @media screen and (min-width: 768px) {
    .kramen-column__ttl {
      width: 63.4375rem;
      transform: translate(-1.25rem, -1.25rem);
    }
  }
  @media screen and (max-width: 767px) {
    .kramen-column__ttl {
      width: 96.8vw;
      transform: translate(-2.6666666667vw, -2.6666666667vw);
    }
  }
  .kramen-column__ttl img {
    max-width: none;
    width: 100%;
  }
  .kramen-column__sttl {
    font-size: 2.25rem;
    margin-bottom: 1.875rem;
    letter-spacing: 0.1em;
  }
  @media screen and (max-width: 767px) {
    .kramen-column__sttl {
      font-size: 4.2666666667vw;
      font-weight: 600;
      margin-bottom: 2.6666666667vw;
    }
  }
  .kramen-column__wtext {
    padding: 4.375rem 5rem;
  }
  @media screen and (max-width: 767px) {
    .kramen-column__wtext {
      padding: 4.8vw var(--sp-pad) 10.6666666667vw var(--sp-pad);
    }
  }
  @media screen and (min-width: 768px) {
    .kramen-column__text {
      font-size: 1.25rem;
    }
  }
  .kramen-column__text p + p {
    margin-top: 1.6em;
  }
}