/*
Theme Name: original
Description: Aya's original template files.
Author: Aya Akimoto
Version:0.0.1
*/

html,
body {
    height: 100%;
    font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    color: #333;
    background: #f7f9f9;
}

body {
    margin: 0;
    height: calc(100% - 44px);
    min-height: calc(100% - 44px);
    overflow: auto !important;
}

html {
    font-size: 62.5%;
}

/* 10px */
body {
    font-size: 1.6rem;
}

/* 16px */
p {
    font-size: 1.6rem;
}

/* 16px */
li {
    font-size: 1.6rem;
}

/* 16px */
li p {
    font-size: 1.6rem;
}

/* 16px */
button {
    font-family: 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 1.6rem;
}

:focus {
    outline: none;
}

/*ボーダー*/
.page-border {
    position: fixed;
    z-index: 999999;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    pointer-events: none;
}

.wrapper {
    position: relative;
    z-index: 100;
    transition: transform .4s cubic-bezier(.445, .05, .55, .95), -webkit-transform .4s cubic-bezier(.445, .05, .55, .95);
    margin: 22px;
    z-index: 1;
}

.page-border > .top-border,
.page-border > .right-border,
.page-border > .bottom-border,
.page-border > .left-border {
    padding: 11px;
    background: #EDEDED !important;
}

.page-border .bottom-border,
.page-border .left-border,
.page-border .right-border,
.page-border .top-border {
    position: fixed;
    z-index: 9999;
    visibility: visible;
}

.page-border .top-border {
    top: 0;
}

.page-border .right-border {
    right: 0;
}


.page-border .bottom-border {
    bottom: 0;
}

.page-border .left-border {
    left: 0;
}

.page-border .bottom-border,
.page-border .top-border {
    width: 100%;
    /*padding: 11px;*/
    left: 0;
}

.page-border .left-border,
.page-border .right-border {
    /*padding: 11px;*/
    height: 100%;
}

header,
.fadein {
    position: relative;
    z-index: 100;
}

/******/

/*ナビ*/
.drawer--top .drawer-hamburger,
.drawer--top.drawer-open .drawer-hamburger {
    right: 5% !important;
    top: 22px;
    z-index: 999999;
}

.drawer-open .drawer-hamburger-icon:after,
.drawer-open .drawer-hamburger-icon:before {
    background: white !important;
}

.drawer-nav {
    padding: 44px 44px 44px;
    background: #333 !important;
    display: flex;
    box-sizing: border-box;
    padding-right: calc(10% + 22px);
    padding-left: calc(10% + 22px);
}

.drawer-nav ul {
    background: transparent;
}

.drawer-overlay,
.drawer-open .drawer-overlay {
    display: none !important;
}

.drawer-nav nav {
    width: 30%;
}

.drawer-nav nav li a {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    transition: all .3s ease;
    border-bottom: 1px solid transparent;
}

.drawer-nav nav li a:hover {
    border-bottom: 1px solid white;
}

.drawer-menu-item,
.drawer-menu-item:hover {
    text-decoration: none !important;
}


.drawer-nav .navbox {
    width: 70%;
    color: white;
}

.drawer-nav .navbox > .flex {
    display: flex;
}

.drawer-nav .navbox > .flex img {
    width: 48px;
}

.drawer-nav .navbox > .flex h3 {
    position: relative;
    display: inline-block;
    margin: 1.5em 15px 1.5em 0;
    padding: 20px 17px;
    border-radius: 8px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 1.8rem;
    background: white;
}

.drawer-nav .navbox > .flex h3::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid white;
}

.drawer-nav .navbox > p {
    line-height: 2;
    letter-spacing: 0.1rem;
}

.navmail {
    width: 100%;
    display: flex;
    align-items: center;
}

.navmail > a > img {
    width: 36px;
    margin-right: 20px;
}

/******/
.drawer-nav {
    padding: 44px 0;
}

.drawer-nav .inner {
    width: 80%;
    margin: 0 auto;
    display: flex;
    padding: 50px 0;
}

.drawer-nav .navlink {
    width: 20%;
}

.drawer-nav .navgate {
    padding: 3rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

@media screen and (max-width:480px) {
    .drawer-nav .inner {
        flex-direction: column;
    }

    .drawer-nav .navlink {
        width: 40%;
        margin: 0 auto;
    }

    .navbox {
        display: none;
    }

    .drawer-nav .navgate {
        justify-content: flex-start;
    }

    .entrycard {
        height: 250px;
    }
}


/***mixituphead***/
.titleandcontrols {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 50px 0;

}

.titleandcontrols .title {
    width: 20%;
}

/***mixitup***/
.controls {
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
}

.controls button {
    position: relative;
    display: inline-block;
    width: auto;
    height: 2.7rem;
    background: #f7f9f9;
    cursor: pointer;
    color: #333;
    transition: background 150ms;
    border: none;
    margin: 0 .5rem;
    border-radius: 3px;
}


.controls button.mixitup-control-active {
    /* background: #EDEDED;*/
}

.controls[data-filter]:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    border: 2px solid currentColor;
    border-radius: 2px;
    background: currentColor;
    transition: background-color 150ms, border-color 150ms;
}

