@charset "utf-8";

/* ============================================
   Responsive Display Utilities
============================================ */
.pc_only { display: block; }
.sp_only { display: none; }

@media (max-width: 768px) {
    .pc_only { display: none; }
    .sp_only { display: block; }
}

/* ============================================
   Layout Wrapper
============================================ */
.wrap {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4%;
}

/* ============================================
   Header & Hamburger
============================================ */
#header {
    /*border-top: 6px solid #E07A5F;*/
    background: #FAF8F5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#header h1 a {text-decoration: none;color: #7E6B2E;}

#header h1 img{
	max-width: 200px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.global-nav ul {
    display: flex;
    gap: 30px;
}

.global-nav a {
    text-decoration: none;
    color: #4A3B32;
    /*font-weight: bold;*/
    font-size: 1.6rem;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #4A3B32;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.3s ease;
		pointer-events: none;
    }

    .global-nav.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
		pointer-events: auto;
    }

    .global-nav ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .global-nav a {
        display: block;
        color: #fff;
        font-size: 2.4rem;
        padding: 12px 24px;
        text-align: center;
    }


    .hamburger {
        display: block;
        position: relative;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .hamburger-line {
        position: absolute;
        left: 5px;
        width: 30px;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .hamburger-line:nth-child(1) { top: 10px; }
    .hamburger-line:nth-child(2) { top: 19px; }
    .hamburger-line:nth-child(3) { top: 28px; }

    .hamburger.is-active .hamburger-line:nth-child(1) {
        top: 19px;
        transform: rotate(45deg);
        background-color: #fff;
    }
    .hamburger.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active .hamburger-line:nth-child(3) {
        top: 19px;
        transform: rotate(-45deg);
        background-color: #fff;
    }
}

/* ============================================
   Contents
============================================ */
article { padding-top: 60px; }

/* Card Grid */
.card-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-5px); }

.card-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    flex-grow: 1;
}

.card-title {
    font-size: 2.0rem;
    margin-bottom: 10px;
    color: #E07A5F;
	font-weight: normal;
}

.card-text {
    font-size: 1.4rem;
    color: #666;
}

/* Media & Text */
.media-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.media-img, .media-body { width: 50%; }

.media-text.is-reverse { flex-direction: row-reverse; }

@media (max-width: 768px) {
    .media-text, .media-text.is-reverse {
        flex-direction: column;
        gap: 20px;
    }
    .media-img, .media-body { width: 100%; }
}

/* Accordion (details/summary) */
.faq-item { border-bottom: 1px solid #ddd; }
.faq-q {
    padding: 20px 40px 20px 10px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: "＋";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #E07A5F;
}
.faq-item[open] .faq-q::after { content: "－"; }
.faq-a { padding: 0 10px 20px; color: #555; font-size: 1.6rem; }



/* ============================================
   Footer
============================================ */
#footer {
    background-color: #FAF8F5;
    /*border-top: 1px solid #E07A5F;*/
    padding: 60px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

.footer-brand h2 {
    margin-bottom: 14px;
}

.footer-brand h2 img {
    width: 300px;
}

.footer-logo {
    margin-bottom: 14px;
}

.footer-logo img {
    width: 180px;
    height: auto;
}

@media (max-width: 768px) {
    .footer-logo img {
        width: 140px;
    }
}

.footer-tagline {
    color: #7B6A2C;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.8;
	letter-spacing: 0.12em;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-nav-title {
    color: #4A3B32;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    font-weight: bold;
    margin-bottom: 14px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: #4A3B32;
    font-size: 1.4rem;
    text-decoration: none;
}

.footer-nav ul li a:hover {
    color: #E07A5F;
    opacity: 1;
}

#footer .copyright {
    color: #888;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0;
}

#footer .copyright small {
    font-size: 1.2rem;
}

#footer .footer-sns a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #666;
    border: 1px solid rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

#footer .footer-sns a:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#footer .footer-sns img {
    display: block;
    width: 22px;
    height: 22px;
}

