@charset "UTF-8";

/********** base **********/
/* ========================================
    初期設定
    ======================================== */
/* variables */
:root {
  --color-primary: #054F98;
  --color-secondary: #eee;
  --white: #FFF;
  --black: #333;
  --gray-light: #A0A0A0;
  --gray: #727272:
}

:root {
  --font-primary: "Zen Kaku Gothic Antique", "serif";
}



html {
  scroll-padding-top: 80px;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 50px;
  }
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  color: var(--color-primary);
  background-color: var(--color-secondary);
  font-weight: 400;
  line-height: 1.5;
  font-size: 15px;
  padding-top: 80px;
}

@media (max-width: 768px) {
  body {
    padding-top: 50px;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 50px;
  }
}

body.no-header {
  padding-top: 0;
}

.section-ttl {
  font-size: clamp(20px, 2.5vw, 32px);
}

.section-ttl span {
  font-family: var(--font-secondary);
  font-size: clamp(12px, 2.5vw, 16px);
}


/* ========================================
    コンテナ幅
    ======================================== */

.container-sm {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(800px + 32px);
}

.container-md {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(940px + 32px);
}

.container {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1000px + 32px);
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(1200px + 32px);
}

.container-xl {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
  max-width: calc(85vw + 32px);
}

@media screen and (max-width: 1200px) {
  .container-xl {
    max-width: calc(90vw + 32px);
  }
}

@media screen and (max-width: 600px) {
  .container-xl {
    max-width: calc(100% + 32px);
  }
}


/* ========================================
    共通
    ======================================== */

.m-grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .m-grid-4-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .m-grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
}


.m-grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .m-grid-3-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .m-grid-3-col {
    grid-template-columns: repeat(1, 1fr);
  }
}

.m-grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .m-grid-2-col {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ========================================
    ヘッダー
    ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #eee;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    height: 80px;
    margin: 0 auto;
}

@media (max-width: 1080px) {
    .header__inner {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .header__inner {
        padding: 0 20px;
        height: 50px;
    }
}

@media (max-width: 600px) {
    .header__inner {
        height: 50px;
    }
}

.header__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

@media (max-width: 768px) {
    .header__left {
        gap: 14px;
    }
}

.header__logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.header__logo-link:hover {
    opacity: 0.8;
}

.header__logo-link img {
    height: 48px;
    width: auto;
}

@media (max-width: 768px) {
    .header__logo-link img {
        height: 40px;
    }
}

.br-990 {
    display: none;
}

@media (max-width: 990px) {
    .br-990 {
        display: block;
    }
}

.header__site-name {
    font-size: clamp(22px, 2.3vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .header__site-name {
        font-size: clamp(14px, 3.7vw, 22px);
    }
}

@media (max-width: 768px) {
    .header__site-name {
        font-size: 14px;
        font-weight: 700;
        line-height: 17px;
        white-space: normal;
    }
}

.header__right {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-shrink: 0;
    margin-left: 24px;
}

@media (max-width: 768px) {
    .header__right {
        gap: 12px;
        margin-left: 16px;
    }
}

.header__sns {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .header__sns {
        gap: 8px;
    }
}

.header__sns-link {
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.header__sns-link:hover {
    opacity: 0.6;
}

.header__sns-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header__sns-link img {
        width: 12px;
        height: 12px;
    }
}

.header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 11px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 768px) {
    .header__hamburger {
        gap: 3px;
        width: 14px;
        height: 14px;
    }
}

.header__hamburger-bar {
    display: block;
    width: 32px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .header__hamburger-bar {
        width: 14px;
    }
}

body.is-drawer-open .header {
    z-index: 300;
}

.header__hamburger[aria-expanded="true"] .header__hamburger-bar:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.header__hamburger[aria-expanded="true"] .header__hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header__hamburger[aria-expanded="true"] .header__hamburger-bar:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

@media (max-width: 768px) {
    .header__hamburger[aria-expanded="true"] .header__hamburger-bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    .header__hamburger[aria-expanded="true"] .header__hamburger-bar:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* ========================================
    フッター
    ======================================== */
.footer {
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    background: var(--color-secondary);
}

@media (max-width: 600px) {
    .footer {
        padding-top: 80px;
    }
}


.footer__decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.footer__decor--tr {
    top: 120px;
    right: max(-12%, -164px);
    width: 30%;
    max-width: 418px;
}

@media (max-width: 600px) {
    .footer__decor--tr {
        width: 40%;
        right: -15%;
        top: 18px;
    }
}

.footer__decor--cl {
    top: 50%;
    left: max(-6%, -82px);
    transform: translateY(-50%);
    width: 240px;
}

@media (max-width: 600px) {
    .footer__decor--cl {
        width: 160px;
        left: -40px;
    }
}

.footer__inner {
    position: relative;
    z-index: 1;
}

.footer__partner {
    text-align: center;
    padding: 0;
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
}

.footer__partner::after {
    content: '';
    display: block;
    width: 600px;
    max-width: 100%;
    height: 1px;
    background: var(--color-primary);
    margin: 40px auto 0;
}

@media (max-width: 768px) {
    .footer__partner {
        width: 64vw;
        padding-bottom: 0;
    }
}

.footer__partner-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 32px;
}

@media (max-width: 600px) {
    .footer__partner-label {
        margin-bottom: 40px;
    }
}

.footer__partner-line {
    flex: 1;
    height: 1px;
    background: var(--color-primary);
}

.footer__partner-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.footer__partner-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

@media (max-width: 600px) {
    .footer__partner-logos {
        gap: 24px;
    }
}

.footer__partner-link {
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.footer__partner-link:hover {
    opacity: 0.7;
}

.footer__partner-link img {
    height: 48px;
    width: auto;
}

@media (max-width: 768px) {
    .footer__partner-link img {
        height: 5.07vw;
    }
}

.footer__chakra {
    display: flex;
    justify-content: center;
    padding: 48px 0 52px;
}

@media (max-width: 600px) {
    .footer__chakra {
        padding: 40px 0 24px;
    }
}

.footer__chakra img {
    width: 240px;
    height: auto;
}

@media (max-width: 768px) {
    .footer__chakra img {
        width: 32%;
    }
}

.footer__meta {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "nav   right"
        "nav   copyright";
    align-items: start;
    padding: 0;
}

@media (max-width: 768px) {
    .footer__meta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 0 0 40px;
    }
}

.footer__nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 768px) {
    .footer__nav {
        align-items: center;
    }
}

