:root {
    /* === Core palette (HEX/RGB) === */
    --color-bg: #fff; /*   ベース背景 */
    --color-text: #2c2c2c; /* rgb(44,44,44)     本文 */
    --color-heading: #69389d; /* rgb(105,56,157)   見出し＝葡萄×桔梗の中間 */
    --color-link: #367871; /* rgb(54,120,113)   サブ（リンク/差し色） */
    --color-accent: #e6aa62; /* rgb(230,170,98)   アクセント（金砂系） */
    --accent-purple: #69389d;

    /* === Same colors in HSL (微調整用) === */
    --hsl-bg: hsl(0, 0%, 100%);
    --hsl-text: hsl(0 0% 17%);
    --hsl-heading: hsl(269 47% 42%);
    --hsl-link: hsl(174 38% 34%);
    --hsl-accent: hsl(33 73% 64%);

    /* === Table header（黒文字で読みやすい薄色） === */
    --table-th-bg: #fffaf0; /* 薄い金茶ベージュ */
    --table-th-text: #2c2c2c;

    --sidebar-bg: hsl(265 25% 96%);
    --sidebar-active-bg: hsl(265 25% 40%);
    --btn-primary: hsl(30 20% 55%);
    --btn-shadow: hsl(0 0% 0% / 14%); /* 通常 */
    --btn-shadow-strong: hsl(0 0% 0% / 22%); /* Hover時 */

    --time-col-bg: hsl(34 55% 85%); /* 左の時刻列の背景色（お好みで） */
    --time-col-text: #2c2c2c;
    --table-border: rgba(0, 0, 0, 0.12); /* 罫線色 */

    --sp-1: 0.25rem; /* 4px */
    --sp-2: 0.5rem; /* 8px */
    --sp-3: 0.75rem; /* 12px */
    --sp-4: 1rem; /* 16px */
    --sp-6: 1.5rem; /* 24px */
    --sp-8: 2rem; /* 32px  .section{ margin-block: var(--sp-8); }行間設定統一*/

    --slot-h: 48px;
    --gridline: #e0e0e0;
    --bd: #cfcfcf;

    /*iPhone対策*/
    --header-h: clamp(56px, 8vw, 92px);

    /*Font*/
    --ff-sans: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, Arial, sans-serif;

    /* grid */
    --line: 2px;
    --lineColor: #666;
}

/* ==================================================
   Responsive visibility utilities
   Breakpoints (DO NOT CHANGE casually)
   - SP : <= 768px
   - TAB: 769px – 1024px
   - PC : >= 1025px
   ================================================== */

/* default: hide only-* elements */
.only-pc,
.only-tab,
.only-sp {
    display: none !important;
    --only-display: block; /* default display */
}

/* SP */
@media (max-width: 768px) {
    .only-sp {
        display: var(--only-display) !important;
    }
}

/* TAB */
@media (min-width: 769px) and (max-width: 1024px) {
    .only-tab {
        display: var(--only-display) !important;
    }
}

/* PC */
@media (min-width: 1025px) {
    .only-pc {
        display: var(--only-display) !important;
    }
}

/* --------------------------------------------------
   Optional: hide utilities (use sparingly)
   -------------------------------------------------- */

/* hide on SP */
@media (max-width: 768px) {
    .not-sp {
        display: none !important;
    }
}

/* hide on PC */
@media (min-width: 1025px) {
    .not-pc {
        display: none !important;
    }
}
/*flex / inline / grid にしたいとき→<div class="only-sp" style="--only-display:flex;">…</div>*/

/* --------------------------------------------------
  CSS
   -------------------------------------------------- */

html {
    overflow: auto;
    font-size: 62.5%;
}

body {
    overflow: auto;
    font-family: var(--ff-sans);
    color: var(--color-text);
    background-color: var(--sidebar-bg);
    font-size: 1.8rem;
    line-height: 1.7;
    letter-spacing: 0.2px;
    position: relative;
    margin: 0px;
    padding: 0px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -o-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /*iPhoneノッチ*/
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

header,
nav,
div,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
img,
table,
tr,
td,
th,
input,
textarea,
select,
a,
figure,
span {
    box-sizing: border-box;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a img {
    border: none;
    display: inline-block;
    vertical-align: middle;
}

a:hover img,
input.btn:hover {
    opacity: 0.7;
    background-color: var(--color-bg);
}

a {
    color: hsl(174 24% 32%);
    text-decoration: underline dotted;
    text-underline-offset: 2px;
    -webkit-text-decoration-color: rgba(0, 0, 0, 0.3);
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--color-heading);
    text-decoration: none;
}

.ico a[target="_blank"][rel="noopener noreferrer"]::after {
    margin-left: 5px;
    font-family: "Font Awesome 5 Free";
    content: "\f35d";
    font-weight: bold;
    text-decoration: none;
}

.btn .ico a[target="_blank"][rel="noopener noreferrer"] div::after {
    margin-left: 5px;
    font-family: "Font Awesome 5 Free";
    content: "\f35d";
    font-weight: bold;
    text-decoration: none;
}

.btn .ico a[target="_blank"][rel="noopener noreferrer"]::after {
    display: none;
}

.arw a::before {
    margin-right: 3px;
    font-family: "Font Awesome 5 Free";
    content: "\f0da";
    font-weight: bold;
}

embed,
iframe,
object,
audio,
video {
    max-width: 100%;
}

iframe {
    border: 0;
}

h2 {
    font-size: 5rem;
    font-weight: 600;
    color: var(--color-heading);
    letter-spacing: 0.03em;
    padding-top: 20px;
    padding-left: 0.5em;
    padding-bottom: 20px;
    margin-top: 30px;
    margin-bottom: 1.2em;
    clear: both;
    /* border-bottom: 1px solid hsl(260 20% 90%);*/
    border-bottom: 2px solid color-mix(in oklab, var(--color-heading), white 30%);
}

h3 {
    font-size: 3rem;
    color: var(--color-heading);
    padding: 10px;
    font-weight: 600;
    margin: 1.4em 0 0.6em;
    display: block;
}

footer {
    position: relative;
    padding: 40px 0 10px;
    color: #999f9f;
    width: 100%;
}

/*map*/
.gcontents {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 2em;
}

.gcontents iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
[id] {
    scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 8px); /* #付きリンクで見出しが隠れないように */
}

