/*
Theme Name: Blocksy Child
Version: 1.0
Template: blocksy


*/


/* WordPress Single Post Styles for WebCraft Studio Theme */


/* Base Typography and Colors */

body {
    color: #4e4e4e;
    background-color: #f9f9f9;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.7;
    letter-spacing: 0.01em;
    font-weight: 700;
    color: #6d5c4d;
}

p {
    line-height: 1.9;
    font-size: 17px;
    color: #4e4e4e;
}

a {
    text-decoration: underline;
}

@media (hover: hover) {
    a:hover {
        color: #c99e8f;
    }
}


/* Custom Color Classes */

.bg-ecru {
    background-color: #f9f7f5;
}

.text-primary {
    color: #6d5c4d;
}

.text-secondary {
    color: #4e4e4e;
}

.text-sage {
    color: #a6bcc2;
}

.text-dusty {
    color: #c99e8f;
}

.bg-sage {
    background-color: #a6bcc2;
}

.border-dusty {
    border-color: #c99e8f;
}

.hover-dusty:hover {
    color: #c99e8f;
}

.btn-dusty:hover {
    background-color: #c99e8f;
}


/* Header Styles */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(249, 247, 245, 0.95);
}

.site-header a {
    text-decoration: none;
}


/* Custom logo styling */

.custom-logo img {
    height: 2rem;
    width: auto;
}


/* Mobile menu animation */

#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


/* Dropdown menu positioning */

@media (hover: hover) {
    .menu-item-has-children:hover>ul {
        opacity: 1;
        visibility: visible;
    }
}


/* Mobile menu spacing */

.mobile-nav-menu li:last-child {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Smooth transitions */

.mobile-nav-menu a {
    transition: all 0.2s ease;
}


/* Focus states for accessibility */

#mobile-menu-button:focus {
    outline: 2px solid #A6BCC2;
    outline-offset: 2px;
}

.mobile-nav-menu a:focus,
.desktop-nav a:focus {
    outline: 2px solid #A6BCC2;
    outline-offset: 2px;
    border-radius: 4px;
}


/* Breadcrumb Styles */

.breadcrumb-nav {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-nav a {
    color: #4e4e4e;
    font-size: 0.875rem;
    transition: opacity 0.3s ease;
}

.breadcrumb-nav a:hover {
    opacity: 0.7;
}

.breadcrumb-nav .current {
    color: #6d5c4d;
}


/* Single Post Article Styles */

.single-post-article {
    padding: 3rem 0;
}


/* Post Header */

.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #6d5c4d;
}

@media (min-width: 768px) {
    .post-title {
        font-size: 3rem;
    }
}


/* Post Meta */

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #4e4e4e;
    margin-bottom: 2rem;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-meta-item svg {
    width: 1rem;
    height: 1rem;
}

.post-meta-category a {
    color: #a6bcc2;
    transition: opacity 0.3s ease;
}

.post-meta-category a:hover {
    opacity: 0.8;
}


/* Featured Image */

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.post-featured-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

@media (min-width: 768px) {
    .post-featured-image img {
        height: 24rem;
    }
}


/* Post Content */

.prose {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .prose {
        padding: 3rem;
    }
}


/* Content Typography */

.prose h2,
.prose h3,
.prose h4 {
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #6d5c4d;
}

.prose h2 {
    font-size: 1.875rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.prose h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: .5rem;
}

.prose h4 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.prose p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    color: #4e4e4e;
}

.prose blockquote {
    border-left: 4px solid #a6bcc2;
    padding-left: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 2rem 0;
    background-color: #f9fafb;
    border-radius: 0 0.5rem 0.5rem 0;
}

.prose blockquote p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.prose blockquote cite {
    font-size: 0.875rem;
    color: #a6bcc2;
    font-weight: 500;
}

.prose ul,
.prose ol {
    margin: 1.5rem 0;
    padding-left: 0;
    color: #6d5c4d;
}

.prose ul {
    list-style: none;
    padding-inline-start: 1.5rem;
}

.prose ol {
    list-style: decimal;
    list-style-position: inside;
}

.prose ul li {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: #6d5c4d;
    position: relative;
}

.prose ul li::before {
    content: '';
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23A6BCC2' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -1.5rem;
    top: 3px;
}

.prose ol li {
    margin-bottom: 0.75rem;
}

.prose strong {
    font-weight: 700;
}

.prose a {
    text-decoration: underline;
}

.prose .wp-block-table {
    overflow-x: auto;
    max-width: max-content;
}

