/*
Theme Name: Spica
Author: Naoko Yanagawa
Description: 架空の美容室Spicaのコーポレートサイト用テーマ
Version: 1.0
*/



@import url('https://fonts.googleapis.com/css2?family=Fasthand&family=Kaisei+HarunoUmi:wght@700&family=Kosugi+Maru&display=swap');


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

body {
    font-family: Meiryo;
    background-color: #fff;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    margin: 0;
}

img {
    max-width: 100%;
}

a {
    color: #2F3A59;
    text-decoration: none;
    outline: none;
}

a:hover {
    text-decoration: underline;
    color: #F0A202;
}

h1 {
    text-align: center;
    margin: 15px 0;
}

h2 {
    margin: 15px 0;
}

h3 {
    margin: 15px 0;
}

p {
    margin: 15px 0;
}

/* Header
   ========================================================================== */

header {
    position: fixed;
    width: 100%;
    z-index: 1;
    background-color: black;
}

.header_inner {
    display: flex;
    justify-content: space-between;
    height: 5rem;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 30px;
}

nav#header-nav {
    background-color: #fff;
}

.logo a {
    font-family: 'Fasthand', cursive;
    color: #FFFFFF;
    font-size: 50px;
}

.logo a:hover {
    color: #F0A202;
    text-decoration: none;
}

.header_contact {
    border: 1px solid #fff;
    padding: 1rem 2rem;
    background-color: #fff;
    font-weight: bold;
}

.header_contact:hover {
    background-color: #F0A202;
}

.header_contact:hover a {
    text-decoration: none;
    color: #fff;
}

@media (min-width: 769px) {
    .nav-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-button {
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        font-size: 2rem;
        cursor: pointer;
    }

    .nav-button:hover {
        color: #F0A202;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 5rem;
        left: 0;
        z-index: 1000;
        width: 100%;
        padding: 4rem;
        font-size: 2.4rem;
        box-sizing: border-box;
        background-color: #fff;
    }

    nav ul {
        margin: 0;
        padding: 0;
    }

    nav ul li {
        list-style: none;
    }

    nav ul li a:hover {
        text-decoration: none;
        color: #F0A202;
    }
    
    .sub-menu {
        display: none;
    }
}

@media (min-width: 769px) {
    .header-nav .sub-menu:before {
        position: absolute;
    }
    
    .header-nav .sub-menu {
        position: relative;
        display: none;
        margin: auto;
        text-align: center;
        background-color: #fff;
        top: 8px;
    }
    
    .header-nav .sub-menu li {
        display: block;
        float: none;
        padding: 0;
        width: 100%;
    }
    
    .header-nav li:hover .sub-menu {
        display: block;
    }

    nav {
        background-color: #fff;
    }

    nav ul {
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        padding: 10px 0 0;
        max-width: 80rem;
    }

    nav ul li {
        width: 20%;
        height: 28px;
        list-style: none;
        border-bottom: 10px solid #fff;
        font-size: 20px;
    }

    nav ul li:last-child {
        margin-right: 0;
    }

    nav ul li:hover {
        border-bottom: 10px solid #F0A202;
    }

    nav ul li a {
        display: inline-block;
        width: 100%;
        height: 100%;
        text-align: center;
    }

    nav ul li a:hover {
        text-decoration: none;
        color: #F0A202;
    }
}

/* Cover
   ========================================================================== */
#cover {
    margin-bottom: 40px;
    padding-top: 8rem;
}

#cover #slide img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

@media (max-width: 768px) {
    #cover {
        padding-top: 5rem
    }

    #cover #slide img {
        height: 25rem;
    }
}

/* Content
   ========================================================================== */
#content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
    }
}

article h2 {
    color: #000;
}

.news-container {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .news-container {
        display: flex;
        flex-direction: column;
    }
}

.section-title {
    text-align: center;
}

.news-top-item {
    border: 1px solid #D3D3D3;
    width: 32%;
    height: 100%;
}

@media (max-width: 768px) {
    .news-top-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

.top-text {
    text-align: center;
}

.news-top-item img {
    width: 100%;
    object-fit: cover;
    height: 60%;
}

span.date {
    padding-left: 1rem;
}

.news-title {
    padding: 1rem;
    margin: 0;
}

.center {
    text-align: center;
    padding: 40px;
}

.btn-default {
    background-color: #BCBCBC;
    color: #fff;
    border: 1px solid #BCBCBC;
    padding: 1rem;
    font-weight: bold;
}

a.btn-default:hover {
    background-color: #737373;
    text-decoration: none;
}

/* Footer
   ========================================================================== */
footer {
    padding-top: 50px;
}

#contact {
    background-color: #111;
    text-align: center;
}

.footer_address {
    color: #fff;
    margin: 0;
    padding: 1rem;
    line-height: 2;
}

.footer-sns {
    padding: 0 10px;
    display: flex;
    list-style: none;
    margin: 0;
    justify-content: center;
}

.footer-sns li {
    padding: 20px;
}

.footer-sns a {
    display: flex;
    padding: 0;
    list-style: none;
    color: #333;
    background-color: #ffffff;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    font-size: 30px;
    border-radius: 50%;
}

.footer-sns a:hover {
    text-decoration: none;
    color: #F0A202;
}

#copyright {
    padding: 15px 0;
    text-align: center;
    color: #ccc;
    background-color: #111;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-top: 1px solid #333;
}

