@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-open: 'Open Sans', sans-serif;
  --color-blue: #07468E;
  --color-pink: #D74755;
  --color-gold: #BC8F62;
}

html {
  font-size: 2.6667vw;
}

@media screen and (min-width: 971px) {
  html {
    font-size: clamp(8.125px, 0.6944vw, 10px);
  }
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

figure {
  margin: 0;
}

@media screen and (min-width: 971px) {
  .sp-block {
    display: none;
  }
}

.topLineArea .posLeftArea {
  font-size: 0.32rem;

  @media screen and (min-width: 1379px) {
    font-size: 1.28rem !important;
  }

  @media screen and (max-width: 1378px) and (min-width: 1168px) {
    font-size: 1.12rem !important;
  }
}

.topLineArea .searchArea button.btnSearch {
  font-size: 1rem;
}

.searchArea button.btnSearch {
  @media screen and (max-width: 970px) {
    font-size: 1.6rem;
  }
}


.p-history {
  /* background: linear-gradient(180deg, #FCF9F2 16.35%, #FBF5E7 24.52%, #BF9746 100%); */
  /* background: url(../../img/company/history/top_bg.webp) no-repeat center center / cover; */
  background: url(../../img/company/history/p-history-bg.svg) no-repeat center center / cover;
}

.p-history .breadcrumb {
  margin-top: -3rem;
}

.p-history__mv {
  position: relative;
  aspect-ratio: 1250 / 826;
  width: 100%;
  height: fit-content;
}

.p-history__mv-img {
  margin: 0;
  width: 100%;
}

.p-history__mv-img img {
  width: 165%;
  height: 100%;
  object-fit: cover;
  margin-left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 971px) {
  .p-history__mv-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 0;
    transform: none;
  }
}

.p-history__mv-box {
  width: fit-content;
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: translateY(-20%);
}

@media screen and (min-width: 971px) {
  .p-history__mv-box {
    transform: translateY(-32%);
  }
}

.p-history__mv-title {
  position: relative;
  text-align: center;
  color: var(--color-blue);
  display: flex;
  flex-direction: column;
  gap: 1.2rem 0;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 971px) {
  .p-history__mv-title {
    padding-bottom: 2.4rem;
    margin-bottom: 2.4rem;
  }
}

.p-history__mv-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--color-gold);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
}

.p-history__mv-title-ja {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-block: calc((1em - 1lh) / 2);
}

@media screen and (min-width: 971px) {
  .p-history__mv-title-ja {
    font-size: 5.5rem;
  }
}

.p-history__mv-title-en {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-block: calc((1em - 1lh) / 2);
}

@media screen and (min-width: 971px) {
  .p-history__mv-title-en {
    font-size: 2.4rem;
  }
}

.p-history__mv-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-blue);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-block: calc((1em - 1lh) / 2);
  transform: translateX(0.5em);
}

@media screen and (min-width: 971px) {
  .p-history__mv-text {
    font-size: 1.6rem;
  }
}

.inner {
  width: min(100%, 109.5rem);
  padding: 0 2rem;
  margin-inline: auto;
}

@media screen and (min-width: 971px) {
  .inner {
    padding: 0 5rem;
  }
}

.inner.--l {
  width: min(100%, 121rem);
  padding: 0 2rem;
  margin-inline: auto;
}

@media screen and (min-width: 971px) {
  .inner.--l {
    padding: 0 5rem;
  }
}

.p-history__chrono {
  padding: 4rem 0 5rem;
}

@media screen and (min-width: 971px) {
  .p-history__chrono {
    padding: 6rem 0 8rem;
  }
}

.p-history__chrono-list {
  position: relative;
  display: grid;
  gap: 2.5rem 0;
  z-index: 1;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-list {
    gap: 4rem 0;
    padding-bottom: 6rem;
    margin-bottom: 6rem;
  }
}

.p-history__chrono-item {
  position: relative;
  background: #FFFFFF;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  padding: 3rem 2rem;
  display: grid;
  gap: 2rem 0;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item {
    padding: 3.7rem 4rem 4.5rem;
    grid-template-columns: 1fr 41rem;
    gap: 0 4rem;
  }
}

