/*
 * grid
 * version:v1.0
 * Developer:popodesign
 * URL:https://popo-design.net
 */

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    margin: 0 auto;
    /*最大幅*/
    max-width: 1000px;
    width: 100%;
    position: relative;
}

/* ブロックを縦に表示 */
.row {
    display: flex;
    flex-direction: column;
    padding: 0;
    width: 100%;
}

.col {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%;
}

/* 768px以上の表示 */
@media (min-width : 768px) {
    .row {
        display: flex;
        flex-direction: row;
        padding: 0;
    }

    .col {
        margin-left: 4%;
    }

    .col:first-child {
        margin-left: 0;
    }

    .row .col.span-1 {
        flex: 0 0 4.66666666667%;
        max-width: 4.66666666667%;
    }

    .row .col.span-2 {
        flex: 0 0 13.3333333333%;
        max-width: 13.3333333333%;
    }

    .row .col.span-3 {
        flex: 0 0 22%;
        max-width: 22%;
    }

    .row .col.span-4 {
        flex: 0 0 30.6666666667%;
        max-width: 30.6666666667%;
    }

    .row .col.span-5 {
        flex: 0 0 39.3333333333%;
        max-width: 39.3333333333%;
    }

    .row .col.span-6 {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .row .col.span-7 {
        flex: 0 0 56.6666666667%;
        max-width: 56.6666666667%;
    }

    .row .col.span-8 {
        flex: 0 0 65.3333333333%;
        max-width: 65.3333333333%;
    }

    .row .col.span-9 {
        flex: 0 0 74.0%;
        max-width: 74.0%;
    }

    .row .col.span-10 {
        flex: 0 0 82.6666666667%;
        max-width: 82.6666666667%;
    }

    .row .col.span-11 {
        flex: 0 0 91.3333333333%;
        max-width: 91.3333333333%;
    }

    .row .col.span-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* オフセット */
    .row .col.offset-1 {
        margin-left: 8.66666666667%;
    }

    .row .col.offset-2 {
        margin-left: 17.3333333333%;
    }

    .row .col.offset-3 {
        margin-left: 26%;
    }

    .row .col.offset-4 {
        margin-left: 34.6666666667%;
    }

    .row .col.offset-5 {
        margin-left: 43.333333333%;
    }

    .row .col.offset-6 {
        margin-left: 52%;
    }

    .row .col.offset-7 {
        margin-left: 60.6666666667%;
    }

    .row .col.offset-8 {
        margin-left: 69.3333333333%;
    }

    .row .col.offset-9 {
        margin-left: 78.0%;
    }

    .row .col.offset-10 {
        margin-left: 86.6666666667%;
    }

    .row .col.offset-11 {
        margin-left: 95.3333333333%;
    }
}


/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */



/* リンク
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
    color: #1EAEDB;
}

a:hover {
    color: #0FA0CE;
}


/* ボタン
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    display: inline-block;
    height: 38px;
    padding: 0 30px;
    margin-right: 5px;
    color: #555;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 38px;
    letter-spacing: .1rem;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 1px solid #bbb;
    border-radius: 0;
    cursor: pointer;
    box-sizing: border-box;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
    color: #333;
    border-color: #888;
    outline: 0;
}


/* フォーム
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    height: 38px;
    padding: 6px 10px;
    background-color: #fff;
    border: 1px solid #D1D1D1;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    min-height: 100px;
    padding-top: 6px;
    padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #666;
    outline: 0;
}

label,
legend {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

fieldset {
    padding: 0;
    border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
}

label > .label-body {
    display: inline-block;
    margin-left: .5rem;
    font-weight: normal;
}


/* リスト
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
    list-style: circle inside;
}

ol {
    list-style: decimal inside;
}

ol,
ul {
    padding-left: 0;
    margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: 1.5rem 0 1.5rem 3rem;
    font-size: 90%;
}

li {
    margin-bottom: 1rem;
}


/* コード
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
    padding: .2rem .5rem;
    margin: 0 .2rem;
    white-space: nowrap;
    background: #F1F1F1;
}

pre > code {
    display: block;
    padding: 1rem 1.5rem;
    white-space: pre;
}


/* テーブル
–––––––––––––––––––––––––––––––––––––––––––––––––– */
table {
    border-collapse: collapse;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #E1E1E1;
}

th:first-child,
td:first-child {
    padding-left: 0;
}

th:last-child,
td:last-child {
    padding-right: 0;
}


/* スペース
–––––––––––––––––––––––––––––––––––––––––––––––––– */



/* 全幅
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.full-width {
    width: 100%;
    box-sizing: border-box;
}

.max-full-width {
    max-width: 100%;
    box-sizing: border-box;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}


/* 罫線
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
    margin-top: 3rem;
    margin-bottom: 3.5rem;
    border-width: 0;
    border-top: 1px solid #E1E1E1;
}