.footer__nav-list {
    display: flex;
    align-items: center;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer__nav-list:first-child {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

.footer__nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    transition: 0.3s;
}

.footer__nav-list:last-child .footer__nav-link {
    opacity: 0.5;
}

.footer__nav-link:hover {
    opacity: 0.6;
}

.footer__right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

@media (max-width: 768px) {
    .footer__right {
        align-items: center;
        order: -1;
    }
}

.footer__sns {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .footer__sns {
        margin-bottom: 8px;
    }
}

.footer__sns-link {
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.footer__sns-link:hover {
    opacity: 0.6;
}

.footer__sns-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer__copyright {
    grid-area: copyright;
    font-size: 14px;
    color: #727272;
    letter-spacing: 0.05em;
    text-align: right;
    align-self: end;
}

@media (max-width: 768px) {
    .footer__copyright {
        text-align: center;
        align-self: center;
        order: 1;
    }
}

.footer__bottom {
    position: relative;
    z-index: 1;
    margin-top: 8px;
    padding-top: 48px;
}

@media (max-width: 768px) {
    .footer__bottom {
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    .home .footer__bottom {
        margin-top: -21.33vw;
    }
}


.footer__bottom img {
    width: 100vw;
    height: auto;
    display: block;
}

.footer__bottom .footer__bottom-logo--sub {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ========================================
    メインビジュアル
    ======================================== */
.fv {
    width: 100%;
    line-height: 0;
}

.fv img {
    width: 100%;
    height: auto;
    display: block;
}

.fv-slider {
    overflow: hidden;
}

.fv-slider .splide__slide {
    width: 380px !important;
    height: 240px;
}

@media (max-width: 768px) {
    .fv-slider .splide__slide {
        width: 190px !important;
        height: 120px !important;
    }
}

.fv-slider .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fv-slider__link {
    display: block;
    line-height: 0;
    transition: 0.3s;
}

.fv-slider__link:hover {
    opacity: 0.8;
}

/* ========================================
    ナビゲーションドロワー
    ======================================== */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: #eee;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow-y: auto;
}

.drawer.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    height: 80px;
    flex-shrink: 0;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1080px) {
  .drawer__header {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
    .drawer__header {
        padding: 0 20px;
        height: 50px;
    }
}

@media (max-width: 600px) {
    .drawer__header {
        height: 50px;
    }
}

.drawer__header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.drawer__logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.drawer__logo-link:hover {
    opacity: 0.8;
}

.drawer__logo-link img {
    height: 48px;
    width: auto;
}

@media (max-width: 768px) {
    .drawer__logo-link img {
        height: 40px;
    }
}

@media (max-width: 600px) {
    .drawer__logo-link img {
        height: 32px;
    }
}

.drawer__site-name {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .drawer__site-name {
        font-size: 22px;
        font-weight: 700;
    }
}

@media (max-width: 768px) {
    .drawer__site-name {
        font-size: 15px;
        font-weight: 700;
        white-space: normal;
    }
}


.drawer__body {
    display: flex;
    align-items: flex-start;
    flex: 1;
    padding: 0;
    gap: 40px;
}

@media (max-width: 1080px) {
    .drawer__body {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .drawer__body {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .drawer__body {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
    }
}

.drawer__nav-area {
    flex: 1;
    padding-left: 80px;
    padding-top: 80px;
    padding-bottom: 110px;
}

@media (max-width: 1080px) {
    .drawer__nav-area {
        padding-left: 40px;
    }
}

@media (max-width: 768px) {
    .drawer__nav-area {
        padding-left: 20px;
    }
}

@media (max-width: 600px) {
    .drawer__nav-area {
        width: 100%;
    }
}

.drawer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (max-width: 768px) {
    .drawer__nav {
        gap: 32px;
    }
}

.drawer__nav-link {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.25em;
    padding: 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .drawer__nav-link {
        font-size: 20px;
        font-weight: 700;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .drawer__nav-link {
        font-size: 18px;
        font-weight: 700;
        padding: 0;
        letter-spacing: 0.1em;
    }
}

.drawer__nav-link:hover {
    opacity: 0.6;
}

.drawer__sns {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
}

@media (max-width: 600px) {
    .drawer__sns {
        margin-top: 32px;
    }
}

.drawer__sns-link {
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.drawer__sns-link:hover {
    opacity: 0.6;
}

.drawer__sns-link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .drawer__sns-link img {
        width: 24px;
        height: 24px;
    }
}

.drawer__logo-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer__logo-area img {
    position: absolute;
    right: 80px;
    bottom: 80px;
    width: 32vw;
    max-width: 440px;
    height: auto;
}

@media (max-width: 1080px) {
    .drawer__logo-area img {
        right: 40px;
    }
}

@media (max-width: 768px) {
    .drawer__logo-area {
        position: static;
        flex: none;
        width: 0;
        height: 0;
        overflow: visible;
    }

    .drawer__logo-area img {
        width: 35%;
        bottom: 40px;
        right: 20px;
    }
}

body.is-drawer-open {
    overflow: hidden;
}
/* ========================================
    投稿一覧ページ（home.php）
    ======================================== */

.news-archive {
    position: relative;
    padding: 24px 0 120px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .news-archive {
        padding: 0 0 80px;
    }
}

.news-archive__decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.news-archive__decor--br {
    bottom: 95px;
    right: 1%;
    width: 20%;
    max-width: 240px;
}

@media (max-width: 768px) {
    .news-archive__decor--br {
        width: 25vw;
        right: 7px;
        bottom: 40px;
    }
}

.news-archive > .container-sm {
    position: relative;
    z-index: 1;
}

/* 2カラムレイアウト */
.news-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .news-body {
        flex-direction: column;
        gap: 34px;
    }
}

/* 左：見出しサイドバー */
.news-head {
    flex-shrink: 0;
    position: relative;
    width: 34%;
}

@media (max-width: 768px) {
    .news-head {
        width: 100%;
        display: flex;
        align-items: flex-end;
    }
}

.single .news-head {
  border-bottom: 1px dashed var(--color-primary);
}

@media (max-width: 768px) {
  .single .news-head {
    justify-content: center;
    padding: 0 20px 20px 20px;
  }
}

.news-head__decor {
    position: absolute;
    top: -3.5vw;
    left: -6.4vw;
    width: 10vw;
    max-width: 136px;
    pointer-events: none;
}

@media (max-width: 768px) {
  .news-head__decor {
    top: -5.8vw;
    left: 0;
    width: 20vw;
  }
}

@media (max-width: 600px) {
  .news-head__decor {
    top: calc(-11px - 5.8vw);
  }
}

.news-head__decor img {
    width: 100%;
    height: auto;
    display: block;
}

.news-head__label {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .news-head__label {
        margin-bottom: 4px;
        font-size: 14px;
    }
}

.news-head__ttl {
    font-size: clamp(24px, 2.196vw, 30px);
    font-weight: 700;
    color: #333;
    letter-spacing: 0.11em;
    line-height: 1.4;
    padding: 0;
}

/* 右：記事コンテンツ */
.news-content {
    width: 56%;
    min-width: 0;
}

@media (max-width: 768px) {
    .news-content {
        width: 100%;
    }
}

/* 投稿リスト */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.news-item {
    border-bottom: 1px dashed #054F98;
}

.news-item:first-child {
    border-top: 1px dashed #054F98;
}

.news-item__link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .news-item__link {
        gap: 16px;;
    }
}

.news-item__link:hover {
    opacity: 0.7;
}

.news-item__body {
    flex: 1;
    min-width: 0;
}

.news-item__date {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.11em;
    margin-bottom: 4px;
}

.news-item__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.45;
    letter-spacing: 0.11em;
}

.news-item__arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.news-item__arrow img {
    width: 16px;
    height: 16px;
    display: block;
}

/* 空状態 */
.news-empty {
    padding: 48px 0;
    font-size: 15px;
    color: var(--black);
    letter-spacing: 0.05em;
}

/* ページネーション */
.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    gap: 15px;
}

@media (max-width: 600px) {
    .news-pagination {
        margin-top: 40px;
    }
}

.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-pagination a.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
    text-decoration: none;
    transition: 0.3s;
}

.news-pagination a.page-numbers:hover {
    background: var(--color-primary);
    color: var(--white);
}

.news-pagination span.current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.news-pagination .prev.page-numbers,
.news-pagination .next.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
    background: none;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    transition: 0.3s;
}