/*==================================================
PC 
==================================================*/
#hp_base {
    width: 100%;
}

.main {
    display: block;
    float: none;
    margin-left: 300px;
    width: auto;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.inner {
    max-width: 100%;
    margin: 0 auto;
}

.wrap {
    margin: 0 auto;
    padding: 0;
    box-shadow: none;
    width: 90%;
    max-width: 1100px;
    overflow: hidden;
    min-height: 800px;
}

#top_img {
    text-align: center;
    background-color: #fff;
    position: relative;
}

.img_ttl {
    text-align: right;
    font-size: 70%;
    margin-right: 1em;
}
.bunkakai h2,
.marche h2,
.train-wrapper h2 {
    margin-top: 0;
    padding-top: 0;
}
.modoru {
    margin-top: 1em;
    margin-bottom: 1em;
}
.modoru a {
    text-decoration: none;
}

.modoru a::before {
    margin-right: 5px;
    font-family: "Font Awesome 5 Free";
    content: "\f100";
    color: var(--color-link);
    font-weight: bold;
}

.to_top {
    text-align: right;
    padding-right: 5px;
    clear: both;
    margin-top: 10px;
    padding-top: 10px;
    margin-bottom: 0.5em;
}

.to_top img {
    height: 1.1em;
    margin: 0.2em 0.5em 0 0.5em;
    display: none;
}

.to_top::after {
    margin-left: 3px;
    font-family: "Font Awesome 5 Free";
    content: "\f139";
    font-weight: 900;
    color: var(--color-link);
    font-size: 120%;
}

.back {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    margin-bottom: 0.5em;
}

.back::after {
    margin-left: 3px;
    font-family: "Font Awesome 5 Free";
    content: "\f137";
    font-weight: 900;
    color: var(--color-link);
    font-size: 120%;
}

.to_top a,
.back a {
    text-decoration: none;
    color: var(--color-link);
}

.cen {
    text-align: center;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px !important;
}

footer #copyright {
    text-align: center;
    font-size: 80%;
}

.sp {
    display: none;
}

.pc,
.br-pc,
.br-pc2,
.br-pc3 {
    display: block;
}

.br-1500 {
    display: none;
}
.tab_ttl {
    text-align: left;
    width: 100%;
    /*width: -webkit-calc(100% - 60px);
  width: calc(100% - 60px);*/
    background-color: #fff;
    display: none;
}

.sp_ttl {
    text-align: left;
    width: 100%;
    /*width: -webkit-calc(100% - 60px);
  width: calc(100% - 60px);*/
    background-color: #fff;
    display: none;
}

.bun {
    text-indent: 1em;
    padding-bottom: 1em;
    line-height: 1.8em;
}

.right {
    text-align: right;
}

.w90 {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.f_right {
    float: right;
}

.flex {
    display: flex;
    width: 100%;
    align-items: center;
}

.supp {
    font-size: 110%;
    line-height: 2em;
}

.y_line {
    background: linear-gradient(transparent 60%, yellow 30%);
}

.btn a {
    text-decoration: none;
}

.bold {
    font-weight: bold;
}

.f80p {
    font-size: 80%;
}

.red {
    color: #ff0000;
}

.line-through {
    text-decoration: line-through;
}

.indent {
    text-indent: -0.5em;
    padding-left: 1em;
}

.indent1 {
    padding-left: 1em;
    text-indent: -1em;
}

.indent_n {
    text-indent: 1em;
}

.p_1em {
    padding-left: 1em;
}

/*==================================================
side-box 
==================================================*/
.header-hero {
    position: relative;
    z-index: 50;
}
#side-box {
    float: none;
    left: 0;
    width: 300px;
    position: absolute;
    z-index: 20;
    background-color: var(--sidebar-bg);
    padding-top: 30px;
}

@media (min-width: 1025px) {
    #side-box {
        position: fixed;
        top: 0; /* ← ヘッダー画像がある位置に合わせて調整してOK */
        left: 0;
        width: 300px;
        z-index: 20;
        background-color: var(--sidebar-bg);
        padding-top: 16px;
        transition: top 0.12s cubic-bezier(0.4, 0, 0.2, 1); /* キュッと吸い付く動き */
    }

    .main {
        margin-left: 300px;
    }
}

.site-header a {
    text-decoration: none;
    color: inherit;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
}

.site-header h1 {
    width: 100%;
    height: 150px;
    line-height: 0em;
    text-align: center;
}

.site-header h1 img {
    padding: 35px 0 30px 0;
    width: 95px;
    height: auto;
}

.site-header h1 a {
    display: block;
}

#gnavi-s,
.button-toggle {
    display: none;
}

.gnavi {
    margin-top: 0;
    margin-bottom: 30px;
}

.gnavi ul {
    border-top: 0px solid #e0e0e0;
}

.gnavi li {
    border-bottom: 0px solid #e0e0e0;
    position: relative;
    text-align: right;
}

.gnavi li a {
    display: block;
    color: #666;
}

.gnavi li span {
    padding: 8px 40px;
    display: block;
    margin: 0;
    font-weight: 700;
    font-size: 1.5rem;
}

.gnavi li.current a,
.gnavi li a:hover {
    background: color-mix(in oklab, var(--sidebar-bg), white 10%);
    color: var(--color-heading);
    position: relative;
}
.gnavi li.current a::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    border-radius: 2px;
    background: var(--color-heading);
}

.gnavi .c-non li.current a,
.gnavi .c-non li a:hover {
    background: #fff !important;
}

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

.bnr-nav .bnr-space {
    display: block;
    height: 240px;
}

.bnr-nav li,
.bnr-nav .item {
    margin-top: 0.5em;
}

.bnr-nav img {
    width: 280px;
}

