.archive-header {
    background-image: ;
}

h1.archive-title {
    font-size: 3em;
    height: 1.5em;
}

div.lead {
    margin-top: 2em;
}

div.lead p {
    line-height: 1.5em;
    margin: 0;
}

li.entry {
    display: block;
    width: 16%;
    padding-left: 1em;
    padding-right: 1em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    list-style: none;
}

.img_fit {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.img_fit>li.entry>a>p.flyer_img {
    position: relative;
}

.img_fit>li.entry>a>p.flyer_img::before {
    display: block;
    content: '';
    padding-top: 100%;
}

.img_fit>li.entry>a>p.flyer_img>img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #EEE;
}

h2.entry-title {
    height: 4em;
}


/*category*/

ul.post-categories {
    position: relative;
    display: block;
    font-size: 0.8em;
    height: 5em;
    margin-left: 0;
}

ul.post-categories li {
    display: inline-block;
    list-style: none;
    padding: 3px;
    line-height: 1em;
}


/*ボタン*/

.more-info a.btn {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
}

.more-info * {
    font-size: 62.5%;
    /*rem算出をしやすくするために*/
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
    bottom: 0;
}

a.btn-border {
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

a.btn-border:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 100%;
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
    border-radius: 0 50% 50% 0;
    background: #000;
}

a.btn-border:hover:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    line-height: 30px;
    width: 30px;
    height: 30px;
    content: '\f061';
    -webkit-transform: translateX(460%) translateY(.5rem);
    transform: translateX(460%) translateY(.5rem);
    color: #fff;
    border-radius: 50%;
}
/*関連情報*/
.wp-embedded-content{position: inherit!important;}


/*サブテーマ*/

p.material , p.technique , p.sales {
  position: relative;
  padding-left: 10em;
	
}

p.sales span {

  position: absolute;
  top: 0;
  left: 0;
  padding: 0 2rem;
  color: #FFFFFF;
  background: #0F4C81;
}
p.material span ,p.technique span 
{

  position: absolute;
  top: 0;
  left: 0;
  padding: 0 3rem;
  color: #FFFFFF;
  background: #0F4C81;
}
p.material span:after ,p.technique span:after , p.sales span:after {
  position: absolute;
  top: calc(50% - 7px);
  right: -11px;
  width: 0;
  height: 0;
  content: '';
  border-width: 7px 0 7px 12px;
  border-style: solid;
  border-color: transparent transparent transparent #0F4C81;
}
/*プロフィール*/

div#profile{
	border:solid 1px #CCCCCC;
	padding:1em;
	margin-top:4em;
}

/*スマホ用*/

@media screen and (max-width: 600px) {
    h1.archive-title {
        font-size: 2em;
        height: auto;
    }
    div.lead {
        margin-top: 1em;
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
    li.entry {
        width: 100%;
    }
    h2.entry-title {
        height: auto;
    }
    ul.post-categories {
        height: auto;
    }
    .more-info a.btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .event_date {
        margin-bottom: 1em;
        font-size: 1.5em;
    }
}


/*タブレット用*/