/*
Theme Name: KT
Theme URI: https://stg.izumisano-bunkyo.com/
Author: KT
Description: 泉佐野市文化協会オリジナルテーマ
Version: 1.0
*/
/* =========================
    基本設定
========================= */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    color: #333;
    font-family: "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: lighter;
    line-height: 1.8;
    background: #f0f1f8;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a {
    color: inherit;
    text-decoration: none;
}
p,
h1,
h2,
h3 {
    margin-top: 0;
}
.flex{
    display: flex;
}

/* =========================
    共通
========================= */
.section-inner {
    width: 70%;
    margin: 0 auto;
}
.federation-page,
.news-archive,
.news-single,
.sitemap-page {
    background: linear-gradient(
        to bottom,
        #f0f1f8 0%,
        #e8e6f2 65%,
        #dfdced 100%
    );
}
.news-no-image {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f1f8;
    color: #9ca3b4;
    font-size: 30px;
    letter-spacing: 0.15em;
}

/* =========================
    共通　スマートフォン・タブレット
========================= */

@media screen and (max-width: 900px) {
    .section-inner {
        width: calc(100% - 30px);
    }
}

/* =========================
    お知らせ　INFORMATION
========================= */
.information {
    margin: 30px auto -50px;
    padding: 20px 0 30px;
    font-family: "M PLUS Rounded 1c", sans-serif;
}
.information h2 {
    margin: 0 0 25px;
    text-align: center;
    font-size: 21px;
    font-weight: 300;
    color: #a365a7;
    letter-spacing: 0.15em;
    font-family: "Shippori Mincho", serif;
}
.site-main .news-no-image{
    background: #fff;
    opacity: 0.8;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.news-item {
    position: relative;
    min-width: 0;
}
.news-item-link {
    display: block;
}
.news-image {
    margin-bottom: 10px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f1f8;
}
.news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
}
.news-category {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
}
.news-date {
    margin: 0;
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    text-align: right;
}
.more-link {
    display: block;
    margin: 30px auto 0;
    font-size: 15px;
    text-align: right;
    color: #a365a7;
}
/* =========================
   お知らせ　INFORMATION　 スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .information {
        width: calc(100% - 30px);
        margin: 0 auto;
        padding: 40px 0 0;
    }
    .information h2 {
        margin-bottom: 35px;
        font-size: 26px;
    }
    .information .news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    }
    .news-meta {
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }
}

@media screen and (max-width: 600px) {
    .information .news-list {
        grid-template-columns: 1fr;
    }
}
/* =========================
    背景の波
========================= */
/* WAVE 01 */
.wave-01 {
    position: relative;
    width: 100%;
    aspect-ratio: 1220 / 557;
    background-image: url("images/bgwave-01-2.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    transition: opacity 2.5s ease;
}
.wave-01.is-visible {
    opacity: 1;
}
/* WAVE 02 */

.philosophy-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1220 / 867;
    height: auto;
    z-index: 0;
    pointer-events: none;
    background-image: url("images/bgwave-02.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
    opacity: 0;
    transition: opacity 2.5s ease;
}
.philosophy-wave.is-visible {
    opacity: 1;
}

/* =========================
    泉佐野市文化協会とは　ABOUT
========================= */
.about{
    position: relative;
    z-index: 1;
    margin: -35% auto 0;
}
.about .about-bigtxt{
    font-size: 23px;
    display: block;
}
.about .section-inner{
    text-align: center;
}

/* =========================
    泉佐野市文化協会とは　about スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .about .section-inner {
        margin: 35px auto;
    }
}

/* =========================
    PHILOSOPHY + FEDERATIONS BACKGROUND
========================= */
.philosophy-federations-bg {
    position: relative;
    display: flow-root;
    isolation: isolate;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(251, 251, 254, 0) 22%, rgba(240, 241, 248, 0.5) 48%, #e8e6f2 72%, #dfdced 100%);
}

/* =========================
    理念　PHILOSOPHY
========================= */
.philosophy{
    width: 100%;
    margin: 40px auto 0;
    color: #6b4196;
    position: relative;
    z-index: 1;
}
.philosophy .section-inner{
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 80px 0;
}
.philosophy-box{
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    gap: 35px;
}
.philosophy-box h2{
    width: 185px;
    height: 185px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4bfd9 0%, #b34799 100%);
    color: #fff;
    text-align: center;
    font-size: 32px;
    line-height: 1.4;
    text-shadow: 1px 2px 4px rgba(80, 30, 70, 0.4);
}
.philosophy-title {
    position: relative;
    flex-shrink: 0;
}
.philosophy-lily {
    position: absolute;
    width: 125px;
    height: auto;
    right: -15px;
    bottom: -45px;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.philosophy-box.is-visible .philosophy-lily {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}
.philosophy-subtxt{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5;
    text-shadow: none;
}
.philosophy-box .philosophy-text{
    width: 80%;
}
.philosophy-box .philosophy-text p{
    margin-top: revert;
}
/* =========================
    理念 PHILOSOPHY スマートフォン・タブレット
========================= */
@media screen and (max-width: 600px) {
    .philosophy-box {
        flex-direction: column;
    }

    .philosophy-box .philosophy-text {
        width: 100%;
    }
}

/* =========================
    5つの連盟　FEDERATIONS
========================= */

.federations {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    padding: 0 0 100px;
}
.federations-heading {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
}
.federations-heading-icon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 260px;
    max-width: 65%;
    height: auto;
    transform: translateX(-50%);
    opacity: 0.3;
    pointer-events: none;
}
.federations-heading h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    color: #6b4196;
    font-size: 34px;
    font-weight: 500;
}
.federations-heading p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #6b4196;
    line-height: 1.9;
}
.federations-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}
.federations-card {
    position: relative;
    display: block;
    padding: 22px 35px 45px;
    border: 2px solid #fff;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.55);
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 10px 0px rgba(123, 58, 146, 0.5);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.federations-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* 動きを減らす設定の人対策 */
@media (prefers-reduced-motion: no-preference) {
    .js-enabled .federations-card:not(.is-visible) {
        opacity: 0;
        transform: translateY(40px);
    }
}
.federations-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/fed_hover.png");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.federations-card:hover::before,
.federations-card:focus-visible::before {
    opacity: 1;
}
.federations-card h3,
.federations-card p,
.federations-more {
    position: relative;
    z-index: 1;
}
.federations-card h3 {
    margin: 0 0 12px;
    color: #994897;
    font-size: 25px;
    font-weight: 500;
}
.federations-card p {
    margin: 0;
    color: #333;
}
.federations-more {
    position: absolute;
    right: 30px;
    bottom: 12px;
    color: #b64e98;
    font-size: 15px;
}
/* =========================
    5つの連盟　FEDERATIONS スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .federations{
        padding: 0 0 10px;
    }
}

/* =========================
    INSTAGRAM
========================= */
section.instagram {
    width: 100%;
    margin: 0;
    padding: 40px 0;
    background: #dfdced;
}
.instagram h2 {
    text-align: center;
    color: #be9fc1;
    font-family: "Shippori Mincho", serif;
    font-size: 21px;
    letter-spacing: 0.4em;
    font-weight: lighter;
    margin-bottom: 0;
}

/* =========================
    イベント・入会案内　共通設定
========================= */
section.links {
    width: 100%;
    margin: 0;
    padding: 60px 0;
    background: #dfdced;
}
/* 共通ボックス */
.links .link-box {
    width: 100%;
    padding: 60px 20px;
    border-radius: 15px;
    background: #fff;
}
/* =========================
    イベント・入会案内　スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    section.links {
        padding: 10px 0;
    }
}
/* =========================
    イベント情報
========================= */
.events-box {
    margin-bottom: 60px;
    text-align: center;
}
.events-heading {
    margin-bottom: 10px;
}
.events-heading h2 {
    margin: 0;
    color: #6b4196;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.5;
}
.events-heading span {
    display: block;
    color: #5d98c7;
    font-size: 18px;
    line-height: 1.5;
}
.events-intro {
    margin: 0 auto 40px;
    line-height: 2;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 280px));
    justify-content: center;
    gap: 25px;
    margin: 50px 0 60px;
}
.events-item {
    overflow: hidden;
    background: #f8f6fb;
    border: 1px solid #e8e1f0;
    border-radius: 12px;
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        box-shadow 0.3s ease;
}
.events-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .js-enabled .events-item:not(.is-visible) {
        opacity: 0;
        transform: translateY(40px);
    }
}
.events-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(107, 65, 150, 0.12);
}
.events-item a {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.events-item .event-date {
    margin: 20px 25px 8px;
    color: #6b4196;
    font-size: 14px;
    letter-spacing: 0.08em;
}
.events-item .event-title {
    margin: 0 25px 25px;
    color: #333;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
}
.events-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    max-width: 400px;
    margin: 0 auto;
    object-position: center top;
}
.events-description {
    margin: 0 auto 25px;
    line-height: 2;
    text-align: left;
}
.events-more {
    display: inline-block;
    color: #b64e98;
    font-size: 16px;
    text-decoration: underline;
}
/* =========================
   イベントカレンダー
========================= */
.events-calendar {
    max-width: 1100px;
    margin: 15px auto;
}
.events-calendar h3 {
    margin-bottom: 25px;
    color: #6b4196;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}
.events-calendar-month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    font-weight: 500;
}
.events-calendar-month a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    padding: 5px 14px;
    border: 1px solid #ddd6e8;
    border-radius: 20px;
    color: #6b4196;
    background: #fff;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.events-calendar-month a:hover {
    color: #fff;
    background: #6b4196;
}
.events-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
}
.events-calendar-table th,
.events-calendar-table td {
    padding: 12px 8px;
    border: 1px solid #ddd6e8;
    vertical-align: top;
}
.events-calendar-table th {
    background: #f0edf6;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.events-calendar-table td {
    height: 100px;
}
.events-calendar-table td.is-empty {
    background: #faf9fc;
}
.calendar-day {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-size: 14px;
}
.calendar-event {
    display: block;
    margin-bottom: 5px;
    padding: 5px;
    border-radius: 4px;
    background: #eee8f5;
    color: #6b4196;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background 0.3s;
}
.calendar-event:hover {
    background: #ddd0eb;
}
.calendar-month-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.events-calendar-month .calendar-today {
    width: auto;
    height: auto;
    padding: 5px 14px;
    border: 1px solid #ddd6e8;
    border-radius: 20px;
    color: #6b4196;
    background: #fff;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}
.events-calendar-month .calendar-today:hover {
    color: #fff;
    background: #6b4196;
}
/* =========================
   イベントカレンダー スマートフォン・タブレット
========================= */
@media (max-width: 900px) {
    .events-calendar {
        margin: 35px auto;
    }
    .events-calendar h3 {
        font-size: 19px;
    }
    .events-calendar-month {
        font-size: 18px;
    }
    .events-calendar-table th,
    .events-calendar-table td {
        padding: 5px 3px;
    }
    .events-calendar-table td {
        height: 65px;
    }
    .calendar-day {
        font-size: 12px;
    }
    .calendar-event {
        padding: 3px;
        font-size: 10px;
    }
}
@media (max-width: 600px) {
    .events-calendar-table th,
    .events-calendar-table td {
        padding: 6px 2px;
        text-align: center;
    }
    .events-calendar-table td {
        height: 55px;
        vertical-align: top;
    }
    .calendar-day {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        width: 100%;
        margin: 0;
        padding: 0;
        color: #444;
        font-family: inherit;
        font-size: 13px;
        font-weight: normal;
        line-height: 1.5;
    }
    .calendar-day-button {
        border: none;
        background: transparent;
        cursor: pointer;
    }
    .calendar-day-button:focus-visible {
        outline: 2px solid #6b4196;
        outline-offset: 2px;
        border-radius: 4px;
    }
    .calendar-dot {
        display: block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #a365a7;
    }
    .calendar-day-button[aria-expanded="true"] {
        color: #994897;
        font-weight: bold;
    }
    .events-calendar-table .calendar-event {
        display: none;
    }
    .calendar-mobile-details {
        margin-top: 20px;
        padding: 18px;
        border-radius: 10px;
        background: #f8f6fb;
        text-align: left;
    }
    .calendar-mobile-placeholder {
        margin: 0;
        color: #777;
        font-size: 13px;
        text-align: center;
    }
    .calendar-mobile-day[hidden] {
        display: none;
    }
    .calendar-mobile-day h4 {
        margin: 0 0 12px;
        color: #6b4196;
        font-size: 16px;
        font-weight: 500;
    }
    .calendar-mobile-event {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #ddd6e8;
        color: #333;
        font-size: 14px;
        line-height: 1.6;
    }
    .calendar-mobile-event:last-child {
        border-bottom: none;
    }
    .calendar-mobile-event span {
        flex-shrink: 0;
        color: #a365a7;
        font-size: 20px;
    }
    .calendar-mobile-placeholder[hidden] {
    display: none;
    }
}
/* PC・タブレットではスマホ用の詳細を非表示 */
@media screen and (min-width: 601px) {
    .calendar-mobile-details {
        display: none;
    }
    .calendar-dot {
        display: none;
    }
    .calendar-day-button {
        display: block;
        width: 100%;
        padding: 0;
        border: none;
        background: transparent;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: default;
    }
}

/* =========================
    入会案内 membership
========================= */
.membership-box {
     position: relative;
    width: 100%;
    margin: 0 auto;
    border: none;
    text-align: center;
}
.membership-heading {
    margin-bottom: 35px;
}
.membership-heading h2 {
    margin: 0;
    color: #6b4196;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.5;
}
.membership-heading span {
    display: block;
    color: #5d98c7;
    font-size: 18px;
    line-height: 1.5;
}
.membership-intro {
    margin: 0 auto 40px;
    line-height: 2;
}
.membership-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}
.membership-image {
    overflow: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.membership-image.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .js-enabled .membership-image:not(.is-visible) {
        opacity: 0;
        transform: translateY(40px);
    }
}
.membership-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    max-width: 400px;
    margin: 0 auto;
}
.membership-description {
    width: calc(100% - 140px);
    margin: 0;
    text-align: left;
    line-height: 2;
}
.membership-description p {
    margin: 0;
}
/* =========================
    お問い合わせボタン
========================= */
.membership-contact {
    position: absolute;
    right: 55px;
    bottom: 50px;
    display: flex;
    justify-content: flex-end;
}
.membership-contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    padding: 15px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #f4bfd9 0%,
        #b34799 100%
    );
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    transition: opacity 0.3s ease;
}
.membership-contact a:hover {
    opacity: 0.8;
}