.bnr-nav a:hover {
    background: rgba(0, 0, 0, 0) !important;
    opacity: 0.6 !important;
}

.bnrlist {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 3em;
    align-items: center;
}

.bnrlist li {
    padding: 0.5em;
}

.bnrlist li img {
    width: 280px;
}
.top-banners__list li img {
    box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.2);
}
.flex_bnr {
    display: flex;
    flex-wrap: wrap;
    margin-left: 300px;
    /*justify-content: space-around;*/
    justify-content: space-evenly;
    align-items: center;
}

.flex_bnr div {
    margin-top: 5px;
    margin-bottom: 5px;
    /*margin: 5px auto;*/
    /*width: 18%;*/
}

.flex_bnr img {
    width: 300px;
}
/*PC版タイトル２*/
.side-title {
    opacity: 0;
    transition: opacity 0.18s ease-in; /* ふわっと出る */
    display: block;
}

/* PCだけロジックを有効にする */
@media (min-width: 1025px) {
    .side-title {
        display: block;
        margin: 0 0 10px;
        text-align: center;
        opacity: 0;
        transition: opacity 0.18s ease-in;
    }

    .side-title img {
        max-width: 90%;
        height: auto;
    }

    .side-title.is-visible {
        opacity: 1;
    }
}

/*==================================================
ハンバーガーメニュー 
==================================================*/
.menu2 {
    display: none;
}

.cur:hover .menu2 {
    display: block;
}

/*================================================== 
index 
==================================================*/
#top_img {
    position: relative;
}

#top_img img {
    width: 100%;
}

.i_scroll {
    width: 100%;
    height: 600px;
    overflow-y: scroll;
}

.news-list {
    width: 99%;
    min-height: auto;
    padding: 0 10px;
}

.news-list li {
    display: block;
    line-height: 1.8em;
    overflow: hidden;
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
}

.news-list li .data {
    float: left;
    width: 6.5em;
    display: block;
    color: #999;
}

.news-list li .data-en {
    float: left;
    width: 9em;
    display: block;
    color: #999;
}

.news-list li .txt {
    overflow: hidden;
    color: var(--color-text);
    display: block;
}

.sns_link {
    /* position:absolute;top:505px;left:50px;*/
    display: flex;
    justify-content: left;
    align-items: center;
    /*margin:0 15px 15px 50px;*/
    font-weight: bold;
}

.sns_link li {
    background: #fff;
    margin: 0 15px 0 0;
    font-size: 120%;
}

.sns_link li:nth-last-child(1):nth-child(odd) {
    margin-right: 0;
}

.sns_link img,
#top_img .sns_link img {
    width: 50px;
    height: auto;
}

.sns_posi {
    position: absolute;
    bottom: 30px;
    left: 45px;
}

.flyer_dl {
    margin-bottom: 15px;
    text-align: center;
}

.flyer_dl a {
    display: inline-block;
}