.controls[data-sort]:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-left: 2px solid;
    top: calc(50% - 6px);
    left: calc(50% - 6px);
    transform: translateY(1px) rotate(45deg);
}

.controls[data-sort*=":desc"]:after {
    transform: translateY(-4px) rotate(-135deg);
}

.mixitup-control-active {
    background: #393939;
}

.mixitup-control-active[data-filter]:after {
    background: transparent;
}

.control:first-of-type {
    border-radius: 3px 0 0 3px;
}

.control:last-of-type {
    border-radius: 0 3px 3px 0;
}

.control[data-filter] + .control[data-sort] {
    margin-left: .75rem;
}

.control[data-filter=".green"] {
    color: #91e6c7;
}

.control[data-filter=".blue"] {
    color: #5ecdde;
}

.control[data-filter=".pink"] {
    color: #d595aa;
}

.control[data-filter="none"] {
    color: #2f2f2f;
}

/* Container
---------------------------------------------------------------------- */

.container {
    padding: 1rem;
    text-align: justify;
    font-size: 0.1px;
}

.container:after {
    content: '';
    display: inline-block;
    width: 100%;
}

/* Target Elements
---------------------------------------------------------------------- */

.mix,
.gap {
    /*width: 30% !important;*/
    display: inline-block;
    vertical-align: top;
}

.mix {
    border-top: .5rem solid currentColor;
    border-radius: 2px;
    margin-bottom: 5rem;
    position: relative;
}

.mix:before {
    content: '';
    display: inline-block;
    padding-top: 56.25%;
}

.mix.all {
    color: #91e6c7;
}

.mix.graphic {
    color: #d595aa;
}

.mix.video {
    color: #5ecdde;
}

.mix.web {
    color: #deb25e;
}

/* Grid Breakpoints
---------------------------------------------------------------------- */

/* 2 Columns */

.mix,
.gap {
    /*width: calc(100%/2 - (((2 - 1) * 1rem) / 2));*/
    width: calc(100%/1 - (((1 - 1) * 1rem) / 1));
}

/* 3 Columns */

@media screen and (min-width: 541px) {

    .mix,
    .gap {
        /*width: calc(100%/3 - (((3 - 1) * 1rem) / 3));*/
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
    }
}

/* 4 Columns */

@media screen and (min-width: 961px) {

    .mix,
    .gap {
        /*width: calc(100%/4 - (((4 - 1) * 1rem) / 4));*/
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}

/* 5 Columns */

@media screen and (min-width: 1281px) {

    .mix,
    .gap {
        width: calc(100%/4 - (((4 - 1) * 1rem) / 4));
    }
}

/***frontpage***/
.inner {
    width: 80%;
    margin: 0 auto;
}

/***mixitupmystyle***/
.controls button {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
}

.controls button::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #333;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.controls button:hover::after {
    transform: scale(1, 1);
}


.controls button.mixitup-control-active::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #333;
    transform: scale(1, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.mix:before {
    padding-top: 0;
}

.contentsimage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contentsimage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(90%);
    transition: all .4s ease;
    transition: filter .3s ease;
    transform: scale(1.8);
    transition: transform .5s ease;
}

.mix:hover .contentsimage img {
    filter: none;
    transform: scale(1.2);
}

.mix {
    text-decoration: none;
    overflow: hidden;
    position: relative;
    border-top: none;
    height: 280px;
}

.mix .caption {
    color: #fff;
    padding-top: 220px;
    padding-left: 0px;
}

.mix .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    /* マスクを表示しない */
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.mix:hover .mask {
    opacity: 1;
    /* マスクを表示する */
    padding-left: 30px;
    /* 右にずらす */
}

.caption h1 {
    font-size: 1.6rem;
}


/***pageheader***/
.pageheader {
    width: 80%;
    margin: 0 auto;
    display: flex;
    padding: 50px 0;
}

.pageheader .title {
    width: 20%;
}

.pageheader .gapbox {
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
}

/***single***/