.p-history__chrono-item::after {
  content: "";
  display: block;
  width: 3px;
  height: 6rem;
  background-color: var(--color-pink);
  position: absolute;
  top: -5rem;
  left: 7.5rem;
  z-index: -1;
}

.p-history__chrono-item:not(:has(.img-box)) {
  grid-template-columns: 1fr;
}

.p-history__chrono-item .item-bg {
  font-size: 6rem;
  font-weight: 500;
  color: var(--color-blue);
  opacity: 0.05;
  position: absolute;
  top: -1rem;
  left: 50%;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item .item-bg {
    font-size: 8rem;
    transform: translateX(-100%);
  }
}

.p-history__chrono-item.--first {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0;
  padding: 2rem 2rem;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item.--first {
    flex-wrap: nowrap;
    padding: 3rem 4rem;
  }
}

.p-history__chrono-item.--first::before {
  content: "Founding";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border-radius: 9999px;
  background-color: var(--color-pink);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  position: absolute;
  top: -2rem;
  right: -1rem;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item.--first::before {
    width: 8rem;
    height: 8rem;
    font-size: 1.2rem;
    right: -2rem;
  }
}

.p-history__chrono-item.--first::after {
  display: none;
}

.p-history__chrono-item.--first .first-seireki {
  font-family: var(--font-serif);
  color: var(--color-blue);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item.--first .first-seireki {
    font-size: 4rem;
  }
}

.p-history__chrono-item.--first .first-seireki span {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  margin-left: 0.4rem;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item.--first .first-seireki span {
    font-size: 2rem;
    margin-left: 0.7rem;
  }
}

.p-history__chrono-item.--first .first-wareki {
  font-family: var(--font-serif);
  color: var(--color-blue);
  font-size: 1.2rem;
  font-weight: 500;
  margin-left: 1.2rem;
  margin-bottom: -1.5rem;
  line-height: 1;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item.--first .first-wareki {
    font-size: 1.6rem;
  }
}

.p-history__chrono-item.--first .first-ttl {
  font-family: var(--font-serif);
  color: var(--color-blue);
  font-size: 2rem;
  font-weight: 600;
  margin-top: 1rem;
  line-height: 1;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item.--first .first-ttl {
    font-size: 2.6rem;
    margin-top: 0;
    margin-left: 3rem;
  }
}

.p-history__chrono-item .txt-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.p-history__chrono-item .txt-box-head {}

.p-history__chrono-item .txt-box-year {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-gold);
  text-decoration: underline;
  margin-block: calc((1em - 1lh) / 2);
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item .txt-box-year {
    font-size: 1.6rem;
  }
}

.p-history__chrono-item .txt-box-ttl {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-blue);
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item .txt-box-ttl {
    font-size: 2.6rem;
  }
}

.p-history__chrono-item .txt-box-content {
  @media screen and (min-width: 971px) {
    padding-top: 1rem;
  }
}

.p-history__chrono-item .txt-box-text {
  position: relative;
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 2rem;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item .txt-box-text {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-top: 2.3rem;
    padding-top: 2.7rem;
  }
}

.p-history__chrono-item .txt-box-text::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--color-blue) 0, var(--color-blue) 3.5rem, transparent 3.5rem, transparent 4.3rem, var(--color-blue) 4.3rem, var(--color-blue) 100%);
  position: absolute;
  top: 0;
  left: 0;
}

.p-history__chrono-item .txt-box-text::after {
  content: "";
  display: block;
  width: 1px;
  height: 2.5rem;
  background-color: #07468E;
  position: absolute;
  top: 0;
  left: 3.5rem;
  transform: translateY(-50%) rotate(38deg);
}

.p-history__chrono-item .txt-box-btn {
  display: grid;
  place-content: center;
  width: 20rem;
  height: 4.5rem;
  border-radius: 9999px;
  background-color: var(--color-blue);
  border: 1px solid var(--color-blue);
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  margin: 2.5rem auto 0;
  transition: all 0.3s ease;
}

