/* 全体的なスタイル */
body {
    color: #333;
    font-family: YakuHanJP, 'Noto Sans JP', "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
        "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background: #fff;
    line-height: 1.8;
    font-weight: 400;
}

/* subtitle */
.txt-subtitle {
    padding-top: 80px;
    font-size: 1.2rem;
    line-height: 0.5;
    color: #333333;
    font-family: YakuHanJP, "秀英角ゴシック金 B JIS2004", "Shuei KakuGo Kin B JIS2004",
        "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
        "MS PGothic", sans-serif;
}

/* タイトルの色 */
.title {
    color: rgb(103, 172, 196);
    /* 好きな色に変更 */
}

/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10%;
    background-color: #f8f9fa;
    padding: 20px;
    box-sizing: border-box;
    text-align: right;
    z-index: 1;
}

/* メイン全体のスタイル */
.main {
    height: 90%;
    background-color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;

    max-width: 900px;
    margin: 0 auto;
}

.main-visual {
    width: 100%;
    max-height: 500px;
    /* 必要に応じて高さを制限 */
    object-fit: cover;
    /* 画像を拡大・縮小してフィットさせる */
}

/* サブメニューのスタイル */
.sub-menu-container {
    position: fixed;
    bottom: -60px;
    width: 100%;
    transition: bottom 0.5s ease-in-out;
}

.sub-menu {
    width: 100%;
    height: 10vh;
    background-color: #f8f9fa;
    padding: 20px;
    box-sizing: border-box;
    border-top: 2px solid #ccc;
    text-align: right;
}

/* 閉じるボタンのスタイル */
.close-btn {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1432aa;
    color: white;
    border: none;
    padding: 10px 20px;
    height: 40px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: #a9b0eb;
}

/* サブメニューの表示・非表示 */
.hidden {
    bottom: -100px;
    /* ボタン分だけ残す */
}

.visible {
    bottom: 0;
    /* 10% の高さで表示 */
}

/* ボタンのスタイル */
button {
    padding: 10px 20px;
    background-color: #1432aa;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #1432aa;
}

/* 青いボックス */
.blue-box {
    border: 3px solid rgb(103, 172, 196);
    /* 青い枠線 */
    padding: 10px;
    /* 内側の余白 */
    display: inline-block;
    /* サイズを内容に合わせる */
    font-weight: bold;
    /* 文字を強調 */
}



.txt-st {
    font-size: 18px;
    line-height: 1.78;
}

/* 見出しレベル1 */
.hdg-lv1-pt2 {
    font-size: 2rem;
    line-height: 1.3;
    color: #1432aa;
    font-family: YakuHanJP, "秀英角ゴシック金 B JIS2004", "Shuei KakuGo Kin B JIS2004",
        "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック",
        "MS PGothic", sans-serif;
    font-weight: 700;
}

/* h2タグ */
h2 {
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

/* 見出しレベル2 */
.headLv2-A.pt3 {
    color: #1432aa;
    border: #1432aa 1px solid;
    padding: 0 12px;
    width: 800px;
    font-weight: 700;
}

/* コンテナボックスのスタイル */
.containerbox {
    display: grid;
    /* グリッドレイアウト */
    grid-template-columns: 1fr 1fr;
    /* 2列にする */
    gap: 100px;
    /* 画像の間隔 */
    max-width: 800px;
    /* 横幅を調整 */
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.c_text {
    font-weight: 400;
    /* 太字 */
}


/* アーカイブスタイル */
.news-list-head {
    border-bottom: #7a8ace 1.4px solid;
}


.news-title {
    margin-top: 0 !important;
    margin-right: -10px;
    padding-right: 10px;
    text-align: left;
    color: #1432aa;
    line-height: 1.3;
    font-weight: 700;
    font-size: 1.2rem;
}

.release-container {
    margin-top: 0 !important;
}

.release-header {
    display: flex;
    align-items: flex-start;
    /* 画像とテキストを揃える */
}

.release-item {
    margin-right: 20px;
    /* 画像とテキスト間のスペース */
    margin-top: 30px;
    /* 余白をなくして配置を整える */
}

.release-item a {
    color: #4b4747;
    /* 親要素の色を引き継ぐ */
    font-weight: 700;
}


.release-image img {
    max-width: 150px;
    /* 画像の幅を調整 */
    margin-left: 20px;
}


.release-catch {
    margin-top: 20px;
    font-weight: 700;
    text-align: left;
    font-size: 1rem;
}


.release-info .release-date p,
.release-info .release-catch p {
    margin: 0;
    /* 余白をなくして配置を整える */
}

.bottom-line {
    border-top: 1px solid #ccc;
    margin-top: 20px;
}



/* 点線の横線 */
hr {
    border: none;
    border-top: 2px dotted black;
    width: 100%;
    /* 親要素の幅に合わせる */
    max-width: 800px;
    /* 最大幅を800pxに設定 */
    margin: 20px 0;
    /* 上下のマージンを追加して左右のマージンを0に設定 */
    display: block;
    /* ブロック要素として表示 */
}


.button-icon {
    width: 20px !important;
    /* アイコンのサイズを調整 */
}

.special-button {
    margin-top: 30px;
    /* ボタンの上に30pxのマージンを追加 */
}

#myBtn {
    display: none;
    /* ボタンを隠す */
    position: fixed;
    /* ボタンの位置を固定 */
    bottom: 12%;
    /* ボタンを下から20pxの位置に配置 */
    right: 30px;
    /* ボタンを右から30pxの位置に配置 */
    z-index: 99;
    /* ほかの要素よりも前面に表示 */
    border: none;
    /* ボーダーを削除 */
    outline: none;
    /* アウトラインを削除 */
    background-color: #d4e8f4;
    /* 背景色 */
    color: white;
    /* 文字色 */
    cursor: pointer;
    /* マウスカーソルをポインターに変更 */
    padding: 15px;
    /* パディング */
    border-radius: 4px;
    /* 角丸 */
    font-size: 18px;
    /* 文字サイズ */
}

#myBtn:hover {
    background-color: #555;
    /* ホバー色 */
}

/* 最後付近にあるリンクボックス */
.link-box {
    background-color: #d3d3d3;
    /* 灰色の背景 */
    padding: 10px;
    /* 内側の余白 */
    text-align: left;
    /* テキストを中央揃え */
    margin-top: 10px;
    max-width: 810px;
}

.link-text {
    color: #1432aa;
    /* 文字の色 */
    font-size: 18px;
    /* 文字サイズ */
}


.mobile-video-link {
    display: block;
    /* モバイルではリンクとアイコンを表示 */
}


/* アーカイブスタイル */
.blue-line {
    border-bottom: #7a8ace 1.4px solid;
    width: 850px;
    margin-bottom: 0;
    /* 下の隙間をなくす */
}


.blue-line-title {
    margin-top: 0 !important;
    margin-right: -10px;
    text-align: left;
    color: #1432aa;
    line-height: 1.3;
    font-weight: 700;
    font-size: 1.2rem;
}


/* 全体のレイアウト */
.wrapper {
    margin-top: 0;
    /* 上の隙間をなくす */
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
    /* 全体を中央に配置 */

}

/* 横並びでAグループとBグループを800px内でセンターに配置 */
.horizontal-layout {
    margin-top: -50px;
    display: flex;
    justify-content: space-between;
    /* AとBの端を均等に配置 */
    width: 850px;
    /* 800pxの幅で配置 */
}

/* 各グループのスタイル */
.box {
    text-align: center;

}

/* CグループはAグループの下に左寄せ */
.vertical-layout {
    display: flex;
    justify-content: flex-start;
    /* Cグループを左寄せ */
    width: 800px;
    /* 幅をA+Bの領域に合わせる */
}

.box-c {
    margin-left: -28px;
    width: 350px;
    /* Cグループの幅を800pxに */
    text-align: center;
}

/* 画像のスタイル */
.group-image {
    max-width: 350px;
    /* 画像が幅に収まるように */
    height: auto;
    margin-top: 0;
    /* 上の隙間をなくす */
    margin-bottom: 0;
    /* 下の隙間をなくす */
}

/* リンクボタンのスタイル */
.link-button {
    display: inline-block;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid black;
    text-align: center;
    width: 350px;
    height: 30px;
    margin-top: -3px;
    margin-bottom: 3px;
}

.b-link-button {
    margin-top: 8px; /* Bグループのボタンだけ10px下げる */
}




/* リンクボタンのホバー効果 */
.link-button:hover {
    background-color: #929292;
}

table {
    width:100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}
.gray {
    background-color: #d3d3d3;
}

        .bold {
            font-weight: bold;
        }

        .world-list {
            margin: 15px 0;
        }
        
        .world-list ul {
            list-style: none;
            padding: 0;
            
        }
        
        .world-item {
            margin-bottom: 30px;
        }
        
        .world-title {

            margin: 0 0 10px 0;
            font-size: 1.1em;
            font-weight: bold;
        }
@media screen and (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden; /* 横スクロールを無効化 */
    }

    .txt-subtitle {
        padding-top: 40px;
        font-size: 1rem;
        line-height: 1.5;
        color: #333333;
        font-family: YakuHanJP, "秀英角ゴシック金 B JIS2004", "Shuei KakuGo Kin B JIS2004", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    }

    .main-visual {
        width: 100%; /* 画面幅に合わせて広げる */
        margin: 0 auto;
    }

    /* メニューのスタイル */

    /* メインのスタイル */
    .main {
        margin-top: 50px;
        height: 100%;
        margin-left: 0;
        max-width: 100%;
        padding: 0 10px;
    }

    .txt-st {
        font-size: 1rem;
    }

    .menu {
        position: fixed; 
        top: 0; 
        width: 100%; 
        height: 10%;
        background-color: #f8f9fa;
        padding: 10px;
        box-sizing: border-box;
        text-align: right;
        z-index: 1; 
        }

    /* サブメニュー */
    .sub-menu {
        width: 100%; /* 幅を100%に調整 */
        height: calc(10% - 40px); /* 高さを調整 */
        background-color: #f8f9fa;
        padding: 10px;
        box-sizing: border-box;
        border-top: 2px solid #ccc;
        text-align: right;
    }


    /* サブメニューのスタイル */
    .sub-menu-container {
        margin: 0 auto;
        position: fixed;
        bottom: -30px;
        width: 100%; /* 幅を100%にする */
        transition: bottom 0.5s ease-in-out;
    }

    .sub-menu-container.hidden {
        bottom: -60px; /* ボタンが隠れている状態 */
    }

    .hdg-lv1-pt2 {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .headLv2-A.pt3 {
        width: 100%; /* 幅を100%にして画面にフィット */
        padding: 0 10px;
        font-size: 0.9rem;
    }


    h2 {
        font-size: 1.2rem;
        margin-block-start: 0.5em;
        margin-block-end: 0.5em;
    }

    .close-btn {
        position: absolute;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #1432aa;
        color: white;
        border: none;
        padding: 10px 20px;
        height: 40px;
        cursor: pointer;
        font-size: 14px;
        border-radius: 10px 10px 0 0;
    }

    .close-btn:hover {
        background-color: #a9b0eb;
    }

    /* コンテナボックスのスタイル */
    .containerbox {
        display: block;
        max-width: 100%;
        padding: 0 10px;
    }

    /* clearfix を追加 */
    .containerbox::after {
        content: "";
        display: block;
        clear: both;
    }

    /* 点線の横線 */
    hr {
        max-width: 100%;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 0;
    }

    h4 {
        padding-left: 10px;
        padding-right: 10px;
    }



    .c_text {
        margin-top: -20px;
        width: 99%; 
        font-size: 1rem;
        text-align: justify;
    }

    .release-header {
        
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .release-item {
        margin-right: 0;
        margin-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .release-image img {
        max-width: 100%;
        height: auto;
        margin-left: 0;
    }

    .release-info {
        width: 350px;
    }

    .release-date {
        font-size: 1rem;
        margin-top: 10px;
        text-align: left;
    }

    .release-catch {
        font-size: 0.8rem;
        margin-top: 10px;
        text-align: left;
    }

    .bottom-line {
        border-top: 1px solid #ccc;
        margin-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    /* 全体のレイアウト */
    .wrapper {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 80px;
        align-items: center;
    }

    /* AグループとBグループを縦に並べる */
    .horizontal-layout {
        margin-top: -50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    /* 各グループのスタイル */
    .box {
        text-align: center;
    }

    /* CグループはAグループの下に左寄せ */
    .vertical-layout {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        width: 97%;
        max-width: 350px; /* Cグループの最大幅を350pxに制限 */
    }


    .box-c {
        width: 100%;
        max-width: 350px;
        text-align: center;
        margin: 0 auto;
        margin-top: -80px;
    }

    /* 画像のスタイル */
    .group-image {
        max-width: 350px;
        height: auto;
        margin-top: 0;
        margin-bottom: 0;
    }

    /* リンクボタンのスタイル */
    .link-button {
        display: inline-block;
        background-color: #ffffff;
        color: rgb(0, 0, 0);
        text-decoration: none;
        border-radius: 5px;
        border: 1px solid black;
        max-width: 350px; /* 幅を100%に調整 */
        height: 30px;
        margin-top: -3px;
        margin-bottom: 3px;
    }
    .blue-line {
        border-bottom: #7a8ace 1.4px solid;
        width: 350px;
        margin-bottom: 0;
        /* 下の隙間をなくす */
    }
    

    .b-link-button {
        margin-top: 8px;
    }

    /* リンクボタンのホバー効果 */
    .link-button:hover {
        background-color: #929292;
    }

    #myBtn {
        display: none;
        /* ボタンを隠す */
        position: fixed;
        /* ボタンの位置を固定 */
        bottom: 60px;
        /* ボタンを下から20pxの位置に配置 */
        right: 30px;
        /* ボタンを右から30pxの位置に配置 */
        z-index: 99;
        /* ほかの要素よりも前面に表示 */
        border: none;
        /* ボーダーを削除 */
        outline: none;
        /* アウトラインを削除 */
        background-color: #d4e8f4;
        /* 背景色 */
        color: white;
        /* 文字色 */
        cursor: pointer;
        /* マウスカーソルをポインターに変更 */
        padding: 15px;
        /* パディング */
        border-radius: 4px;
        /* 角丸 */
        font-size: 18px;
        /* 文字サイズ */
    }
    
    #myBtn:hover {
        background-color: #555;
        /* ホバー色 */
    }

    .world-list {
        margin-top: -0.5px;
        padding: 3px;
        text-align: center;
    }

    .world-title {

        font-size: 1em;
        text-align: justify;
        text-align-last: left;
    }
    
}