.news-pagination .prev.page-numbers:hover,
.news-pagination .next.page-numbers:hover {
    background: var(--color-primary);
    color: var(--white);
}

.news-pagination .prev.page-numbers::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: url('../img/common/arrow-blue.webp') center / contain no-repeat;
    transform: translate(-50%, -50%) scaleX(-1);
}

.news-pagination .next.page-numbers::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: url('../img/common/arrow-blue.webp') center / contain no-repeat;
    transform: translate(-50%, -50%);
}

.news-pagination .prev.page-numbers::before,
.news-pagination .next.page-numbers::before {
    display: none;
}

@media (max-width: 600px) {
  .news-pagination a.page-numbers,
  .news-pagination span.current,
  .news-pagination .prev.page-numbers,
  .news-pagination .next.page-numbers {
    width: 32px;
    height: 32px;
  }
}

.news-pagination .prev.page-numbers:hover::after {
    filter: brightness(0) invert(1);
    transform: translate(-50%, -50%) scaleX(-1);
}

.news-pagination .next.page-numbers:hover::after {
    filter: brightness(0) invert(1);
}

/* ========================================
    お知らせ詳細ページ
    ======================================== */
.news-single__thumb {
    margin-bottom: 48px;
}

@media (max-width: 600px) {
  .news-single__thumb {
    margin-bottom: 24px;
  }
}

.news-single__thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.news-single__sep {
    height: 1px;
    margin-top: 20px;
    background: repeating-linear-gradient(
        to right,
        var(--color-primary) 0,
        var(--color-primary) 4px,
        transparent 4px,
        transparent 10px
    );
}

@media (max-width: 600px) {
    .news-single__sep {
        margin-top: 16px;
    }
}

/* ========================================
    投稿詳細ページ
    ======================================== */
.m-post-main img {
  object-fit: contain;
  width: auto;
  height: auto;
  margin-bottom: 20px;
}

.m-post-main p {
  margin-bottom: 20px;
  line-height: 2;
  color: #333;
}

@media (max-width: 600px) {
  .m-post-main p {
    font-size: 14px;
    margin-bottom: 0;
  }
}

.m-post-main a {
  display: inline-block;
  margin-bottom: 20px;
  color: #00AFED;
  text-decoration: underline;
}

.m-post-main h1 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .m-post-main h1 {
    font-size: 24px;
  }
}

.m-post-main h2 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 16px;
}

.m-post-main h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

