@charset "UTF-8";
/*
Theme Name: ココからリフォーム相談センターby一級建築士事務所
Description: A custom theme for Coco-Refo
Version: 1.0.0
Author: Coco-Refo
*/

:root {
    --color-main: #00A0E9;
    --color-base: #FFFFFF;
    --color-accent: #333333;
    --container-width: 1200px;
}

/* Modern CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    color: var(--color-accent);
    background-color: var(--color-base);
    font-family: sans-serif;
    /* Fallback, should be updated with actual font */
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Global Styles */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    /* standard padding for mobile */
    padding-left: 1rem;
}

/* Header */
.site-header {
    background-color: var(--color-base);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for cleanliness */
    padding: 1rem 0;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.sticky-header {
    position: sticky;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding-right: 2rem;
    padding-left: 2rem;
}

.site-branding-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-accent);
}

.site-branding-link:hover {
    opacity: 0.85;
}

.site-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-branding .site-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 700;
    color: var(--color-accent);
}

.site-branding .site-title small {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.7;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-navigation a {
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--color-main);
}

/* Header CTA Button */
.header-cta {
    display: inline-block;
    background-color: var(--color-main);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    /* Slightly rounded */
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, opacity 0.3s;
}

.header-cta:hover {
    opacity: 0.9;
    color: #fff;
}

/* ------------------------------------------------------------------------- *
 *  Gutenberg / Layout Support
 * ------------------------------------------------------------------------- */
.alignwide {
    margin-left: -100px;
    margin-right: -100px;
    max-width: calc(100% + 200px);
    width: auto;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* Ensure images in content are responsive */
.entry-content img {
    height: auto;
    max-width: 100%;
}

/* Main Visual (Previously hardcoded, now optional styles) */
.main-visual {
    width: 100%;
    min-height: 600px;
    height: 80vh;
    background: linear-gradient(135deg, #E0F7FA 0%, #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.main-visual-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.content-area {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* ------------------------------------------------------------------------- *
 *  Footer & CTA Styles
 * ------------------------------------------------------------------------- */

/* Pre-Footer CTA */
.footer-cta-section {
    background-color: #F8F8F8;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-cta-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.btn-large {
    display: inline-block;
    background-color: var(--color-main);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape */
    transition: background-color 0.3s, transform 0.2s;
}

.btn-large:hover {
    color: #fff;
    background-color: #0088c5;
    /* Darker blue */
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #1a2a3a;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-main {
    padding: 3.5rem 0;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-accent-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-main), #4fc3f7);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2.5rem;
}

/* Footer Left - Company Info */
.footer-company-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.footer-company-sub {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.8;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    line-height: 1.6;
}

.footer-info-icon {
    font-size: 1rem;
    flex-shrink: 0;
    width: 1.4rem;
    text-align: center;
}

.footer-info-item a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
    transition: border-color 0.3s, opacity 0.3s;
}

.footer-info-item a:hover {
    border-color: #ffffff;
    opacity: 0.9;
}

/* Footer Right (Navigation) */
.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: right;
}

.footer-navigation a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.75;
    font-size: 0.9rem;
    transition: opacity 0.3s;
    position: relative;
}

.footer-navigation a:hover {
    opacity: 1;
}

/* Copyright */
.site-info-wrapper {
    background-color: #0f1c28;
    padding: 1rem 0;
    font-size: 0.8rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-navigation ul {
        text-align: left;
    }
}