.flyer_dl img {
    width: 96%;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.left-box {
    width: 69%;
    width: -webkit-calc(100% - 330px);
    width: calc(100% - 330px);
}

.p-infinite-slider {
    padding: 30px 0;
}

p-infinite-slider__list {
    margin: 5px;
}

/*==================================================
outline 
==================================================*/
.gaiyo {
    margin-bottom: 0.5em;
}

.gaiyo h3 {
    font-size: 1.2em;
    font-weight: bold;
    border-left: 5px solid var(--color-heading);
    border-bottom: 2px dashed #b4b4b4;
    padding: 0.25em 0 0.3em 0.5em;
    color: var(--color-text);
    margin-bottom: 0.5em;
}

.gaiyo h3 span {
    font-size: 1.8rem;
    font-weight: normal;
    margin-left: 1em;
}

.gaiyo h4 {
    margin-top: 1em;
    padding-left: 1em;
}

.gaiyo p {
    margin-bottom: 2em;
    padding-left: 2em;
}

.tbl-r02 th,
.tbl-r02 td {
    padding-left: 1em;
}

/*==================================================
sh 
==================================================*/
.syokai {
    width: 700px;
    margin: 0 auto;
}

.parent {
    width: 100%;
    margin: 0 auto 20px;
    display: flex;
}

.parent1 .text_area,
.parent3 .text_area,
.parent5 .text_area,
.parent7 .text_area {
    margin-right: 10px;
}

.parent2 .img_area,
.parent4 .img_area,
.parent6 .img_area {
    margin-right: 10px;
}

@media screen and (max-width: 1024px) {
    .syokai {
        width: 98%;
    }

    .parent {
        width: 100%;
    }

    .parent1,
    .parent3,
    .parent5,
    .parent7 {
        flex-direction: column-reverse;
    }

    .parent2,
    .parent4,
    .parent6 {
        flex-direction: column;
    }

    .parent1 .text_area,
    .parent3 .text_area,
    .parent5 .text_area,
    .parent7 .text_area {
        margin-right: 0;
    }

    .parent2 .img_area,
    .parent4 .img_area,
    .parent6 .img_area {
        margin-right: auto;
        margin-left: auto;
    }

    .parent .img_area {
        width: 60%;
        margin: 0 auto;
    }
}

/*==================================================
sponsor 
==================================================*/

.sponsor .lead {
    text-align: center;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}
.btn_all {
    width: 70%;
    margin: 0 auto 2em;
}
.btn-area {
    display: grid;
    gap: 1rem;
    justify-items: center; /* これ入れると中央寄せが安定する */
}

.btn-area.top {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

.btn-area.bottom {
    grid-template-columns: repeat(2, 1fr);
}

.sponsor a.btn,
.art_appl a.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin: 2rem auto; /* ← 左右は auto にして中央寄せ */
    border-radius: 999px;
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: 600;
    transition: 0.2s;
    text-align: center;
    max-width: 280px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.sponsor a.btn:hover,
.art_appl a.btn:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}
.sponsor a.btn:active,
.art_appl a.btn:active {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

/* 申込ボタン＝メインカラー */
.btn-primary {
    background: var(--color-heading); /* サイトの基調色に合わせて後で変更可能 */
    color: #fff;
}
.btn-primary:hover {
    color: var(--sidebar-bg);
    background: #5c318c;
}

/* 趣意書＝サブ設置 */
.btn-secondary {
    background: #fff;
    color: var(--color-heading);
    border: 3px solid var(--color-heading);
}
.btn-secondary:hover {
    background: var(--sidebar-bg);
}

.sponsor .note {
    color: #666;
    text-align: center;
}
.contact-link {
    color: var(--color-heading);
    text-decoration: underline;
}
.contact-link:hover {
    opacity: 0.7;
}
@media (max-width: 768px) {
    .sponsor .lead {
        text-align: left;
    }
    .btn-area.bottom {
        grid-template-columns: 1fr;
    }
    .btn_all {
        width: 95%;
    }
    .sponsor a.btn,
    .art_appl a.btn {
        margin: 1rem auto;
    }
    .sponsor .note {
        text-align: left;
    }
}

/*==================================================
abstract 
==================================================*/
.a_cnt {
    margin-bottom: 1.5em;
}

.a_cnt ul {
    padding-left: 2em;
}

.a_cnt li {
    position: relative;
    line-height: 1.6em;
    margin-bottom: 0.5em;
}

.a_cnt ul li::before {
    border-radius: 50%;
    width: 6px;
    height: 6px;
    display: block;
    position: absolute;
    left: -1em;
    top: 0.6em;
    content: "";
    background: var(--color-accent);
}
.a_cnt ul ul > li::before {
    content: "";
    position: absolute;
    left: -1em;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--color-accent);
    opacity: 0.7;
}

.a_cnt li .no_c {
    padding-left: 0;
}

.a_cnt li .no_c li {
    position: static;
    margin-bottom: 0.5em;
    padding-left: 1em;
    text-indent: -1em;
}

.a_cnt li .no_c li:before {
    border-radius: none;
    width: 0;
    height: 0;
    position: static;
    content: none;
    background: none;
}

.abstract .a_cnt .check li:before {
    display: none;
}

.abstract .a_cnt .check li {
    padding-left: 0.5em;
    text-indent: -0.5em;
}

.abstract .box1,
.art_appl .box1 {
    padding: 1em;
    border: solid 1px #2c2c2c;
    width: 90%;
}

.abstract .box1,
.art_appl .box1p {
    padding-left: 2em;
    text-indent: -1em;
}

/*テーブル*/
.abstract table {
    width: 90%;
    border-collapse: collapse;
    margin: 0 auto;
}

.abstract table tr {
    border-bottom: solid 2px white;
}

.abstract table tr:last-child {
    border-bottom: none;
}

.abstract table th {
    position: relative;
    width: 19em;
    background-color: #69389d;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.abstract table th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    border-left: 10px solid #69389d;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.abstract table td {
    text-align: left;
    background-color: #eee;
    padding: 10px 1.5em;
}

/*ボタン*/
a.btn--yellow {
    color: #000;
    background-color: #fff100;
}

a.btn--yellow:hover {
    color: #000;
    background: #fff20a;
}

a.btn--yellow.btn--cubic {
    border-bottom: 5px solid #ccc100;
}

a.btn--yellow.btn--cubic:hover {
    margin-top: 3px;
    border-bottom: 2px solid #ccc100;
}

a.btn-c {
    font-size: 2rem;
    position: relative;
    padding: 2.5rem 3rem 2.5rem 3rem;
    border-radius: 100vh;
    margin: 0 auto;
    font-weight: bold;
}

a.btn-c i.fa {
    margin-right: 1rem;
}

.abstract .btn,
.registration .btn {
    margin: 20px auto 35px;
    width: 400px;
}

/*==================================================
registration 
==================================================*/
.registration table {
    border-collapse: collapse;
    margin: 0 auto 60px;
    padding: 0;
    width: 900px;
    table-layout: fixed;
    color: #000;
    line-height: 1.5em;
}

.registration table tr {
    background-color: #fff;
    padding: 1.35em;
    border-bottom: 1px solid #bbb;
}

.registration table thead {
    border-bottom: 5px solid #455a64;
}

.registration table tr:last-child {
    border-bottom: none;
}

.registration table th,
.registration table td {
    padding: 1em 1.5em;
    border-right: 1px solid #bbb;
}

.registration table th:last-child,
.registration table td:last-child {
    border: none;
}

.registration tbody th {
    color: #455a64;
}

.registration .txt {
    text-align: center;
}

.registration .price {
    text-align: right;
}

.registration .a_cnt li {
    margin-bottom: 1em;
}

.registration .a_cnt li .no_c li {
    margin-bottom: 0.5em;
}

/*==================================================
program 
==================================================*/
.program table {
    width: 98%;
    text-align: center;
    font-size: 80%;
    line-height: 1.3em;
}

.program table,
.program th,
.program td {
    border-collapse: collapse;
    table-layout: fixed;
    border: 2px solid #333;
}

.program th,
.program td {
    padding: 2em 0.5em;
    overflow-wrap: anywhere;
}

.program th {
    font-weight: bold;
    background-color: var(--table-th-bg);
    vertical-align: middle;
    line-height: 1.4;
}
.program th.t_time {
    width: 100px;
}
.program td {
    vertical-align: top;
}

.program td.p_cont {
    width: 23%;
    word-break: keep-all;
}

.program .ttl {
    font-size: 1.8rem;
    margin-bottom: 1em;
    font-weight: bold;
}

.program .p_speaker {
    text-align: left;
    padding-left: 5em;
    text-indent: -5em;
    font-size: 80%;
}

.program .p_speaker2 {
    text-align: left;
    padding-left: 3em;
    text-indent: -3em;
    font-size: 80%;
}

.program .kyukei {
    font-size: 1.8rem;
    font-weight: bold;
    background-color: #eee;
    text-align: center;
    vertical-align: middle;
}

.program .p3_content {
    font-size: 80%;
    padding-left: 3em;
}

.program .p_1em {
    padding-left: 4em;
}

.program .p_online table {
    text-align: left;
}

.program .p_online td {
    padding: 1em 1em;
}

.program .p_online .setumei {
    font-size: 1.4rem;
    color: var(--color-text);
    font-weight: normal;
    letter-spacing: 1px;
}

.program .p_online i {
    color: #455a64;
}

.program .t4 td {
    width: 50%;
}

.program .btn {
    text-align: center;
    margin-bottom: 50px;
}

.program .btn .p_btn,
.abstract .btn .p_btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    position: relative;
    padding: 2.5rem 3rem;
    border-radius: 999px;
    margin: 0 auto;
    font-weight: 700;
    color: #fff !important;
    background: var(--btn-primary);
    box-shadow: 0 2px 10px var(--btn-shadow);
    transition:
        transform 0.06s ease,
        box-shadow 0.2s ease;
}
.program .btn .p_btn:hover,
.abstract .btn .p_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--btn-shadow-strong);
}