@media screen and (max-width: 1080px) {
  .m-post-main h3 {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .m-post-main h3 {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .wp-block-heading {
    margin-bottom: 12px;
  }
}


/* ========================================
    トップページ
    ========================================
*/

/* about */
.about {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

@media (max-width: 600px) {
    .about {
        padding: 80px 0;
    }
}

.about__decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.about__decor--l {
    top: 112px;
    left: max(-19%, -260px);
    width: 36%;
}

@media (max-width: 600px) {
    .about__decor--l {
        display: none;
    }
}

.about__decor--r {
    top: 80px;
    right: 3%;
    width: 15%;
}

@media (max-width: 600px) {
    .about__decor--r {
        display: none;
    }
}

.about__line-sp {
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .about__line-sp {
        display: block;
        width: 17%;
    }
}

.about__line-sp img {
    width: 100%;
    height: auto;
    display: block;
}

.section__ttl {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    line-height: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section__ttl-black {
    color: var(--black);
}

@media (max-width: 768px) {
    .section__ttl {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .section__ttl {
        font-size: 24px;
    }
}

.about__ttl {
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .about__ttl {
        margin-bottom: 48px;
    }
}

@media (max-width: 600px) {
    .about__ttl {
        margin-bottom: 40px;
    }
}

.about__body {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    justify-content: space-between;
    width: 95%;
}

@media (max-width: 768px) {
    .about__body {
        flex-direction: column;
        gap: 48px;
        width: 100%;
    }
}

.about__cards {
    flex-shrink: 0;
    width: 340px;
    margin-left: 7%;
}

@media (max-width: 768px) {
    .about__cards {
        width: 280px;
    }
}

@media (max-width: 600px) {
    .about__cards {
        width: 100%;
        max-width: 60%;
        margin: 0 auto;
    }
}

.about__cards img {
    width: 100%;
    height: auto;
}

.about__text {
    width: 43%;
}

@media (max-width: 768px) {
    .about__text {
        width: 100%;
    }
}

.about__desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 2.4;
    letter-spacing: 0.15em;
    color: var(--black);
}


@media (max-width: 600px) {
    .about__desc {
        font-size: 14px;
    }
}

.about__ttl {}

/* jbf */
.jbf {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--color-primary);
}

@media (max-width: 600px) {
    .jbf {
        padding: 80px 0;
    }
}

.jbf__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.jbf__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jbf__chakra {
    position: absolute;
    top: -56px;
    left: 50%;
    transform: translateX(calc(-100% + 24px));
    width: 575px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .jbf__chakra {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }
}

.jbf__chakra img {
    width: 100%;
    height: auto;
}

.jbf__inner {
    position: relative;
    z-index: 2;
}

.jbf__ttl {
    color: var(--color-secondary);
    margin-bottom: 100px;
}

@media (max-width: 600px) {
    .jbf__ttl {
        margin-bottom: 40px;
    }
}

.jbf__body {
    text-align: center;
}

.jbf__desc {
    font-size: 16px;
    font-weight: 700;
    line-height: 2.4;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 40px;
}

@media (max-width: 600px) {
    .jbf__desc {
        font-size: 14px;
    }
}

.jbf__link-label {
    font-size: 16px;
    font-weight: 700;
    line-height: 2.4;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .jbf__link-label {
        font-size: 12px;
    }
}

.jbf__link {
    font-size: 14px;
    color: var(--white);
    text-decoration: underline;
    transition: 0.3s;
}

.jbf__link:hover {
    opacity: 0.7;
}

/* period */
.period {
    position: relative;
    background: var(--color-primary);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.period__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.period__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.period__inner {
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .period {
        padding: 56px 0;
    }
}

.period__ttl {
    color: var(--color-secondary);
    margin-bottom: 100px;
}

.period__date {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    letter-spacing: 0.2em;
    margin-bottom: 0;
}

.period__date-num {
    font-size: 64px;
}

.period__date::after {
    content: '';
    display: block;
    width: 824px;
    max-width: 100%;
    height: 2px;
    background: #EEE;
    margin: 16px auto;
}

@media (max-width: 768px) {
    .period__date {
        font-size: clamp(20px, 4vw, 40px);
    }

    .period__date-num {
        font-size: clamp(32px, 6vw, 64px);
    }
}

.period__note {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.45;
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .period__note {
        text-align: center;
        font-size: 14px;
    }
}

/* anniv */
.anniv {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: var(--white);
}

@media (max-width: 600px) {
    .anniv {
        padding: 80px 0;
    }
}

.anniv__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 14%;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .anniv__line {
        display: none;
    }
}

.anniv__decor {
    position: absolute;
    top: 48px;
    left: max(-4%, -55px);
    width: 12%;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 768px) {
    .anniv__decor {
        width: 31%;
        left: -14%;
        top: 21px;
    }
}

.anniv__inner {
    position: relative;
    z-index: 1;
}

.anniv__ttl {
    margin-bottom: 100px;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .anniv__ttl {
        margin-bottom: 48px;
    }
}

@media (max-width: 600px) {
    .anniv__ttl {
        margin-bottom: 40px;
    }
}

.anniv__body {
    display: flex;
    align-items: center;
    gap: 102px;
}

@media (max-width: 768px) {
    .anniv__body {
        flex-direction: column-reverse;
        gap: 40px;
    }
}

.anniv__image {
    flex-shrink: 0;
    width: 400px;
}

@media (max-width: 768px) {
    .anniv__image {
        width: 280px;
    }
}

@media (max-width: 600px) {
    .anniv__image {
        width: 100%;
        max-width: 60%;
        margin: 0 auto;
    }
}

.anniv__image img {
    width: 100%;
    height: auto;
}

.anniv__text {
    flex: 1;
}

.anniv__desc {
    font-size: 16px;
    font-weight: 500;
    line-height: 2.4;
    letter-spacing: 0.14em;
    color: var(--black);
}

@media (max-width: 600px) {
    .anniv__desc {
        font-size: 14px;
    }
}

/* ========================================
    下層ページ
    ======================================== */
/* ========================================
    プライバシーポリシー
    ======================================== */
.policy {
  padding-top: 100px;
  padding-bottom: 100px;
}

.policy__title {
  font-size: 24px;
  margin-bottom: 40px;
}

.policy__content {
  line-height: 1.75;
}

.policy__content .wp-block-heading {
  font-size: 20px;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  .policy__content .wp-block-heading {
    font-size: 18px;
  }
}

.policy__content .wp-block-spacer {
  height: 40px !important;
}

.policy__content .wp-block-list {
  padding: 20px 0;
  list-style: disc;
  margin-left: 1em;
}

.policy__content p,
.policy__content a,
.policy__content li {
  margin-top: 1em;
}

/* ========================================
    お問い合わせ
    ======================================== */
.contact {
  padding: 40px 0 120px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .contact {
    padding: 80px 0;
  }
}

.contact__decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.contact__decor--bl {
    bottom: 202px;
    left: max(-8%, -109px);
    width: 22%;
    max-width: 294px;
}

@media (max-width: 600px) {
  .contact__decor--bl {
    bottom: 0;
    left: -15%;
    width: 40%;
  }
}

.contact__decor--center {
    left: 23%;
    top: 50%;
    width: 14%;
    max-width: 192px;
}

@media (max-width: 600px) {
  .contact__decor--center {
    top: 386px;
    left: auto;
    right: -9%;
    width: 40%;
  }
}

.contact__decor--tr {
    top: 0;
    right: max(-4%, -55px);
    width: 11%;
    max-width: 148px;
}

@media (max-width: 600px) {
  .contact__decor--tr {
    top: 47px;
    right: -16%;
    width: 40%;
  }
}

.contact__body {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .contact__body {
    flex-direction: column;
    gap: 64px;
  }
}

.contact__left {
  flex: 0 0 360px;
  margin-top: 82px;
}

@media (max-width: 768px) {
  .contact__left {
    flex: none;
    width: 100%;
    margin-top: 0;
  }
}

.contact__ttl {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 24px;
}

.contact__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .contact__desc {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

.contact__subtitle {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--black);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed #333;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact__list-item {
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--black);
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .contact__list-item {
    font-size: 14px;
  }
}

.contact__list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.contact__right {
  flex: 1;
  min-width: 0;
}

.contact__form-card {
  border: 1px solid var(--color-primary);
  padding: 40px;
}

@media (max-width: 600px) {
  .contact__form-card {
    padding: 24px 16px;
  }
}

/* tableContact */
.tableContact {
  width: 100%;
  display: block;
}

.tableContact tbody {
  display: block;
  width: 100%;
}

.tableContact tr {
  display: block;
  margin-bottom: 20px;
}

.tableContact th {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--black);
  text-align: left;
  padding: 0 0 6px 0;
}

.tableContact td {
  display: block;
}

.tableContact td .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.tableContact td input[type="text"],
.tableContact td input[type="email"],
.tableContact td input[type="tel"],
.tableContact td select,
.tableContact td textarea {
  width: 100%;
  padding: 10px 24px;
  border: 1px solid #E3E3E3;
  background: #FCFCFC;
  border-radius: 0;
  font-size: 16px;
  font-family: var(--font-primary);
  color: var(--black);
}

.tableContact td select {
  cursor: pointer;
  appearance: auto;
}

.tableContact td input::placeholder,
.tableContact td textarea::placeholder {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #C2C2C2;
}

.tableContact td textarea {
  height: 160px;
  resize: vertical;
}

em.optional {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #C94C36;
  letter-spacing: 0.05em;
  padding: 0 5px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

em.no-require {
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #C2C2C2;
  letter-spacing: 0.05em;
  padding: 0 5px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

.agreement-checkbox {
  margin-top: 32px;
  text-align: left;
  font-size: 14px;
  color: var(--black);
}

@media (max-width: 600px) {
  .agreement-checkbox {
    margin-top: 16px;
  }
}

.agreement-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.agreement-checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid #C2C2C2;
  border-radius: 0;
  background: #fff;
}

.agreement-checkbox input[type="checkbox"]:checked {
  border-color: #C2C2C2;
  background: #fff;
}

.agreement-checkbox input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg) translate(2px, -2px);
  margin: auto;
}

.agreement-checkbox .wpcf7-list-item {
  display: inline;
  margin: 0;
}

.agreement-checkbox a {
  color: var(--black);
  border-bottom: 1px solid var(--black);
  text-decoration: none;
  transition: 0.3s;
  position: relative;
}

.agreement-checkbox a::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 100%;
  margin-left: 2px;
  width: 8px;
  height: 8px;
  background: url('../img/common/icon-link.webp') no-repeat center / contain;
}

.agreement-checkbox a:hover {
  opacity: 0.6;
}

.btn-submit {
  margin-top: 8px;
}

.form-unit {
  width: 100%;
  margin-bottom: 2em;
}