.prose .wp-block-table td,
.wp-block-table th {
    font-size: 1rem;
}

.prose .wp-block-table .has-fixed-layout {
    table-layout: auto;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .prose .wp-block-table {
        max-width: 1200px;
    }
    .prose .wp-block-table .has-fixed-layout {
        white-space: normal;
    }
}

@media (hover: hover) {
    .prose a:hover {
        color: #c99e8f;
    }
}


/* Post Tags */

.post-tags {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.post-tags h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #6d5c4d;
}

.post-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    color: #4e4e4e;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.post-tag:hover {
    background-color: #f9fafb;
}


/* Author Bio */

.author-bio {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.author-bio-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .author-bio-content {
        flex-direction: row;
    }
}

.author-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background-color: #a6bcc2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar img {
    border-radius: 50%;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #6d5c4d;
}

.author-description {
    color: #4e4e4e;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.author-links {
    display: flex;
    gap: 1rem;
}

.author-links a {
    color: #a6bcc2;
    transition: color 0.3s ease;
}

.author-links a:hover {
    color: #c99e8f;
}

.author-links svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* Post Navigation */

.post-navigation {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.post-nav-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .post-nav-content {
        flex-direction: row;
    }
}

.post-nav-item {
    flex: 1;
}

.post-nav-item.next {
    text-align: right;
}

.post-nav-label {
    font-size: 0.875rem;
    color: #4e4e4e;
    margin-bottom: 0.5rem;
}

.post-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6d5c4d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-nav-link:hover {
    color: #a6bcc2;
}

.post-nav-item.next .post-nav-link {
    justify-content: flex-end;
}

.post-nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.post-nav-link:hover svg {
    transform: translateX(-0.25rem);
}

.post-nav-item.next .post-nav-link:hover svg {
    transform: translateX(0.25rem);
}

.post-nav-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.post-nav-excerpt {
    font-size: 0.875rem;
    color: #4e4e4e;
}


/* Comments Section */

.comments-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


/* Decorative Elements */

