.pagetitle {
    margin-bottom: -40px;
}

.title-pin {
    margin-top: 80px;    
}

.title-circle {
    margin: 50px auto 0px
}

/* =============================
   スライダー
   ============================= */

/* ---- スライダー全体ラッパー ---- */
.festival-slider-wrap {
    width: 90%;
    max-width: 500px;
    margin: 10px auto 0px;
    background-color: #f0ead8;
    /* スクショのベージュ */
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
}

/* ---- Slick スライダー本体 ---- */
.festival-slider {
    overflow: hidden;
}

/* ---- 各スライドの画像ボックス（画像未設定のプレースホルダー） ---- */
.slide-img-box {
    width: 70vw;
    max-width: 480px;
    aspect-ratio: 4 / 3;
    display: block;
    margin: 0 auto;
}

/* 画像が入ったとき用 */
.slide-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- Slick ドットのカスタマイズ ---- */
.festival-slider-wrap .slick-dots {
    position: static;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 25px;
}



.festival-slider-wrap .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.festival-slider-wrap .slick-dots li button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background-color: #b8a98a;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: background-color 0.25s;
}

.festival-slider-wrap .slick-dots li button::before {
    display: none;
    /* slick-theme のデフォルト文字を非表示 */
}

.festival-slider-wrap .slick-dots li.slick-active button {
    background-color: #5a4a2e;
    /* アクティブドット：濃い茶色 */
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/* ---- キャプション＋矢印エリア ---- */
.slider-caption-area {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- カスタム矢印ボタン ---- */
.slider-prev,
.slider-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #8a7a60;
    padding: 4px 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
    color: #4a3a20;
}

/* ---- キャプションテキスト ---- */
.slider-caption {
    text-align: center;
    font-size: 12px;
    /*line-height: 1.7;*/
    color: var(--clr-text);
    margin: 0;
    white-space: pre-line;
    /* \n で改行 */
    letter-spacing: 0.1em;
    flex: 1;
    /* 既存の設定に以下を追加 */
    transition: opacity 0.3s ease; /* 透明度の変化を滑らかにする */
    opacity: 1;

}

/* =============================
   説明文
   ============================= */

.desc-textbox {
    width: 80%;
    margin: 0 auto;
    padding: 24px;
    line-height: 1.8;
    background-color: var(--clr-lightbeige);
    border-radius: 8px;
    position: relative;
}

.desc-textbox::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 6px;
    width: 50px;
    height: 15px;
    background-color: var(--clr-lightorange);
    opacity: 0.6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transform: rotate(-40deg);
}

.desc-textbox::after {
    content: "";
    position: absolute;
    right: -9px;
    bottom: 4px;
    width: 50px;
    height: 15px;
    background-color: var(--clr-lightorange);
    opacity: 0.6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transform: rotate(-40deg);
}

.desc-textbox p {
    width: 100%;
    font-size: 12px;
    text-align: justify;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #AAAAAA;
    text-underline-offset: 3px;
}

/* =============================
   PVスライダー
   ============================= */

.PV-slider-wrap {
    width: 300px;
    max-width: 500px;
    margin: 10px auto 0px;
    background-color: #f0ead8;
    border-radius: 16px;
    padding: 20px 20px 24px;
    box-sizing: border-box;
    position: relative;
}

.PV-slider {
    overflow: hidden;
}

/* ---- 動画ボックス ---- */
.slide-video-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background-color: #000;
}

.slide-video-box iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* PVスライダーのドット（slider-caption-area内に展開） */
.PV-slider-wrap .slick-dots {
    position: static;
    margin: 0;
    /* 横並び時はmargin不要 */
    padding: 0;
    list-style: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    order: 2;
    /* CSS orderで中央に配置 */
}

.PV-slider-wrap .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.PV-slider-wrap .slick-dots li button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background-color: #b8a98a;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: background-color 0.25s;
}

.PV-slider-wrap .slick-dots li button::before {
    display: none;
}

.PV-slider-wrap .slick-dots li.slick-active button {
    background-color: #5a4a2e;
}

/* ---- PVスライダー：矢印とドットを横並び ---- */
/* slider-caption-areaの子要素にCSSorderで“◀ ドット ▶”の順に並べる */
.PV-slider-wrap .slider-caption-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}

.PV-slider-wrap .pv-slider-prev {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #8a7a60;
    padding: 4px 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
    order: 1;
    /* 左矢印を一番左 */
}

.PV-slider-wrap .pv-slider-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #8a7a60;
    padding: 4px 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
    order: 3;
    /* 右矢印を一番右 */
}

.pv-slider-prev:hover,
.pv-slider-next:hover {
    color: #4a3a20;
}