@media screen and (min-width: 971px) {
  .p-history__chrono-item .txt-box-btn {
    width: 22rem;
    height: 6rem;
    font-size: 1.6rem;
    margin: 3.5rem 0 0 0;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-history__chrono-item .txt-box-btn:hover {
    background-color: #ffffff;
    color: var(--color-blue);
  }
}

.p-history__chrono-item .img-box {
  width: 100%;
  height: fit-content;
  border-radius: 0.5rem;
  overflow: hidden;
}

.p-history__chrono-item .img-box img {
  width: 100%;
}

.p-history__bnr {
  position: relative;
  display: block;
  width: min(90%, 73rem);
  margin-inline: auto;
  border-radius: 0.5rem;
  border: 1px solid #ffffff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(104, 80, 10, 0.2) 100%);
  padding: 2rem;
  transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 971px) {
  .p-history__bnr:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 20%, rgba(104, 80, 10, 0.2) 100%);
    text-decoration: none;
  }

  .p-history__bnr:hover::before {
    width: calc(100% - 1.2rem);
    height: calc(100% - 1.2rem);
  }
}

.p-history__bnr::before {
  content: "";
  display: block;
  width: calc(100% - 1rem);
  height: calc(100% - 1rem);
  border-radius: 2px;
  border: 1px solid #ffffff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  transition: all 0.3s ease-in-out;
}

@media screen and (min-width: 971px) {
  .p-history__bnr::before {
    width: calc(100% - 1.4rem);
    height: calc(100% - 1.4rem);
  }
}

.p-history__bnr::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><rect fill="%23f6f6f6" y="0" width="30" height="30" rx="3.3333299" ry="3.3333299"/><polygon fill="%23bc8f62" points="13.1816406 19.3214722 12.1523438 18.0109253 15.9848633 14.9996948 12.1523438 11.9884644 13.1816406 10.6779175 18.6826172 14.9996948 13.1816406 19.3214722"/></svg>') no-repeat center / contain;
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  right: 1.5rem;
}

@media screen and (min-width: 971px) {
  .p-history__bnr::after {
    width: 3rem;
    height: 3rem;
    right: 3rem;
  }
}

.p-history__bnr img {
  display: block;
  width: 90%;
  margin-inline: auto;
  transform: translateX(-2rem);
}

@media screen and (min-width: 971px) {
  .p-history__bnr img {
    width: 50%;
    transform: translateX(0);
  }
}

.p-history__bnr-txt {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-top: 0.3rem;
  transform: translate(-2rem);
}

@media screen and (min-width: 971px) {
  .p-history__bnr-txt {
    transform: translateX(0);
  }
}


/* 沿革詳細ページ */
.p-history-sub {
  position: relative;
  /* background: url(../../img/company/history/bg.jpg) repeat-y top center / cover; */
  background: url(../../img/company/history/p-history-sub-bg.svg) repeat-y top center / contain;
  padding: 1.5rem 0 0;
  overflow-x: hidden;
}

.p-history-sub .breadcrumb {
  margin-top: 0;
}

.p-history-sub__bg {
  font-family: var(--font-open);
  font-style: italic;
  font-size: 6rem;
  letter-spacing: -0.05em;
  color: var(--color-gold);
  position: absolute;
  top: -2rem;
  right: -12rem;
  opacity: 0.08;
  white-space: nowrap;
}

@media screen and (min-width: 971px) {
  .p-history-sub__bg {
    font-size: 13.3rem;
    top: -5rem;
    right: 0;
  }
}

.p-history-sub__mv {
  padding: 5rem 0 5rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv {
    padding: 11rem 0 8rem;
  }
}

.p-history-sub__mv-year {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  color: var(--color-gold);
  text-align: center;
  text-decoration: underline var(--color-gold) 2px;
  text-underline-offset: 0.1em;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-year {
    font-size: 5rem;
    text-decoration: underline var(--color-gold) 3px;
  }
}

.p-history-sub__mv-ttl {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-blue);
  text-align: center;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-ttl {
    font-size: 4.2rem;
  }
}

.p-history-sub__mv-img {
  display: grid;
  gap: 2rem 0;
  margin-top: 4rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-img {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    margin-top: 5rem;
  }
  /* gapの代わりにmarginを使用（Safari互換性のため） */
  .p-history-sub__mv-img .img-item:not(:last-child) {
    margin-right: 1.3rem;
  }
}

.p-history-sub__mv-img .img-item {
  width: 100%;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-img .img-item {
    width: auto;
    max-width: 36rem;
    flex-shrink: 0;
  }
}

