@font-face {
    font-family: "barlowcondensed";
    src: url("../fonts/BarlowCondensed-Light.ttf") format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: "barlowcondensed";
    src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("opentype");
    font-weight: bold;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body,
html {
    font-size: 15px;
    -webkit-text-size-adjust: 100%;
    font-family: Arial, Meiryo, sans-serif;
    font-weight: normal;
    font-weight: 400;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #FFF;
    position: relative;
    background: #111;
}

p {
    margin: 1em 0;
}

a {
    color: #DDD;
    display: inline-block;
    transition: all 0.5s ease;
    text-decoration: none;
}

a:hover {
    color: #555;
    border: none;
    opacity: .75;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

@media (min-width:1024px) {

    body,
    html {
        font-size: 16px;
    }
}

.center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 2em 0 1em;
    font-weight: normal;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.4rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin: 1rem 0;
}

ul,
ol {
    margin: 1rem 2rem;
}

li {
    margin-bottom: 0.25rem;
}

.sub_text {
    font-size: 0.85em;
}

/*** LAYOUT ***/

.container {
    margin: 0 auto;
    width: 90%;
}

.inner {
    padding: 5vw;
}

.rows {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.col-4 {
    width: 25%;
}

.col-3 {
    width: 33%;
    width: calc(100% / 3);
}

.col-2 {
    width: 50%;
}

@media (max-width: 1023px) {

    .col-4,
    .col-3 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 80%;
    }

    .inner {
        padding: 10vw;
    }

    .rows {
        display: block;
    }

    .col-2,
    .col-3 {
        width: 100%;
        display: block;
    }
}

/*** TARGET BLANK ***/
a[target="_blank"]:after {
    content: " ";
    display: inline-block;
    width: 1em;
    height: 1em;
    background: url(../img/blank.svg) no-repeat center center;
    background-size: 1em 1em;
    margin-left: 7px;
    vertical-align: text-top;
}

/*** HEADER ***/
#header {
    width: 100%;
    line-height: 1;
    z-index: 9;
    margin: 0 auto;
    padding: 5vw;
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
}

.home #header {
    position: absolute;
    top: 0;
    left: 0;
}

#logo {
    width: 5rem;
    height: 5rem;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 99;
}

#logo a {
    display: block;
}

#logo a svg {
    width: 5rem;
    height: 5rem;
    transition: all 0s;
    fill: #FFF;
}

.header_contact {
    display: flex;
}

.header_contact-item {
    width: 7rem;
    height: 3rem;
}

.header_contact-item a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: right;
    font-size: 1rem;
    font-family: 'barlowcondensed';
}

.header_contact-item a svg {
    height: 1.75rem;
    width: 1.75rem;
    stroke: #d15a20;
    stroke-width: 5px;
    margin-right: 1rem;
}

/*** FOOTER ***/
#footer {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 0.75rem;
    font-family: 'barlowcondensed';
}

/*** PAGE NATION ***/
.pagination {
    text-align: center;
    margin: 40px auto;
    height: 46px;
    width: 261px;
    position: relative;
}

#pages {
    width: 153px;
    height: 46px;
    position: relative;
    margin: auto;
    border: 1px solid #ccc;
    background: url(../img/arrows.svg) no-repeat center right #fff;
    background-size: 14px 21px;
    background-position: center right 16px;
}

#pages .pages_now {
    width: 109px;
    line-height: 30px;
    position: absolute;
    top: 8px;
    left: 0;
    font-size: 0.75rem;
    color: #555;
    border-right: 1px solid #ccc;
}

#pages select {
    -webkit-appearance: none;
    appearance: none;
    height: 100%;
    border: none;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    color: #555555;
    width: 100%;
    font-size: 1.1rem;
}

.pagination a.next,
.pagination a.prev {
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    border: 1px solid #ccc;
    text-indent: -9999px;
    background: url(../img/arrow.svg) no-repeat center center #fff;
    background-size: 1rem 1rem;
    transform: rotate(90deg);
}

.pagination a.prev {
    left: 0;
    right: auto;
    transform: rotate(-90deg);
}

/*** PAGE NEXT PREV ***/
#page_next_prev {
    clear: both;
    width: 100%;
    padding-top: 3rem;
}