/* =========================
    お問い合わせボタン   スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .membership-heading h2 {
        font-size: 28px;
    }
    .membership-images {
        gap: 15px;
    }
}
@media screen and (max-width: 600px) {
    .membership-description {
    width: 100%;
    }
    .membership-contact {
    position: static;
    margin-top: 25px;
    justify-content: center;
    }
    .membership-images {
        grid-template-columns: 1fr;
    }
}

/* =========================
    入会案内 スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .links .section-inner {
        width: calc(100% - 30px);
    }
    .links .link-box {
        padding: 35px 20px;
    }
    .events-heading h2 {
        font-size: 28px;
    }
    .events-grid {
        gap: 15px;
    }
}
@media screen and (max-width: 600px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
    よくある質問
========================= */
.faq{
    width: 100%;
    margin: 0;
    padding: 60px 0;
    background: #dfdced;
}
.faq h2{
    text-align: center;
    color: #6b4196;
    font-weight: lighter;
}
.faq-item {
    margin: 0 0 14px;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question:focus-visible {
    outline: 3px solid #5d98c7;
    outline-offset: -3px;
}
.faq-q-mark,
.faq-a-mark {
    flex: 0 0 28px;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: bold;
    line-height: 1.2;
}
.faq-q-mark {
    color: #6b4196;
}
.faq-a-mark {
    color: #5d98c7;
}
.faq-question-text {
    flex: 1;
}
.faq-toggle {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-right: 2px solid #6b4196;
    border-bottom: 2px solid #6b4196;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.faq-item[open] .faq-toggle {
    transform: rotate(225deg);
}
.faq-answer {
    display: flex;
    gap: 16px;
    padding: 0 26px 26px;
}
.faq-answer-text {
    flex: 1;
}

/* =========================
    よくある質問 faq スマートフォン・タブレット
========================= */
@media (max-width: 767px) {
    .faq-question {
        gap: 10px;
        padding: 18px 15px;
    }
    .faq-answer {
        gap: 10px;
        padding: 0 15px 20px;
    }
    .faq-q-mark,
    .faq-a-mark {
        flex-basis: 24px;
        font-size: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .faq-toggle {
        transition: none;
    }
}

/* =========================
    バナー
========================= */
section.banners {
    margin: 0 auto;
    width: 100%;
    margin: 0;
    padding: 20px 0 10px;
    background: #dfdced;
}
.banners .flex{
    gap: 10px;
}

/* =========================
    ヘッダー
========================= */
.site-header{
    background:#f0f1f8;
}
.header-top {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    text-align: center;
}
.site-logo {
    display: inline-block;
}
.site-logo img {
    display: block;
    max-width: 350px;
    height: auto;
}
.contact-button {
    position: absolute;
    right: 30px;
    top: 15%;
    transform: translateY(-50%);
}

/* =========================
    グローバルナビ
========================= */
nav.global-nav {
    width: 70%;
    margin: 0 auto;
}
.global-nav ul {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.global-nav li {
    flex: 1;
    text-align: center;
}
li#menu-item-26 {
    min-width: 166px;
}
.global-nav a {
    display: block;
    padding: 18px 3px;
    color: #818ac0;
    text-decoration: none;
    font-size: 16px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-weight: normal;
    transition: background-color 0.3s;
    position: relative;
}
.global-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 1px;
    background: #a365a7;
    transition: width 0.3s ease, left 0.3s ease;
}
.global-nav a:hover {
    background-color: transparent;
    color: #b64e98;
}
.global-nav a:hover::after {
    width: 100%;
    left: 0;
}
/* =========================
    ハンバーガーメニュー
========================= */
.hamburger {
    display: none;
}
/* =========================
   ハンバーガーメニュー スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .site-logo img {
        max-width: 250px;
        width: 100%;
        height: auto;
}
    /* ハンバーガーボタン */
    .hamburger {
        position: absolute;
        top: 10px;
        right: 20px;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 50px;
        height: 50px;
        padding: 10px;
        border: none;
        background: transparent;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        width: 100%;
        height: 1px;
        background: #818ac0;
        transition: all 0.3s ease;
    }
    .hamburger.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .global-nav {
        display: none;
    }
    .global-nav.is-open {
        display: block;
    }
    .global-nav ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 20px 0;
    }
    .global-nav li {
        width: 100%;
    }
    .global-nav a {
        padding: 14px 20px;
        text-align: center;
    }
    .global-nav a::after {
        display: none;
    }
    .contact-button {
        display: none;
    }
    .contact-menu a {
        display: block;
        margin: 15px 20px;
        padding: 12px 20px;
        background-color: #994897;
        border-radius: 8px;
        color: #fff !important;
    }
    .contact-menu a::before {
        content: "\f0e0";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-right: 8px;
    }
}
@media screen and (max-width: 600px) {
    .site-logo img {
        max-width: 220px;
    }
}