.program .p_online .ttl {
    line-height: 1.5em;
}

.pl3em {
    padding-left: 3em;
}

.br-1500 {
    display: none;
}

.program .a_cnt {
    margin-left: 2em;
}

/*==================================================
bunkakai ippan
==================================================*/
.bunkakai h4 {
    font-size: 110%;
    text-indent: -0.5em;
    margin-left: 1em;
}

.bunkakai ul {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.bunkakai li {
    text-indent: -1em;
    margin-left: 1em;
}

.bunkakai p {
    font-size: 90%;
    text-indent: 1em;
    line-height: 1.5em;
}

.ippan .i_ttl {
    text-indent: -0.7em;
    margin-left: 1.5em;
    font-weight: bold;
    font-size: 1.1em;
}

.ippan .i_p2 {
    padding-left: 2em;
    padding-top: 0.2em;
    word-break: keep-all;
}

.ippan .i_p3 {
    padding-left: 4em;
    font-size: 90%;
    line-height: 1.4em;
    margin-bottom: 1.5em;
}

.d_sym h4 {
    font-size: 110%;
    margin-bottom: 0.5em;
    padding-left: 2em;
    text-indent: -0.5em;
}

.member {
    margin-bottom: 1em;
}

.member li {
    line-height: 1.5em;
    font-size: 90%;
    padding-left: 6em;
    text-indent: -6em;
}

/*==================================================
howto
==================================================*/
.howto h3 {
    font-size: 4rem;
}

.howto .boxht {
    margin-bottom: 1em;
}

.howto .boxht .box1 {
    margin-bottom: 1em;
}

.howto .boxht .box1 img {
    width: 400px;
}
.howto .boxht .txt {
    margin-left: 2em;
    margin-right: 1em;
}

/*==================================================
動画 
==================================================*/
.yout {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.yout iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*==================================================
ボタン 
==================================================*/
.btn-flex {
    display: flex;
}

.button001 {
    margin-top: 5px;
    margin-bottom: 5px;
    background: #eee;
    border-radius: 3px;
    position: relative;
    box-sizing: border-box;
    margin: 10px 20px;
    max-width: 280px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}

.button001 a {
    text-decoration: none;
}

.button001:hover {
    background: #313131;
    color: #455a64;
}

/*==================================================
participant
==================================================*/
.participant a {
    color: #455a64;
    font-size: 110%;
    font-weight: bold;
}

.participant p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.participant li:not(:last-child) {
    margin-bottom: 0.5em;
}

.par_1 {
    margin-left: 1em;
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.5em;
}

.par_1 li:before {
    content: "";
    /* 空の要素作成 */
    width: 10px;
    /* 幅指定 */
    height: 10px;
    /* 高さ指定 */
    display: inline-block;
    /* インラインブロックにする */
    background-color: #000;
    /* 背景色指定 */
    border-radius: 50%;
    /* 要素を丸くする */
    margin-right: 0.5em;
    /* 余白指定 */
}

.par_2 {
    margin-left: 1em;
    text-indent: -1em;
    padding-left: 1em;
}

.par_2 li:before {
    content: "";
    width: 10px;
    height: 10px;
    display: inline-block;
    background-color: #455a64;
    border-radius: 50%;
    margin-right: 0.5em;
}
/*==================================================
山梨大会追加分
==================================================*/
/* ===== Top banners: common ===== */
.top-banners__list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.top-banners__list img {
    display: block;
    height: auto;
}

/* ===== PC/Tablet: 横一列で表示（今はJSなし） ===== */
.top-banners--pc .top-banners__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: nowrap; /* “増えるまでは”横一列固定 */
}

.top-banners--pc .top-banners__list li {
    flex: 1;
    max-width: 300px;
}

.top-banners--pc .top-banners__list img {
    width: 300px;
}
.top-banners--sp {
    display: none;
}

/* ===== 追加部分 ===== */

.quote-1 {
    max-width: 500px;
    padding: 1em 1.5em;
    border-left: 4px solid #f2f2f2;
    color: var(--color-text);
    margin: 1em auto;
}

.quote-1:has(cite) {
    padding-bottom: 0.5em;
}

.quote-1 p {
    margin-top: 0;
}

.quote-1 cite {
    display: block;
    color: #737373;
    font-size: 0.8em;
    text-align: right;
}
.kaijo {
    font-size: small !important;
    font-weight: normal;
}
/*=====　program grid　======*/
.frame {
    display: block; /* グリッド構造を解除し、単なるコンテナにする */
    width: 100%;
    overflow-x: auto;
}

.grid {
    display: grid;
    grid-template-rows: repeat(10, var(--slot-h));
    grid-template-columns: 100px repeat(4, minmax(0, 1fr));
    gap: var(--line);
    background: var(--lineColor);
    border: var(--line) solid var(--lineColor);
    width: 98%;
    min-width: 960px;
    padding: 0;
    justify-content: stretch;
    grid-template-rows:
        36px
        calc(var(--slot-h) * 1.5)
        calc(var(--slot-h) * 1)
        calc(var(--slot-h) * 2)
        calc(var(--slot-h) * 0.5)
        calc(var(--slot-h) * 2)
        calc(var(--slot-h) * 1)
        calc(var(--slot-h) * 2)
        calc(var(--slot-h) * 4)
        calc(var(--slot-h) * 1.5);
    font-size: 80%;
}
.grid > div {
    background: #fff;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    border-radius: 0; /* 角丸OFF */
    text-align: center;
    padding: 8px 10px;
    line-height: 1.35;
    display: block;
    text-align: left;
    align-items: center;
    justify-content: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    max-width: 100%;
}

.grid .colhead {
    text-align: center;
}
.grid .timehead,
.grid .colhead {
    background: #fffaf0;
    font-weight: 700;
    /*display: grid;*/
    place-items: center;
}
.grid > div p {
    margin: 0 0 0.4em;
    font-size: 1.3rem;
}
.grid > div p + p {
    margin-top: 0.4em;
}

.grid > .time {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-align: center;
    background: #fffaf0;
}
.grid > .band {
    display: flex !important;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    background: #eee;
}
.grid > .band2 {
    display: flex !important;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    font-size: 1.6rem;
}
.band {
    font-size: 1.6rem;
    font-weight: bold;
}
.head1 {
    grid-area: 1 / 2 / 2 / 3;
}
.head2 {
    grid-area: 1 / 3 / 2 / 4;
}
.head3 {
    grid-area: 1 / 4 / 2 / 5;
}
.head4 {
    grid-area: 1 / 5 / 2 / 6;
}
.div1 {
    grid-area: 2 / 1 / 3 / 2;
}
.div2 {
    grid-area: 3 / 1 / 5 / 2;
}
.div3 {
    grid-area: 5 / 1 / 6 / 2;
}
.div4 {
    grid-area: 6 / 1 / 8 / 2;
}
.div5 {
    grid-area: 8 / 1 / 9 / 2;
}
.div6 {
    grid-area: 9 / 1 / 10 / 2;
}
.div7 {
    grid-area: 10 / 1 / 11 / 2;
}

.div8 {
    grid-area: 2 / 2 / 3 / 6;
}
.div9 {
    grid-area: 3 / 2 / 5 / 3;
}
.div10 {
    grid-area: 6 / 2 / 8 / 3;
}
.div12 {
    grid-area: 3 / 3 / 8 / 4;
}

.div11 {
    grid-area: 4 / 4 / 7/ 5;
}
.div13 {
    grid-area: 3 / 5 / 8 / 6;
    place-content: center;
}
.div14 {
    grid-area: 8 / 2 / 9 / 6;
}
.div15 {
    grid-area: 9 / 2 / 10 / 3;
}
.div16 {
    grid-area: 9 / 3 / 10 / 4;
}

.div17 {
    grid-area: 9 / 4 / 10 / 5;
}
.div18 {
    grid-area: 9 / 5 / 10 / 6;
    place-content: center;
}
.div19 {
    grid-area: 10 / 2 / 11 / 3;
}
.div20 {
    grid-area: 10 / 3 / 11 / 6;
}

.grid p {
    text-align: center;
    font-size: 80%;
}
.grid .ttl {
    font-size: 1.6rem;
}
.grid .p_speaker {
    text-align: left;
}

/* ====== お問い合わせページ ====== */
.contact-box {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 24px 1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin: 2em auto;
    width: 90%;
}
#displayed-email {
    font-weight: 700;
    margin: 1em 0;
    color: #1f2937;
}
.nojs {
    display: inline-block;
    margin: 1em 0;
    padding: 0.4em 0.8em;
    border: 1px solid #ddd;
    border-radius: 0.5em;
    user-select: text;
    color: #444;
}
.js-only {
    display: none;
} /* JSで有効化する */
button.open-mail,
button.copy-eml {
    display: inline-block;
    margin: 0.5em;
    padding: 0.7em 1.4em;
    border-radius: 999px;
    border: 0;
    background: var(--color-heading);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
}
button.copy-eml {
    background: #6b7280;
}
button.open-mail:hover,
button.copy-eml:hover {
    opacity: 0.85;
}
.tel {
    white-space: nowrap;
}
.not_f h2 {
    font-size: 4rem;
}
.mb05 {
    margin-bottom: 0.5em;
}
.session-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.session-card.is-link:hover {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12) inset;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