#next_prev {
    font-size: 0.85rem;
    border-top: 1px #ddd solid;
    padding-top: 0.5rem;
}

#next_prev a {
    align-items: center;
    text-decoration: none;
    padding: 0.5rem;
    display: flex;
}

#next_prev p {
    margin: 0;
    padding: 1rem 0 1rem 0.75rem;
    flex: 1;
}

#next_prev p span {
    display: block;
    font-size: 0.75rem;
    color: #777;
}

#next_prev .thumb-wrap {
    border-radius: 40px;
    overflow: hidden;
}

#next_prev .thumb-wrap,
#next_prev img {
    width: 80px;
    height: 80px;
}

@media (min-width: 1024px) {
    #next_prev p {
        padding: 1rem;
    }

    #next_prev {
        display: flex;
        justify-content: space-between;
    }

    #next_prev a {
        width: 100%;
        border: 0;
    }

    #next_prev .next-link {
        text-align: right;
        justify-content: flex-end;
    }

    #next_prev .next-link .thumb-wrap {
        order: 2;
    }

    #next_prev .next-link p {
        order: 1;
    }
}

/*** BREADCRUMBS ***/
#breadcrumbs {
    width: 100%;
    margin: 3rem auto 0;
    padding: 5px 10%;
    color: #777;
}

#breadcrumbs a {
    color: #90A3AF;
    text-decoration: underline;
}

@media (max-width: 768px) {
    #breadcrumbs {
        padding: 5px 5%;
    }
}

.breadblock {
    width: 100%;
    overflow: hidden;
    height: 40px;
}

#breadcrumbs ul {
    list-style: none;
    font-size: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    height: 40px;
    white-space: nowrap;
}

#breadcrumbs li {
    padding-right: 20px;
    line-height: 40px;
    display: inline-block;
}

#breadcrumbs li:not(:last-child) {
    position: relative;
    padding-right: 40px;
}

#breadcrumbs li:not(:last-child):after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    top: 17px;
    right: 17px;
    transform: rotate(45deg);
    border-top: 1px solid #777;
    border-right: 1px solid #777;
}

/*** キャプション ***/
.wp-caption-text {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: #777;
    padding: 0 1rem 1rem;
}

/*** BLOG LIST ***/

.blog_item {
    border-bottom: 1px dotted #ddd;
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 1rem;
}

.blog_item a {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 0 0 1rem;
    height: 100%;
    color: #333;
}

.blog_item figure {
    overflow: hidden;
    width: 40%;
    padding-top: 22.5%;
    margin-right: 1rem;
    position: relative;
}

.blog_item figure span {
    height: 100%;
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
}


.blog_item figure span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 200%;
}

.blog_item a:hover figure span,
.blog_item a:active figure span {
    transform: scale(1.2);
}

.blog_item-txt {
    font-size: 1rem;
    width: calc(60% - 1rem);
    padding: 0;
}

.blog_item-txt.noimg {
    width: 100%;
}

.blog_item h2 {
    font-size: 1rem;
    margin: 0;
    border: none;
    padding: 0;
    font-weight: normal;
}

.blog_item a .postmeta {
    font-size: .8rem;
    margin: 0;
}

.blog_item a .postmeta-day {
    color: #777;
}

.blog_item a .postmeta-cate {
    font-size: 0.8rem;
    color: #85B7E8;
    margin: 1.5rem 0 0;
}

@media (min-width: 1024px) {
    .blog_item figure {
        width: 385px;
        padding-top: 217px;
    }

    .blog_item-txt {
        width: calc(100% - 385px - 5vw);
        padding: 1.5rem 1.5rem 1.5rem 5vw;
    }

    .blog_item h2 {
        font-size: 1.15rem;
    }
}

/****/
#contents-default {}

#contents-default a {
    text-decoration: underline;
}

#page_block ul,
#page_block ol,
#contents-default ul,
#contents-default ol {
    margin-left: 2rem;
}

#contents-default h3,
#contents-default h4,
#contents-default h5 {
    margin: 2em 0 1em;
}

#contents-default h1 {
    font-size: 1.75rem;
}

#contents-default h2 {
    padding: 0.5em;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
}

#contents-default h3 {
    padding-left: 0.75rem;
    border-left: 0.25rem solid #CCC;
    color: #555;
}

/****/