@charset "utf-8";

/* subheader
------------------------------*/
.p-subheader {
  width: 100%;
}

@media all and (max-width: 966px) {
  .p-subheader {
    padding: 0 12px;
  }
}

.p-subheader__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media all and (max-width: 966px) {
  .p-subheader__inner {
    width: 100%;
  }
}

.p-subheader__left {
  width: 45%;
}

@media all and (max-width: 966px) {
  .p-subheader__left {
    margin: 0 auto;
  }
}

@media all and (max-width: 576px) {
  .p-subheader__left {
    width: 68%;
  }
}

.p-subheader__right {
  width: 55%;
  background-color: #fff;
  padding: 48px 60px;
  position: relative;
}

@media all and (max-width: 966px) {
  .p-subheader__right {
    width: min(966px, 96.6rem);
    margin: 0 auto;
    padding: 30px 20px;
  }
}

@media all and (max-width: 576px) {
  .p-subheader__right {
    width: 100%;
  }
}

.p-subheader__right::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: min(60px, 6rem);
  width: min(60px, 6rem);
  aspect-ratio: 60/5;
  background: linear-gradient(
    90deg,
    rgba(20, 0, 120, 1) 0%,
    rgba(20, 0, 120, 1) 50%,
    rgba(186, 148, 84, 1) 50%,
    rgba(186, 148, 84, 1) 100%
  );
}

@media all and (max-width: 966px) {
  .p-subheader__right::before {
    left: 50%;
    translate: -50% 0;
  }
}

.p-subheader__heading {
  font-size: 34px;
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: #140078;
}

@media all and (max-width: 966px) {
  .p-subheader__heading {
    font-size: 24px;
    text-align: center;
  }
}

.p-subheader__subheading {
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 35px;
  margin-bottom: 35px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  border-bottom: solid 1px #d9d9d9;
}

@media all and (max-width: 966px) {
  .p-subheader__subheading {
    font-size: 16px;
    text-align: center;
    padding-bottom: 23px;
    margin-bottom: 23px;
  }
}

.p-subheader__lead {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

@media all and (max-width: 966px) {
  .p-subheader__lead {
    font-size: 18px;
    margin-bottom: 12px;
  }
}

.p-subheader__txt {
  font-size: 16px;
  line-height: 1.8;
}

/* subcontent
------------------------------*/
.p-subcontent {
  padding: 80px 0 100px;
}

@media all and (max-width: 576px) {
  .p-subcontent {
    padding: 50px 0 60px;
  }
}

.p-subcontent *:last-child {
  margin-bottom: 0 !important;
}

/* index
------------------------------*/
.p-index {
  margin-bottom: 80px;
}

@media all and (max-width: 576px) {
  .p-index {
    padding: 0 25px;
    margin-bottom: 60px;
  }
}

.p-index__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
  border-top: solid 1px #140078;
  border-bottom: solid 1px #140078;
  padding: 30px 0;
}

@media all and (max-width: 576px) {
  .p-index__inner {
    width: 100%;
    padding: 20px 0;
  }
}

.p-index__heading {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  margin-bottom: 13px;
}

@media all and (max-width: 576px) {
  .p-index__heading {
    font-size: 16px;
    margin-bottom: 5px;
  }
}

.p-index__heading::before {
  content: '';
  display: block;
  width: 30px;
  aspect-ratio: 30/2;
  background: linear-gradient(
    90deg,
    rgba(20, 0, 120, 1) 0%,
    rgba(20, 0, 120, 1) 50%,
    rgba(186, 148, 84, 1) 50%,
    rgba(186, 148, 84, 1) 100%
  );
  margin-right: 14px;
  margin-top: 0.9em;
}

@media all and (max-width: 576px) {
  .p-index__heading::before {
    margin-right: 8px;
  }
}

.p-index__list dl {
  border-bottom: solid 1px #d9d9d9;
  padding-bottom: 12px;
  margin-bottom: 10px;
}

@media all and (max-width: 576px) {
  .p-index__list dl {
    padding-bottom: 10px;
    margin-bottom: 8px;
  }
}