.form-unit__head {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

.m-required::after {
  content: "必須";
  color: #fff;
  background: #D32F2F;
  font-size: 10px;
  font-weight: 700;
  margin-left: 6px;
  border-radius: 2px;
  padding: 0 5px;
}

.m-optional::after {
  content: "任意";
  color: #666;
  background: #ddd;
  font-size: 10px;
  font-weight: 500;
  margin-left: 6px;
  border-radius: 2px;
  padding: 0 5px;
}

.form-unit__input,
.form-unit__input-wrap {
  width: 100%;
  height: auto;
  padding: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 16px;
}

.form-unit__textarea,
.form-unit__textarea-wrap {
  width: 100%;
  padding: 8px;
  height: 210px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 16px;
}

.form-unit__radio {
  margin-top: 20px;
}

.form-unit__date {
  width: 40%;
  height: 70px;
  padding: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  border-radius: 4px;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .form-unit__date {
    width: 50%;
    height: 54px;
  }
}

.wpcf7-list-item {
  display: block;
  margin-left: 0;
  margin-right: 20px;
}

.wpcf7-submit {
  text-align: center;
  display: block;
  width: 100%;
  margin: 40px auto 0;
  padding: 20px;
  border-radius: 0;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: 0.3s;
}

.wpcf7-submit:hover {
  opacity: 0.8;
}

@media (max-width: 600px) {
  .wpcf7-submit {
    margin-top: 36px;
  }
}

.wpcf7-radio {
  -webkit-appearance: button !important;
  appearance: button !important;
  display: flex;
}

.wpcf7-radio input:hover,
.wpcf7-radio label:hover {
  cursor: pointer;
}

.wpcf7-response-output {
  border-color: transparent !important;
  text-align: center !important;
}

.cf7-char-counter {
  text-align: right;
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
}

/* パンくずリスト（シンプル） */
.breadcrumb {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 11%;
  padding: 16px 0;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 20px 0 0;
  }
}

@media (max-width: 600px) {
  .breadcrumb {
    font-size: 10px;
  }
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  transform: rotate(45deg);
}

.breadcrumb__link {
  color: rgba(51, 51, 51, 0.5);
  text-decoration: underline;
  transition: 0.3s;
}

.blog .breadcrumb__link,
.single .breadcrumb__link {
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: #000;
}

.breadcrumb__current {
  color: #333;
  word-break: break-all;
}

@media (max-width: 768px) {
  .breadcrumb__item:last-child {
    min-width: 0;
  }
}

input[type=radio] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid #555;
  position: relative;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(-2px);
}

input[type=radio]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #555;
  transform: translate(-50%, -50%);
}

.form-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #555;
  position: relative;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(-2px);
}

.form-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 25%;
  width: 5px;
  height: 10px;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  transform: rotate(45deg) translate(-50%, -50%);
}

.form-unit__policy-link {
  border-bottom: 1px solid #555;
}

@media screen and (max-width: 768px) {
  .form-unit__policy-link {
    font-size: 15px;
  }
}

.form-consent {
  margin-top: 80px;
  margin-bottom: 80px;
  text-align: center;
}

input.wpcf7-form-control.wpcf7-previous {
  display: block;
  margin: 0 auto;
}

/* ========================================
    ユーティリティ
    ======================================== */
.u-pc-only {
  display: block;
}

@media (max-width: 600px) {
  .u-pc-only {
    display: none;
  }
}

.u-sp-only {
  display: none;
}

@media (max-width: 600px) {
  .u-sp-only {
    display: block;
  }
}

/* ========================================
    スライドアップアニメーション
    ======================================== */
.js-slide-up {
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}

.js-slide-up.is-visible {
    opacity: 1;
    transform: translate(0, 0);
    transition: opacity .7s ease-in-out, transform 1.5s cubic-bezier(0.35, 0.34, 0.22, 0.99);
}

/* ========================================
    ユーティリティ
    ======================================== */
.u-pc-br {
  display: inline;
}

@media (max-width: 768px) {
  .u-pc-br {
    display: none;
  }
}

.u-sp-br {
  display: none;
}

@media (max-width: 768px) {
  .u-sp-br {
    display: block;
  }
}

.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

/* design */
.design {
    position: relative;
    padding: 120px 0;
    background: var(--color-secondary);
}

.design__line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.design__line img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
    .design {
        padding: 80px 0;
    }
}

.design__inner {
    position: relative;
    z-index: 1;
}

.design__ttl {
    margin-bottom: 16px;
}

.design__note {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.15em;
    width: 100%;
    margin-bottom: 100px;
    color: #727272;
}

@media (max-width: 768px) {
    .design__note {
        font-size: 14px;
        margin-bottom: 40px;
    }
}

.design__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 42px;
    margin-bottom: 120px;
}

@media (max-width: 1080px) {
    .design__grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin-bottom: 80px;
    }
}

.design__grid > .design__item {
    width: 207px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .design__grid > .design__item {
        width: 38.13vw;
    }
}

.design__surface {
    display: flex;
    flex-direction: column;
}

.design__surface-images {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex: 1;
}

