
@media screen and (max-width: 1340px) {
    .header_nav li{
        border-right:1px solid #333;
    }
    .header_nav li > a{
        padding: 0 .45rem;
    }   /* 横余白を圧縮 */

    .header_nav h3{
        font-size: clamp(.9rem, 1.2vw, 1.05rem); /* タイトル縮小 */
    }
    .header_nav p{
        font-size: clamp(.65rem, .85vw, .75rem); /* サブテキスト縮小 */
    }
}

@media screen and (max-width: 1024px) {
    .container {
        gap: 24px;
    }

    /* ヘッダー */
    header .header_nav ul {
        gap: 16px;
        flex-wrap: wrap;
    }

    .header_nav ul {
        position: relative;
    }

    .header_nav ul::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;             /* 折り返しのちょうど中央に線 */
        height: 1px;
        background: #333;
    }

    .header_nav a {
        font-size: clamp(10px, 3.5vw, 13px);
    }

    header .header_nav li h3 { 
        font-size: 1rem; 
    }

    header .header_nav li p  { 
        font-size: .8rem; 
    }
    
    article { flex: 1 1 auto; min-width: 0; }
    aside   { flex: 0 0 280px; }

    /* トップページのスライダー */
    #top-swiper{
        height: 70vh;
        min-height: 360px;
    }

    /* ニュース記事周りの余白 */
    #news_syousai h1,
    #column_syousai h1 { 
        margin-bottom: 1rem; 
    }
    .news_date, .column_date { 
        gap: 16px; 
    }

    /* 共有ボタン段 */
    .news_bottom { 
        gap: 16px; 
    }
}

@media screen and (max-width: 960px) {
    .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 200px;
    }
}



@media screen and (max-width: 767px) {

    /* ヘッダー：縦積み・詰めすぎ回避 */
    #headerlogo { 
        padding: 12px 16px;
        gap: 12px; 
    }

    .shop{ margin-right:.4rem; }
    .shop_btn{
        padding:.45rem .6rem;
        min-width:auto;
        font-size: clamp(.75rem, 2.6vw, .85rem);
    }

    .snsicon ul{ 
        gap:.5rem; 
        margin-right: 3.125rem;
    }

    .hamburger {
        display: block;
    }

    .header_nav {
        display: none;
    }

    /* メイン：1カラム化 */
    main .container {
        display: block;
        padding: 0 16px;
    }

    article { 
        width: 100%; 
    }

    aside   { 
        width: 100%; margin-top: 24px; 
    }

    aside ul { 
        display: grid; 
        grid-template-columns: 1fr 1fr; gap: 12px; 
    }

    /* スライダー：高さとタップ性 */
    #top-swiper{
        height: 80vh;
        min-height: 260px;
        margin: 0 auto; 
    }

    #top-swiper .swiper-button-prev,
    #top-swiper .swiper-button-next { /* モバイルでは非表示にしてもOK */
        display: none;
    }

    #top-swiper .swiper-pagination { 
        bottom: 8px; 
    }

    #WhatsNew  h1,
    #card_ticket h1 {
        font-size: 3.4375rem;
    }

    .card_ticket h3 {
        font-size: 18px;
    }

    .box1 {
        display: block;
    }

    .news_image .img02 {
        width: 100%;
    }

    .news_card figure img {
        width: 100%;
    }

    .match_body{
        grid-template-columns: 80px minmax(0, 1fr) 80px;
        gap: 10px 12px;
        padding: 10px;
    }

    .names .name{
        white-space: normal;          /* ← nowrapをオフに */
        overflow-wrap: anywhere;      /* どこでも改行可（日本語もOK） */
        word-break: break-word;       /* 長い単語対策 */
    }

    .centerbelt{ gap: 8px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
    .match_body{ grid-template-columns: 80px minmax(0,1fr) 80px; }

    .ivent_item dd,
    .ivent_exp li{
        line-height: 1.5;
    }

    .ivent_exp {
        font-size: 20px;
        font-weight: bold;
        color: #f0f0f0;
    }
  
    /* ニュース＆コラム本文 */
    .news_text, .column_text { 
        margin-top: 16px; 
    }

    

    /* figure + figcaption の読みやすさ */
    figure { 
        margin: 20px 0; 
    }

    figure figcaption { 
        font-size: .95rem; 
        color: #cfcfcf; 
    }

    /* 共有ボタン＋一覧に戻る（縦積み） */
    
    .share_buttons p { 
        margin-bottom: .25em; 
    }

    .share_buttons ul { 
        gap: .75em; 
    }

    .share_buttons li a { 
        font-size: 16px; 
        padding: 6px 0; 
    }

    .back_to_list { 
        text-align: left; 
    }
    
    .back_to_list a {
        display: inline-block;
        margin-top: 4px;
    }

    /* ページトップボタンのタップしやすさ */
    .pagetop {
        width: 44px; height: 44px;
        right: 14px; bottom: 14px;
    }

    /* フッター */
    footer { 
        padding: 20px 16px; 
    }

    .footer_nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
    }

    .footer_nav li {
        border-right: none;
    }
}