/* =========================
    お問い合わせボタン
========================= */
.contact-button a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 0;
    width: 110px;
    height: 140px;
    padding: 15px 5px;
    background-color: #994897;
    border-radius: 10px;
    color: #FFF;
    text-decoration: none;
    font-size: 15px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    transition: all 0.3s ease;
}
.contact-button a:hover {
    color: #994897;
    border: 1px solid #994897;
    background-color: transparent;
}
.contact-icon {
    line-height: 1.5;
}
.contact-text {
    line-height: 1.5;
}

/* =========================
   フッター
========================= */
footer {
    position: relative;
    z-index: 10;
}
.site-footer {
    margin-top: 0;
    text-align: center;
    background: #dfdced;
}
nav.footer-nav {
    padding-top: 113px;
    color: #a365a7;
    letter-spacing: 0.2em;
    font-size: 15px;
}
p.copyright {
    color: #9ea2ad;
    letter-spacing: 0.2em;
}
/* =========================
    フッター スマートフォン・タブレット
========================= */
@media screen and (max-width: 600px) {
    .site-footer {
        font-size: 15px;
    }
    .footer-nav {
        font-size: 14px;
    }
    .copyright {
        font-size: 12px;
    }
}
/* =========================
   全ページ共通：フッター手前の波
========================= */
.footer-wave {
    position: relative;
    width: 100%;
    height: 225px;
    top: 25px;
    background-image: url(images/bgwave-03.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    background-color: #dfdced;
    /* pointer-events: none; */
}
/* =========================
    PCのお問合せボタン
========================= */
@media (min-width: 901px) {
    .contact-menu {
        display: none;
    }
}

/* =========================
    page.php
========================= */
.federation-title {
    text-align: center;
    margin: 20px 0 0;
}
.federation-title .title-jp{
    color: #6b4196;
    display: block;
    font-family: "Shippori Mincho", serif;
    font-weight: lighter;
}
.federation-title .title-en{
    color: #5d98c7;
    display: block;
    margin-top: -15px;
    font-family: "Shippori Mincho", serif;
    font-weight: lighter;
}
.federation-page .activity-item-top{
    background: #fff;
    padding: 70px;
    border-radius: 10px;
}
.federation-page .activity-item {
    margin: 40px 0;
}
.federation-page h3{
    color: #6b4196;
    font-size: 26px;
    margin: 0;
}
.federation-page h4{
    color: #6b4196;
    font-size: 22px;
    margin: 0;
    white-space: nowrap;
}
.federation-page p{
    margin: 0;
}
.activity-item {
    display: flex;
    gap: 50px;
    align-items: stretch;
}
.activity-image {
    width: 45%;
    flex-shrink: 0;
    min-width: 0;
}
.activity-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.activity-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.federation-page .class-info {
    display: block;
    margin-top: 30px;
    padding: 22px 25px;
    border-radius: 10px;
    background: #f8f6fb;
}

.federation-page .class-info h4 {
    margin: 0 0 18px;
    font-size: 18px;
    font-weight: 500;
}

.federation-page .class-info dl {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 2px 20px;
    align-items: center;
    margin: 0;
    padding: 6px;
}

.federation-page .class-info dt {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #777;
    font-size: 13px;
    font-weight: normal;
    white-space: nowrap;
}

.federation-page .class-info dd {
    margin: 0;
    color: #333;
    font-size: 14px;
    min-width: 0;
}
.class-info dl + dl {
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}
.class-info .info-p{
    color: #777;
    font-size: 15px;
}

/* 教室情報のアイコン */
.federation-page .class-info dt::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #8b70ac;
    font-size: 18px;
    line-height: 1;
}