/*==================================================
1500px以下 
==================================================*/
@media screen and (max-width: 1500px) {
    .wrap {
        width: 93%;
    }

    .main {
        margin-left: 280px;
    }

    .bnr-nav img {
        width: 270px;
    }

    .flex {
        flex-direction: column;
    }

    .index .flex,
    .participant .flex {
        flex-direction: row;
    }

    .br-pc2 {
        display: none;
    }
    .br-1500 {
        display: block;
    }
    /*index*/
    #side-box {
        width: 280px;
    }

    .sns_posi {
        bottom: 0;
        left: 30px;
    }

    .sns_link {
        margin-bottom: 20px;
    }

    /*sponsor*/

    /*registration*/
    .registration table {
        font-size: 80%;
        width: 99%;
    }

    .registration table th,
    .registration table td {
        padding: 1em 0.5em;
    }
    /*program*/
    .program .a_cnt {
        margin-left: 2em;
    }

    .program table {
        font-size: 1.3rem;
    }

    .program .tbl-r07 {
        width: 97%;
    }

    .program .taikai1 .scroll,
    .program .taikai2 .scroll {
        overflow-x: auto;
    }

    .program .ttl {
        font-size: 1.6rem;
    }

    .program .p_speaker,
    .program .p_speaker2 {
        padding-left: 2em;
        text-indent: -2em;
    }

    .program td.p_cont {
        width: 23%;
    }
}
/*==================================================
バナー小さめモニター(1300px以下) 
==================================================*/
@media screen and (min-width: 1025px) and (max-width: 1300px) {
    .top-banners--pc .top-banners__list {
        gap: 16px;
    }

    .top-banners--pc .top-banners__list img {
        width: 100%;
    }
}

