html {
  scroll-behavior: smooth;
}
body{color: #231815;background-color: #fff6e9;}
.inner {
    display: flex;
    gap: 180px;
}
header.site-header {
    padding: 15px;
    background: #00004a;
}
.main-nav {
  color: #00004a;
  text-align: center;
  padding: 20px 0;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.slide_mini-box {
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    margin-left: 12px;
}
.slide_mini-box a {
    width: 50%;
}

.news-item a {
  display: contents;
  color: inherit;
  text-decoration: none;
}

.news-item a:hover {
  opacity: 0.8; /* ホバー効果など任意で追加 */
}
.main-nav a {
  text-decoration: none;
  color: #00004a;
  font-weight: bold;
  font-size: 16px;
  display: block;
  line-height: 100%;
}

.cross-visual {
  text-align: center;
      margin: 0 0 40px;
}

.cross-image {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  overflow: hidden;
}

.cross-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cross-image.bottom {
  clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}

.cross-catch {
  writing-mode: vertical-rl;
  text-align: right;
  margin: 10px;
  font-size: 18px;
  font-weight: bold;
}

.festival-about {
  text-align: center;
  padding: 40px 20px;
}

.more-link {
  color: #00004a;
  text-decoration: none;
}
.news-section {
  padding: 60px 20px;
  text-align: center;
}

.news-title {
    font-size: 27px;
    font-weight: bold;
    letter-spacing: 0.2rem;
}

.news-title span {
  color: #00004a;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  background: #f2f2f2;
  margin-bottom: 20px;
}

.news-item img {
  width: 100%;
  max-width: 40%;
  height: auto;
  object-fit: cover;
}
.news-content {
  flex: 1;
  padding: 20px;
  text-align: left;
}

.news-content h3 {
  font-weight: bold;
  font-size: 18px;
  margin: 0 0 10px;
}

.news-content p {
  font-size: 14px;
  margin: 0 0 10px;
}

.news-date {
  display: block;
  text-align: right;
  font-size: 12px;
  color: #555;
}

.news-more {
  margin-top: 30px;
}

.news-more a {
  color: #00004a;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #00004a;
  padding-bottom: 3px;
  transition: 0.3s;
}

.news-more a:hover {
  opacity: 0.7;
}

.event-slider-section {
  text-align: center;
  padding: 40px 0;
}
.event-slider-section h2 span {
  color: #00004a;
  letter-spacing: 0.2em;
}
p {
    line-height: 190%;
    text-align: justify;
}

.swiper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-slide-content {
  position: relative;
}
.event-slide-content img {
  width: 100%;
  height: auto;
}
.event-label {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 20px;
  font-size: 1rem;
  color: #00004a;
  border-radius: 6px;
}

/* ナビゲーションボタン */
.swiper-button-next,
.swiper-button-prev {
  color: #2f2f2f;
}

/* ドット */
.swiper-pagination-bullets .swiper-pagination-bullet {
  background: none;
  border: 2px solid #00004a;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #00004a;
}
.swiper {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
footer.site-footer {
  background-color: #00004a;
background-image: url('https://test.kunisakiart.jp/wp-content/themes/kunisaki_art/assets/img/footer.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
      padding: 30px 40px;
}
.main-wrapper {
  background: #fff;
}
/* PC（768px以上）だけ画像を表示・固定 */
@media screen and (min-width: 768px) {
body {
  background-image:
    url('https://test.kunisakiart.jp/wp-content/themes/kunisaki_art/assets/img/pc_up.jpg?v1'),
    url('https://test.kunisakiart.jp/wp-content/themes/kunisaki_art/assets/img/pc_down.jpg?v1');
  background-repeat: no-repeat, no-repeat;
  background-position: top center, bottom center;
  background-size: contain, contain;
  background-attachment: scroll, scroll; /* ← スクロールに追従（初期値） */
  background-color: #fbf5e7; /* 必要に応じて中央部の背景色を設定 */
  min-height: 200vh; /* ページが短いと下画像が見えないので調整 */
}


  .main-wrapper {
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
  }
}


/* スマホ時は余白なくす＆背景画像非表示 */
@media screen and (max-width: 767px) {
  body::before {
    display: none;
  }
  .main-wrapper {
    padding-left: 0;
  }
}

.main-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* アイテム間のスペース */
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
  text-align: center;
}

.main-nav li:not(:last-child)::after {
    content: "/";
    position: absolute;
    right: -25px;
    top: 39%;
    transform: translateY(-50%);
    color: #00004a;
    font-size: 45px;
    font-weight: 100;
}

.main-nav a span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-top: 4px;
}
.bannerSwiper {
    width: 70%;
    margin: 60px auto;
}
.swiper-button-prev,
.swiper-button-next {
  width: 40px;     /* お好みのサイズ */
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev {
  left: 10px;
  background-image: url('https://test.kunisakiart.jp/wp-content/themes/kunisaki_art/assets/img/arrow_left.png');
}

.swiper-button-next {
  right: 10px;
  background-image: url('https://test.kunisakiart.jp/wp-content/themes/kunisaki_art/assets/img/arrow_right.png');
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}
.--white{color: #fff !important;}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #00004a;
  color: #fff !important;
  font-size: 20px;
  line-height: 50px;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
main#primary {
    padding: 30px;
}
h2.wp-block-heading {
  padding: 1rem 2rem;
  border-bottom: 3px solid #00004a;
  background: #f4f4f4;
  font-size: 18px;
}
h1.entry-title {
    font-size: 27px;
    font-weight: bold;
    color: #00004a;
}
h3.wp-block-heading {
      padding: 0 20px;
  border-left: 6px double #00004a;
}
.entry-content p{margin-bottom: 60px;}

ol {
    counter-reset: number;
    list-style-type: none !important;
    padding: 20px;
    background: #fbf5e7;
    border-radius: 10px;
    margin: 0;
}
ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}

ol li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display:inline-block;
  background: #00004a;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: -5px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 22px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 51%) !important;
}
footer p {
    margin: 5px 0;
}
.footer-tel,.footer-ad{
    font-size: 24px;
}
.footer-tel a,.footer-ad a{color: #fff;
text-decoration: none;
font-weight: bold;}
.copy p {
    font-size: 12px;
    text-align: center;
}
footer span {
    font-size: 16px;
}
/**投稿記事**/
.bl_category {
  max-width: 75rem;
  margin: 3rem auto;
  padding: 30px;
  border: solid 3px #e2e2e2;
}
.bl_category-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}
.bl_category-title a {
  color: #000;
  text-decoration: none;
}
.bl_category-date {
  font-size: 14px;
}
ul.wp-block-list {
    margin: 0;
    padding: 20px 0 30px 30px;
}
img {
  display: block;
  border-right: 0;
  box-sizing: border-box;
  margin-right: 0;
}