.federation-page .class-info dt.info-location::before {
    content: "⌖";
}

.federation-page .class-info dt.info-time::before {
    content: "◷";
}

.federation-page .class-info dt.info-price::before {
    content: "¥";
}

/*   page.php 下部ナビゲーション　 */
.federation-navigation {
    padding: 60px 20px 80px;
}
.federation-navigation-title {
    margin: 0 0 30px;
    color: #994897;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
}
.federation-navigation-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.federation-navigation-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border: 1px solid #d9c8df;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    color: #994897;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.federation-navigation-link:hover,
.federation-navigation-link:focus-visible {
    background: #fff;
    box-shadow: 0 0 15px rgba(218, 0, 242, 0.25);
}
/* ========================================
   page.php 下部ナビゲーション スマートフォン・タブレット
======================================== */
@media (max-width: 900px) {
    .federation-navigation {
        padding: 40px 20px 60px;
    }
    .federation-navigation-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .federation-navigation-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .federation-navigation-link {
        padding: 14px 12px;
        font-size: 14px;
    }
    .federation-page .activity-item-top {
        padding: 40px;
    }
    .federation-page .activity-item {
        gap: 25px;
    }
    .activity-image {
        width: 40%;
    }
    .federation-page .class-info {
    padding: 20px;
    }
    .federation-page .class-info dl {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 10px;
    }
    .federation-page h3 {
        font-size: 23px;
    }
    .federation-page h4 {
        font-size: 19px;
    }
}