@media screen and (max-width: 449px) {

    h1, h2 { 
        line-height: 1.25; 
    }
    #headerlogo {
        justify-content: start;
    }

    #headerlogo h1 {
        margin-left: 0;
    }

    .snsicon {
        margin-top: 1.25rem;
    }

    .snsicon ul { 
        gap: 3px; 
    }

    .snsicon img { 
        width: 20px; 
        height: 20px; 
    }

    #WhatsNew  h1,
    #card_ticket h1 {
        font-size: 2.8125rem;
    }


    .news-item {
        flex-direction: column;
        gap: .75rem;                /* 要素間の余白 */
    }

    .news-item .news_image{
        order: 1;
        margin: 0;                  /* 既存の左右マージンを打消し */
    }
    .news-item .news_image a,
    .news-item .news_image img{
        display: block;
        width: 100%;
        height: auto;
    }

    .news-item .news_exp{
        order: 2;
        width: 100%;
        padding: 0; 
        margin: 0;
    }

    .news_exp h3{
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
    }
    .news_exp h3 a.whatsnew_title{
        display: block;             /* タイトルをブロック化して読みやすく */
    }
    .news_exp h3 span{            /* 日付 */
        display: inline-block;
        margin-left: .25em;
        font-size: .9em;
        opacity: .9;
    }

    .news_exp .exp1{
        display: block;
        margin-top: .4rem;
        line-height: 1.7;
    }

    .news_exp .shosai{
        margin-top: .6rem;
    }

    #card_ticket .card_item {
        padding: 0;
    }

    .card_item {
        flex-direction: column; /* ← ここで縦並びに変更 */
    }

    .card_image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px; /* 必要なら制限 */
        margin: 0;
    }

    .card_image img {
        width: 100%;
    }

    .card_exp {
        flex: 0 0 auto;
        width: 100%;
    }

    .card_exp ul {
        margin-top: 0.625rem;
    }

    .card_exp ul li:last-child {
        margin-top: 1.25rem;
    }

    .card_exp ul li {
        font-size: 0.9rem;
    }
}

    .ivent_item dd,
    .ivent_exp li{
        line-height: 1.5;
    }

    .ivent_exp {
        font-size: 18px;
        font-weight: bold;
        color: #f0f0f0;
    }

    .match_body{ grid-template-columns: 64px minmax(0,1fr) 64px; }

    .centerbelt{
        gap: 10px;
    }


    .result .time{ font-size: clamp(16px, 5vw, 18px); }
    }


    /* 共有ボタン：タップターゲット */
    .share_buttons ul { 
        gap: 10px; 
    }

    .share_buttons li a { 
        font-size: 15px; 
    }

    /* フッター：1列 */
    .footer_nav ul { 
        grid-template-columns: 1fr; 
    }

    .footer_nav li {
        border-right: none;
    }
    
    .footer_info p { 
        font-size: 12px; 
    }
}