/* 四隅の線の共通設定 */
.corner-line {
    position: absolute;
    width: 50px;
    /* 線の長さ（横） */
    height: 30px;
    /* 線の長さ（縦） */
    border: 2px solid #ffffff;
    /* 線の太さと色 */
    z-index: 1;
    filter: drop-shadow(1px 1px 3px var(--clr-lightblue));
}

/* 左上の角 */
.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* 右上の角 */
.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

/* 左下の角 */
.bottom-left {
    bottom: 60px;
    left: 0;
    border-right: none;
    border-top: none;
}

/* 右下の角 */
.bottom-right {
    bottom: 60px;
    right: 0;
    border-left: none;
    border-top: none;
}

/* =============================
   委員長挨拶
   ============================= */

.chairperson {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.chairperson-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.photo-holder {
    width: 70vw;
    max-width: 480px;
    aspect-ratio: 4/3;
    object-fit: cover;
    background-color: gray;
    margin: 24px auto;
}

.text-holder {
    width: 80vw;
    font-size: 12px;
    /*text-wrap: pretty;*/
    margin: 0 auto;
}

.text-main {
    text-align: justify;
    background-color: var(--clr-lightbeige);
    padding: 15px;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #AAAAAA;
    text-underline-offset: 3px;
    line-height: 1.8;
}

.text-signature {
    text-align: right !important;
    margin-top: 24px;
    text-decoration: none !important;
}

.text-signature img {
    height: 3em;
    display: inline-block;
    margin-right: -1em;
    /* 署名画像の右端をテキストの右端に合わせる */
}

/* =============================
   地域とのつながり
   ============================= */

.local-slider-wrap {
    width: 90%;
    max-width: 500px;
    margin: 10px auto 0px;
    background-color: #f0ead8;
    /* スクショのベージュ */
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
}

/* ---- Slick スライダー本体 ---- */
.local-slider {
    overflow: hidden;
}

.local-slider-wrap .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.local-slider-wrap .slick-dots li button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background-color: #b8a98a;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: background-color 0.25s;
}

.local-slider-wrap .slick-dots li button::before {
    display: none;
    /* slick-theme のデフォルト文字を非表示 */
}

.local-slider-wrap .slick-dots li.slick-active button {
    background-color: #5a4a2e;
    /* アクティブドット：濃い茶色 */
}

/* ---- Slick ドットのカスタマイズ ---- */
.local-slider-wrap .slick-dots {
    position: static;
    margin: 0;
    /* 横並び時はmargin不要 */
    padding: 0;
    list-style: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    order: 2;
    /* CSS orderで中央に配置 */
}

/* ---- 矢印エリア（ドットもここに挿入される） ---- */
.local-slider-wrap .slider-caption-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* ---- カスタム矢印ボタン ---- */
.local-slider-prev,
.local-slider-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #8a7a60;
    padding: 4px 40px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

.local-slider-prev {
    order: 1;
    /* 一番左 */
}

.local-slider-next {
    order: 3;
    /* 一番右 */
}

.local-slider-prev:hover,
.local-slider-next:hover {
    color: #4a3a20;
}

.local-text {
    width: 75vw;
    font-size: 12px;
    margin: 24px auto;
    text-align: justify;
}

.hitotumachi {
    position: relative;
    width: 70%;
    max-width: 480px;
    display: block;
    margin: 50px auto 0px;
    height: auto;
    /* 親要素の高さを中身（画像）に合わせる */
}

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

.hitotumachi::before {
    content: "↓詳しくはこちら！";
    font-size: 14px;
    position: absolute;
    bottom: 100%;
    /* 親要素の真上（下端を親の上端に合わせる） */
    left: 50%;
    transform: translateX(-50%);
}

/* =============================
   ぽん吉
   ============================= */

.ponkichi-flex {
    display: flex;
    justify-content: space-evenly;
    margin: 20px auto;
    max-width: 600px;
}

.ponkichi-img {
    width: 35%;
    height: auto;
    transform: scaleX(-1);
    /* 左右反転 */
    padding-top: 30px;
}

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

.ponkichi-comment {
    width: 50%;
    font-size: 12px;
    text-align: justify;
    padding: 10px;
    background-color: var(--clr-lightbeige);
    border-radius: 8px;
    position: relative;
}

.ponkichi-comment::before {
    content: "";
    position: absolute;
    top: 17%;
    left: -8px;
    width: 20px;
    height: 20px;
    transform: rotate(135deg);
    box-sizing: border-box;
    background-color: var(--clr-lightbeige);
    z-index: -1;
}

.profile {
    width: 80%;
    max-width: 400px;
    background-position: bottom;
    background-size: contain;
    background-color: var(--clr-lightbeige);
    margin: 0 auto;
    padding: 10px 0;
    border-radius: 10px;
    margin-bottom: 32px;
}

.pon_profile_wrap {
    margin-top: 30px;
}