@media (max-width: 768px) {
    .design__surface-images {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

.design__surface-images .design__item {
    width: 207px;
    flex-shrink: 0;
}

.design__surface-images .design__item:last-child {
    width: 286px;
}

@media (max-width: 768px) {
    .design__surface-images .design__item {
        width: 38.13vw;
        flex-shrink: 0;
    }

    .design__surface-images .design__item:last-child {
        width: 53.33vw;
    }
}

.design__item img {
    width: 100%;
    height: auto;
    display: block;
}

.design__caption {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.15em;
    text-align: center;
    margin-top: 16px;
    color: var(--black);
}


.design__accordion {
    border-top: 1px solid var(--color-primary);
}

.design__accordion-item {
    border-bottom: 1px solid var(--color-primary);
}

.design__accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 40px;
}

@media (max-width: 768px) {
    .design__accordion-trigger {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 16px;
        position: relative;
    }
}

.design__accordion-icon {
    width: 240px;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .design__accordion-icon {
        flex-basis: 100%;
        max-width: 64vw;
        margin: 0 auto;
    }
}

.design__accordion-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.design__accordion-label {
    flex: 1;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.15em;
}

@media (max-width: 768px) {
    .design__accordion-label {
        font-size: 20px;
        text-align: center;
        width: 100%;
        margin-bottom: 40px;
    }
}

.design__accordion-btn {
    width: 28px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .design__accordion-btn {
        position: absolute;
        right: 0;
        bottom: 45px;
        width: 18px;
        height: 18px;
    }
}

.design__accordion-btn::before,
.design__accordion-btn::after {
    content: '';
    position: absolute;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.design__accordion-btn::before {
    width: 100%;
    height: 4px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.design__accordion-btn::after {
    width: 4px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .design__accordion-btn::before {
        height: 2px;
    }

    .design__accordion-btn::after {
        width: 2px;
    }
}

.design__accordion-item.is-open .design__accordion-btn::after {
    transform: translateX(-50%) scaleY(0);
    opacity: 0;
}

.design__accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.design__accordion-item.is-open .design__accordion-content {
    max-height: 2000px;
}

.design__accordion-body {
    padding-left: calc(240px + 40px);
    padding-bottom: 32px;
}

@media (max-width: 768px) {
    .design__accordion-body {
        padding-left: 0;
    }
}

.design__accordion-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 2.4;
    letter-spacing: 0.15em;
    color: var(--black);
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .design__accordion-text {
        font-size: 14px;
    }
}

.design__accordion-text:last-child {
    margin-bottom: 0;
}

.design__accordion-text--gap {
    margin-bottom: calc(16px + 1em);
}


/* ========================================
    works-cta
    ======================================== */

.works-cta {
    position: relative;
    background: var(--color-primary);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.works-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.works-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    .works-cta {
        padding: 80px 0;
    }
}

.works-cta .container {
    position: relative;
    z-index: 1;
}

.works-cta__ttl {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 120px;
}

@media (max-width: 768px) {
    .works-cta__ttl {
        font-size: 32px;
        margin-bottom: 80px;
    }
}

@media (max-width: 600px) {
    .works-cta__ttl {
        font-size: 24px;
        margin-bottom: 40px;
    }
}

.works-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 240px;
    color: var(--color-primary);
    background: var(--white);
    border: 2px solid var(--white);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.11em;
    transition: 0.3s;
}

.works-cta__btn-arrow {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
    vertical-align: middle;
    transition: filter 0.3s;
}

.works-cta__btn:hover {
    color: var(--white);
    background: var(--color-primary);
}

.works-cta__btn:hover .works-cta__btn-arrow {
    filter: brightness(0) invert(1);
}


/* ========================================
    top-news
    ======================================== */

.top-news {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

@media (max-width: 600px) {
    .top-news {
        padding: 80px 0 95px;
    }
}

.top-news__decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.top-news__decor img {
    width: 100%;
    height: auto;
    display: block;
}

.top-news__decor--tl {
    top: 57px;
    left: 7%;
    width: 36%;
    max-width: 136px;
}

.top-news__decor--br {
    bottom: 37px;
    right: 1%;
    width: 16%;
    max-width: 223px;
}

@media (max-width: 600px) {
    .top-news__decor--tl {
        width: 30.93vw;
        left: 30px;
        top: 22px;
    }

    .top-news__decor--br {
        bottom: 42px;
        right: 24px;
        width: 30.13vw;
    }
}

.top-news__line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20%;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 600px) {
    .top-news__line {
        width: 10%;
    }
}

.top-news__line img {
    width: 100%;
    height: auto;
    display: block;
}

.top-news__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

@media (max-width: 768px) {
    .top-news__inner {
        flex-direction: column;
        gap: 40px;
    }
}

.top-news__head {
    width: 240px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .top-news__head {
        width: 100%;
    }
}

.top-news .news-head__ttl {
    color: var(--black);
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
    text-align: left;
}

@media (max-width: 768px) {
    .top-news .news-head__ttl {
        font-size: clamp(28px, 5vw, 40px);
    }
}

@media (max-width: 600px) {
    .top-news .news-head__ttl {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

.top-news__content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .top-news__content {
        width: 100%;
    }
}

.top-news__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 214px;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.11em;
    transition: 0.3s;
}

.top-news__btn-arrow {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
    transition: filter 0.3s;
}

.top-news__btn:hover {
    background: var(--color-primary);
    color: var(--white);
}

.top-news__btn:hover .top-news__btn-arrow {
    filter: brightness(0) invert(1);
}


/* ========================================
    寺院一覧ページ
    ======================================== */

/* KV */
.jiin-kv {
    position: relative;
    padding: 40px 0 120px;
    background-color: var(--color-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .jiin-kv {
        padding: 20px 0 80px;
    }
}

@media (max-width: 600px) {
    .jiin-kv {
        padding: 20px 0 64px;
    }
}

.jiin-kv__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
    mix-blend-mode: hard-light;
}

.jiin-kv__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jiin-kv__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jiin-kv__inner .breadcrumb {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 61px;
}

@media (max-width: 768px) {
    .jiin-kv__inner .breadcrumb {
        margin-bottom: 45px;
    }
}

.jiin-kv__inner .breadcrumb__link,
.jiin-kv__inner .breadcrumb__current {
    color: var(--color-secondary);
}

.jiin-kv__inner .breadcrumb__item:not(:last-child)::after {
    border-color: var(--color-secondary);
}

.jiin-kv__ttl {
    font-size: clamp(32px, 4.685vw, 64px);
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    line-height: 1;
    text-align: center;
}

@media (max-width: 600px) {
    .jiin-kv__ttl {
        letter-spacing: 0.08em;
    }
}

/* メインエリア */
.jiin-main {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .jiin-main {
        padding: 80px 0;
    }
}

.jiin-main__decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.jiin-main__decor--tl {
    top: 40px;
    left: max(-13%, -178px);
    width: 30%;
    max-width: 418px;
}

@media (max-width: 600px) {
    .jiin-main__decor--tl {
        width: 45vw;
        left: -23vw;
        top: 17px;
    }
}

.jiin-main__decor--br {
    bottom: 95px;
    right: 2%;
    width: 19%;
    max-width: 262px;
}

@media (max-width: 600px) {
    .jiin-main__decor--br {
        bottom: 18px;
        width: 33%;
    }
}

.jiin-main__decor--tr {
    top: 270px;
    right: max(-8%, -109px);
    width: 18%;
    max-width: 248px;
}

@media (max-width: 600px) {
    .jiin-main__decor--tr {
        top: 520px;
        right: -11%;
        width: 32%;
    }
}

.jiin-main__decor--bl {
    bottom: 430px;
    left: max(-6%, -82px);
    width: 16%;
    max-width: 225px;
}

.jiin-main__decor--cr {
    top: 50%;
    right: max(-16%, -219px);
    width: 27%;
    max-width: 370px;
}

@media (max-width: 600px) {
  .jiin-main__decor--bl {
    bottom: 550px;
    left: -9.87vw;
    width: 24.27vw;
  }

  .jiin-main__decor--cr {
    top: 953px;
    right: -28.27vw;
    width: 46.67vw;
  }
}

/* 追加装飾（寺院が一定数以上のときだけ表示。値は 1366px 基準） */
.jiin-main__decor--cl {
    top: 781px;
    left: max(-5%, -66px);
    width: 16.5%;
    max-width: 225px;
}

.jiin-main__decor--bl2 {
    bottom: 1174px;
    left: max(-22%, -206px);
    width: 27%;
    max-width: 371px;
}

.jiin-main__decor--br2 {
    bottom: 567px;
    right: max(-11%, -150px);
    width: 27%;
    max-width: 371px;
}

/* SP(≤600px) では cl・bl2 を専用位置で表示（375px 基準を vw 換算） */
@media (max-width: 600px) {
    .jiin-main__decor--cl {
        top: 510px;
        left: -11.2vw;
        width: 29.87vw;
    }

    .jiin-main__decor--bl2 {
        left: -13.6vw;
        bottom: 994px;
        width: 30vw;
    }

    .jiin-main__decor--br2 {
        bottom: 820px;
        right: max(-11%, -150px);
        width: 27%;
        max-width: 371px;
    }
}

.jiin-main > .container {
    position: relative;
}

/* フィルター */
.jiin-filter {
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .jiin-filter {
        margin-bottom: 40px;
    }
}

.jiin-filter__ttl {
    font-size: clamp(22px, 2.196vw, 30px);
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.jiin-filter__note {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: var(--black);
    margin: 0 0 40px;
}

@media (max-width: 600px) {
  .jiin-filter__note {
    font-size: 10px;
  }
}

.jiin-filter__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary);
    flex-shrink: 0;
}

