/*
    style,css
---------------------------------------------------------------------------*/
:root {
    --colorRed: #ff3030;
    --colorOrange: #ffb821;
    --colorGreen: #6f6;
    --colorBlue: #255af9;
    --colorWhite: #fff;
    --colorPink: #ff51ea;
    --colorYellow: #efef00;
    --colorGray: #666;
    --colorBlack: #111;
    --colorPurple: #66f;

    --colorBack: #fefefe;
    --colorFont: #111;
    --colorLink: #00BCD4;
    --colorBorder: #333;
    --colorButton: #255af9;
    --colorHover: #333;

}

* {
    margin: 0;
    padding: 0;
    border: none;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'YuGothic', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
    font-size: 1em;
    color: var(--colorFont);
    background: var(--colorBack);
    line-height: 2.0;

    -webkit-text-size-adjust: 100%;
}

a { word-break: break-all; }
a:link    { text-decoration: none; color: var(--colorFont); }
a:visited { text-decoration: none; color: var(--colorFont); }
a:hover   { text-decoration: underline; color: var(--colorFont); }
a:active  { text-decoration: none; color: var(--colorFont); }

h1 { font-size: 130%; }
h2 { font-size: 120%; }
h3, h4 { font-size: 100%; }

table {
    border-collapse: collapse;
    border: none;
}

div {
    box-sizing: border-box;
    margin-top: 0.5em;
}

hr {
    border-top: 1px solid var(--colorBorder);
    margin: 0.5em 0;
}

button, .button {
    box-sizing: border-box;
    font-size: 1em;
    border: 1px solid var(--colorBorder);
    border-radius: 4px;
    padding: 0.5em 0.2em;
    cursor: pointer;
    -webkit-appearance: none;
    background-color: #ccc;
}

ul {
    padding-left: 0;
}

li {
    list-style: none;
}

/* --- */
#header {
    width: 100%;
    padding: 0.5em;
}

#header .logo {
    display: inline-block;
    width: 30%;
    min-width: 250px;
    vertical-align: middle;
    margin-right: 30px;
}

/* Navi */
#header .sidebarNav {
    display: inline-block;
    vertical-align: middle;
}

#header .sidebarNav a {
    margin: 0 0.5em;
    font-size: 90%;
}
@media screen and (min-width: 768px) {  /* width:768px 以上のとき */
    #header .sidebarNav a {
        margin: 0 1em;
        font-size: 100%;
    }
}

.wrap {
    width: 100%;
    padding: 0 1em;
}

.description {
    border: 1px solid var(--colorBorder);
    padding: 4px 6px;
    border-radius: 4px;
}


th {
    background-color: var(--colorBlue);
    color: var(--colorWhite);
}

td .thumb {
    text-align: center;
}

td img {
    width: calc(100vw * 0.21);
    margin: 2px 4px;
}

input, select {
    font-size: 1em;
    border: 1px solid var(--colorBorder);
    border-radius: 4px;
    padding: 4px 6px;
}


#pagetop {
    position: fixed;
    bottom: 40px;
    right: 40px;
}

/* --- */

@media print {
    #header, #footer {
        display: none;
    }
}

.marginTop {
    margin-top: 2em;
}

.pointer {
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

.small {
    font-size: 90%;
}

.large {
    font-size: 110%;
}

.flex {
    display: flex;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.sea_back {
    margin-top: 3em;
    box-sizing: border-box;
    padding: 3em 1em 2em;
    background-color: #70d2eb;
    background-image: url(../img/sea_back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    overflow: hidden;
}
