@charset "utf-8";

/* ================= */
/* 要素のリセット    */
/* ================= */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* ================= */
/* 全体設定          */
/* ================= */
html, body {
    font-family: 13px marugo,"HG丸ゴシックM-PRO",verdana,arial,sans-serif;
    word-wrap: break-word;             /* 単語の途中で折り返さないと行ボックスの幅からあふれてしまうときのみ、その単語の途中で折り返す */
    -webkit-text-size-adjust: 100%;    /* 縦向きと横向きの文字サイズを自動調整しない */
    height: 100%;
    color: #000000;
    background: #ffffff;
  }

#wrapper {
    margin: 0 auto;
    width: 100%;
}
  
a:visited {
    color: #fff;
}

/* ================= */
/* ヘッダ            */
/* ================= */
header p {
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    color: #FFFFFF;
    background: #000;
    padding: 7px;
    margin: 0;
}
  
.mainbanner {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 20px;
  }
  
.mainbanner li {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}
  
.mainbanner img {
    width: 100%;
    padding: 0;
}
  
.logo_baseball {
    width: 67%;
    height: auto;
    margin: 0 auto 1rem auto;
}
  
.logo_baseball img{
    width: 100%;
}

/* ================= */
/* コンテンツ         */
/* ================= */
.p-p {
    text-align: center;
    margin-bottom: 30px;
}

.maker {
    margin: 30px 10px 3px 10px;
}
  
.logo-image {
    width: 15%;
}

.menu__item {
    display: block;
    color: #fff;
    cursor: pointer;
    margin: 0 10px 15px 10px;
}

.menu__item__link {
    position: relative;
    display: block;
    color: #fff;
    line-height: 40px;
    padding: 0 1rem;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.menu__item__link:after {
    content: '\f067';
    display: block;
    font-family: "Font Awesome 5 Free";
    line-height: 40px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 60px;
}

.menu__item__link.on:after {
    content: '\f068';
}

.submenu {
    background: #fff;
    display: none;
    list-style: none;
    cursor: default;
}

.submenu__item {
    padding: 1.5rem 0 0.5rem 0;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.box {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin-top: 2em;
    margin-bottom: 2rem;
    padding: 0.3em;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
    
.box:nth-child(-n+2) {
    margin-top: 0;
}
    
.title-k {
    display: flex;
    flex-direction: column-reverse;
    padding: 0.5rem;
    background: #df022b;
    border-radius: 4px;
    color: #fff;
    text-align: center;
}

.title-n {
    display: flex;
    flex-direction: column-reverse;
    padding: 0.5rem;
    background: #005d01;
    border-radius: 4px;
    color: #fff;
    text-align: center;
}
  
.title-k, .title-n p {
    font-size: 20px;
    font-weight: bold;
}
  
.item {
    display: flex;
    flex-direction: row;
}
  
.item-image {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 0.5rem 0;
}
    
.item-image img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.item-text {
    display: flex;
    flex-direction: column;
    width: 180px;
}

.item-btn {
    display: flex;
    margin-top: 5px; 
    height: 40px;
}
  
.item-btn a {
    display: flex;
    padding: 8px 10px;
    background: #3498db;
    border-radius: 3px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-basis: 130px;
}

.banner{
    text-align: center;
    margin-top: 50px;
}

/* ================= */
/* フッタ            */
/* ================= */
fotter p {
    text-align: center;
    font-size: 11px;
    color: #FFFFFF;
    background: #000;
    padding: 10px;
    margin-top: 20px;
}

/* スマホ横 */
@media screen and (min-width:481px) and (max-width:768px){
    #wrapper {
        width: 95%;
    }

    header p {
        font-size: 13px;
        padding: 13px;
    }
  
    .mainbanner {
        flex-wrap: nowrap;
    }

    .logo_baseball {
        width: 200px;
        margin-top: 3%;
    }

    .logo-image {
        width: 10%;
    }

    .container {
        justify-content: space-between;
    }
    
    .box {
        width: 49%;
    }

    .title-k, .title-n p {
        font-size: 20px;
    }

    .item-btn a {
        font-size: 13px;
    }
}

/* タブレット縦以上 */
@media screen and (min-width:769px){
    #wrapper {
        max-width: 1000px;
        min-width: 850px;
    }

    header p {
        font-size: 13px;
        padding: 13px;
    }

    .menu__item__link {
        font-size: 18px;
    }
  
    .mainbanner {
        flex-wrap: nowrap;
    }

    .logo_baseball {
        width: 200px;
        margin-top: 3%;
    }

    .logo-image {
        width: 8%;
    }

    .container {
        justify-content: space-between;
    }
    
    .box {
        width: 49%;
    }

    .title-k, .title-n p {
        font-size: 22px;
    }

    .item-btn {
        height: 50px;
    }

    .item-btn a {
        padding: 8px 10px;
        font-size: 15px;
    }
}