/* 現行TOP共通部品。正本: shared/current-home/。施設固有の写真・配色は維持。 */
@font-face {
    font-family: "Doho Slick";
    src: url("./fonts/slick.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: block;
}
.doho-home {
    --home-accent: #64c4f8;
    --home-ink: #084666;
    --home-link: #0b6bb0;
    --home-tint: #f2fafe;
    --home-gap: 24px;
}
.doho-home[data-home-theme="pink"] {
    --home-accent: #f5b1ad;
    --home-ink: #753d49;
    --home-link: #96344f;
    --home-tint: #fff5f5;
}

/* 外枠の寸法だけを共通化。メニュー写真の比率・切り取り指定には触れない。 */
.doho-home .mainBody {
    width: calc(100% - 32px);
    max-width: 990px;
    margin-inline: auto;
}
/* お知らせ・Instagramの見た目は各施設のindex.cssに従う。 */
/* お知らせ・Instagramの2欄の外枠を、下の写真メニューと同じ左右端にそろえる（2026-09-29 ユーザー指示）。
   2欄は同じ幅、間は24px。スマホ（610px以下）は各施設の縦並びのまま。 */
@media (min-width: 611px) {
    .doho-home .firstContent {
        width: 100%;
        max-width: none;
        margin-inline: 0;
        gap: 24px;
    }
    .doho-home .firstContent > .news,
    .doho-home .firstContent > #instagram {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        margin: 5% 0 0;
    }
}
.doho-home .news-notice { margin: 2% 5%; }
.doho-home .news-notice a { display: inline-block; white-space: nowrap; }
/* 八幡のtarget="blank"のPDFにも、元の小さな楕円を適用する。リンク先/targetは保持。 */
.doho-home[data-home-theme="blue"] #news .news-pdf-link:not([target="_blank"]) {
    display: inline-block;
    background: #fff;
    color: #42b5f4;
    border: 1.5px solid #42b5f4;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 11px;
    text-decoration: none;
    margin: 0 4px;
    vertical-align: middle;
    transform: translateY(-1px);
    transition: all .2s;
}
.doho-home[data-home-theme="blue"] #news .news-pdf-link:not([target="_blank"]):hover { background: #42b5f4; color: #fff; }
.doho-home .instagram-preview-note { box-sizing: border-box; padding: 0 12px 12px; }
.doho-home .instagram-preview-note_box {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 22px;
    background: var(--home-tint);
    padding: 20px 12px;
    text-align: center;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
}
.doho-home .instagram-preview-note_box p { margin: 0 0 8px; }
.doho-home .instagram-preview-note_box a { color: var(--home-link); }
.doho-home .instagram-slider .slick-prev { left: 10px !important; }
.doho-home .instagram-slider .slick-next { right: 10px !important; }
.doho-home .instagram-slider .slick-arrow { width: 48px !important; height: 48px !important; z-index: 2 !important; }
.doho-home .firstContent a:focus-visible,
.doho-home #news:focus-visible { outline: 3px solid var(--home-link); outline-offset: 2px; }