p.profile_title {
    text-align: center;
    font-size: 16px;
    padding-bottom: 15px;
}

p.profile_text {
    font-size: 12px;
    text-align: justify;
    margin: 0 auto;
    width: 88%;
}

table {
    margin: 30px auto 20px;
}

.table_left::before {
    width: 1.5em;
    transform: translate(-2.2em, 0.1em);
    position: absolute;
    content: url(https://ikkyosai.com/shinkan/57/img/about/pon.svg)
        /*no-repeat center center/contain*/
    ;
    display: inline-block;
}

th.table_left {
    font-size: 14px;
    text-align: start;
    border-bottom: 1px solid #63707b;
    padding-left: 32px;
    padding-bottom: 1.5px;
    font-weight: normal;
}

th.table_right {
    width: 160px;
    font-size: 14px;
    font-weight: normal;
    padding-bottom: 1.5px;
    border-bottom: 1px solid #63707b;
}

th.space {
    width: 10%;
}

td.table_left {
    text-align: start;
    margin-right: 20px;
    padding-right: 16px;
    padding-top: 3px;
    font-size: 14px;
    border-bottom: 1px solid #63707b;
    padding-left: 32px;
    padding-bottom: 1.5px;
}

td.table_right {
    text-align: center;
    font-size: 14px;
    padding-top: 3px;
    padding-bottom: 1.5px;
    border-bottom: 1px solid #63707b;
}


.ponkichi-link {
    display: flex;
    justify-content: center;
    margin-bottom: 120px;
}


/* 
===============================
PCサイズ以上のスタイル 
===============================
*/


@media screen and (min-width: 1024px) {


.pagetitle {
    margin-bottom: -20px;
}

.title-pin {
    margin-top: 80px;    
}

.title-circle {
    margin: 50px auto 0px
}

.festival-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin: 0 auto;
    width: 85%;
    max-width: 1048px;
    gap: 5%;
    margin: 0 auto;
    margin-top: 48px;
}

/* =============================
   スライダー
   ============================= */

/* ---- スライダー全体ラッパー ---- */
.festival-slider-wrap {
    max-width: 500px;
    margin: 0px auto;
    border-radius: 16px;
    padding: 0px;
}

/* ---- Slick スライダー本体 ---- */
.festival-slider {
    overflow: hidden;
}


/* ---- Slick ドットのカスタマイズ ---- */
.festival-slider-wrap .slick-dots {
    position: static;
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0;
    list-style: none;
    display: flex !important;
    justify-content: center;
    gap: 25px;
}



.festival-slider-wrap .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.festival-slider-wrap .slick-dots li button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background-color: #b8a98a;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: background-color 0.25s;
}



.slick-dotted.slick-slider {
    margin-bottom: 0;
}

/* ---- キャプション＋矢印エリア ---- */
.slider-caption-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ---- カスタム矢印ボタン ---- */
.slider-prev,
.slider-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #8a7a60;
    padding: 4px 8px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}


/* ---- キャプションテキスト ---- */
.slider-caption {
    font-size: 14px;
}

/* =============================
   説明文
   ============================= */

.desc-textbox {
    width: 70%;
}

.desc-textbox::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 6px;
    width: 50px;
    height: 15px;
}

.desc-textbox::after {
    content: "";
    position: absolute;
    right: -9px;
    bottom: 4px;
    width: 50px;
    height: 15px;
    background-color: var(--clr-lightorange);
    opacity: 0.6;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transform: rotate(-40deg);
}

.desc-textbox p {
    font-size: 16px;
}

/* =============================
   PVスライダー
   ============================= */

.PV-slider-wrap {
    width: 90%;
    max-width: 500px;
    margin: 10px auto 0px;
    background-color: #f0ead8;
    border-radius: 16px;
    padding: 20px 20px 24px;
    box-sizing: border-box;
    position: relative;
}


/* PVスライダーのドット（slider-caption-area内に展開） */
.PV-slider-wrap .slick-dots {
    gap: 14px;
}


.PV-slider-wrap .slick-dots li button {
    width: 7px;
    height: 7px;
}

/* ---- PVスライダー：矢印とドットを横並び ---- */
/* slider-caption-areaの子要素にCSSorderで“◀ ドット ▶”の順に並べる */
.PV-slider-wrap .slider-caption-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}

.PV-slider-wrap .pv-slider-prev {
    font-size: 18px;
    padding: 4px 8px;
}

.PV-slider-wrap .pv-slider-next {
    font-size: 18px;
    padding: 4px 8px;
}

/* =============================
   委員長挨拶
   ============================= */
section.chairperson{
    padding-top: 60px;
}

.chairperson {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.chairperson-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 48px;
    width: 85%;
    max-width: 1048px;
    gap: 5%;
}

