@charset "UTF-8";

/*
    Breakpoint 
        tablet     : 1140px
        smartphone : 768px
*/

/* ================================================
    Base
================================================ */

body {
    background: url(../images/main-bg.png) left -150px top 30px no-repeat #F2F2F2;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', '游ゴシック Medium', meiryo, sans-serif;
    line-height: 1.8;
    color: #3f3f3f;
}

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

a { color: #3f3f3f; }
a:hover { 
    text-decoration: none; 
    color: currentColor;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

input, textarea {
    width: 100%;
}

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

/* ================================================
    Common Styles
================================================ */

/* clearfix */
.clearfix::after {
    content: "";
    clear: both;
    display: block;
}

/* display */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.sp-only { display: none; }
@media screen and (max-width: 768px) {
    .pc-only { display: none; }
    .sp-only { display: block; }
}

/* alignment */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* float / clear */
.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }
.clear { clear: both; }
.clear-right { clear: right; }
.clear-left { clear: left; }
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

/* overflow */
.visible { overflow: visible; }
.hidden { overflow: hidden; }
.scroll { overflow: scroll; }
.scroll-x { overflow-x: scroll; }
.scroll-y { overflow-y: scroll; }
.scroll-auto-x { overflow-x: auto; }
.scroll-auto-y { overflow-y: auto; }

/* color */
.c-primary { color: #004EA2; }
.c-gray { color: #B2B2B2; }
.c-white { color: #fff; }
.c-black { color: #000; }

/* background */
.bg-primary { background: #004EA2; }
.bg-gray { background: #F2F2F2; }
.bg-white { background: #fff; }

/* list */
.list-style-none li { list-style: none !important; }

/* border */
.border-none { border: none !important; }

/* margin */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 1em !important; margin-bottom: 1em !important; }
.my-2 { margin-top: 2em !important; margin-bottom: 2em !important; }
.my-3 { margin-top: 3em !important; margin-bottom: 3em !important; }
.my-4 { margin-top: 4em !important; margin-bottom: 4em !important; }
.mx-0 { margin-right: 0 !important; margin-left: 0 !important; }
.mx-1 { margin-right: 1em !important; margin-left: 1em !important; }
.mx-2 { margin-right: 2em !important; margin-left: 2em !important; }
.mx-3 { margin-right: 3em !important; margin-left: 3em !important; }
.mx-4 { margin-right: 4em !important; margin-left: 4em !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1em !important; }
.mt-2 { margin-top: 2em !important; }
.mt-3 { margin-top: 3em !important; }
.mt-4 { margin-top: 4em !important; }
.mt-5 { margin-top: 5em !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1em !important; }
.mb-2 { margin-bottom: 2em !important; }
.mb-3 { margin-bottom: 3em !important; }
.mb-4 { margin-bottom: 4em !important; }
.mb-5 { margin-bottom: 5em !important; }
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 1em !important; }
.mr-2 { margin-right: 2em !important; }
.mr-3 { margin-right: 3em !important; }
.mr-4 { margin-right: 4em !important; }
.mr-5 { margin-right: 5em !important; }
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 1em !important; }
.ml-2 { margin-left: 2em !important; }
.ml-3 { margin-left: 3em !important; }
.ml-4 { margin-left: 4em !important; }
.ml-5 { margin-left: 5em !important; }

/* padding */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 1em !important; padding-bottom: 1em !important; }
.py-2 { padding-top: 2em !important; padding-bottom: 2em !important; }
.py-3 { padding-top: 3em !important; padding-bottom: 3em !important; }
.py-4 { padding-top: 4em !important; padding-bottom: 4em !important; }
.px-0 { padding-right: 0 !important; padding-left: 0 !important; }
.px-1 { padding-right: 1em !important; padding-left: 1em !important; }
.px-2 { padding-right: 2em !important; padding-left: 2em !important; }
.px-3 { padding-right: 3em !important; padding-left: 3em !important; }
.px-4 { padding-right: 4em !important; padding-left: 4em !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 1em !important; }
.pt-2 { padding-top: 2em !important; }
.pt-3 { padding-top: 3em !important; }
.pt-4 { padding-top: 4em !important; }

/* width / height */
.w-full { width: 100%; }
.h-full { height: 100%; }
@media screen and (max-width: 768px) {
    .sp-full { width: 100% !important; }
}

/* common page layout */
.main { 
    justify-content: space-between; 
    padding: 50px;
    margin-bottom: 85px;
}
.content { width: 770px; }
.sidenav { width: 370px; }
@media screen and (max-width: 1140px) {
    .main { flex-direction: column; }
}
@media screen and (max-width: 768px) {
    .content,
    .sidenav {
        width: 100%;
    }
    .main {
        padding: 0 15px;
    }
}

/* wordpress content style */
.wp-content p {
    margin-bottom: 2em;
    line-height: 2;
    font-size: 16px;
}
.link-default a,
.wp-content a {
    text-decoration: underline;
    color: #789dae;
}
.link-default a:hover,
.wp-content a:hover {
    color: #0f5373;
}
.wp-content h2, 
.wp-content h3, 
.wp-content h4 {
    font-weight: bold;
    line-height: 1.75;
    margin-top: 2em;
    margin-bottom: 1em;
}
.wp-content h2 { font-size: 25px; }
.wp-content h3 { font-size: 22px; }
.wp-content h4 { font-size: 18px; }
.wp-content ul { margin-bottom: 1em; }
.wp-content ul li:last-child { margin-bottom: 0 !important; }
.wp-content ul:not(.wp-block-gallery) li {
    display: flex;
    align-content: center;
    margin-bottom: 1em;
}
.wp-content ul:not(.wp-block-gallery) li::before {
    content: '';
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    margin-top: 4px;
    margin-right: 0.5em;
    background: url(../images/arrow-right-black.svg) no-repeat center center;
}
.wp-content img[class*="wp-image-"] { margin-bottom: 1em; }
.wp-content .alignleft { float: left; margin-right: 1em; } 
.wp-content .alignright { float: right; margin-left: 1em; } 
.wp-content .aligncenter { display: block; margin: auto; } 

/* ================================================
    Component
================================================ */

html {
    
    
}

body {
    background: #fff;
}

/* container */
.page-container {
    max-width: 1140px;
    margin: 0 auto;
    border: solid #ECEEF1;
    border-width: 0 1px;
}
.container {
    width: 1140px;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .container {
        width: 100%;
    }
}

/* pagination */
.archive-pagination {
    text-align: center;
}
.archive-pagination .page-numbers {
    margin: 0 5px;
}

.single-pagination {
    justify-content: space-between;
}
.single-pagination p {
    width: 48%;
}

/* thumbnail-img */
.thumbnail-img {
    overflow: hidden;
    position: relative;
}
.thumbnail-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: 100%;
    width: auto;
    max-width: none;
}

/* text-ellipsis */
.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ================================================
    Page
================================================ */

/* header */
.header-heading {
    padding: 30px;
    text-align: center;
}

.header-logo {
    margin: 20px 0;
}
.header-logo img {
    width: 300px;
}

.header-description {
    font-size: 12px;
    font-weight: bold;
}

.header-nav {
    border: solid #ECEEF1;
    border-width: 1px 0;    
    padding: 10px;
}

.header-nav-list {
    flex-wrap: wrap;
    justify-content: center;
}
.header-nav-list li {
    padding: 0 10px;
}
.header-nav-list a {
    color: #333;
    font-size: 13px;
}

/* contents */
.contents {
    max-width: 640px;
    margin-right: 50px;
}
@media screen and (max-width: 1140px) {
    .contents {
        max-width: 100%;
        margin-right: 0;
    }
}

/* card */
.card {
    margin-bottom: 60px;
}
.card-title {
    font-size: 19px;
    font-weight: bold;
    padding: 10px 0;
}
.card-title a {
    color: #333;
}
.card-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    position: relative;
    float: left;
    margin-right: 20px;
    border-radius: 5px;
}
.card-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    max-height: 100%;
    width: auto;
    max-width: none;
}
.card-content {
    font-size: 13px;   
}
@media screen and (max-width: 768px) {
    .card {
        margin: 0;
        padding: 17px 0;
        border-bottom: 1px solid #ECEEF1;
    }
    .card-head {
        float: right;
        width: calc( 100% - 95px );
        font-size: 14px;
    }
    .card-title {
        font-size: 14px;
        font-weight: normal;
        padding: 5px 0 0;
    }
    .card-image {
        width: 75px;
        height: 75px;
    }
}

/* category */
.category-list{
    margin: 10px 0 5px 0;
}
.category-list li {
  margin-right: 10px;
  line-height: 1;
}
.category-list li a {
    font-size: 13px;
    color: #0f5373;
    text-decoration: underline;
}
.tag-list {
    margin-bottom: 30px;
}
.tag-list li {
    margin-right: 10px; 
    font-size: 13px;
}
.tag-list i{
    margin-right: 3px;
}
li.tag-title {
    background-color: #b5b5b5;
    color: #fff;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 63px;
    height: 22px;
}

/* sidenav */
.sidenav { max-width: 290px; }
.sidenav a { color: #333; }
.sidenav-block { margin-bottom: 60px; }
.sidenav-heading {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    padding: 0 0 5px 5px;
    border-bottom: 1px solid #ECEEF1;
}

.sidenav-description {
    font-size: 13px;
}

.sidenav-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ECEEF1;
    line-height: 1.5;
    font-size: 13px;
}

.sidenav-list-category-title,
.sidenav-list-archive-title {
    align-content: center;
}
.sidenav-list-category > li > a,
.sidenav-list-archive-title span {
    margin-left: 10px;
}
.sidenav-list-category ul.children {
    width: 100%;
}
.sidenav-list-category > li {
    display: flex;
    flex-wrap: wrap;
}
.sidenav-list-category li.active .children {
    display: block !important;
    list-style-type: square;
    padding-left: 3em;
}
.accordion-arrow {
    color: #3f3f3f;    
    cursor: pointer;
    transform: rotate(90deg);
    display: inline-block;
}
.active .accordion-arrow {
    transform: rotate(180deg);
}
.sidenav-list-archive-body {
    padding-left: 3em;
}
.active .sidenav-list-archive-body {
    display: block !important;
}
@media screen and (max-width: 1140px) {
    .sidenav {
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .sidenav {
        margin-top: 100px;
    }
}

/* searchform */
.searchform {
    border: 1px solid #ECEEF1;
    padding: 5px 5px 5px 10px;
}
.searchform button,
.searchform input {
    background: none;
    border: none;
}
.searchform button:focus,
.searchform input:focus {
    outline: none;
}
.searchform-input {
    width: 85%;
}
.searchform-submit {
    width: 15%;
    cursor: pointer;
}

/* post */
.post-header {
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ECEEF1;
}
.post-title {
    font-weight: bold;
    font-size: 22px;
    margin: .75em 0px;
}
.post-author {
    font-size: 13px;
    color: #999999;
}

.post-module {
    margin: 20px 0;
}
.post-module li {
    flex-wrap: nowrap;
    padding: 10px 0;
    border-bottom: 1px solid #ECEEF1;
}
.post-module-title {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 19px;
    padding: 0 0 5px 5px;
    border-bottom: 1px solid #ECEEF1;
}

.wp-embedded-content {
	max-width: 100%;
}

/* related-post */
.related-post-img {
    width: 100px;
    height: 100px;
    display: block;
    margin-right: 10px;
}
.related-post-body {
    width: calc( 100% - 100px - 10px );
}
@media screen and (max-width: 768px) { 
    .related-post-img {
        width: 70px;
        height: 70px;
        border-radius: 5px;
    }
    .related-post-body {
        font-size: 13px;
    }
    .related-post-body-title {
        text-overflow: unset;
        white-space: normal;
    }
}

/* sns list */
.sns-list li {
    margin-right: .5em;
    margin-bottom: .5em;
}
.sns-list li:last-child {
    margin-right: 0;
}
