@charset "UTF-8";

/* COLORS
dark brown #262524
dark dark brown #161615
link orange #FB4
blue #4BF
green #1FB*/


*{box-sizing: border-box;}

/*webfonts*/
.wf-sawarabigothic { font-family: "Sawarabi Gothic"; }

/* container */
.container {
    width: 90%;
    margin: 10px auto;}


/* hero */
header{/* overflow: hidden; */
    margin-bottom: 20px;
    /* display: flex; */
    align-items: center;}

h1.hero_title {
    font-size: 1.3em;
    color: #191919;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;}

/* ui-group */
.ui-group {
  display: inline-block;
  position: sticky;
  top: 10px;
  background-color: #f3f1ec;
}

.ui-group__title {
    display: inline-block;
    vertical-align: top;
    font-size: 1.2em;
    margin: 0 10px 0 0;
    padding: 8px 0;
    font-weight: bold;
    color: #000;}

.ui-group .button-group {
    display: inline-block;
    margin-right: 20px;
    background-color: #f3f1ec;}

/* button-group */
.button-group:after {
    content:' ';
    display:block;
    clear: both;}

.button-group .button {
    /*float: left;*/
    border-radius: 0;
    margin-left: -1px;}


.button-group .button:first-child{border-radius: 5px 0 0 5px;}
.button-group .button:last-child{border-radius: 0 5px 5px 0;}

/* button */
.button {font-size: 0.7em;
    display: inline-block;
    line-height: 4em;
    padding: 0px 15px;
    margin-bottom: 10px;
    border: 1px solid #666;
    border-radius: 5px;
    background-color: transparent;
    transition: 0.5s ease;
  }

.button:enabled {cursor: pointer;}

.button:enabled:hover {background-color: #8CF;}

.button.is-checked,
.button.is-selected {
    background-color: #19F;
    color: white;}

.button:active {
    color: white;
    background-color: #59F;
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);}

button:focus{outline: 0;}

.grid{
    display: flex;
    margin-bottom: 6em;}
    
/* element-item*/
.element-item {
    /*float: left;*/
    width:23%;
    height: 10em;
    margin: 15px 15px 0px 0;
    padding: 10px;}

a .element-item:hover{
    transform: translate(2px,2px);
    box-shadow: 2px 2px 3px #333;
    transition: 0.3s;}

.element-item .name {
    font-size: 1.2em;
    letter-spacing: 0.25em;
    color: #fff;
    background-color: #3f4143;
    padding: 5px;
    text-align: center;
    margin-bottom: 10px;}

.element-item .number {font-size: 1em;}

.element-item.html{border: 1px dotted #333;
    background-color: rgba(250, 100, 100, 0.2);}

.element-item.css{border: 1px dotted #333;
    background-color: rgba(247, 102, 197, 0.2);}

.element-item.jq{border: 1px dotted #333;
    background-color: rgba(247, 102, 230, 0.2);}

.element-item.marketing{border: 1px dotted #333;
    background-color: rgba(134, 58, 255, 0.2);}

.element-item.direction{border: 1px dotted #333;
    background-color: rgba(81, 58, 255, 0.2);}

.element-item.seo{border: 1px dotted #333;
    background-color: rgba(58, 134, 255, 0.2);}

.element-item.sns{border: 1px dotted #333;
    background-color: rgba(58, 194, 255, 0.2);}

.element-item.color{border: 1px dotted #333;
    background-color: rgba(58, 255, 255, 0.2);}

.element-item.trand{border: 1px dotted #333;
    background-color: rgba(58, 255, 172, 0.2);}

.element-item.design{border: 1px dotted #333;
    background-color: rgba(58, 255, 111, 0.2);}

.element-item.server{border: 1px dotted #333;
    background-color: rgba(58, 255, 58, 0.2);}

.element-item.wordpress{border: 1px dotted #333;
    background-color: rgba(141, 255, 58, 0.2);}

.element-item.lpo{border: 1px dotted #333;
    background-color: rgba(210, 255, 58, 0.2);}

.element-item.responsive{border: 1px dotted #333;
    background-color: rgba(255, 240, 58, 0.2);}

.element-item.google{border: 1px dotted #333;
    background-color: rgba(255, 202, 58, 0.2);}

.element-item.illust{border: 1px dotted #333;
    background-color: rgba(255, 134, 58, 0.2);}

.element-item.photo{border: 1px dotted #333;
    background-color: rgba(255, 111, 58, 0.2);}

.element-item.kano{border: 1px dotted #333;
    background-color: rgba(255, 58, 58, 0.2);}


/*　画面サイズが481px以上　960pxまでのスマホ横画面対策　*/
@media screen and (min-width:481px) and ( max-width:960px) {

/*webfonts*/
.wf-sawarabigothic { font-family: "Sawarabi Gothic"; }

/* container */
.container {margin: 0;
    width: 100%;
    padding: 10px;}

/* hero */
header{overflow: hidden;
    margin-bottom: 20px;}

h1.hero_title {
    font-size: 3em;
    color: #1c1c1c;
    font-weight: normal;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0px;
    float: none;
    text-align: center;}

.smalltext{font-size: 1em;
    font-weight: normal;
    float: none;
    margin:0px 0 0px 0px;}

.grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 6em;}

/* ui-group */
.ui-group {
    width: 100%;
    display: inline-block;}

.ui-group__title {
    vertical-align: top;
    font-size: 1em;
    margin: 0 10px 0 0;
    font-weight: bold;
    color: #000;}

.ui-group .button-group {
    display: inline-block;
    margin-right: 0px;}


/* button-group */
.button-group:after {
    content:' ';
    display:block;
    clear: both;}

.button-group .button {
    float: none;
    display: inline-block;
    border-radius: 0;
    margin-left: 0px;}

.button-group .button:first-child{border-radius: 0;}
.button-group .button:last-child{border-radius: 0;}

/* button */
.button {
    /*display: inline-block;*/
    padding: 15px 5px;
    margin-bottom: 10px;
    border: 1px solid #666;
    border-radius: 5px;
    background-color: transparent;
    font-size: 1em;}

.button:enabled {cursor: pointer;}

.button:enabled:hover {background-color: #8CF;}

.button.is-checked,
.button.is-selected {
    background-color: #19F;
    color: white;}

.button:active {
    color: white;
    background-color: #59F;
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);}

button:focus{outline: 0;}

/* element-item*/
.element-item {
    /*float: left;*/
    width: 30%;
    height: 200px;
    margin: 0px 6px 10px 0;
    padding: 10px;
    background-color: rgba(235, 231, 226, 0.2);
    overflow: scroll;}

.element-item:hover{
    transform: translate(3px,3px);
    box-shadow: 2px 2px 3px #333;
    transition: 0.3s;}

/*.element-item > * {
    margin: 0;
    padding: 0;}*/

.element-item .name {
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    background-color: #3f4143;
    padding: 5px;
    text-align: center;
    margin-bottom: 10px;}

.element-item .number {font-size: 0.9em;}

.element-item.html{border: 1px dotted #333;
    background-color: rgba(102, 169, 247, 0.1);}

.element-item.seo{border: 1px dotted #333;
    background-color: rgba(247, 102, 119, 0.1);}

.element-item.direction{border: 1px dotted #333;
    background-color: rgba(102, 247, 141, 0.1);}

.element-item.other{border: 1px dotted #333;
    background-color: rgba(255, 209, 58, 0.1);}


}


/*スマホでの表示*/
@media only screen and (max-width: 480px) {

.container {margin: 0;
    width: 100%;
    padding: 10px;
    overflow: hidden;}

/* element-item*/
.element-item {
    /*float: left;*/
    width: 48%;
    height: auto;
    margin: 0px 6px 10px 0;
    padding: 10px;
    background-color: rgba(235, 231, 226, 0.2);
    overflow: scroll;}

.element-item .name {
    font-size: 1em;
    letter-spacing: 0;}

}