.photo-holder {
    width: 70vw;
    aspect-ratio: 4/3;
    object-fit: cover;
    background-color: gray;
    margin-top: 0px;
}


.text-signature {
    text-align: right;
    margin-top: 24px;
}

.text-signature span {
    font-size: 16px;
    font-weight: bold;
}

/* =============================
   地域とのつながり
   ============================= */
section.local{
    padding-top: 60px;
}


.local-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 85%;
    gap: 5%;
    max-width: 1032px;
    margin: 0 auto;
    margin-top: 48px;
}


.local-slider-wrap {
    width: 90%;
    max-width: 500px;
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
}

/* ---- Slick スライダー本体 ---- */
.local-slider {
    overflow: hidden;
}

.local-slider-wrap .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.local-slider-wrap .slick-dots li button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background-color: #b8a98a;
    border: none;
    cursor: pointer;
    font-size: 0;
    transition: background-color 0.25s;
}

.local-slider-wrap .slick-dots li button::before {
    display: none;
    /* slick-theme のデフォルト文字を非表示 */
}

.local-slider-wrap .slick-dots li.slick-active button {
    background-color: #5a4a2e;
    /* アクティブドット：濃い茶色 */
}

/* ---- Slick ドットのカスタマイズ ---- */
.local-slider-wrap .slick-dots {
    position: static;
    margin: 0;
    /* 横並び時はmargin不要 */
    padding: 0;
    list-style: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    order: 2;
    /* CSS orderで中央に配置 */
}

/* ---- 矢印エリア（ドットもここに挿入される） ---- */
.local-slider-wrap .slider-caption-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* ---- カスタム矢印ボタン ---- */
.local-slider-prev,
.local-slider-next {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #8a7a60;
    padding: 4px 40px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}



.local-text {
    width: 70vw;
    font-size: 16px;
    margin: 24px auto;
    display: flex;
    justify-content: center;
}


.hitotumachi::before {
    content: "↓詳しくはこちら！";
    font-size: 16px;
    position: absolute;
    bottom: 100%;
    /* 親要素の真上（下端を親の上端に合わせる） */
    left: 50%;
    transform: translateX(-50%);
}

.hitotumachi:hover{
  transform: scale(1.05); /* 拡大 */
  transition: transform 0.2s ease; /* アニメーションのスムーズさ */
}

/* =============================
   ぽん吉
   ============================= */
section.mascot{
    padding-top: 72px;
}


.ponkichi-flex {
    margin: 48px auto;
    gap: 5%;
}

.ponkichi-img {
    width: 35%;
    height: auto;
    transform: scaleX(-1);
    /* 左右反転 */
    padding-top: 0px;
}

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

.ponkichi-comment {
    width: 60%;
    height: fit-content;
    font-size: 16px;
    padding: 16px;
    background-color: var(--clr-lightbeige);
    border-radius: 16px;
    position: relative;
}

.ponkichi-comment::before {
    content: "";
    position: absolute;
    top: 17%;
    left: -8px;
    width: 20px;
    height: 20px;
    transform: rotate(135deg);
    box-sizing: border-box;
    background-color: var(--clr-lightbeige);
    z-index: -1;
}

.profile {
    width: 80%;
    max-width: 512px;
    background-position: bottom;
    background-size: contain;
    background-color: var(--clr-lightbeige);
    margin: 0 auto;
    padding: 10px 0;
    border-radius: 10px;
    margin-bottom: 90px;
}

.pon_profile_wrap {
    margin-top: 30px;
}

p.profile_title {
    text-align: center;
    font-size: 24px;
}

p.profile_text {
    font-size: 16px;
    text-align: justify;
    margin: 0 auto;
    width: 88%;
}

table {
    margin: 30px auto 20px;
}

.table_left::before {
    width: 1.5em;
    transform: translate(-2.2em, 0.1em);
    position: absolute;
    content: url(https://ikkyosai.com/shinkan/57/img/about/pon.svg)
        /*no-repeat center center/contain*/
    ;
    display: inline-block;
}

th.table_left {
    font-size: 16px;
    text-align: start;
    border-bottom: 1px solid #63707b;
    padding-left: 32px;
    padding-bottom: 1.5px;
    font-weight: normal;
}

th.table_right {
    width: 160px;
    font-size: 16px;
    font-weight: normal;
    padding-bottom: 1.5px;
    border-bottom: 1px solid #63707b;
}

th.space {
    width: 10%;
}

td.table_left {
    text-align: start;
    margin-right: 20px;
    padding-right: 16px;
    padding-top: 3px;
    font-size: 16px;
    border-bottom: 1px solid #63707b;
    padding-left: 32px;
    padding-bottom: 1.5px;
}

td.table_right {
    text-align: center;
    font-size: 16px;
    padding-top: 3px;
    padding-bottom: 1.5px;
    border-bottom: 1px solid #63707b;
}









}