.p-history-sub__mv-img .img-item figure {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 0;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-img .img-item figure {
    display: block;
    width: auto;
    height: 24rem;
    min-height: 24rem;
    max-width: 36rem;
  }
}

.p-history-sub__mv-img .img-item figure img {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-object-fit: cover;
  object-fit: cover;
  -webkit-object-position: center;
  object-position: center;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-img .img-item figure img {
    /* width: auto; */
    max-width: 36rem;
    max-height: 24rem;
    /* height: auto; */
    margin: 0 auto;
  }
}

/*
@media screen and (min-width: 971px) {
  .p-history-sub__mv-img .img-item figure img {
    width: auto;
    max-width: 36rem;
    height: auto;
    max-height: 24rem;
  }
}
*/

.p-history-sub__mv-img .img-item figcaption {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__mv-img .img-item figcaption {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }
}

.p-history-sub__content {
  padding-bottom: 8rem;
}

.p-history-sub__content-list {
  counter-reset: history-list;
  list-style: none;
}

.p-history-sub__content-item {
  border-top: double var(--color-gold) 3px;
  padding: 3rem 0 3.5rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__content-item {
    border-top: double var(--color-gold) 5px;
    padding: 5rem 0 5.5rem;
  }
}

.p-history-sub__content-item:first-child {
  border-top: none;
  padding-top: 0;
}

.p-history-sub__content-item .item-ttl {
  position: relative;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-blue);
  padding-left: 5.5rem;
  margin-bottom: 2.5rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__content-item .item-ttl {
    font-size: 2.6rem;
    padding-left: 8rem;
    margin-bottom: 5rem;
  }
}

.p-history-sub__content-item .item-ttl::before {
  counter-increment: history-list;
  content: counter(history-list, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  text-decoration: underline var(--color-gold) 2px;
  text-underline-offset: 0.4rem;
  color: var(--color-gold);
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  left: 0;
}

@media screen and (min-width: 971px) {
  .p-history-sub__content-item .item-ttl::before {
    font-size: 5.6rem;
    text-underline-offset: 0.8rem;
  }
}

.p-history-sub__content-item .item-text {
  font-size: 1.4rem;
  margin-block: calc((1em - 1lh) / 2);
  line-height: 1.8;
}

@media screen and (min-width: 971px) {
  .p-history-sub__content-item .item-text {
    font-size: 1.6rem;
  }
}

.p-history-sub__content-item .item-imgwrap {
  display: grid;
  gap: 0 3rem;
  margin-top: 5.5rem;
}

.p-history-sub__content-item .item-imgwrap.--2 {
  grid-template-columns: repeat(2, 1fr);
}

.p-history-sub__content-item .item-imgwrap.--3 {
  grid-template-columns: repeat(3, 1fr);
}

.p-history-sub__content-item .item-img {}

.p-history-sub__content-item .item-img figure {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 0.5rem;
}

.p-history-sub__content-item .item-imgwrap.--2 .item-img figure {
  aspect-ratio: 482 / 341;
}

.p-history-sub__content-item .item-imgwrap.--3 .item-img figure {
  aspect-ratio: 312 / 220;
}

.p-history-sub__content-item .item-img figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-history-sub__content-item .item-img figcaption {
  font-size: 1.4rem;
  margin-top: 1.3rem;
}

.p-history-sub__line {
  background-color: #ffffff;
  margin-top: 2.5rem;
  padding: 3rem 2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line {
    padding: 5rem;
  }
}

.p-history-sub__line-ttl {
  position: relative;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-ttl {
    font-size: 3rem;
    padding-bottom: 1.3rem;
    margin-bottom: 3.8rem;
  }
}

.p-history-sub__line-ttl::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background-color: var(--color-gold);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
}

.p-history-sub__line-list {
  display: grid;
  gap: 3.7rem 0;
  overflow: hidden;
}

.p-history-sub__line-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item {
    grid-template-columns: 9rem 1fr;
  }
}

.p-history-sub__line-item .item-year {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-blue);
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item .item-year {
    font-size: 2.8rem;
  }
}

