/*
Theme Name: ACE Beauty Salon
Description: A modern beauty salon WordPress theme based on XD design
Author: ACE Beauty Salon
Version: 1.0
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.6;
    color: #000;
    background: #F5F1ED;
    background-size: 100%;
    max-width: 1920px;
}

h2 {
    text-align: center;
    font-size: 36px;
    font-weight: normal;
}

a {
    color: #000;
    border-bottom: .5px solid #000;
    text-decoration: none;
}

a:hover {
    color: #FFA811;
    border-bottom: .5px solid #FFA811;
}

/* figure {
	margin: 1em auto 2em;
} */

.no-posts {
    text-align: center;
    margin: 40px auto 80px;
}

.no-posts h2 {
    font-size: 18px;
}

.no-posts p {
    margin-bottom: 40px;
}

.wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

ul li {
    list-style: none;
}

/* main-area */
.main-area {
    max-width: 1280px;
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: 1fr;
    gap: 20px;
    margin: 0 20px 0 160px;
    padding: 10px 0 40px;
    overflow: hidden;
    word-break: break-all;
}

section {
    width: 100%;
    min-width: 768px;
    background-color: #F5F1ED;
    text-align: left;
    margin-bottom: 50px;
}

.main-area {
    order: 1;
}

/* Post list */

.content-wrapper {
    border-top: .5px solid #707070;
}

.post-list {
    background: #fff;
    border-left: .5px solid #707070;
    border-right: .5px solid #707070;
}

.post-list li {
    list-style: none;
}

.post-list-items-left {
    margin-right: 15px;
}

.post-list a {
    border: none;
}

.post-list-items { 
    border-bottom: .5px solid #707070;
    display: flex;
    padding: 20px;
    list-style: none;
}

.post-list .post-categories li,
.post-wrap .post-categories li {
    list-style: none;
}

.post-list .post-categories a,
.post-wrap .post-categories a {
    border: .5px solid #707070;
    padding: 0 4px;
    margin-bottom: 10px;
    font-size: 14px;
    display: inline-block;
    color: #000;
    background: #fff;
}

.post-thumbs img {
    display: block;
    width: 107px;
    height: 80px;
    overflow: hidden;
    object-fit: cover;
}

.post-date {
    font-size: 15px;
    line-height: 32px;
}

.post-list h3 {
    text-align: left;
    font: normal normal 500 17px/25px Zen Kaku Gothic New;
    letter-spacing: 0.65px;
    color: #000;
    margin-top: 5px;
}

.post-excerpt {
    font-size: 14px;
    color: #000;
    line-height: 1.5;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
}

/* breadcrumb */