/* 矢印は画像内、ドットは画像下。写真比率/crop/上余白は施設側を優先。 */
.doho-home .slider { width: 100%; }
.doho-home .slider img { width: 100%; max-width: 100%; height: auto; }
.doho-home .slider .slick-arrow {
    width: 50px !important;
    height: 50px !important;
    z-index: 3 !important;
}
.doho-home :is(.slider, .instagram-slider) .slick-arrow {
    top: var(--home-arrow-center, 50%) !important;
    transform: translateY(-50%) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.doho-home .slider .slick-prev { left: 30px !important; }
.doho-home .slider .slick-next { right: 30px !important; }
.doho-home :is(.slider, .instagram-slider) .slick-arrow:before {
    display: block !important;
    width: 1em !important;
    height: 1em !important;
    font-family: "Doho Slick" !important;
    font-size: 50px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-synthesis: none;
    line-height: 1 !important;
    letter-spacing: 0;
    color: #fff !important;
    background: none !important;
    transform: none !important;
    opacity: .75 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.doho-home :is(.slider, .instagram-slider) .slick-prev:before { content: "←" !important; }
.doho-home :is(.slider, .instagram-slider) .slick-next:before { content: "→" !important; }
.doho-home .instagram-slider .slick-arrow:before { font-size: 30px !important; }
.doho-home :is(.slider, .instagram-slider) .slick-arrow:is(:hover, :focus-visible):before { opacity: 1 !important; }
.doho-home :is(.slider, .instagram-slider) .slick-arrow:focus-visible { outline: 3px solid var(--home-link) !important; outline-offset: 2px !important; }
.doho-home :is(.slider, .instagram-slider) .slick-arrow.slick-hidden { display: none !important; }
.doho-home .slider .slick-dots { height: 24px !important; }
.doho-home .slider .slick-dots li { width: 28px !important; height: 24px !important; margin: 0 1px !important; }
.doho-home .slider .slick-dots li button { width: 28px !important; height: 24px !important; padding: 0 !important; }
.doho-home .slider .slick-dots li button:before {
    content: "" !important;
    top: 8px !important;
    left: 10px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 10px !important;
    background: var(--home-link) !important;
    opacity: .35 !important;
}
.doho-home .slider .slick-dots li.slick-active button:before { left: 4px !important; width: 20px !important; opacity: 1 !important; }
.doho-home .slider .slick-dots button:focus-visible { outline: 2px solid var(--home-link); outline-offset: 0; }

/* 既存の6メニューも写真そのものには触れず、外端をカードと合わせる。 */
.doho-home .menu { width: 100%; max-width: none; margin: 24px 0 0; }
.doho-home .menu1,
.doho-home .menu2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.doho-home .menu1 { margin-bottom: 24px; }
.doho-home .menu a { width: auto; min-width: 0; margin: 0; border: 0; }
.doho-home .menu a:hover,
.doho-home .menu a:focus-visible { border: 0; border-radius: 25px; outline: 3px solid var(--home-accent); outline-offset: 3px; }

@media (max-width: 610px) {
    .doho-home .slider .slick-arrow { display: none !important; }
    .doho-home .menuSp { margin-top: 24px; }
}

/* news.html一覧の現状の表示。TOPは施設側の元デザインを使う。 */
.doho-readable {
    --news-ink: #084666;
    --news-link: #0b6bb0;
    --news-tint: #f2fafe;
    --news-rule: #c5dce9;
}
.doho-readable[data-readability-theme="pink"] {
    --news-ink: #753d49;
    --news-link: #96344f;
    --news-tint: #fff5f5;
    --news-rule: #e6cccd;
}
.doho-readable #news {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    font-synthesis: none;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}
.doho-readable .newsPage #news { width: 100%; margin: 0; }
.doho-readable #news .mod-newsList {
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    list-style: none;
}
.doho-readable #news .mod-newsList-item {
    display: grid;
    grid-template-columns: 5.25em minmax(0, 1fr);
    align-items: baseline;
    column-gap: 8px;
    row-gap: 0;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px dashed var(--news-rule);
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}
.doho-readable #news .mod-news-date {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: var(--news-ink);
    white-space: nowrap;
}
.doho-readable #news .mod-news-tile {
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    word-break: normal;
    line-break: strict;
    text-wrap: wrap;
    overflow-wrap: anywhere;
}
.doho-readable #news .mod-news-tile p { margin: 0; font-size: inherit; line-height: inherit; }
.doho-readable #news .mod-news-tile p + p { margin-top: .5em; }
.doho-readable #news .mod-news-tile a:not(.news-pdf-link) {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--news-link);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: .18em;
    transform: none;
}
.doho-readable #news .news-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    margin: 0;
    vertical-align: baseline;
}
.doho-readable #news .news-pdf-link,
.doho-readable #news .news-retry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--news-link);
    border-radius: 8px;
    background: var(--news-tint);
    color: var(--news-link);
    font: 500 14px/1.7 "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.doho-readable #news .news-pdf-link {
    gap: 4px;
    min-height: 24px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 20px;
}
.doho-readable #news .news-pdf-link svg { width: 16px; height: 16px; flex: 0 0 16px; }
.doho-readable #news .news-pdf-link:hover,
.doho-readable #news .news-retry:hover { background: var(--news-link); color: #fff; }
.doho-readable #news :is(a, button):focus-visible {
    outline: 3px solid var(--news-link);
    outline-offset: 2px;
}
.doho-readable #news .news-notice {
    margin: 10px 0;
    padding: 14px;
    border: 1px solid var(--news-rule);
    border-radius: 12px;
    background: var(--news-tint);
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}
.doho-readable #news .news-notice a {
    display: block;
    margin-top: 8px;
    color: var(--news-link);
    text-decoration: underline;
    text-underline-offset: .18em;
}
.doho-readable #news .news-notice button { display: flex; width: fit-content; margin-top: 12px; }
.doho-readable .newsPage :is(#pager, #pager-top) { flex-wrap: wrap; gap: 8px; }
.doho-readable .newsPage .btn-pager {
    min-height: 44px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid var(--news-link);
    border-radius: 8px;
    background: var(--news-tint);
    color: var(--news-link);
    box-shadow: none;
    font-weight: 500;
}
.doho-readable .newsPage .btn-pager:hover { background: var(--news-link); color: #fff; transform: none; opacity: 1; }
.doho-readable .newsPage .btn-pager:focus-visible { outline: 3px solid var(--news-link); outline-offset: 2px; }