.p-index__list dl:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.p-index__list dl dt {
  color: #140078;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}

.p-index__list dl dd + dd {
  margin-top: 5px;
}

/* .p-index__list dl dd a {
  display: flex;
  align-items: center;
  line-height: 1.5;
} */

.p-index__list dl dd a i {
  display: inline-block;
  margin-left: 12px;
  width: 66px;
  aspect-ratio: 66/24;
  border-radius: 9999px;
  border: solid 1px #140078;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s ease-out;
  vertical-align: -0.45em;
}

@media all and (max-width: 576px) {
  .p-index__list dl dd a i {
    width: 36px;
    aspect-ratio: 36 / 18;
    vertical-align: -0.3em;
    margin-left: 8px;
  }
}

@media (hover: hover) {
  .p-index__list dl dd a:hover i,
  .p-index__list dl dd a:focus i {
    background-color: #140078;
  }
}

.p-index__list dl dd a i::before {
  content: '';
  display: block;
  width: 16px;
  aspect-ratio: 15 / 9;
  mask-image: url(../images/common/ico_arrow.svg);
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: contain;
  background-color: #140078;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transition: all 0.3s ease-out;
}

@media (hover: hover) {
  .p-index__list dl dd a:hover i::before,
  .p-index__list dl dd a:focus i::before {
    background-color: #fff;
  }
}

/* sec
------------------------------*/
.p-sec {
  width: 100%;
  margin-bottom: 60px;
}

@media all and (max-width: 576px) {
  .p-sec {
    padding: 0 25px;
  }
}

.p-sec__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media all and (max-width: 576px) {
  .p-sec__inner {
    width: 100%;
    gap: 50px;
  }
}

.p-sec__heading {
  color: #140078;
  font-size: 30px;
  font-weight: 500;
  padding-bottom: 15px;
  margin: 0 0 -35px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  position: relative;
}

@media all and (max-width: 576px) {
  .p-sec__heading {
    font-size: 22px;
    margin-bottom: -25px;
  }
}

.p-sec__heading::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ba9454;
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-sec__heading::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background-color: #140078;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media all and (max-width: 576px) {
  .p-sec__heading::after {
    width: 50px;
  }
}