.jiin-filter__box {
    border: 1px solid var(--color-primary);
    background: var(--color-secondary);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (max-width: 600px) {
    .jiin-filter__box {
        padding: 16px;
        gap: 16px;
    }
}

.jiin-filter__row {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

@media (max-width: 600px) {
    .jiin-filter__row {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
}

.jiin-filter__label {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    min-width: 120px;
    line-height: 34px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .jiin-filter__label {
        line-height: 34px;
        width: 30%;
    }
}

.jiin-filter__cats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    padding-bottom: 2px;
}

.jiin-filter__cats--wrap {
    flex-wrap: wrap;
    overflow-x: visible;
}

@media (max-width: 600px) {
    .jiin-filter__cats {
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-x: visible;
    }
}

.jiin-filter__btn {
    min-width: 128px;
    height: 34px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-primary);
    letter-spacing: 0.05em;
    border: 1px solid var(--gray-light);
    background: var(--white);
    color: var(--gray-light);
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
}

@media (max-width: 600px) {
  .jiin-filter__btn {
    min-width: 0;
    width: 34vw;
  }
}

.jiin-filter__btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.jiin-filter__btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-secondary);
}

.jiin-filter__divider {
    height: 1px;
    background: var(--color-primary);
    opacity: 0.2;
    border: none;
    margin: -12px 0;
}

.jiin-filter__submit-wrap {
    display: flex;
    justify-content: center;
}

.jiin-filter__submit {
    min-width: 236px;
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.11em;
    border: 1px solid var(--color-primary);
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.jiin-filter__submit:hover {
    background: var(--color-primary);
    color: var(--white);
}

/* 寺院リスト */
.jiin-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.jiin-item {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.jiin-item + .jiin-item {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px dashed #CCC;
}

@media (max-width: 768px) {
  .jiin-item + .jiin-item {
    margin-top: 24px;
    padding-top: 24px;
  }
}

.jiin-item:last-child {
    margin-bottom: 48px;
}

@media (max-width: 768px) {
  .jiin-item:last-child {
    margin-bottom: 0;
  }
}

.jiin-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.jiin-item__name {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    letter-spacing: 0;
}

.jiin-item__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jiin-item__details a {
    color: var(--color-primary);
    text-decoration: underline;
}

.jiin-item__detail {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.jiin-item__tel-link,
.jiin-item__url-link {
    color: #000;
    text-decoration: underline;
    transition: 0.3s;
}

.jiin-item__tel-link:hover,
.jiin-item__url-link:hover {
    opacity: 0.6;
}

.jiin-item__map {
    width: 100%;
    aspect-ratio: 1000 / 280;
    position: relative;
    z-index: 1;
}

@media (max-width: 600px) {
    .jiin-item__map {
        aspect-ratio: 336 / 160;
    }
}

.jiin-item__map img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.jiin-item__map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: grayscale(100%);
}

/* ページネーション */
.jiin-pagination {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

@media (max-width: 768px) {
    .jiin-pagination {
        margin-top: 40px;
    }
}

.jiin-pagination .page-numbers {
    display: flex;
    gap: 15px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jiin-pagination .page-numbers li {
    display: flex;
    align-items: center;
}

.jiin-pagination a.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary);
    text-decoration: none;
    transition: 0.3s;
}

.jiin-pagination a.page-numbers:hover {
    background: var(--color-primary);
    color: var(--white);
}

.jiin-pagination span.current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    background: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.jiin-pagination__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    cursor: pointer;
    position: relative;
    color: var(--color-primary);
    transition: 0.3s;
}

.jiin-pagination__arrow:hover {
    background: var(--color-primary);
    color: var(--white);
}

.jiin-pagination .prev.page-numbers,
.jiin-pagination .next.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
    background: none;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    transition: 0.3s;
}

.jiin-pagination .prev.page-numbers:hover,
.jiin-pagination .next.page-numbers:hover {
    background: var(--color-primary);
    color: var(--white);
}

/* prev (←) */
.jiin-pagination .prev.page-numbers::after,
.jiin-pagination__arrow--prev::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: url('../img/common/arrow-blue.webp') center / contain no-repeat;
    transform: translate(-50%, -50%) scaleX(-1);
}

/* next (→) */
.jiin-pagination .next.page-numbers::after,
.jiin-pagination__arrow--next::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: url('../img/common/arrow-blue.webp') center / contain no-repeat;
    transform: translate(-50%, -50%);
}

.jiin-pagination .prev.page-numbers::before,
.jiin-pagination .next.page-numbers::before,
.jiin-pagination__arrow--prev::before,
.jiin-pagination__arrow--next::before {
    display: none;
}

@media (max-width: 600px) {
  .jiin-pagination a.page-numbers,
  .jiin-pagination span.current,
  .jiin-pagination .prev.page-numbers,
  .jiin-pagination .next.page-numbers {
    width: 32px;
    height: 32px;
  }
}

.jiin-pagination .prev.page-numbers:hover::after,
.jiin-pagination__arrow--prev:hover::after {
    filter: brightness(0) invert(1);
    transform: translate(-50%, -50%) scaleX(-1);
}

.jiin-pagination .next.page-numbers:hover::after,
.jiin-pagination__arrow--next:hover::after {
    filter: brightness(0) invert(1);
}

/* CTAセクション（お問い合わせ / ダウンロード） */
.jiin-cta {
    position: relative;
    background: var(--color-primary);
    overflow: hidden;
}

.jiin-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 1;
}

.jiin-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jiin-cta__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .jiin-cta__inner {
        grid-template-columns: 1fr;
    }
}

.jiin-cta__grid {
    display: contents;
}

.jiin-cta__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 120px 10%;
    position: relative;
}

.jiin-cta__col:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .jiin-cta__col {
        align-items: center;
        text-align: center;
        padding: 80px 24px;
    }

    .jiin-cta__col:first-child::after {
        top: auto;
        bottom: 0;
        right: 0;
        height: 1px;
        width: 100%;
    }
}

.jiin-cta__ttl {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .jiin-cta__ttl {
        font-size: 32px;
        margin-bottom: 16px;
    }
}

@media (max-width: 600px) {
    .jiin-cta__ttl {
        font-size: 24px;
    }
}

.jiin-cta__desc {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.45;
    letter-spacing: 0.15em;
    opacity: 0.85;
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .jiin-cta__desc {
        font-size: 14px;
        margin-bottom: 40px;
    }
}

.jiin-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 330px;
    height: 48px;
    padding: 0 24px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1.15;
    letter-spacing: 0.11em;
    color: var(--color-primary);
    border: 2px solid var(--white);
    background: var(--white);
    text-decoration: none;
    transition: 0.3s;
    justify-content: center;
}

.jiin-cta__btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    filter: none;
    transition: 0.3s;
}