@media (max-width: 600px) {
    .federation-page .activity-item-top {
        padding: 25px;
    }
    .federation-page .activity-item {
        flex-direction: column;
        gap: 20px;
        margin: 45px 0;
    }
    .activity-image {
        width: 100%;
    }
    .activity-content {
        width: 100%;
    }
    .federation-page h3 {
        font-size: 21px;
    }
    .federation-page h4 {
        font-size: 18px;
    }
    .federation-page .class-info {
    margin-top: 25px;
    padding: 18px;
    }
    .federation-page .class-info dl {
        width: 100%;
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 10px 8px;
    }
}

@media (max-width: 480px) {
    .federation-navigation-list {
        grid-template-columns: 1fr;
    }
}

/* =========================
    生活文化連盟：ジャンル一覧
========================= */
.lifeculture-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 18px;
    margin-top: 45px;
}
.lifeculture-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 8px 12px;
    border: 2px solid #ff9ac5;
    border-radius: 50px;
    background: #fff;
    color: #6b4196;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}
.lifeculture-nav a:hover,
.lifeculture-nav a:focus-visible {
    background: #ff9ac5;
    color: #fff;
}
.lifeculture-nav > p {
    display: contents;
}
.lifeculture-nav br {
    display: none;
}
.lifeculture-activities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 40px;
}
.lifeculture-activities > p:empty {
    display: none;
}
.lifeculture-activities .activity-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}
.lifeculture-activities .activity-image {
    width: 100%;
}
.lifeculture-activities .activity-content {
    width: 100%;
}

