@charset "utf-8";

/* ■■■■■■■■■■■■■■■■■■■■ */
/*  body, h1, h2, h3, h4, hr */
/* ■■■■■■■■■■■■■■■■■■■■ */

body {
    margin-top: 0;
}

h1 {
    border-bottom: 3px black solid;
    border-top: 3px black solid;
    margin: 0;
    padding-bottom: 0.25em;
    padding-top: 0.25em;
}

h2 {
    margin-bottom: 0;
    padding-top: 0.25em;
}

h2.top-line {
    border-top: 1px black solid;
}

h3 {
    margin-bottom: 0;
    padding-top: 0.25em;
}

h3.top-line {
    border-top: 1px black dashed;
}

h4 {
    margin-bottom: 0;
    padding-top: 0.25em;
}

hr.footer {
    background-color: black;
    border: none;
    height: 3px;
    margin-bottom: 0;
    margin-top: 10em;
}

/* #で始まるものだけ */
a[href^="#"] {
    color: #0000EE;
    text-decoration: none;
}

a:hover[href^="#"] {
    text-decoration: underline;
}

/* PC */
@media screen and (min-width: 600px) {
    body {
        /* 画像のサイズ+余白+境界線に設定 */
        width: calc(866px + 2em + 2px);
    }

    h1 {
        white-space: nowrap;
    }

    h2 {
        white-space: nowrap;
    }

    h3 {
        white-space: nowrap;
    }
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* img */
/* ■■■■■■■■■■■■■■■■■■■■ */

img.logo {
    height: 144px;
    max-width: initial;
    resize: none;
    vertical-align: middle;
    width: 144px;
}

img.open_in_new_tab {
    height: 16px;
    max-width: initial;
    resize: none;
    vertical-align: middle;
    width: 28px;
}

img {
    object-fit: contain;
}

/* PC */
@media screen and (min-width: 600px) {
    img {
        resize: none;
    }
}

/* Mobile */
@media screen and (max-width: 599px) {
    img {
        max-width: 100%;
        height: auto;
        width: auto;
    }
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* summary */
/* ■■■■■■■■■■■■■■■■■■■■ */

summary.info {
    background-color: ivory;
    border: 1px gray solid;
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: fit-content;
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* div */
/* ■■■■■■■■■■■■■■■■■■■■ */

/* コンテンツボックスからあふれるテキストをすべて改行する */
div.filepath {
    word-break: break-all;
}

/* 情報 */
div.info {
    background-color: ivory;
    padding: 1em;
    width: fit-content;
}

/* 注意事項 */
div.caution {
    color: red;
    font-weight: bold;
}

/* ---------------------------------------- */

div#features b {
    color: blue;
}

div#features ul li {
    margin-bottom: 0.5em;
}

/* PC */
@media screen and (min-width: 600px) {
    div#features ul li {
        margin-bottom: 0.5em;
        width: 70%;
    }
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* ul, li */
/* ■■■■■■■■■■■■■■■■■■■■ */

ul {
    margin-top: 0px;
}

li.none {
    list-style: none;
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* パンくずリスト */
/* ■■■■■■■■■■■■■■■■■■■■ */
nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    padding: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a::after {
    color: black;
    content: ">";
    display: inline-block;
    padding: 0 0.2em;
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* 非表示系 */
/* ■■■■■■■■■■■■■■■■■■■■ */

/* PC */
@media screen and (min-width: 600px) {
    .pc_hide {
        display: none;
    }
}

/* Mobile */
@media screen and (max-width: 599px) {
    .mobile_hide {
        display: none;
    }
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* フローティング メニュー */
/* ■■■■■■■■■■■■■■■■■■■■ */
div#menu {
    /* 警告対応 「user-select」は、Safariではサポートされていない。 */
    -webkit-user-select: none;

    border: 1px gray solid;
    position: fixed;
    user-select: none;
    z-index: 777;
}

/* －－－－－－－－－－－－－－－－－－－－ */

div#menu input#menu_jump {
    display: none;
}

div#menu label {
    background-color: lightgray;
    height: 24px;
    padding: 0.5em 0.5em;
    text-align: end;
}

div#menu label img {
    resize: none;
}