.jiin-cta__btn:hover {
    background: transparent;
    color: var(--white);
}

.jiin-cta__btn:hover img {
    filter: brightness(0) invert(1);
}

.footer__line-sp {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 600px) {
    .footer__line-sp {
        display: block;
        width: 11%;
    }
}

.footer__line-sp img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
    送信完了ページ
    ======================================== */
.thanks {
  padding: 230px 0 120px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .thanks {
    padding: 120px 0;
  }
}

.thanks__decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.thanks__decor--tl {
  top: 134px;
  left: max(-3%, -41px);
  width: 20%;
  max-width: 276px;
}

@media (max-width: 600px) {
  .thanks__decor--tl {
    width: 27%;
    top: 52px;
  }
}

.thanks__decor--tr {
  top: 45px;
  right: 1%;
  width: 19%;
  max-width: 256px;
}

@media (max-width: 600px) {
  .thanks__decor--tr {
    width: 25%;
    right: -4%;
    top: 22px;
  }
}

.thanks__decor--bl {
  bottom: 133px;
  left: 8%;
  width: 12%;
  max-width: 170px;
  transform: rotate(180deg);
}

@media (max-width: 600px) {
    .thanks__decor--bl {
      width: 25%;
      left: -9%;
      bottom: 234px;
    }
  }

.thanks__decor--br {
  bottom: 24px;
  right: 0;
  width: 13%;
  max-width: 185px;
}

@media (max-width: 600px) {
  .thanks__decor--br {
    width: 21%;
    bottom: 49px;
  }
}

.thanks__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thanks__ttl {
  font-size: 40px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--black);
  width: auto;
}

@media (max-width: 600px) {
  .thanks__ttl {
    font-size: 20px;
  }
}

.thanks__message {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-top: 50px;
  margin-bottom: 80px;
}

@media (max-width: 600px) {
  .thanks__message {
    font-size: 14px;
    margin-top: 40px;
  }
}

.thanks__btn {
  display: inline-block;
  padding: 16px 64px;
  background: var(--color-primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: 0.3s;
}

@media (max-width: 600px) {
  .thanks__btn {
    width: 90vw;
  }
}

.thanks__btn:hover {
  background: var(--white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ========================================
    ダウンロードページ
    ======================================== */

/* ページ全体背景 */
.dl-page {
    position: relative;
    background: var(--color-primary);
}

.dl-page__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.dl-page__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ダウンロードページのKV上書き */
.dl-page .jiin-kv {
    background-color: transparent;
    margin-top: 0;
    padding-top: 40px;
}

@media (max-width: 768px) {
    .dl-page .jiin-kv {
        padding-top: 20px;
    }
}

/* KV サブタイトル */
.dl-kv__sub {
    color: var(--white);
    font-size: 15px;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 16px;
}

/* メインセクション */
.dl-main {
    position: relative;
    padding: 0 0 120px;
}

@media (max-width: 768px) {
    .dl-main {
        padding: 0 0 80px;
    }
}

@media (max-width: 600px) {
    .dl-main {
        padding: 0 0 64px;
    }
}

.dl-main > .container {
    position: relative;
    z-index: 1;
}

/* カードグループ */
.dl-cards {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (max-width: 768px) {
  .dl-cards {
    gap: 40px;
  }
}

/* 2カラム行 */
.dl-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .dl-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.dl-row .dl-card {
    max-width: 464px;
    width: 100%;
}

.dl-row .dl-card:first-child {
    justify-self: start;
}

.dl-row .dl-card:last-child {
    justify-self: end;
}

/* カード共通 */
.dl-card {
    background: var(--white);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    min-height: 240px;
}

@media (max-width: 600px) {
    .dl-card {
        padding: 32px 24px;
        min-height: 200px;
        gap: 0;
    }
}

/* 準備中オーバーレイ */
.dl-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(51, 51, 51, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.dl-card__overlay-text {
    color: #eee;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1;
}

@media (max-width: 600px) {
    .dl-card__overlay-text {
        font-size: 28px;
    }
}

/* タイトル */
.dl-card__ttl {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .dl-card__ttl {
        font-size: 24px;
    }
}

/* ※寺院のみ タグ */
.dl-card__tag {
    font-size: 16px;
    font-weight: 700;
    color: #C50006;
    letter-spacing: 0.15em;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 600px) {
  .dl-card__tag {
    font-size: 14px;
  }
}

/* 説明文 */
.dl-card__sub {
    font-size: 14px;
    color: var(--black);
    line-height: 1.45;
    letter-spacing: 0.15em;
}

@media (max-width: 600px) {
  .dl-card__sub {
    font-size: 12px;
    margin-top: 16px;
  }
}

/* フッター */
.dl-card__foot {
    margin-top: auto;
    padding-top: 8px;
}

@media (max-width: 600px) {
  .dl-card__foot {
    margin-top: 32px;
  }
}

/* ボタン（準備中・無効） */
.dl-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-primary);
    letter-spacing: 0.11em;
    line-height: 1.15em;
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-primary);
    cursor: not-allowed;
    text-decoration: none;
    transition: 0.3s;
}

.dl-card__btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    transition: 0.3s;
}

/* クリック可能ボタン（発注票） */
.dl-card__btn--clickable {
    cursor: pointer;
    width: 100%;
}

.dl-card__btn--clickable:hover {
    background: var(--color-primary);
    color: var(--white);
}

.dl-card__btn--clickable:hover img {
    filter: brightness(0) invert(1);
}

/* 発注票カード（アクティブ・センター縦積み） */
.dl-card--active {
    min-height: auto;
    gap: 24px;
}

@media (max-width: 600px) {
  .dl-card--active {
    gap: 0;
  }
}

/* プレビュー画像エリア */
.dl-card__preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
}

@media (max-width: 600px) {
  .dl-card__preview {
    width: 84%;
    margin-top: 16px;
  }
}

.dl-card__preview-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    display: block;
}

.dl-card__preview img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(5, 79, 152, 0.15);
    transition: 0.3s;
}

.dl-card__preview-btn:hover img {
    opacity: 0.8;
}

/* 拡大するボタン */
.dl-card__zoom {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--black);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-primary);
    letter-spacing: 0.05em;
    transition: 0.3s;
}

@media (max-width: 600px) {
  .dl-card__zoom {
    font-size: 12px;
  }
}

.dl-card__zoom:hover {
    opacity: 0.6;
}

.dl-card__zoom img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* ライトボックス */
.dl-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow-y: auto;
    padding: 80px 16px 40px;
}

.dl-lightbox.is-open {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.dl-lightbox__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.dl-lightbox__inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    flex-shrink: 0;
}

.dl-lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dl-lightbox__close::before,
.dl-lightbox__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: var(--white);
    transform: translate(-50%, -50%) rotate(45deg);
}

.dl-lightbox__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.dl-lightbox__inner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 発注票フッター */
.dl-card--active .dl-card__foot {
    width: 100%;
    max-width: 400px;
}

.dl-card--active .dl-card__btn {
    width: 100%;
}

/*# sourceMappingURL=main.css.map */