input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
    display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
    outline-offset: -2px;
}

body {
    color: #333;
    font-family: "ヒラギノ角ゴ ProN W3","HiraKakuProN-W3","ヒラギノ角ゴ Pro W3","HiraKakuPro-W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS Pgothic","Osaka",sans-serif,Helvetica, Helvetica Neue, Arial, Verdana;
}

* {
    box-sizing: border-box;
}

a:link,
a:visited,
a:hover,
a:active {
    color: #333;
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}

.contentWrap {
    display: block;
    width: 100%;
    margin-top: 1vh;
}
.generatorSec {
    display: block;
    width: 800px;
    margin: 0 auto;
    background-color: #ededed;
    padding: 3vh;
}

input[type="checkbox"] { display: none; }

input[type="checkbox"] + label {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font: 14px/20px 'Open Sans', Arial, sans-serif;
    color: #ddd;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input[type="checkbox"] + label:last-child { margin-bottom: 0; }

input[type="checkbox"] + label:before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid #000;
    position: absolute;
    left: 0;
    top: 0;
    opacity: .6;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked + label:before {
    width: 10px;
    top: -5px;
    left: 10px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.title1 {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
}
.title2 {
    font-size: 20px;
    text-align: center;
    line-height: 2.5;
    border-bottom: 2px solid #666;
}
.introText {
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
    margin-top: 2vh;
}
#generator {
    display: block;
    width: 80%;
    margin: 2vh auto 0;
}
#generator table {
    width: 80%;
    margin: 0 auto;
}
#generator tr td {
    padding: 10px 5px;
    font-size: 14px;
    vertical-align: top;
}
#generator tr td:first-child {
    width: 30px;
}
#generator tr td input[type=text]{
    width: 100%;
    padding: 8px 12px;
    border-radius: 3px;
    border: 1px solid #999;
    font-size: 14px;
    -webkit-appearance: none;



}
#generator .submitBtn {
    display: block;
    margin: 3vh auto;
    padding: 10px 20px;
    color: #fff;
    background-color: #fb6a3d;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 3px;
}

.linkWrap {
    display: block;
    width: 800px;
    margin: 5vh auto 0;
    padding: 3vh;
}
.linkWrap .linkList {
    display: flex;
    width: 100%;
    margin-top: 2vh;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.linkWrap .linkList li {
    display: block;
    width: 49%;
    border-bottom: 1px solid #666;
}
.linkWrap .linkList li:nth-child(n + 3) {
    margin-top: 1vh;
}
.linkWrap .linkList li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 14px;
    padding: 20px 0;
    position: relative;
}
.linkWrap .linkList li a:after {
    display: block;
    width: 20px;
    height: 20px;
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    background-image: url('./img/ico_link.svg');
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.snsWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 2vh auto 0;
}
.snsWrap li {
    display: block;
    width: 24%;
}
.snsWrap li p {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;

}
.snsWrap li p:hover {
    opacity: 0.8;
}
.snsWrap li p span {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    position: relative;
    padding-left: 30px;
}
.snsWrap li p span:before {
    display: block;
    width: 30px;
    content: '';
    background-size: 100% auto;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    top: 50%;
    height: 30px;
}
.snsWrap li p.twitter {
    background-color: #1ba1f1;
}
.snsWrap li p.facebook {
    background-color: #1977f2;
}
.snsWrap li p.hatebu {
    background-color: #01a4de;
}
.snsWrap li p.line {
    background-color: #00b901;
}
.snsWrap li p.twitter span:before {
    background-image: url(../img/Twitter_Logo_WhiteOnBlue.svg);
}
.snsWrap li p.facebook span:before {
    background-image: url(../img/f_logo_RGB-Blue_114.png);
    top: 30%;
}
.snsWrap li p.hatebu span:before {
    background-image: url(../img/hatenabookmark-logomark.svg);
}
.snsWrap li p.line span:before {
    background-image: url(../img/LINE_APP.png);
}
.generateText {
    text-align: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
    .generatorSec {
        width: 100%;
        background: none;
    }
    input[type="checkbox"] + label {
        margin-top: 2px;
    }
    #generator {
        width: 100%;
    }

    .linkWrap {
        width: 95%;
    }
    .linkWrap .linkList {

    }
    .linkWrap .linkList li {
        width: 100%;
    }


    .snsWrap {
        width: 100%;
        margin: 5vh auto;
    }
    .snsWrap li p:hover {
        opacity: 1;
    }

    .snsWrap li p span {
        font-size: 8px;
    }
}