/* －－－－－－－－－－－－－－－－－－－－ */

div#menu div#menu_items {
    background-color: ivory;
}

div#menu div#menu_items a {
    color: black;
    display: block;
    font-size: 12px;
    margin: 0.5em 0;
    padding: 0 0.5em;
    text-align: center;
    text-decoration: none;
}

div#menu div#menu_items a:nth-child(1) {
    background-color: lightcyan;
    border-bottom: 1px gray dashed;
    margin: 0;
    padding: 0.5em;
}

div#menu div#menu_items a:nth-last-child(1) {
    background-color: lightcyan;
    border-top: 1px gray dashed;
    margin: 0;
    padding: 0.5em;
}

div#menu div#menu_items p {
    background-color: transparent;
    border-bottom: 1px gray dashed;
    margin: 0;
}

/* －－－－－－－－－－－－－－－－－－－－ */

/* PC */
@media screen and (min-width: 600px) {
    div#menu {
        opacity: 0.3;
        right: 1em;
        top: 50%;
        transform: translateY(-50%);
    }

    div#menu:hover {
        opacity: 1.0;
    }

    div#menu label {
        display: none;
    }

    /* －－－－－－－－－－－－－－－－－－－－ */

    div#menu_items {
        display: block;
    }
}

/* Mobile */
@media screen and (max-width: 599px) {
    div#menu {
        right: 1px;
        top: 1px;
    }

    /* －－－－－－－－－－－－－－－－－－－－ */

    div#menu div#menu_items a:nth-child(1) {
        border-top: 1px gray solid;
    }

    div#menu input#menu_jump:checked~label#menu_open {
        display: none;
    }

    div#menu input#menu_jump:checked~label#menu_close {
        display: block;
    }

    div#menu input#menu_jump:not(:checked)~label#menu_open {
        display: block;
    }

    div#menu input#menu_jump:not(:checked)~label#menu_close {
        display: none;
    }

    div#menu input#menu_jump:checked~div#menu_items {
        display: block;
    }

    div#menu input#menu_jump:not(:checked)~div#menu_items {
        display: none;
    }
}

/* －－－－－－－－－－－－－－－－－－－－ */

@media screen and (max-height: 499px) {
    div#menu div#menu_items a:nth-child(n+2):nth-last-child(n+2) {
        display: none;
    }

    div#menu div#menu_items a:nth-last-child(1) {
        border-top: 0;
    }

    div#menu p {
        display: none;
    }
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* index.htmlでのみ使用 */
/* ■■■■■■■■■■■■■■■■■■■■ */

hr.home {
    background-color: black;
    border: none;
    height: 3px;
    margin-bottom: 0;
    margin-top: 0;
}

h1.home {
    border-bottom: none;
    border-top: none;
    margin: 0;
    padding-bottom: 0.2em;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

a.button {
    background: whitesmoke;
    border: 1px solid gray;
    border-radius: 5%;
    color: black;
    cursor: default;
    display: inline-block;
    line-height: 1em;
    padding: 1em 1em;
    text-align: center;
    text-decoration: none;
    transition: .1s;
}

a.button:hover {
    background: royalblue;
    box-shadow: none;
    color: whitesmoke;
}

span.button {
    background: whitesmoke;
    border: 1px solid gray;
    border-radius: 5%;
    color: black;
    cursor: default;
    display: inline-block;
    line-height: 1em;
    padding: 1em 1em;
    text-align: center;
    text-decoration: line-through;
    transition: .5s;
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* 小さいボタン */
/* ■■■■■■■■■■■■■■■■■■■■ */
a.smallbutton {
    background: whitesmoke;
    border: 1px solid gray;
    color: black;
    cursor: default;
    display: inline-block;
    font-size: x-small;
    line-height: 1em;
    padding: 0.5em 0.5em;
    text-align: center;
    text-decoration: none;
    transition: .5s;
}

a.smallbutton:hover {
    box-shadow: none;
    color: whitesmoke;
    background: royalblue;
}

/* ■■■■■■■■■■■■■■■■■■■■ */
/* 更新履歴 */
/* ■■■■■■■■■■■■■■■■■■■■ */
table.update-history td {
    vertical-align: top;
}