/*==================================================
タブレット(1024px)のみ 
==================================================*/
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .tab_ttl {
        display: block;
    }
    .sp_ttl {
        display: none;
    }
}

/*==================================================
タブレット(1024px)以降 
==================================================*/
@media screen and (max-width: 1024px) {
    html {
        overflow: auto;
        background-color: #fff;
    }

    body {
        font-size: 1.6rem;
        letter-spacing: 0;
        line-height: 1.8em;
        background-color: #fff;
    }

    .inner {
        width: 100%;
    }

    #hp_base {
        min-width: 320px;
    }
    main {
        padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    }
    .main {
        display: flex;
        flex-direction: column;
        max-width: 98%;
        background-color: var(--color-bg);
        margin-right: auto;
        margin-left: auto;
        min-height: 800px;
        padding-top: 60px;
        margin-left: 0;
        min-width: initial;
        min-width: auto;
    }

    h2,
    .not_f h2 {
        font-size: 3.5rem;
        line-height: 1.2em;
    }

    h3 {
        font-size: 2.6rem;
    }

    #top_img {
        width: 100%;
        padding: 0;
    }

    #top_img .ttl {
        font-size: 1rem;
        margin: 0 0 0 auto;
    }

    .bnr {
        display: flex;
        flex-wrap: wrap;
    }

    .bnr .item {
        flex: 1 0 50%;
        /* 2カラムに分割するために50%の幅を指定 */
    }

    .item:nth-last-child(1):nth-child(odd) {
        flex: 0 0 50%;
    }

    .bnr2col ul {
        display: flex;
        justify-content: center;
    }

    .bnr-nav {
        width: 94%;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .bnr-nav a {
        display: inline-block;
    }

    .bnrlist {
        margin-bottom: 0;
    }
    .bnrlist li img {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        box-shadow: 0px 0px 4px 0 rgba(0, 0, 0, 0.2);
    }

    .news-list {
        height: auto;
        margin-bottom: 0;
    }

    footer {
        padding-top: 20px;
        width: 100%;
        min-width: 320px;
        position: relative;
    }

    footer #copyright {
        margin: 0 5px;
    }

    .sp {
        display: block;
    }

    .pc,
    .br-pc,
    .br-pc2 {
        display: none;
    }
    .sp_none {
        display: none;
    }
    .sp_none2 {
        display: block;
    }

    .main-content {
        padding: 0 4%;
        min-height: 480px;
    }

    .mt2em {
        margin-top: 2em;
    }

    #side-box {
        width: 100%;
        height: auto;
        background: var(--color-bg);
        border: none;
        max-height: inherit;
        position: fixed;
        padding: 0 0;
        top: 0;
    }

    #side-box .navi-box {
        margin: 0;
        text-align: center;
        height: inherit;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 100px;
        /* display:block;*/
        position: absolute;
        /*top: 48px;*/
        left: 0;
        width: 100%;
        background: var(--sidebar-bg);
    }

    .gnavi {
        margin-top: 0;
    }

    .gnavi .subnavi a {
        line-height: 2em;
    }

    .gnavi li span {
        padding: 8px 30px;
        margin-bottom: 0;
    }

    .gnavi li {
        text-align: left;
        font-weight: bold;
        margin-left: 1em;
    }

    .main {
        margin-left: auto;
        margin-right: auto;
        min-height: auto;
    }

    .main-img img {
        margin-top: 0;
    }

    .link {
        margin-top: -60px;
        padding-top: 60px;
        /* メニューで隠れる対策 */
    }

    .wrap,
    .wrap-s {
        width: 95%;
        max-width: 95%;
        padding: 0;
        min-height: auto;
    }

    .modoru {
        margin-top: 10px;
    }

    .top_txt {
        width: 96%;
        margin: 0 auto;
        line-height: 1.5em;
        margin-bottom: 1.5em;
    }

    .top_txt p {
        text-align: center;
    }
    /*ハンバーガーメニュー*/
    .button-toggle {
        position: fixed;
        top: 3px;
        right: 1%;
        width: 50px;
        height: 50px;
        display: block;
        z-index: 9999;
        background: var(--color-heading);
        cursor: pointer;
        border-radius: 5px;
    }

    .line {
        display: inline-block;
        transition: all 0.4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #fff;
        width: 50%;
    }

    .button-toggle span:nth-of-type(1) {
        top: 13px;
    }

    .button-toggle span:nth-of-type(2) {
        top: 19px;
    }

    .button-toggle span:nth-of-type(3) {
        top: 25px;
    }

    .button-toggle span:nth-of-type(3)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: -2px;
        left: -2px;
        color: #fff;
        font-size: 1rem;
        text-transform: uppercase;
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
    .button-toggle.active span:nth-of-type(1) {
        top: 14px;
        left: 16px;
        transform: translateY(6px) rotate(-45deg);
        width: 40%;
    }

    .button-toggle.active span:nth-of-type(2) {
        opacity: 0;
    }

    .button-toggle.active span:nth-of-type(3) {
        top: 26px;
        left: 16px;
        transform: translateY(-6px) rotate(45deg);
        width: 40%;
    }

    .button-toggle.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: -2px;
        left: 9px;
    }

    .navi-box {
        display: none;
    }
    /*index*/
    .flex-box {
        display: block;
    }

    .left-box {
        width: 100%;
        margin: 0 auto;
    }

    .sns_link {
        justify-content: center;
    }

    .index .flex,
    .participant .flex {
        flex-direction: column;
    }

    .index .flex_sp {
        display: flex;
        flex-direction: row;
    }

    .flyer_dl {
        margin-bottom: 10px;
    }

    .flyer_dl img {
        width: 90%;
    }

    .news-list li {
        line-height: 1.2em;
    }

    .i_scroll {
        height: 300px;
    }
    /*outline*/
    .gaiyo p {
        padding-left: 1em;
    }

    .last td:last-child {
        width: 100%;
    }

    .tbl-r02 {
        width: 100%;
    }

    .tbl-r02 th,
    .tbl-r02 td {
        display: block;
        width: 100%;
    }

    .tbl-r02 tr td:nth-of-type(2) {
        padding-left: 2em;
    }

    .s_flex {
        flex-direction: column;
    }

    .support_item02,
    .support_item03,
    .support_item04,
    .support_item05 {
        text-align: center;
        margin: 0 auto;
    }

    .support_item03 {
        width: 100%;
    }
    /*abstract */
    .abstract .w90,
    .registration .w90,
    .sponsor .w90,
    .art_appl .w90,
    .ippan .w90 {
        width: 98%;
        margin: 0 auto;
    }

    .abstract .box1,
    .art_appl .box1 {
        width: 100%;
    }

    .abstract table {
        width: 98%;
    }

    .abstract table th {
        width: 30%;
    }

    .abstract .btn,
    .registration .btn {
        max-width: 98%;
        display: block;
        text-align: center;
        width: 300px;
        padding-bottom: 1em;
    }
    /*program*/
    .program .a_cnt {
        margin-left: 1em;
    }

    .program .tbl-r07 {
        margin: 0 10px 50px;
    }

    .program .p3_content {
        padding-left: 0.5em;
    }

    .program .p_1em {
        padding-left: 1.5em;
    }

    .program th,
    .program td {
        padding: 1em 0.5em;
    }

    .pl3em {
        padding-left: 1em;
    }

    .program .p_speaker,
    .program .p_speaker2 {
        padding-left: 1em;
        text-indent: -1em;
    }

    .program .t4 td {
        display: block;
        width: 100%;
    }
    /*bunkakai ippan*/

    .member li {
        padding-left: 1em;
        text-indent: -1em;
    }

    /*howto*/
    .howto h3 {
        text-align: center;
    }

    .howto .memo {
        width: 90%;
        margin: 0 auto;
        padding-left: 1em;
        text-indent: -1em;
    }

    .howto .boxht .box1 {
        text-align: center;
    }

    .howto .boxht .box1 img {
        max-width: 90%;
        margin: 0 auto;
    }

    .howto .boxht .txt {
        margin: 0 auto 2em;
        width: 90%;
        text-indent: 1em;
    }
    /*participant*/
    .par_1 {
        margin-left: 0.5em;
    }

    .par_2 {
        margin-left: 0;
    }
    /*contact*/
    .copy-eml {
        display: none !important;
    }
}