.p-history-sub__line-item .item-year span {
  font-size: 1.4rem;
  padding-left: 0.2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item .item-year span {
    font-size: 1.8rem;
    padding-left: 0.5rem;
  }
}

.p-history-sub__line-item .item-month-list {}

.p-history-sub__line-item .item-month-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0 3rem;
  align-items: flex-start;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item .item-month-item {
    grid-template-columns: 5.5rem 1fr;
    gap: 0 4rem;
    /*
    align-items: center;
    */
  }
}

.p-history-sub__line-item .item-month {
  position: relative;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-blue);
  text-align: right;
  min-height: 3.3rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item .item-month {
    font-size: 2.8rem;
    min-height: 4rem;
  }
}

.p-history-sub__line-item .item-month::before {
  content: "";
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 9999px;
  background-color: var(--color-gold);
  position: absolute;
  top: 0;
  bottom: 0;
  margin-block: auto;
  right: -2rem;
}

.p-history-sub__line-item .item-month::after {
  content: "";
  display: block;
  width: 1px;
  height: calc(100% + 15rem);
  background-color: var(--color-gold);
  position: absolute;
  top: 50%;
  right: -1.7rem;
}

/* 月が空欄の場合、疑似要素を非表示 */
.p-history-sub__line-item .item-month:empty::before,
.p-history-sub__line-item .item-month:empty::after {
  display: none;
}

.p-history-sub__line-item .item-month span {
  font-size: 1.4rem;
  margin-left: 0.2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item .item-month span {
    font-size: 1.8rem;
    margin-left: 0.5rem;
  }
}

.p-history-sub__line-item .item-txt {
  font-size: 1.4rem;
  margin-top: 0.6rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__line-item .item-txt {
    font-size: 1.6rem;
    margin-top: 0.8rem;
    /*
    margin-top: 0;
    */
  }
}

.p-history-sub__page {
  background-color: #ffffff;
  padding: 4rem 0 5rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__page {
    padding: 6rem 0 10rem;
  }
}

.p-history-sub__page .page-btn-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 1.5rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__page .page-btn-list {
    gap: 0 2rem;
  }
}

.p-history-sub__page .page-btn {
  display: grid;
  place-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.5rem;
  background-color: var(--color-gold);
  border: 1px solid var(--color-gold);
  transition: all 0.3s ease;
}

@media screen and (min-width: 971px) {
  .p-history-sub__page .page-btn {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.p-history-sub__page .page-btn span {
  display: block;
  aspect-ratio: 10 / 13;
  width: 0.8rem;
  height: auto;
  background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 13"><polygon fill="%23f6f6f6" points="8.422889 13 0 6.5002448 8.422889 0 10 1.9710767 4.1311933 6.5002448 10 11.0299025 8.422889 13"/></svg>') no-repeat center center;
  transition: all 0.3s ease;
}

@media screen and (min-width: 971px) {
  .p-history-sub__page .page-btn span {
    width: 1rem;
  }
}

.p-history-sub__page .page-btn.--next span {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-history-sub__page .page-btn:hover {
    background-color: #ffffff;
  }

  .p-history-sub__page .page-btn:hover span {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 13"><polygon fill="%23BC8F62" points="8.422889 13 0 6.5002448 8.422889 0 10 1.9710767 4.1311933 6.5002448 10 11.0299025 8.422889 13"/></svg>') no-repeat center center;
  }
}

.p-history-sub__other {
  background-color: #ffffff;
  padding-bottom: 1px;
}

.p-history-sub__other .inner {
  width: min(98%, 120rem);
  margin-inline: auto;
  background-color: #F6F6F6;
  padding: 4rem 2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other .inner {
    padding: 5rem;
  }
}

.p-history-sub__other-ttl {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 3rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-ttl {
    font-size: 3.6rem;
    margin-bottom: 3.7rem;
  }
}

.p-history-sub__other-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 2.5rem;
  }
}

.p-history-sub__other-btn {
  display: block;
}

.p-history-sub__other-btn .btn-imgwrap {
  position: relative;
  width: fit-content;
  height: fit-content;
  margin-bottom: 0.5rem;
}

.p-history-sub__other-btn .btn-img {
  aspect-ratio: 256 / 150;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  border-radius: 0.5rem;
}
.p-history-sub__other-btn .btn-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-history-sub__other-btn:hover .btn-img img {
    transform: scale(1.05);
  }
}