.entrydiscription {
    padding: 50px 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.entrydiscription > h2 {
    font-size: 28px;
    margin: 0;
    margin-bottom: 20px;
    text-align: right;
}


.entrydiscription > h1 {
    font-size: 30px;
    margin: 0;
    margin-bottom: 20px;
}

.entrydiscription > h2 > .big {
    font-size: 38px;
}

.profileing p {
    margin: 0.5rem 0;
}


.singleinner img {
    width: 100%;
}

.singleinner > .category-video .entrydiscription .wp-block-embed-youtube {
    display: none;
}

.category-video .entryhead {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.category-video .entryhead iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/**pagenation**/
.entrypagenation {
    width: 100%;
}

.entrypagenation ul {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.entrypagenation ul .pagebox {
    list-style: none;
    width: 50%;
}


.entrypagenation ul li > a {
    display: flex;
    color: black;
    text-decoration: none;
}

.entrypagenation ul .pagebox:last-child a {
    flex-direction: row-reverse;
}

.pagenationentry .next:after {
    content: url(http://f16.jp/aya/wp-content/uploads/2020/04/矢印ボタン　右3.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
}

.pagenationentry .prev:before {
    content: url(http://f16.jp/aya/wp-content/uploads/2020/04/矢印ボタン　左3.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
}

.entrypostpagenation {
    width: 100%;
    padding: 50px 0;
}

.entrypostpagenation .flex {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.entrypostpagenation .flex .pagebtn {
    width: 50px;
    height: 50px;
    border-radius: 7px;
    background: #f7f9f9;
    box-shadow: 5px 5px 5px #d4d6d6,
        -5px -5px 5px #ffffff;
}

.entrypostpagenation .flex .notbtn {
    width: 50px;
    height: 50px;
}

.entrypostpagenation .flex .pagebtn a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.entrypostpagenation .flex .pagebtn a img {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 480px) {
    .titleandcontrols {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .titleandcontrols .title {
        width: 70%;
    }

    .controls {
        justify-content: center;
    }

    .pageheader {
        display: none;
    }
}


/**archive-blog**/
.blogpage-col .blogcontainer {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blogpage-col .blogcontainer::after {
    content: '';
    display: inline-block;
    width: 100%;
}

.blogpage-col .blogcontainer .blogcont {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 5rem;
}

.blogpage-col .blogcontainer .blogcont .blogcontinner {
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 7px;
    background: #f7f9f9;
    box-shadow: 8px 8px 8px #d4d6d6, -8px -8px 8px #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.blogpage-col .blogcontainer .blogcont .blogimage {
    width: 200px;
    height: 200px;
    border-radius: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #f7f9f9;
    box-shadow: 8px 8px 8px #d4d6d6, -8px -8px 8px #ffffff;
    margin-bottom: 10px;
}

.blogpage-col .blogcontainer .blogcont .blogimage img,
.blogpage-col .blogcontainer .blogcont .blogimage > div {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100%;

}

.blogcont,
.bloggap {
    width: calc(100%/4 - (((4 - 1) * 5rem) / 4));
}

.blogcontinner h1 {
    font-size: 1.6rem;
    color: #333;
    font-weight: bold;
}

.blogcontinner p {
    font-size: 1.4rem;
    color: #333;
    margin-top: 0;
    margin-bottom: 3rem;
}

.morebtn {
    margin-top: auto;
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
    border-radius: 7px;
    color: white;
    background: #dee0e0;
    font-weight: bold;
    /* background: linear-gradient(-5deg, #dee0e0, #ffffff);
    box-shadow: 8px 8px 16px #d2d4d4, -8px -8px 16px #ffffff;
    transition: all .3s ease;*/
    transition: all .3s ease;
}

.morebtn:hover {
    background: #333;
}

@media screen and (max-width: 1250px) {
    .blogpage-col .blogcontainer .blogcont .blogimage {
        width: 170px;
        height: 170px;
    }
}

@media screen and (max-width: 1024px) {

    .blogcont,
    .bloggap {
        width: calc(100%/3 - (((3 - 1) * 5rem) / 3));
    }
}

@media screen and (max-width: 780px) {

    .blogcont,
    .bloggap {
        width: calc(100%/1 - (((1 - 1) * 1rem) / 1));
    }

    .blogpage-col .blogcontainer .blogcont .blogimage {
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width: 480px) {
    .blogpage-col .blogcontainer {
        margin-left: -1rem;
        margin-top: 60px;
    }
}

/***singleblog***/

.singlebloginner {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

.blogimagebox {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.blogimagebox > img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.singlebloginner > article {
    width: 55%;
    min-height: 100vh;
    background: white;
    box-sizing: border-box;
    padding: 100px;
    position: sticky;
    top: 0;
}

.blogpostdata {
    margin: 20px 0 60px;
}

.blogpostcontent {
    font-size: 1.6rem;
}

@media screen and (max-width: 480px) {
    .singlebloginner {
        flex-direction: column-reverse;
    }

    .blogimagebox {
        width: 100%;
    }

    .singlebloginner > article {
        width: 100%;
        min-height: auto;
        position: inherit;
        padding: 60px 30px;
    }
}