/*==================================================
スマホ(768px)以降 
==================================================*/

@media screen and (max-width: 768px) {
    h2,
    .not_f h2 {
        font-size: 3rem;
    }
    h3 {
        font-size: 2.2rem;
    }

    .sp_none2 {
        display: none !important;
    }
    .br-pc3 {
        display: none;
    }

    /*side-box*/
    .bnrlist {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .top-banners--pc {
        display: none;
    }
    .top-banners--sp {
        display: block;
    }

    .top-banners__list--random1,
    .top-banners__list--random2 {
        width: 90%;
        margin: 16px auto;
    }

    .top-banners__list--random1 li,
    .top-banners__list--random2 li {
        width: 100%;
    }
    .top-banners__list--random1 img,
    .top-banners__list--random2 img {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .bnrlist--footer-random {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap; /* wrap不要 */
        justify-content: flex-start; /* space-around不要 */
        align-items: center;
        gap: 20px;
        width: 90%;
        margin: 0 auto;
        padding: 0;
        list-style: none;
    }

    .bnrlist--footer-random li {
        padding: 0;
        width: 100%;
        max-width: 450px;
    }

    .bnrlist--footer-random li img {
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
        height: auto;
    }
    .program .tbl-r07 {
        width: 600px;
        min-width: 600px;
    }
    .program th.t_time {
        width: 80px;
    }
    .grid {
        min-width: 560px; /* ← 全体の最小幅を狭くする */
        grid-template-columns: 70px repeat(4, 1fr); /* タイム列を細く */
        grid-template-rows:
            36px
            calc(var(--slot-h) * 1.5)
            calc(var(--slot-h) * 1)
            calc(var(--slot-h) * 2)
            calc(var(--slot-h) * 0.5)
            calc(var(--slot-h) * 3)
            calc(var(--slot-h) * 1)
            calc(var(--slot-h) * 2)
            calc(var(--slot-h) * 4)
            calc(var(--slot-h) * 1.5);
        font-size: 80%;
    }

    .grid > div {
        padding: 4px 6px;
        font-size: 12px;
    }

    .grid p {
        font-size: 1.2rem;
    }
    .grid > .band {
        font-size: medium;
    }
    .kaijo {
        font-size: 1rem !important;
    }
}
@media screen and (max-width: 600px) {
    .tab_ttl {
        display: none;
    }
    .sp_ttl {
        display: block;
    }
}
/*==================================================
footer
===================================================*/
.footer-links {
    margin: 1.5em 0 0;
    padding-top: 1em;
    padding-left: 300px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6em 1em;
}

.footer-links a {
    text-decoration: none;
    color: #333;
}

.footer-links a:hover {
    text-decoration: underline;
}
@media (max-width: 1024px) {
    .footer-links {
        padding-left: 0;
    }
}

/* ===== スマホのみ調整 ===== */
@media (max-width: 768px) {
    .footer-links {
        border-top: 1px solid #ddd; /* ラインはスマホのみ */
        padding-top: 1em;
    }

    .footer-links ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2項目ずつ */
        gap: 0.6em 1em;
        justify-items: center;
    }

    .footer-links li {
        width: 100%;
        text-align: center;
    }
}

/*==================================================
 動きを抑えたい人向け設定(一番最後固定) 
 ==================================================*/
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
/*==================================================
 スクリーンリーダー用 
 ==================================================*/
.sr-only {
    position: absolute;
    left: -9999px;
}

/*==================================================
 フォーカスリング（キーボード操作の見やすさ）
 ==================================================*/
:where(a, button, [role="button"], .p_btn):focus-visible {
    outline: 3px solid color-mix(in oklab, var(--color-heading), white 20%);
    outline-offset: 3px;
}
