@charset "UTF-8";
/*
 * Project name: 本山佛光寺 真実（まこと）の宗教とは
 * URL: https://bukkoji.or.jp/sengo/
 * Created: 2025.07.24
 */
/* 共通設定 */
ruby[data-rt] {
  position: relative;
}
ruby[data-rt]::before {
  bottom: 100%;
  content: attr(data-rt);
  font-size: 0.5em;
  left: 50%;
  line-height: 1;
  position: absolute;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  white-space: nowrap;
}
ruby[data-rt] rt {
  display: none;
}

/* タイトル */
.main__title {
  margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .main__title {
    margin-bottom: 4.375rem;
  }
}

.main__title ruby::before {
  font-size: 0.3em;
  letter-spacing: 0.5em;
  margin-bottom: -0.5em;
  text-indent: 0.5em;
}

a.long__title { 
  text-overflow: unset;
  max-width: 14em;
}

/* 概要 */
.sengo__summary {
  background: #faf5f0;
  border: 3px double #e6e1dc;
  font-weight: 700;
  line-height: 2;
  margin: 0 0 2rem;
  padding: 1rem;
  position: relative;
  text-align: justify;
}

.sengo__summary::before,
.sengo__summary::after {
  border: 0.5rem solid;
  border-color: #e6e1dc transparent transparent #e6e1dc;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
}

.sengo__summary::after {
  bottom: 0;
  left: auto;
  right: 0;
  top: auto;
  -webkit-transform: scale(-1);
          transform: scale(-1);
}

.sengo__summary strong {
  display: block;
  text-align: center;
}
.sengo__summary strong + br {
  display: none;
}

.sengo__header {
  margin-bottom: 4rem;
  text-align: center;
}

.sengo__idea {
  font: 700 1.125rem/2 Mincho, serif;
  margin: 0 0 1rem;
}
.sengo__idea span {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, transparent), color-stop(50%, #fff5c8));
  background: linear-gradient(transparent 50%, #fff5c8 50%);
  display: inline-block;
}
@media (min-width: 768px) {
  .sengo__idea {
    font-size: 1.25rem;
  }
}

.sengo__basic {
  font-weight: 700;
  margin: 0;
}

.sengo__column {
  margin-bottom: 4rem;
}

/* 見出し */
.sengo__caption {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font: 1rem/2 Mincho, serif;
  gap: 0.5em;
  margin: 0 0 2rem;
  padding: 0.5em;
  padding-right: 1em;
  position: relative;
}
@media (min-width: 768px) {
  .sengo__caption {
    font-size: 1.125rem;
  }
}

.sengo__caption::before,
.sengo__caption::after {
  background: #7d4b64;
  bottom: 0;
  -webkit-clip-path: polygon(1em 0, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(1em 0, 100% 0, 100% 100%, 0 100%);
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
  z-index: -1;
}

.sengo__caption::after {
  background: #64324b;
  -webkit-transform: scale(-1);
          transform: scale(-1);
}

.sengo__caption strong {
  background: #ffffff;
  border-radius: 0.125rem;
  color: #64324b;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 0 0.5em;
}

.sengo__content::after {
  clear: both;
  content: "";
  display: block;
}

/* 写真 */
.sengo__photo {
  margin: auto;
  margin-bottom: 1em;
  width: 75%;
}
.sengo__photo img {
  border-radius: 0.5rem;
  display: block;
  width: 100%;
}
@media (min-width: 768px) {
  .sengo__photo {
    float: left;
    margin: 0 1em 1em 0;
    width: 17.5rem;
  }
}

@media (min-width: 768px) {
  .sengo__column:nth-child(odd) .sengo__photo {
    float: right;
    margin: 0 0 1em 1em;
  }
}

.sengo__photo span {
  display: block;
  font-size: 0.75rem;
  margin: 0.5rem 0;
  text-align: center;
}
.sengo__photo span:empty {
  display: none;
}

/* 本文 */
.sengo__text {
  line-height: 2;
  margin: 0 0 1em;
  text-align: justify;
}

.sengo__sign { text-align: end; margin-top: 4.5em; line-height: 1.8em; }