@charset "UTF-8";/* 文字コードUTF-8 */

html {
    font-size: 100%;/* ユーザー指定のフォントサイズで表示 */
}

body {
    background-color: #FFFFFF;                              /* サイト全体の背景色 */
    color: #333333;                                         /* サイト全体の文字色 */    
    font-family: 'Noto Sans JP', sans-serif;     /* サイト全体のフォント */
}

.container{                             /* フッターをデバイスの一番下に表示させるための4行 */
    display:grid;                           
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
	min-height: 100vh;
}

ul {                                    /* リストの点を無くして、余白もなくす */
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

a {                                     /* リンクの下線を無くす */
    text-decoration: none;
}

details summary::-webkit-details-marker {   /* Safariで表示されるデフォルトの三角形アイコンを消します */
    display: none;
}

.bold{                                  /* 太字クラス */
    font-weight: bold;
}

.subtitle {
    display: block;      /* 改行させる */
    font-size: 0.7em;    /* 小さくする */
    font-weight: 500;
    color: #555;
    margin-top: 5px;
}

.word {
    white-space: nowrap;
}

/* キーボード選択の枠（Tabキーなど） */
a:focus-visible,
details summary:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}




/* ヘッダー */
#header{
    margin-top: 20px;   /* ヘッダーの上を20px開ける */
}

.site-title{
    font-weight: bold;
    padding: 10px;                              /* タイトルの余白10px */
    display: inline-block;                      /* 無駄な余白を無くす */
    margin: 0 10px;                             /* h3の余白を調整 */
    border: solid 2px rgb(172, 228, 241);     /* 青の線で囲む */
    border-radius: 10%;                         /* 四角を丸くする */
    background-color: rgb(203, 218, 238);     /* 背景に薄い水色 */
}

/* フッター */
#footer{
    width: 100%;                                        /* 余白なし */
    border-top: 2px solid rgb(172, 228, 241);         /* ヘッダーと同じ色で上と下に線をつける */
    border-bottom: 2px solid rgb(172, 228, 241);
    background-color: rgb(203, 218, 238);             /* ヘッダーと同じ背景色 */
}

.footer-list{
    display: flex;              /* フッターのコンテンツを横並べ */
    flex-wrap: wrap;            
    justify-content: center;    /* 中央に揃える */
    font-weight: bold;          /* 太字 */
}

.footer-text:not(:last-child)::after {     /* 文字の最後（最後の要素以外）に／をつけて区切る */
    content: "／";
}

.footer-title{
    width: 100%;                /* 100%の幅 */
    text-align: center;         /* 中央揃え */
    margin-bottom: 10px;        /* 下に余白 */
}

/* ナビゲーションバー */
#navi {
    background-color: #333;     /* バーの色は黒 */
}

#navi a {
    color: #fff;                /* バーの文字は白 */
}

.navi_frame{
    display: flex;                  /* 横に並べる */
    justify-content: flex-start;    /* 左から並べる */
    padding-left: 20px;             /* 画面左端の余白 */
}

.navi_text {
    font-size: 0.875rem;            /* 文字サイズを調整 */
    padding: 10px 60px 10px 0;      /* 余白を調整 */
}

.title-return{
    margin-left: 20px;              /* 左を20px開ける */
    font-size: 0.8rem;              /* 文字を小さめに表示 */
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 広告 */
.adbox {
    margin-top: 50px;
    margin-bottom: 50px;
} .adslot_1 {
    width: 320px;
    height: 100px;
} .adslot_2 {
    width: 200px;
    height: 200px;
}




/* ヘッダーとフッター以外のメインコンテンツ */
main{
    margin: 0 20px 100px;   /* 左右を20px、フッターと100px開ける */
} article {
    font-size: 16px;
    line-height: 1.7;
}

.title-frame{
    display:grid;
    grid-template-columns: 1fr 220px; /* ← 日付専用スペース確保 */
    align-items:end;
    gap:20px;
}

/* タイトル */
.article-title{
    margin:0;
    min-width:0; /* ← 超重要（Grid改行バグ防止） */
    font-size: 1.5em;           /* 文字の大きさの調整 */
}

/* 日付ブロック */
.article-date{
    white-space:nowrap; /* ← 日付改行禁止 */
} .date-row {
    display: grid;
    grid-template-columns: 7em auto;
    justify-content: end; /* ← 行自体を右へ */
} .date-label {
    text-align: right;    /* ← ラベル右揃え */
} .final-date {
    margin-top: 4px;
}









.intro-base {
    margin: 40px 0;
    padding: 20px;
    line-height: 1.8;
    font-size: 0.95rem;
    background-color: #EAF8FF;
    border-left: 6px solid #1E88C8;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
} .intro-base p {
    margin: 0;
}




/* 目次 */
.toc {
    margin: 24px 0;
    padding: 18px 20px;
    background: #f6faff;
    border: 1px solid #cfe0f5;
    border-left: 5px solid #4a90d9;
    border-radius: 8px;
}

.toc-title {
    margin: 0 0 12px;
    color: #245b91;
    font-size: 1.1rem;
}

.toc ul {
    margin: 0;
    padding-left: 1.5em;
}

.toc li {
    margin: 7px 0;
}

.toc li::before {
    content: "›";
    margin-right: 8px;
    color: #4a90d9;
    font-weight: bold;
}

.toc a {
    color: #245b91;
    font-weight: 500;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}




section {
    margin: 50px 0;
}

.section-title {
    margin: 0 0 18px;
    padding: 10px 14px;
    font-size: 1.2em;
    line-height: 1.4;
    color: #245b91;
    background-color: #eaf3ff;
    border-left: 6px solid #4da3ff;
    border-bottom: 2px solid #cfe0f5;
    border-radius: 4px;
}




.intro {
    margin: 0 0 24px;
    padding: 12px 14px;
    max-width: 750px;
    font-weight: 500;
    line-height: 1.7;
    background-color: #f8fbff;
    border: 1px solid #d8e6f3;
    border-left: 4px solid #9ab9dc;
    border-radius: 6px;
}




.walkthrough-list {
    margin: 0 0 22px;
    padding-left: 1.6em;
}

.walkthrough-list li {
    position: relative;
    margin: 0;
    padding: 7px 68px 7px 0;
    line-height: 1.7;
    color: #333;
    border-bottom: 1px dotted #d8dee8;
}

.walkthrough-list .yt-btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 2px 6px;
    font-size: 0.7rem;
    border-radius: 4px;
}