.decorative-svg {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.decorative-svg svg {
    width: 5rem;
    height: 1.5rem;
}


/* Responsive Utilities */

@media (max-width: 767px) {
    .post-title {
        font-size: 2rem;
    }
    .prose {
        padding: 1.5rem;
    }
    .prose h2 {
        font-size: 1.5rem;
    }
    .prose h3 {
        font-size: 1.25rem;
    }
}


/* WordPress Specific Overrides */

.wp-block-image {
    margin: 2rem 0;
}

.wp-block-quote {
    border-left: 4px solid #a6bcc2;
    padding-left: 1.5rem;
    margin: 2rem 0;
    background-color: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.wp-block-separator {
    border-color: #a6bcc2;
    opacity: 0.3;
    margin: 2rem 0;
}


/* Page Links (for multi-page posts) */

.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.page-links-title {
    color: #6d5c4d;
    font-weight: 500;
    margin-right: 1rem;
}

.page-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem;
    background-color: #a6bcc2;
    color: white;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-links a:hover {
    background-color: #9bb0b6;
}


/* ヒーローセクション */

.ct-hero-section {
    background-color: #e0f7fa;
    text-align: center;
    padding: 60px 20px;
}

.ct-hero-title {
    font-size: 2.5rem;
    color: #00796b;
    margin-bottom: 20px;
}

.ct-hero-subtitle {
    font-size: 1.2rem;
    color: #004d40;
    margin-bottom: 40px;
}

.ct-button {
    display: inline-block;
    background-color: #00796b;
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.ct-button:hover {
    background-color: #004d40;
}


/* 実績・制作事例セクション */

.ct-works-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.ct-section-title {
    font-size: 2rem;
    color: #00796b;
    text-align: center;
    margin-bottom: 40px;
}

.ct-works-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.ct-work-item {
    background-color: #e0f7fa;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: calc(33% - 40px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ct-work-item:hover {
    transform: translateY(-5px);
}

.ct-work-thumbnail {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.ct-work-title {
    font-size: 1.5rem;
    color: #004d40;
    margin-bottom: 10px;
}

.ct-work-excerpt {
    font-size: 1rem;
    color: #333;
}


/* 提供サービスセクション */

.ct-services-section {
    background-color: #f1f8e9;
    padding: 60px 20px;
}

.ct-services-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.ct-service-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: calc(33% - 40px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.ct-service-card:hover {
    transform: translateY(-5px);
}

.ct-service-title {
    font-size: 1.5rem;
    color: #33691e;
    margin-bottom: 10px;
}


/* プロフィール／信頼要素セクション */

.ct-profile-section {
    background-color: #ffffff;
    padding: 60px 20px;
}

.ct-profile-intro {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.ct-profile-skills {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.ct-profile-skills li {
    background-color: #e0f7fa;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px;
    font-size: 1rem;
    color: #00796b;
}


/* お問い合わせセクション */

.ct-contact-section {
    background-color: #e0f7fa;
    text-align: center;
    padding: 60px 20px;
}

.ct-contact-message {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
}


/* Additional custom styles can be added here */

.bg-ecru {
    background-color: #f9f7f5;
}

.text-primary {
    color: #6d5c4d;
}

.text-secondary {
    color: #4e4e4e;
}

.text-sage {
    color: #a6bcc2;
}

.text-dusty {
    color: #c99e8f;
}

.hover-dusty:hover {
    color: #c99e8f;
}

.bg-sage {
    background-color: #a6bcc2;
}

.border-dusty {
    border-color: #c99e8f;
}

.btn-dusty:hover {
    background-color: #c99e8f;
}


/* Comment form styling */

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #a6bcc2;
    box-shadow: 0 0 0 3px rgba(166, 188, 194, 0.1);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comment-meta {
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 500;
    color: #6d5c4d;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #4e4e4e;
}

.comment-content p {
    color: #4e4e4e;
    line-height: 1.7;
}


/* About section style ul/li (for skills/features lists) */

.about-features ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .about-features ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-features ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4e4e4e;
    font-size: 1rem;
}

.about-features ul li svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #a6bcc2;
    stroke: #a6bcc2;
    stroke-width: 1.5;
    fill: none;
}


/* Footer Custom Logo Styling */

.custom-logo img {
    height: 1.5rem;
    width: auto;
}


/* Footer Widget Styling */

.footer-widgets .widget {
    color: #4e4e4e;
}

.footer-widgets .widget a {
    color: #4e4e4e;
    transition: opacity 0.3s ease;
}

.footer-widgets .widget a:hover {
    opacity: 0.7;
}

.footer-widgets .widget ul {
    list-style: none;
    padding: 0;
}

.footer-widgets .widget ul li {
    margin-bottom: 0.5rem;
}


/* Footer Navigation Responsive */

@media (max-width: 767px) {
    .footer-navigation .menu {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-navigation .menu,
    .footer-navigation .flex {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

.prose ul.simpletoc-list {
    list-style: disc;
}

.prose ul.simpletoc-list li {
    display: block;
    font-size: 1rem;
    color: #4e4e4e;
    font-weight: 400;
}

.prose ul.simpletoc-list li::before {
    content: none;
}

.prose ul.simpletoc-list li ul {
    margin-block-start: 1rem;
    margin-inline-start: 1rem;
}


/* Button Styles */

.btn-primary {
    display: inline-block;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    color: #333333;
    background-color: #A6BCC2;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    transform: translateZ(0);
}

@media (hover: hover) {
    .btn-primary:hover {
        color: #fff;
        background-color: #72878c;
        border-color: #72878c;
    }
}

.btn-secondary {
    display: inline-block;
    width: auto;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border: 1px solid #6D5C4D;
    color: #6D5C4D;
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .btn-secondary:hover {
        background-color: #fff;
        color: #6D5C4D;
        border-color: #6D5C4D;
    }
}


/* Button Responsive Adjustments */

@media (max-width: 640px) {
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}


/* Color Utility Classes for Inline Style Replacement */

.text-color-primary {
    color: #6D5C4D;
}

.text-color-secondary {
    color: #4E4E4E;
}

.text-color-accent {
    color: #A6BCC2;
}

@media (hover: hover) {
    .text-color-accent-hover:hover {
        color: #A6BCC2;
    }
}


/* Specific Element Color Classes */

.hero-title {
    color: #6D5C4D;
}

.hero-subtitle {
    color: #4E4E4E;
}

.section-title {
    color: #6D5C4D;
}

.section-subtitle {
    color: #4E4E4E;
}

.portfolio-title {
    color: #6D5C4D;
}

.portfolio-excerpt {
    color: #4E4E4E;
}

.portfolio-link {
    color: #A6BCC2;
}

.service-title {
    color: #6D5C4D;
}

.service-description {
    color: #4E4E4E;
}

.about-title {
    color: #6D5C4D;
}

.about-text {
    color: #4E4E4E;
}

.cta-title {
    color: #6D5C4D;
}

.cta-subtitle {
    color: #4E4E4E;
}