.breadcrumb {
    font-size: 11px;
    color: #989898;
    list-style: none;
    text-align: left;
    margin: 0 20px 0 160px;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li + li:before{
    content: ">";
    margin:.5em;
}

.breadcrumb a {
    border: none;
    color: #989898;
}

/* single post */

.post-wrap {
    border-left: .5px solid #707070;
    border-right: .5px solid #707070;
    border-bottom: .5px solid #707070;
    background: #fff;
    padding: 40px;
}

.post-info {
    display: flex;
    justify-content: space-between;
}

.post-wrap h3 {
    text-align: left;
    font: normal normal 500 21px/25px Zen Kaku Gothic New;
    letter-spacing: 0.65px;
    color: #000;
    margin-bottom: 20px;
}

.post-wrap p {
    line-height: 21px;
    margin-bottom: 1em;
}

.post-wrap a {
    color: #FFA811;
}

.post-wrap a:hover {
    color: #FFA811;
    border-bottom: .5px solid #707070;
}

.post-wrap h1 {
    font-size: 24px;
    margin-bottom: 1em;
}

.post-wrap h2 {
    font-size: 21px;
    border-left: 3px solid #FFA811;
    text-align: left;
    padding-left: 8px;
    line-height: 24px;
    margin-bottom: 1em;
}

.post-wrap h4 {
    font-size: 16px;
    margin-bottom: 1em;
}

.post-wrap ul,
.post-wrap ol,
.post-wrap li {
    margin-left: 1em;
    list-style: disc;
}

.post-wrap ul,
.post-wrap ol {
    margin-bottom: 1em;
}

.post-wrap img {
    margin: 30px;
    max-width: 100%;
}

table {
    width: 80%;
    margin: 1em auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
}

table th,
table td {
    padding: 10px;
    text-align: left;
}

table tr:nth-child(odd) {
    background-color: #F5F1ED;
}


/* outline */
.outline {
    border-top: .5px solid #707070;
    border-bottom: .5px solid #707070;
    margin: 30px auto;
    padding: 30px;
    padding-left: 20%;
    font-size: 14px;
}

.outline  h3::before {
    content: "■";
    color: #FFA811;
}

.outline h3 {
    text-align: center;
    margin-bottom: 2em;
}

.outline ol li,
.outline ul li {
    margin-left: 15px;
}

.outline ul li {
    list-style: none;
}

.outline ol li::before {
    content: "|";
    margin-left: 4px;
    margin-right: 6px;
}

.outline li ul li {
    list-style: none;
}

/* Prev/Next */
.post-link {
    margin: 0;
    padding: 0;
    display: flex;
    border: .5px solid #707070;
    border-top: 0;
    width: 100%;
    background: #fff;
}

.post-link a {
    color: #000;
    border: none;
}

.next-post-wrap,
.prev-post-wrap {
    width: 50%;
    padding: 15px 15px 15px 15px;
    display: flex;
    font-size: 12px;
    line-height: 1em;
}

.next-post-wrap {
    justify-content: start;
    border-left: .5px solid #707070;
}

.prev-post-wrap {
    justify-content: start;
}

.prev-post {
    text-align: left;
    padding-left: 5px;
    width: 100%;
}

.next-post {
    text-align: left;
    padding-right: 5px;
    width: 100%;
}

.icon {
    font-size: 24px;
    line-height: 48px;
}

.date {
    font-size: 10px;
    display: block;
    margin-bottom: 5px;
}


/* ページネーション共通スタイル */
.pagination {
    text-align: center;
    margin:  0;
    clear: both;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0;
    color: #000;
    transition: all 0.3s ease;
}

.pagination a.page-numbers:hover {
    background-color: #FFA811;
    color: #fff;
    border-color: #FFA811;
}
.pagination .dots {
    border-left: .5px solid #707070;
    width: 54px;
    height: 54px;
    line-height: 54px;
}

.nav-links {
    display: flex;
    margin: 40px 0;
}

.navigation a,
.navigation .current {
    display: block;
    background: #fff;
    padding: 0;
    width: 54px;
    height: 54px;
    line-height: 54px;
    margin: 0;
    border-left: .5px solid #707070;
    border-top: .5px solid #707070;
    border-bottom: .5px solid #707070;
}

.navigation a:last-child,
.navigation span:last-child {
    border-right: .5px solid #707070;
}


/* Menu open state */
body.menu-open {
    overflow: hidden;
}

/* mobile */
@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }
    
    .main-area {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 40px;
        margin: 0;
    }

    section {
        min-width: auto;
        margin-bottom: 60px;
    }

    .main-are {
        margin-left: 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0 20px;
        border: 0;
    }

    .post .content-wrapper {
        border-top: .5px solid #707070;
    }

    .post-list {
        margin: 0;
        border-top: none;
    }

    .post-list-items {
        padding: 10px;
    }

    .post-list:first-child {
        border-top: .5px solid #707070;
    }

    .post-list h3 {
        font-size: 14px;
        line-height: 18px;
        margin: 0 0 5px 0;
    }

    .post-list .post-categories a, 
    .post-wrap .post-categories a {
        font-size: 11px;
    }

    .post-date {
        font-size: 10px;
    }

    .post-excerpt {
        font-size: 12px;
        line-height: 15px;
        line-clamp: 4;
        -webkit-line-clamp: 4;
    }
    
    .post-wrap img {
        margin: 20px auto;
    }
    .post-link {
        margin: 0;
        width: auto;
    }

    .nav-links {
        margin: 40px 0;
        justify-items: center;
    }

    .outline {
        padding: 20px;
        margin: 0;
    }

    .outline ul,
    .outline ol {
        margin: 0;
    }

    .pagination .page-numbers {
        width: 44px;
        height: 44px;
        text-align: center;
        line-height: 44px;
        padding: 0;
    }
}