.walkthrough-list li::marker {
    font-weight: bold;
    color: #2f4f85;
}

.yt-btn {
  display: inline-flex;
  padding: 5px 8px;
  background-color: #FF0000; /* YouTubeレッド */
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 6px;
  transition: 0.15s;
  white-space: nowrap;
  align-items: center;
  gap: 3px;
}




#hp h3,
#busterup h3,
#bug h3,
#regularup h3
{
    margin: 28px 0 12px;
    padding-bottom: 6px;
    font-size: 1.05rem;
    color: #2f4f85;
    border-bottom: 3px solid #7aa7ff;
}



#shop details {
    margin: 14px 0;
    border: 1px solid #d8e2f3;
    border-radius: 8px;
    background-color: #f8fbff;
    overflow: hidden;
}

#shop summary {
    list-style: none;
    padding: 12px 14px;
    background-color: #eaf3ff;
    border-left: 4px solid #7aa7ff;
}

#shop summary::before {
    content: "＋ ";
    font-weight: bold;
    color: #2f4f85;
} #shop details[open] summary::before {
    content: "－ ";
}

.shop-title {
    display: inline;
    margin: 0;
    font-size: 1rem;
    color: #2f4f85;
}

#shop table {
    width: calc(100% - 28px);
    margin: 12px 14px 16px;
    border-collapse: collapse;
    text-align: center;
    background-color: #fff;
    font-size: 0.95rem;
}

#shop th,
#shop td {
    border: 1px solid #d6dce8;
    padding: 9px 10px;
    line-height: 1.6;
}

#shop th {
    background-color: #f0f5ff;
    color: #2f4f85;
    font-weight: bold;
    text-align: center;
}

#shop td:nth-child(2) {
    white-space: nowrap;
}




.gate-list,
.trade-list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.gate-card,
.trade-card {
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #d9dee3;
    border-radius: 8px;
}

.gate-route,
.trade-route {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: bold;
}

.gate-arrow,
.trade-arrow {
    color: #777;
    font-size: 1.1rem;
}

.gate-info,
.trade-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.gate-info p,
.trade-info p {
    margin: 0;
    flex: 1;
}

.gate-info .yt-btn,
.trade-info .yt-btn {
    flex-shrink: 0;
}

.gate-key,
.trade-item {
    padding: 4px 9px;
    background: #e9eef3;
    border-radius: 5px;
}

.gate-destination {
    font-size: 1.05rem;
}

.trade-result {
    background: #fff3cd;
}









/* 幅560px以下の場合 */
@media screen and (max-width: 560px) {

    .title-frame{
        display: block;
    }

    .article-title{
        margin: 10px 0;
    }

    .article-date{
        padding: 0;
        margin: 0 0 20px 0;
        width: 100%;
    }
  
    main {
        margin: 0 10px 50px;
    }

    details {
        padding: 0;
    }
    
    p {
        font-size: 15px; /* 締まりが良くなる */
        line-height: 1.7;
        margin-bottom: 18px;
    }

    #hp,
    #busterup,
    #bug,
    #regularup,
    #submemory,
    #request,
    #shop,
    #straw,
    #gate {
        margin: 28px 0;
    }

    #shop table {
        font-size: 0.9rem;
    }

    #shop th,
    #shop td {
        padding: 8px 7px;
    }

    #shop td:nth-child(2) {
        white-space: normal;
    }

    .gate-card,
    .trade-card {
        padding: 14px;
    }

    .gate-info,
    .trade-info {
        align-items: flex-start;
    }

} @media (hover: hover) and (pointer: fine) {

    summary:hover {
        color: blue;
        cursor: pointer;
        text-decoration: underline;
    }

    a:hover {
        text-decoration: underline;
    }

    .yt-btn:hover {
        background-color: #cc0000;
        transform: translateY(-1px);
    }

    .walkthrough-list .yt-btn:hover {
        transform: translateY(calc(-50% - 1px));
    }
    

} @media (min-width:500px) {
    .adslot_1 {
        width: 468px;
        height: 60px;
    }
} @media (min-width:800px) {
    .adslot_1 {
        width: 728px;
        height: 90px;
    }
}