/* =========================
    生活文化連盟：ジャンル一覧 スマートフォン・タブレット
========================= */
@media screen and (max-width: 900px) {
    .lifeculture-activities {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media screen and (max-width: 900px) {
    .lifeculture-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .lifeculture-nav a {
        font-size: 14px;
    }
}
@media screen and (max-width: 480px) {
    .lifeculture-nav {
        gap: 10px;
    }
    .lifeculture-nav a {
        min-height: 44px;
        padding: 8px 6px;
        font-size: 12px;
    }
}
/* =========================
    茶華道連盟　個別設定
========================= */
.teaflower-main-image {
    display: block;
    margin-bottom: 40px;
}
.teaflower-intro > p {
    margin-top: 40px;
}
/* =========================
    音楽連盟　個別設定
========================= */
.class-info.music-info{
    margin-top: 0;
}
/* =========================
    連盟ページ：最初の波を表示
========================= */
.federation-page .wave-01 {
    opacity: 1;
}
/* =========================
   連盟ページ：フッター手前の波
========================= */
.federation-page .federation-wave {
    position: relative;
    width: 100%;
    height: 616px;
    margin-top: -245px;
    background-image: url(images/bgwave-02.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 1;
}
.federation-page > .section-inner {
    position: relative;
    z-index: 2;
}

/* =========================
    動きを減らすモードに対応
========================= */
@media (prefers-reduced-motion: reduce) {
    .wave-01,
    .philosophy-wave,
    .philosophy-lily  {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .js-enabled .philosophy-box:not(.is-visible) {
        opacity: 0;
        transform: translateY(40px);
    }
}

/* =========================
    お知らせ一覧ページ　archive-news.php
========================= */
.news-archive .news-title {
    font-size: 18px;
    color: #6b4196;
}
header.news-archive-heading {
    text-align: center;
    margin: 20px 0 0;
    color: #6b4196;
}
/* お知らせ一覧ページの波とリンクの重なり調整 */
.news-archive .wave-01 {
    pointer-events: none;
}
.news-archive .wave-01 .section-inner {
    pointer-events: auto;
}
/* ========================================
   お知らせ一覧ページ　archive-news.php
    スマートフォン・タブレット
======================================== */
@media screen and (max-width: 600px) {
    .news-list {
        grid-template-columns: 1fr;
    }
}

/* =========================
   お知らせ詳細ページ　single-news.php
========================= */
.news-single {
    padding: 80px 0 120px;
    position: relative;
    isolation: isolate;
}
.news-single .wave-01 {
    pointer-events: none;
}
.news-single .wave-01 .section-inner {
    pointer-events: auto;
}
.news-single-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    background: #fff;
    border-radius: 12px;
}
.news-single-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd6e8;
}
.news-single-label {
    margin: 0 0 15px;
    color: #6b4196;
    font-family: "Shippori Mincho", serif;
    font-size: 18px;
    letter-spacing: 0.12em;
}
.news-single-date {
    display: block;
    margin-bottom: 15px;
    color: #888;
    font-size: 14px;
}
.news-single-title {
    margin: 0;
    color: #333;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 500;
    line-height: 1.6;
}
.news-single-image {
    margin-bottom: 40px;
    text-align: center;
}
.news-single-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}
.news-single-content {
    font-size: 16px;
    line-height: 2;
    overflow-wrap: anywhere;
}
.news-single-content p {
    margin-bottom: 1.5em;
}
.news-single-back {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}
.news-single-back a {
    display: inline-block;
    padding: 12px 30px;
    color: #6b4196;
    background: #fff;
    border: 1px solid #6b4196;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.news-single-back a:hover {
    color: #fff;
    background: #6b4196;
}

/* =========================
   お知らせ詳細ページ　single-news.php　スマートフォン・タブレット
========================= */
@media (max-width: 767px) {
    .news-single {
        padding: 40px 0 80px;
    }
    .news-single-article {
        padding: 30px 20px;
    }
    .news-single-header {
        margin-bottom: 30px;
    }
    .news-single-content {
        font-size: 15px;
    }
    .news-single-back {
        margin-top: 30px;
    }
}
/* =========================
   イベント一覧ページ　event.php
========================= */
.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button,
.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after  {
    background-color: #6b4196;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
    color: #6b4196;
}
.tribe-common .tribe-common-c-svgicon--featured path{
    fill: #6b4196;
}
.post-type-archive-tribe_events {
    background: linear-gradient(
        to bottom,
        #f0f1f8 0%,
        #e8e6f2 65%,
        #dfdced 100%
    );
}
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text, .single-tribe_events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-text, .tribe-events .tribe-events-c-subscribe-dropdown button.tribe-events-c-subscribe-dropdown__button-text,
.single-tribe_events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon, .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button-icon  {
    color: #6b4196;
}

/* =========================
   イベント詳細ページ　single-event.php
========================= */
.single-tribe_events .tribe-events-event-image {
    display: flex;
    justify-content: center;
}

.single-tribe_events .tribe-events-event-image img {
    max-width: 100%;
    height: auto;
}
.events-single {
    position: relative;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    background-image:
        url("images/bgwave-01-2.png"),
        linear-gradient(
            to bottom,
            #f0f1f8 0%,
            #e8e6f2 65%,
            #dfdced 100%
        );
    background-repeat: no-repeat, no-repeat;
    background-position: center top, center top;
    background-size: 100% auto, 100% 100%;
}
.events-single .news-single-header {
    text-align: center;
}
.events-single .news-single-label {
    margin: 0 0 15px;
    color: #6b4196;
    font-family: "Shippori Mincho", serif;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 0;
}
.tribe-events-event-meta {
    color: var(--tec-color-text-primary);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    font-weight: 400;
}
.events-single .tribe-events-single-event-description {
    font-weight: 400;
}
.tribe-events-schedule {
    justify-content: center;
}
.single-tribe_events #tribe-events-pg-template {
    padding: 0;
    margin-top: 0;
}
.events-info-box {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 40px;
    margin: 50px auto;
    max-width: 1000px;
}
.tribe-events .tribe-events-c-search__button,
.tribe-events button.tribe-events-c-search__button,
.tribe-events .tribe-events-calendar-list__event-row--featured .tribe-events-calendar-list__event-date-tag-datetime:after  {
    background-color: #6b4196;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-datetime-featured-text {
    color: #6b4196;
}
.tribe-common .tribe-common-c-svgicon--featured path{
    fill: #6b4196;
}
.post-type-archive-tribe_events {
    background: linear-gradient(
        to bottom,
        #f0f1f8 0%,
        #e8e6f2 65%,
        #dfdced 100%
    );
}
/* =========================
   イベント詳細ページ　single-evemt.php　スマートフォン・タブレット
========================= */
@media (max-width: 767px) {
    .events-info-box {
    padding: 25px 20px;
    margin: 30px auto;
}
}


