@charset "UTF-8";

html {
  font-size: 62.5%;
}

.rekishi-main-cts{
  background-color: #FBF9EE;
  overflow-x: hidden;
  padding-top: 90px;
}
@media screen and (max-width: 599px) {
  .rekishi-main-cts{
    padding-top: 60px;
  }
}

/* ルビ */
rt{
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.l-main-cts {
  color: #534A44;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 400;
  font-size: 1.6em;
  line-height: 1.67;
  padding-top: 80px;
}
@media screen and (max-width: 599px) {
  .l-main-cts {
  padding-top: 20px;
  }
}
.l-main-cts img {
  display: inline-block;
  width:auto;
  max-width: 100%;
}

.l-main-text {
  margin: 0 20px;
}
.l-main-text--02 {
  margin-top: 90px;
}
.l-main-text p {
  margin-top: 2.9em;
  padding-top: 0.5rem;
}

.l-title__deco {
  margin: 60px 0 0 20px;
  width: 365px;
  display: grid;
  grid-template-columns: 3fr 2fr 4fr 1fr;
  grid-template-rows: 110px 60px;
}
@media screen and (max-width: 1079px) {
  .l-title__deco {
    display: none;
  }
}
.l-title__deco--item1 {
  grid-row: 1/2;
  grid-column: 1/2;
}
.l-title__deco--item2 {
  grid-row: 1/2;
  grid-column: 3/4;
}
.l-title__deco--item3 {
  grid-row: 2/3;
  grid-column: 2/3;
}
.l-title__deco--item4 {
  grid-row: 2/3;
  grid-column: 4/5;
}
.l-title__deco .title__deco-right {
  transform: scale(-1, 1);
}

/* 目次 */
.l-toc{
  margin: 100px auto;
  max-width: 370px;
  background-color: #FBFBFB;
  border: 2px solid #FBCDCD;
  border-radius: 10px;
  padding: 25px 15px;
}
@media screen and (max-width: 599px) {
  .l-toc {
    margin: 150px auto 100px;
  }
}

.l-toc__list{
  text-align: center;
  font-size: 2.8rem;
  font-family: "Kaisei Decol", serif;
  font-weight: 600;
  color: #E5A357;
}

.l-toc ol li{
  font-size: 2rem;
  line-height: 2.9;
  letter-spacing: 0.2em;
  position: relative;
  padding-left: 1.9em;
  padding-top: 0.5rem;
  background-color: #FBFBFB;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FBFBFB 50%, #FBFBFB 100%), linear-gradient(360deg, #FBCDCD 2px, transparent 2px); /* 点線の色と太さ */
  background-size: 8px 100%, 100% 2.9em; /* 行の高さ */
  padding-bottom: 2px; /* 最終行の下にも罫線を引く */
}

.l-toc ol li a{
  text-decoration: none;
  color: #534A44;
}

.l-toc ol li a:hover{
  color: #E5A357;
}

/*数字*/
.l-toc ol {
  padding: 0.3em 0.5em;
  list-style-type: none;
  border: none;
  counter-reset: number;
}

.l-toc ol li:before {
  position: absolute;
  content: counter(number);
  counter-increment: number;
  top: 15px;
  left: -3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFB6C1;
  color: #FBFBFB;
  font-size: 2.3rem;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  line-height: 27px;
  letter-spacing: 0.1rem;
}

/*目次おわり*/

.l-text-cts {
  margin: 100px auto;
  max-width: 900px;
}

.l-main-cts p {
  font-size: 2rem;
  line-height: 2.9;
  letter-spacing: 0.2em;
}

.l-main-text p {
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FBF9EE 50%, #FBF9EE 100%), linear-gradient(180deg, #FBCDCD 2px, transparent 2px); /* 点線の色と太さ */
  background-size: 8px 100%, 100% 2.9em; /* 行の高さ */
  line-height: 2.9em; /* 行の高さ */
  padding-bottom: 2px; /* 最終行の下にも罫線を引く */
}

.l-main-text ul{
  box-sizing: border-box;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FBF9EE 50%, #FBF9EE 100%), linear-gradient(360deg, #FBCDCD 2px, transparent 2px);
  background-size: 8px 100%, 100% 2.9em;
  line-height: 2.9em;
  padding-bottom: 2px;
  font-size: 2rem;
  line-height: 2.9;
  letter-spacing: 0.2em;
  text-indent: -1em;
  padding-left: 2em;
}

@media screen and (max-width:767px){
  .l-main-text ul{
    text-indent: -1em;
    padding-left: 1em;
  }
}

p.ul-after-p {
  margin-top: 0px;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FBF9EE 50%, #FBF9EE 100%), linear-gradient(360deg, #FBCDCD 2px, transparent 2px);
}

.p-column p {
  padding-top: 0.7rem;
  background-color: #FBFBFB;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #FBFBFB 50%, #FBFBFB 100%), linear-gradient(360deg, #FBCDCD 2px, transparent 2px); /* 点線の色と太さ */
  background-size: 8px 100%, 100% 2.9em; /* 行の高さ */
  line-height: 2.9em; /* 行の高さ */
  padding-bottom: 2px; /* 最終行の下にも罫線を引く */
}

.--font, .p-text-end__p {
  font-family: "Kaisei Decol", serif;
}

.l-text__img {
  text-align: center;
  margin-top: 40px;
}

figcaption {
  line-height: 2;
  margin-top: 10px;
}

figcaption rt{
  font-size: 1rem;
}

.p-title {
  display: flex;
  justify-content: center;
}

.p-title-cts {
  background-repeat: no-repeat;
  background-image: url(../img/about/title-bg_pc.png);
  background-position: 50% 0;
  width: 540px;
  height: 270px;
}
@media screen and (max-width: 599px) {
  .p-title-cts {
    background-image: url(../img/about/title-bg_mobail.png);
    display: flex;
    justify-content: center;
    text-align: center;
    background-position: 50% 14px;
    width: 356px;
    height:282px;
  }
}
.p-title-cts__main {
  min-width: 540px;
}
@media screen and (max-width: 599px) {
.p-title-cts__main {
    min-width: auto;
}
}
.p-title-cts__main--call {
  text-align: center;
  color: #9789BB;
  font-size: 4rem;
  font-weight: 600;
  margin: 37px 0 0;
}
@media screen and (max-width: 599px) {
  .p-title-cts__main--call {
    display: inline-block;
    width: 240px;
    margin: -5px 0 0;
    text-align: left;
    line-height: 1.25;
  }
}

.p-title-cts__main--call rt{
  font-size: 2rem;
  letter-spacing: 1;
  ruby-position: over;
}
@media screen and (max-width: 599px) {
  .p-title-cts__main--call rt{
    font-size: 1.5rem;
  }
}
.p-title-cts__main--call .p-title__large {
  font-size: 6rem;
}

.p-title__br {
  display: none;
}
@media screen and (max-width: 599px) {
  .p-title__br {
    display: block;
  }
}

.p-title-cts__main--train {
  position: relative;
  right: -75%;
  bottom: -44px;
}
@media screen and (max-width: 599px) {
  .p-title-cts__main--train {
    display: block!important;
  }
}
.p-title-cts__main--carrot {
  position: relative;
  left: 110px;
}
@media screen and (max-width: 599px) {
  .p-title-cts__main--carrot {
    display: block!important;
    /* position: static; */
    left: 30px;
  }
}

.p-title-cts__img {
  text-align: right;
  margin-top: -40px;
}
@media screen and (max-width: 599px) {
  .p-title-cts__img {
    position: relative;
    top: -30px;
    right: -60px;
    margin-top: 0;
  }
}

.p-text-end {
  text-align: right;
  margin-top: 60px;
}
.p-text-end__p {
  color: #E8746B;
  font-size: 2.6rem!important;
  font-weight: 600;
}
.p-text-end__p--large {
  font-size: 4rem;
}

.p-rekishi-footer {
  text-align: center;
}

.p-column {
  margin-top: 170px;
  background-color: #FBFBFB;
  padding: 40px 20px;
}

.p-column-title {
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
}
.p-column-title__large {
  font-size: 4rem;
  line-height: 1.3em;
}

.p-column01 .p-column-title {
  color: #5693B5;
}

.p-column02 .p-column-title {
  color: #E5A357;
}

.p-column-title::before {
  content: "";
  flex-grow: 1;
  background-image: url(../img/about/column-deco.png);
  height: 15px;
  background-size: contain;
  background-repeat: repeat-x;
  background-position: top right;
  position: relative;
  top: -19px;
  margin-right: 10px;
}

.p-column-title::after {
  content: "";
  flex-grow: 1;
  background-image: url(../img/about/column-deco.png);
  height: 15px;
  background-size: contain;
  background-repeat: repeat-x;
  background-position: top right;
  position: relative;
  top: -19px;
  margin-left: 10px;
}

.p-column-title {
  display: flex;
  text-align: center;
  align-items: flex-end;
}

.p-column-text__p {
  margin-top: 60px;
}
.p-column-text__under-deco {
  margin: 40px 0;
  content: "";
  flex-grow: 1;
  background-image: url(../img/about/column-deco.png);
  height: 15px;
  background-size: contain;
  background-repeat: repeat-x;
  background-position: top right;
  position: relative;
}
/*# sourceMappingURL=style.css.map */


/* タイトル見出し */

.l-main-text__ttl + p{
  margin-top: 20px;
}

.l-main-text__ttl{
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  background: #FFB6C1;
  box-shadow: 0px 0px 0px 5px #FFB6C1;
  border: dashed 2px white;
  padding: 0.3em 0.5em 0.2em;
  color: #454545;
  position: relative;
  font-size: 2.5rem;
}

.l-main-text__ttl:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #FBF9EE #FBF9EE #FBCDCD;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.l-main-text__ttl--number{
  font-size: 1.3em;
  color: #FFB6C1;
  width: 40px;
  height: 40px;
  background-color: #FBFBFB;
  border-radius: 50%;
  text-align: center;
  box-sizing: border-box;
  line-height: 35px;
}

@media screen and (max-width: 599px) {
  .l-main-text__ttl{
    font-size: 2.3rem;
  }
}

.l-main-text__ttl span{
  display: block;
}