/* Media Queries for Desktop
   ========================================================================== */

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

    /* Content
     ================================= */

    aside {
        width: 20%;
        margin-left: 20px;
    }

    article {
        width: 80%;
    }
}


/**
 * Blog
 */

.blog-title-article {
    margin-bottom: 0px;
    margin-left: 5px;
    text-align: inherit;
}

.blog-wrap {
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
}

.blog-header {
    padding: 5px;
    border-bottom: 1px dotted #ccc;
    color: #888;
    font-size: 13px;
}

.blog-body {
    width: 100%;
    padding-top: 10px;
}

.blog-body img {
    width: 50%;
}

@media (max-width: 768px) {
    .blog-body img {
    width: 100%;
    }
}


/**
 * Page Navi
 */

.page-navi {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
}

.blog-title-index {
    margin-bottom: 0px;
    margin-left: 5px;
    font-size: 2em;
    color: #333;
}

.blog-title-category {
    font-size: 1.17em;
    font-weight: normal;
    color: #888;
    text-align: inherit;
}

.blog-footer {
    padding: 5px;
}

/*　blog一覧ページ */

.blog-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.blog-contact {
    width: 45%;
    border: 1px solid;
    margin-bottom: 20px;
    padding: 10px;
    aspect-ratio: 1;
}

@media (max-width: 768px) {
    .blog-title-index {
        font-size: 1rem;
    }

    .blog-contact {
        width: 43%;
    }
}

.blog-contact img {
    object-fit: cover;
    height: 30%;
}

/**
 * Menu
 */

.menu-header {
    margin-top: 20px;
}

.category1 {
    border: 1px solid;
    padding: 10px 20px;
    width: 110px;
    background-color: #8F8F8F;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

.menu-body {
    border-bottom: 1px solid #ccc;
}

.price {
    color: #F25C54;
    display: flex;
    justify-content: flex-end;
}

/**
 * Staff
 */

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

@media (max-width: 1010px) {
    .staff-container {
        display: flex;
        flex-direction: column;
    }
}

.staff-top-item {
    border: 1px solid #D3D3D3;
    width: 49%;
    box-sizing: border-box;
    margin-bottom: 20px;
    background-color: #D3D3D3;
    padding: 10px;
}

@media (max-width: 1010px) {
    .staff-top-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

a.staff-content {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 1010px) {
    a.staff-content {
        display: flex;
    }
}

.staff-img {
    width: 49%;
    box-sizing: border-box;
}

.staff-img img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    height: auto;
}

@media (max-width: 1010px) {
    .staff-img {
        width: 100%;
    }

    .staff-img img {
        width: 100%;
    }
}

.staff-body {
    width: 48%;
    padding-left: 20px;
}

@media (max-width: 1010px) {
    .staff-body {
        width: 100%;
    }
}

.staff-name {
    text-wrap: nowrap;
}

.staff-Contact {
    display: flex;
    text-decoration: none;
}

/**
 * Staff下層ページ
 */

.staff-page {
    border: 1px solid #D3D3D3;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    background-color: #D3D3D3;
    padding: 20px;
}

.staff-img1 {
    width: 50%;
    display: flex;
}

.staff-img1 img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    height: auto;
}

p.post1 {
    font-size: 20px;
}

p.comment1 {
    font-size: 20px;
}

@media (max-width: 768px) {
    .staff-page {
        display: flex;
        flex-direction: column;
    }

    .staff-img1 {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }

    .staff-img1 img {
        width: 100%;
    }

    p.post1 {
        font-size: 16px;
    }

    p.comment1 {
        font-size: 16px;
    }

    table {
        border-collapse: collapse;
        background: #fff;
    }
}

@media (min-width: 769px) {
    table {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
    }
}

@media (max-width: 768px) {
    table.profile1 {
        border-collapse: collapse;
        background: #fff;
    }
}

@media (min-width: 769px) {
    table.profile1 {
        width: 100%;
        border-collapse: collapse;
        background: #fff;
    }
}

caption {
    background: #b7aa9d;
    color: #ffffff;
    height: 50px;
    padding: 0 18px;
    font-size: 22px;
    line-height: 50px;
    text-align: left;
}

th {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 9px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    line-height: 1.7;
    width: 114px;
    font-weight: 400;
}

td {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 9px 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-all;
}


/* Breadcrumb NavXT
  ========================================================================== */

.breadcrumbs {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Widget
   ========================================================================== */

.widget h3 {
    border-left: 5px #cccccc solid;
    border-bottom: 1px #cccccc solid;
    padding-left: 10px;
}

.widget ul {
    padding: 0;
    list-style: none;
}

.widget ul li {
    margin-bottom: 5px;
}

.widget ul li a {
    color: #333333;
}

.widget table caption {
    font-weight: 800;
}

.widget table thead th,
.widget table tbody td {
    border: 1px #cccccc solid;
    text-align: center;
}

nav.wp-calendar-nav {
    width: auto;
}

/*　空欄補充,崩れ修正 */

ul {
    padding-left: 40px;
}

p.has-text-align-center {
    text-align: center;
}

ul.blocks-gallery-grid {
    padding: 20px;
    list-style: none;
}

figure.wp-block-gallery.columns-1.is-cropped {
    margin: 0;
}

figure {
    margin: 0;
    text-align: center;
}

.wp-block-columns {
    display: flex;
    width: 100%
}

img.wp-image-205 {
    width: 100%;
}

.wp-block-column {
    width: 100%;
}

img.wp-image-192 {
    width: 100%;
}

/*メインメニュー*/