.p-history-sub__other-btn .btn-arrow {
  display: block;
  width: 3rem;
  height: 3rem;
  background-color: #F6F6F6;
  border-radius: 0.5rem 0 0 0;
  position: absolute;
  bottom: -1px;
  right: -1px;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-btn .btn-arrow {
    width: 3.6rem;
    height: 3.6rem;
  }
}

.p-history-sub__other-btn .btn-arrow::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9999px;
  background-color: var(--color-gold);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-btn .btn-arrow::before {
    width: 2rem;
    height: 2rem;
  }
}

.p-history-sub__other-btn .btn-arrow::after {
  content: "";
  display: block;
  aspect-ratio: 10 / 13;
  width: 0.5rem;
  height: auto;
  background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 13"><polygon fill="%23f6f6f6" points="8.422889 13 0 6.5002448 8.422889 0 10 1.9710767 4.1311933 6.5002448 10 11.0299025 8.422889 13"/></svg>') no-repeat center center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  transform: rotate(180deg);
}

.p-history-sub__other-btn .btn-box {}

.p-history-sub__other-btn .btn-ttl {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-blue);
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-btn .btn-ttl {
    font-size: 2.4rem;
  }
}

.p-history-sub__other-btn .btn-ttl span {
  font-size: 1.2rem;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-btn .btn-ttl span {
    font-size: 1.4rem;
  }
}

.p-history-sub__other-btn .btn-txt {
  font-size: 1.2rem;
  color: #000000;
}

@media screen and (min-width: 971px) {
  .p-history-sub__other-btn .btn-txt {
    font-size: 1.6rem;
  }
}

.p-history-sub__back {
  display: grid;
  place-content: center;
  width: 25rem;
  height: 5rem;
  background-color: #ffffff;
  border: 1px solid var(--color-blue);
  margin: 6rem auto;
  transition: all 0.3s ease;
}

@media screen and (min-width: 971px) {
  .p-history-sub__back {
    width: 30rem;
    height: 7rem;
  }
}

.p-history-sub__back p {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-blue);
  padding-right: 1.7rem;
  transition: ;
}

@media screen and (min-width: 971px) {
  .p-history-sub__back p {
    font-size: 1.6rem;
    padding-right: 2rem;
  }
}

.p-history-sub__back p::after {
  content: "";
  display: block;
  aspect-ratio: 15 / 12;
  width: 1.1rem;
  height: auto;
  background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 12"><path fill="%2307468e" d="M10.493401,3.3101366H3.2512203l2.805907-2.2038162-.9344594-1.1063204L0,4.0235321l5.1226679,4.0230677.9344594-1.1058559-2.805907-2.2038162h7.2421807c1.6695032,0,3.0268777,1.3092851,3.0268777,2.9186051,0,1.6088555-1.3573745,2.9176762-3.0268777,2.9176762h-6.1761022v1.426791h6.1761022c2.484506,0,4.506599-1.9488331,4.506599-4.3444672,0-2.3960986-2.0220931-4.3453961-4.506599-4.3453961Z"/></svg>') no-repeat center center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin-block: auto;
}

@media screen and (min-width: 971px) {
  .p-history-sub__back p::after {
    width: 1.3rem;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .p-history-sub__back:hover {
    background-color: var(--color-blue);
  }

  .p-history-sub__back:hover p {
    color: #ffffff;
  }

  .p-history-sub__back:hover p::after {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 12"><path fill="%23ffffff" d="M10.493401,3.3101366H3.2512203l2.805907-2.2038162-.9344594-1.1063204L0,4.0235321l5.1226679,4.0230677.9344594-1.1058559-2.805907-2.2038162h7.2421807c1.6695032,0,3.0268777,1.3092851,3.0268777,2.9186051,0,1.6088555-1.3573745,2.9176762-3.0268777,2.9176762h-6.1761022v1.426791h6.1761022c2.484506,0,4.506599-1.9488331,4.506599-4.3444672,0-2.3960986-2.0220931-4.3453961-4.506599-4.3453961Z"/></svg>') no-repeat center center;
  }
}


@media screen and (min-width: 971px) {}

@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {}