@charset "Shift-JIS";
:root {
    /* カラーパレット */
    --bc-1: #d5f2f8;
    --bc-2: #fae9df;
    --green: #2ecc71;
    --accent: #d4844a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*　共有ヘッダー用＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#topBar td img {
    display: block;
}

@media screen and (max-width: 768px){
    #topBar {
        max-width: 100% !important;
        overflow-x: scroll;
    }
    
}
/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/* 基本レイアウト */
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg,var(--bc-1), var(--bc-2));
    min-height: 100vh;
}

.container {
    container-type: inline-size;
    container-name: main-container;
    font-family:  "メイリオ", "Meiryo", sans-serif;
    font-style: normal;
    font-weight: 400;
    padding: 30px 30px 100px;
    max-width: 1200px;
    margin: 0 auto 100px;
    background: #f5f5f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/*更新情報*/
.updates {
    width: 95%;
    max-height: 150px;
    padding: 10px 20px 10px 10px;
    margin: 0 auto;
    overflow-y: scroll;
    scrollbar-width: thin;
    border-radius: 4px;
    border: 2px solid var(--ui-mid);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.9);
    background-color: #ffffffea;
}

.updates-title {
    font-weight: bold;
    margin-bottom: 15px;
}
.koushin-list {
    display: flex;
    flex-wrap: wrap;
    line-height: 1.7;
}
.koushin-list dt {
    width: 7rem;
}
.koushin-list dd {
    width: calc(100% - 7rem);
    margin-left: 0;
}


/* パンくずリスト */
.breadcrumbs-list ul {
    font-family: "メイリオ", "Meiryo", sans-serif;
    list-style: none;
    margin: 0 0 1rem;
}

.breadcrumbs-list li {
    display: inline-block;
    font-size: 11pt;
}

.breadcrumbs-list li a {
    text-decoration: none;
    color: #003295;
}

.breadcrumbs-list li:after {
    content: '>';
    padding: 0 0.5em;
    color: #555;
}

.breadcrumbs-list li:last-child::after {
    content: '';
}

/* ヘッダー */
.header {
    background: #fff;
    margin-bottom: 20px;
}

.header img {
    display: block;
    max-width: 100%;
}

.intro-text {
    position: relative;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    background: #fff;
    padding: 15px;
}


/*ページの先頭へ*/
.to-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    clear: both;
    text-align: right;
    border-radius: 50%;
    box-shadow: 0 2px 5px #33333333;
    background-color: rgb(255, 255, 255);
    z-index: 999;
}

.to-top a {
    display: block;
    text-decoration: none;
    font-size: 24px;
    color: #137af8;
    font-weight: bold;
    padding: 5px 11px;
}



/* ----------------------------------------------------------------------------
    ホバー時
---------------------------------------------------------------------------- */
@media (hover:hover) {

    .ad-button:hover {
        opacity: 0.8;
    }

    .to-top:hover {
        opacity: 0.7;
    }
    .to-top:active {
        transform: translateY(2px);
    }
}








/* --------------------------------------------------------------------
    768px
-------------------------------------------------------------------- */
@media screen and (max-width: 768px){
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 28px;
    }

    .intro-text {
        font-size: 12px;
        padding: 12px;
    }

    .koushin-list {
        flex-direction: column;
        line-height: 1.2;
    }

    .updates {
        max-height: 200px;
        font-size: 11pt;
        padding: 15px;
    }

    .koushin-list dt,
    .koushin-list dd {
        width: 100%;
    }

    .koushin-list dd {margin-bottom: 15px;}

    .ad-section { padding: 20px 15px; }
    
    .ad-text { font-size: 14px; }

}





@media print {
    @page {
        size: A4 portrait;
        margin: 10mm;
    }
    body {
        min-width: 1075px;
    }
    .to-top {
        display: none;
    }
}