/* ==========================
   トップに戻るボタン
========================== */
.page-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background-color: #8982a8;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease,
        transform 0.4s ease,
        background-color 0.3s ease;
}
.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.page-top:hover {
    background-color: #6f688e;
    transform: translateY(-4px);
}
/* ==========================
   トップに戻るボタン　スマートフォン・タブレット
========================== */
@media (max-width: 900px) {
    .page-top {
        right: 15px;
        bottom: 15px;
        width: 46px;
        height: 46px;
        font-size: 23px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .page-top {
        transition: none;
    }
}


/* =========================
   サイトマップ
========================= */

.sitemap-page {
    padding: 60px 20px 100px;
}

.sitemap-page .section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sitemap-title {
    margin: 0 0 50px;
    color: #6b4196;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}

.sitemap-nav {
    max-width: 650px;
    margin: 0 auto;
}

.sitemap-list,
.sitemap-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sitemap-list > li {
    padding: 18px 15px;
    border-bottom: 1px solid #ddd9e8;
}

.sitemap-list > li > a,
.sitemap-group > span {
    color: #6b4196;
    font-size: 17px;
    font-weight: 500;
}

.sitemap-nav a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.sitemap-nav a:hover {
    color: #5d98c7;
}

.sitemap-group ul {
    margin-top: 15px;
    padding-left: 25px;
}

.sitemap-group ul li {
    padding: 8px 0;
}

.sitemap-group ul a {
    color: #555;
    font-size: 15px;
}

/* スマートフォン */
@media (max-width: 600px) {

    .sitemap-page {
        padding: 40px 20px 70px;
    }

    .sitemap-title {
        margin-bottom: 30px;
        font-size: 25px;
    }

    .sitemap-list > li {
        padding: 15px 5px;
    }

    .sitemap-list > li > a,
    .sitemap-group > span {
        font-size: 16px;
    }

    .sitemap-group ul {
        padding-left: 20px;
    }

    .sitemap-group ul a {
        font-size: 15px;
    }
}