.p-secblock {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media all and (max-width: 576px) {
  .p-secblock {
    gap: 25px;
  }
}

.p-secblock__heading {
  color: #140078;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 -18px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  display: flex;
  align-items: flex-start;
}

@media all and (max-width: 576px) {
  .p-secblock__heading {
    font-size: 20px;
    margin-bottom: -15px;
  }
}

.p-secblock__heading::before {
  content: '';
  display: block;
  width: 40px;
  aspect-ratio: 40/3;
  background: linear-gradient(
    90deg,
    rgba(20, 0, 120, 1) 0%,
    rgba(20, 0, 120, 1) 50%,
    rgba(186, 148, 84, 1) 50%,
    rgba(186, 148, 84, 1) 100%
  );
  margin-right: 16px;
  margin-top: 0.75em;
}

.p-secblock__col02 {
  display: grid;
  grid-template-columns: 53.83% 37.26%;
  gap: 8.9%;
}

@media all and (max-width: 966px) {
  .p-secblock__col02 {
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
  }
}

.p-secblock__txt {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-secblock__txt p {
  margin: 0;
  font-size: 16px;
}

.p-secblock__txt strong {
  font-weight: 500;
  font-size: 18px;
  display: block;
}

.p-secblock__img {
  width: 100%;
}

@media all and (max-width: 966px) {
  .p-secblock__img {
    width: 60%;
    margin: 0 auto;
  }
}

@media all and (max-width: 576px) {
  .p-secblock__img {
    width: 100%;
  }
}

.p-secblock__figure {
  padding: min(20px, 2rem) min(40px, 4rem) min(50px, 5rem);
  background-color: #fff;
  position: relative;
  z-index: 0;
}

@media all and (max-width: 576px) {
  .p-secblock__figure {
    padding: min(20px, 2rem) min(20px, 2rem) min(40px, 4rem);
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
}

body.--inheritance .p-secblock__figure.--02 {
  padding-bottom: 0;
}

.p-secblock__figure-heading {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 500;
}

.p-secblock__figure-heading::before {
  content: '';
  display: inline-block;
  width: 10px;
  aspect-ratio: 1;
  background-color: #140078;
  margin-right: 8px;
  vertical-align: 0.1em;
}

.p-secblock__figure-lead {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
}

@media all and (max-width: 576px) {
  .p-secblock__figure-lead {
    font-size: 14px;
  }
}

@media all and (max-width: 576px) {
  body.--inheritance .p-secblock__figure.--02 .p-secblock__figure-lead {
    margin-bottom: 0;
  }
}

.p-secblock__figure-lead span {
  display: inline;
  padding: 0 0.3em;
  background: linear-gradient(transparent 70%, #ffe98f 0%);
}

.p-secblock__figure figure {
  margin: 0 auto;
}

@media all and (max-width: 576px) {
  body.--inheritance .p-secblock__figure.--02 figure {
    margin-left: calc(-1 * min(20px, 2rem));
    margin-right: calc(-1 * min(20px, 2rem));
    width: calc(100% + min(40px, 4rem));
    margin-top: calc(-1 * min(80px, 8rem));
    position: relative;
    z-index: -1;
  }
}

@media all and (max-width: 576px) {
  .p-secblock__figure figure.--scroll {
    overflow-x: auto;
    position: relative;
  }

  .p-secblock__figure figure.--scroll::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 120px;
    aspect-ratio: 1;
    background: url(../images/common/swipeable.svg) no-repeat center center / contain;
    z-index: 1;
    animation: buruburu 2s linear infinite;
    transition: all 0.3s ease-out;
  }

  .p-secblock__figure figure.--scroll.is-hide::before {
    opacity: 0;
    pointer-events: none;
  }

  .p-secblock__figure figure.--scroll img {
    width: max-content;
  }
}

[id] {
  padding-top: 80px;
  margin-top: -80px;
}

@media all and (max-width: 576px) {
  [id] {
    padding-top: 60px;
    margin-top: -60px;
  }
}

/* sec02
------------------------------*/
.p-sec02 {
  width: 100%;
  background-color: #140078;
  color: #fff;
  margin: 90px 0;
  padding: 80px 0;
}

@media all and (max-width: 576px) {
  .p-sec02 {
    margin: 60px 0;
    padding: 60px 25px;
  }
}

.p-sec02__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
}

@media all and (max-width: 576px) {
  .p-sec02__inner {
    width: 100%;
  }
}

.p-sec02__heading {
  border-top: solid 1px #fff;
  margin: 0 0 50px;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  padding-top: 16px;
}

@media all and (max-width: 576px) {
  .p-sec02__heading {
    font-size: 20px;
    margin-bottom: 30px;
    padding-top: 6px;
  }
}

.p-sec02__content {
  margin-bottom: 70px;
}

@media all and (max-width: 576px) {
  .p-sec02__content {
    margin-bottom: 60px;
  }
}

.p-sec02__content:last-child {
  margin-bottom: 0;
}

.p-sec02__center {
  margin-bottom: 20px;
}

.p-sec02__years {
  display: flex;
  justify-content: center;
  gap: 30px;
}

@media all and (max-width: 576px) {
  .p-sec02__years {
    gap: 15px;
  }
}

.p-sec02__year span {
  font-family: 'Bellefair', serif;
  font-size: 140px;
  font-weight: 500;
}

@media all and (max-width: 576px) {
  .p-sec02__year span {
    font-size: 98px;
  }

  .p-sec02__years .p-sec02__year span {
    font-size: 60px;
  }
}

.p-sec02__year > div {
  display: inline-block;
  font-size: 40px;
  line-height: 1;
  margin-left: 0.2em;
}

@media all and (max-width: 576px) {
  .p-sec02__year > div {
    font-size: 28px;
    margin-left: 0.4em;
  }

  .p-sec02__years .p-sec02__year > div {
    font-size: 20px;
    margin-left: 0.2em;
  }
}

.p-sec02__year small {
  font-size: 24px;
  margin-left: 0.5em;
}

@media all and (max-width: 576px) {
  .p-sec02__year small {
    font-size: 19px;
    margin-left: 0;
    margin-top: 0.3em;
    display: block;
  }
}

.p-sec02__lead {
  font-size: 22px;
  font-weight: 500;
  /* margin-top: -10px; */
  /* margin-top: -60px; */
}

@media all and (max-width: 576px) {
  .p-sec02__lead {
    font-size: 18px;
    /* margin-top: 0; */
    /* margin-top: -40px; */
  }

  .p-sec02__years + .p-sec02__lead {
    margin-top: -20px;
  }
}

.p-sec02__flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row-reverse;
  /* margin-top: 50px; */
}

/* @media all and (max-width: 576px) {
  .p-sec02__flex {
    margin-top: 30px;
  }
} */

.p-sec02__txt {
  /* width: 59%; */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* @media all and (max-width: 966px) {
  .p-sec02__txt {
    width: 100%;
  }
} */

.p-sec02__txt p {
  margin: 0;
  font-size: 16px;
}

.p-sec02__period {
  width: 33%;
}

@media all and (max-width: 966px) {
  .p-sec02__period {
    width: 100%;
    margin-bottom: 30px;
  }
}

.p-sec02__period-heading {
  font-size: 16px;
  border-bottom: solid 1px #fff;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

@media all and (max-width: 576px) {
  .p-sec02__period-heading {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 8px;
  }

  .p-sec02__period-heading::before {
    content: '';
    display: inline-block;
    width: 10px;
    aspect-ratio: 1;
    background-color: #fff;
    margin-right: 5px;
    vertical-align: 0.1em;
  }
}

.p-sec02__period-list dl {
  display: flex;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.p-sec02__period-list dl dt {
  width: 80px;
}

.p-sec02__period-list dl dd {
  flex: 1;
}

/* others
------------------------------*/
.p-others {
  width: 100%;
  background-color: #fff;
  padding: 70px 0 100px;
}

@media all and (max-width: 576px) {
  .p-others {
    padding: 60px 25px 80px;
  }
}

.p-others__inner {
  width: min(966px, 96.6rem);
  margin: 0 auto;
}

@media all and (max-width: 576px) {
  .p-others__inner {
    width: 100%;
  }
}

.p-others__heading {
  color: #140078;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 64px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}

@media all and (max-width: 576px) {
  .p-others__heading {
    margin: 0 0 36px;
  }
}