.footer-sns-list {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
}

.footer-sns-list li {
    margin: 0;
}

.footer-sns-list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #666;
    transition: all 0.3s ease;
}

.footer-sns-list a:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.footer-sns-list img {
    display: block;
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    #footer {
        padding: 50px 0 24px;
        text-align: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-brand h2 img {
        width: 120px;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-nav-block {
        text-align: center;
    }

    .footer-nav-title {
        margin-bottom: 12px;
    }

    .footer-nav ul li {
        margin-bottom: 10px;
    }
	
	.footer-nav ul li a {
        display: inline-block;
        padding: 4px 0;
	}
	
	.footer-sns {
        text-align: center;
    }

    .footer-sns a {
        margin: 0 auto;
    }
	
	.footer-sns-list {
        justify-content: center;
    }

}



/* ============================================
   Page Top Button
============================================ */
.page-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    margin: 0 0 60px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.page-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    color: #fff;
    background: #4A3B32;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.page-top a:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: #E07A5F;
}

@media (max-width: 768px) {
    .page-top {
        right: 16px;
        bottom: 16px;
    }

    .page-top a {
        width: 42px;
        height: 42px;
        font-size: 1.4rem;
    }
}

/* ============================================
   COMMON COMPONENT / VOICE BALLOON
============================================ */

.voice-balloon {
    --voice-bg: #fffef9;
    --voice-border: rgba(73, 106, 120, 0.18);
    --voice-text: #496A78;
    --voice-name: #E07A5F;

    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 0;
}

.voice-balloon-icon {
    flex: 0 0 110px;
    margin: 0;
}

.voice-balloon-icon img {
    display: block;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(73, 106, 120, 0.12);
}

.voice-balloon-body {
    position: relative;
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
    background: var(--voice-bg);
    border: 1px solid var(--voice-border);
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(73, 106, 120, 0.08);
}

/* 吹き出しの外枠 */
.voice-balloon-body::before {
    position: absolute;
    top: 24px;
    left: -12px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-right: 12px solid var(--voice-border);
    border-bottom: 10px solid transparent;
    content: "";
}

/* 吹き出しの内側 */
.voice-balloon-body::after {
    position: absolute;
    top: 25px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-right: 11px solid var(--voice-bg);
    border-bottom: 9px solid transparent;
    content: "";
}

.voice-balloon-name {
    position: relative;
    z-index: 1;
    margin: 0 0 6px;
    color: var(--voice-name);
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.voice-balloon-text {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--voice-text);
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.9;
}

/* ベージュ寄り */
.voice-balloon--warm,
.voice-balloon.is-warm {
    --voice-bg: #fff8f1;
    --voice-border: rgba(224, 122, 95, 0.22);
    --voice-text: #6B5144;
    --voice-name: #E07A5F;
}

/* 青寄り */
.voice-balloon--blue,
.voice-balloon.is-blue {
    --voice-bg: #f4f8f9;
    --voice-border: rgba(73, 106, 120, 0.22);
    --voice-text: #496A78;
    --voice-name: #496A78;
}


/* SP */
@media (max-width: 768px) {

    .voice-balloon {
        gap: 14px;
    }

    .voice-balloon-icon {
        flex-basis: 70px;
    }

    .voice-balloon-icon img {
        width: 70px;
        height: 70px;
    }

    .voice-balloon-body {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .voice-balloon-body::before {
        top: 18px;
        left: -10px;
        border-top-width: 8px;
        border-right-width: 10px;
        border-bottom-width: 8px;
    }

    .voice-balloon-body::after {
        top: 19px;
        left: -8px;
        border-top-width: 7px;
        border-right-width: 9px;
        border-bottom-width: 7px;
    }

    .voice-balloon-name {
        font-size: 1.1rem;
    }

    .voice-balloon-text {
        font-size: 1.3rem;
        line-height: 1.8;
    }
}