@charset "utf-8";

/*
Theme Name: SWELL CHILD
Template: swell
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700;800&family=Noto+Sans+JP:wght@400;700&display=swap');

/* Variables */
:root {
    --color-main: #FFD700;
    --color-main-dark: #E6C200;
    --color-accent: #00AEEF;
    --color-warm: #FF8C00;
    --color-warm-light: #FFF5E6;
    --color-text: #444444;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-sub: #FDFAF0;
    --font-base: "Noto Sans JP", sans-serif;
    --font-rounded: "M PLUS Rounded 1c", sans-serif;
    --container-width: 1100px;
    --spacing-section: 100px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-pop: 0 6px 0 rgba(0, 0, 0, 0.1);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Base */
html,
body {
    overflow-x: hidden;
    background-color: var(--color-bg-sub);
}

body {
    color: var(--color-text);
    font-family: var(--font-base);
    line-height: 1.8;
    letter-spacing: 0.02em;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-rounded);
    font-weight: 800;
    color: var(--color-text);
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility */
.sp-br {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-br {
        display: block;
    }
}

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

.u-text-accent {
    color: var(--color-accent);
}

.u-text-warm {
    color: var(--color-warm);
}

.u-bg-white {
    background-color: #fff;
}

.u-mb-40 {
    margin-bottom: 40px;
}

.u-mb-30 {
    margin-bottom: 30px;
}

.u-mt-20 {
    margin-top: 20px;
}

.u-mt-40 {
    margin-top: 40px;
}

.u-text-small {
    font-size: 0.85rem;
}

.u-sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .u-sp-only {
        display: inline;
    }

    .u-text-center.u-mb-40 {
        text-align: left;
        padding: 5px;
        font-size: 15px !important;
    }

    .u-hidden-sp {
        display: none !important;
    }
}

/* Components: Container */
.c-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.c-container--wide {
    max-width: 1440px;
}

/* Components: Section */
.c-section {
    padding: var(--spacing-section) 0;
    position: relative;
    background-color: #fff;
    padding: 50px 20px;
    margin-top: 50px;
}

.c-section--alt {
    background-color: #fff;
}

.c-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.c-section-header__title {
    font-size: 2rem;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    line-height: 1.4;
}

.c-section-header__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-main);
    border-radius: 99px;
}

.c-section-header__sub {
    font-size: 0.9rem;
    color: var(--color-accent);
    font-weight: bold;
    margin-top: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Components: Buttons */
.c-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 36px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-rounded);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    line-height: 1.3;
}

.c-btn--primary {
    background: linear-gradient(135deg, #FF9F4A 0%, #FF8C00 100%);
    color: #fff;
    font-size: 1.1rem;
    border-bottom: 3px solid #cc7000;
}

.c-btn--primary:hover {
    transform: translateY(2px);
    border-bottom-width: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.c-btn--lg {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.c-btn--secondary {
    background-color: var(--color-accent);
    color: #fff;
    font-size: 0.95rem;
    border-bottom: 3px solid #008ec2;
}

.c-btn--secondary:hover {
    background-color: #009cd6;
    transform: translateY(2px);
    border-bottom-width: 1px;
}

/* Hero Section */
.c-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #fff;
    overflow: hidden;
    padding: 60px 0;
}

.c-hero__bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: blur(80px);
    opacity: 0.6;
}

.c-hero__blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    animation: blob-float 20s infinite alternate ease-in-out;
}

.c-hero__blob--1 {
    background: var(--color-main);
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    opacity: 0.5;
    animation-duration: 25s;
}

.c-hero__blob--2 {
    background: var(--color-accent);
    bottom: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    opacity: 0.4;
    animation-direction: alternate-reverse;
    animation-duration: 30s;
}

.c-hero__blob--3 {
    background: var(--color-warm);
    top: 20%;
    right: 15%;
    width: 350px;
    height: 350px;
    opacity: 0.3;
    animation-duration: 18s;
}

.c-hero__blob--4 {
    background: #FFD700;
    bottom: 20%;
    left: 20%;
    width: 450px;
    height: 450px;
    opacity: 0.2;
    animation-duration: 22s;
    animation-delay: -5s;
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    33% {
        transform: translate(50px, -30px) rotate(120deg) scale(1.1);
        border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    }

    66% {
        transform: translate(-20px, 50px) rotate(240deg) scale(0.9);
        border-radius: 70% 30% 40% 60% / 50% 50% 50% 50%;
    }

    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.c-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 50px;

    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 50px;

}

.c-hero__content-col {
    flex: 1;
}

.c-hero__image-col {
    flex: 1;
}

.c-hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.c-hero__image {
    width: 100%;
    height: auto;
    display: block;
}

.p-top-intro__image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}


.c-hero__copy-badge-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 20px;
}

/* Area badge: 横浜市の皆さまへ */
.c-hero__area-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 174, 239, 0.10);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
    animation: areaPulse 3s ease-in-out infinite;
}

/* Campaign tag: 戸塚・栄区限定 ¥1,000 OFF */
.c-hero__campaign-tag {
    background: linear-gradient(135deg, #00c6f8 0%, var(--color-accent) 40%, #006fa8 100%);
    color: #fff;
    border-radius: 14px;
    padding: 14px 20px 10px;
    min-width: 160px;
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.5), 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: campaignGlow 2.5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* 光沢シマー */
.c-hero__campaign-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-18deg);
    animation: campaignShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

/* 装飾円 */
.c-hero__campaign-tag::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

/* 「今だけ！」リボン */
.c-hero__campaign-tag__ribbon {
    position: absolute;
    top: 0;
    right: 12px;
    background: var(--color-warm);
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.4);
    z-index: 1;
}

.c-hero__campaign-tag__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    margin-top: 4px;
}

.c-hero__campaign-tag__area {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.c-hero__campaign-tag__limited {
    background: var(--color-warm);
    color: #fff;
    font-size: 0.68rem;
    font-weight: bold;
    padding: 3px 9px;
    border-radius: 99px;
    letter-spacing: 0.05em;
    box-shadow: 0 1px 4px rgba(255, 140, 0, 0.35);
}

.c-hero__campaign-tag__discount {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.c-hero__campaign-tag__yen {
    font-size: 1.1rem;
    font-weight: bold;
}

.c-hero__campaign-tag__off {
    font-style: normal;
    font-size: 0.88rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.28);
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.06em;
    align-self: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.c-hero__campaign-tag__note {
    font-size: 0.68rem;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

.c-hero__title-main {
    font-size: 2.4rem;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 24px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 0.8);
}

.c-hero__title-main em {
    color: var(--color-main-dark);
    font-style: normal;
    background: linear-gradient(transparent 60%, rgba(255, 215, 0, 0.35) 60%);
}

.c-hero__benefits {
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
}

.c-hero__benefits li {
    font-size: 1rem;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 0.8);
}

.c-hero__benefits li::before {
    content: '✔';
    color: var(--color-warm);
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 0.9rem;
}

.c-hero__benefits-img {
    margin: 24px 0 32px;
}

.c-hero__benefits-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Specific: Intro (Why Choose Us) */
.p-top-intro__inner {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    border: none;
    box-shadow: var(--shadow-card);
}

.p-top-intro__image,
.p-top-intro__text {
    flex: 1;
}

.p-top-intro__text h3 {
    font-size: 1.6rem;
    color: var(--color-accent);
    margin-bottom: 24px;
    line-height: 1.5;
}

.p-top-intro__text p {
    font-size: 1rem;
    line-height: 2;
}

/* Page Specific: About BG Fix */
.p-about-message,
.p-about-vision,
.p-about-company {
    background-color: transparent !important;
}

/* Page Specific: About Profile Card */
.p-about-profile-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-card);
    margin-top: 30px;
}

.p-about-profile-card__title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-main);
    display: inline-block;
}

.p-about-profile-card__list dl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px dashed #ccc;
    padding: 15px 0;
    margin: 0;
}

.p-about-profile-card__list dl:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.p-about-profile-card__list dt {
    width: 100px;
    font-weight: bold;
    color: var(--color-accent);
    flex-shrink: 0;
    position: relative;
    padding-left: 16px;
}

.p-about-profile-card__list dt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--color-main);
    border-radius: 50%;
}

.p-about-profile-card__list dd {
    width: calc(100% - 100px);
    margin: 0;
    line-height: 1.6;
    color: var(--color-text);
}

@media screen and (max-width: 768px) {
    .p-about-profile-card {
        padding: 20px;
    }

    .p-about-profile-card__list dl {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .p-about-profile-card__list dt {
        width: 100%;
    }

    .p-about-profile-card__list dd {
        width: 100%;
    }
}

/* Utility: Full Viewport Width */
.u-full-width {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    position: relative;
    left: 0;
}

.p-footer-cta {
    background-color: #E5FFEE;
    padding: 100px 0;
}

.p-footer-cta__card {
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.p-footer-cta__illustration {
    position: absolute;
    top: -60px;
    right: -20px;
    width: 280px;
    z-index: 2;
}

.p-footer-cta__illustration img {
    width: 100%;
    height: auto;
}

.p-footer-cta__body {
    position: relative;
    z-index: 1;
}

.p-footer-cta__title {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.6;
}

.p-footer-cta__btns-grid {
    display: flex;
    justify-content: center;
}

/* Rounded CTA Buttons */
.c-cta-btn {
    width: 100%;
    max-width: 500px;
    height: 84px;
    border-radius: 99px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff !important;
    position: relative;
    transition: transform 0.3s, filter 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.c-cta-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.c-cta-btn__sub {
    font-size: 0.75rem;
    font-weight: normal;
    margin-bottom: 4px;
    opacity: 0.9;
}

.c-cta-btn__main {
    font-size: 1.3rem;
    font-weight: 800;
}

.c-cta-btn__icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-cta-btn__icon::after {
    content: '▶';
    font-size: 0.8rem;
    margin-left: 2px;
    color: #FF8C00;
}

.c-cta-btn--main {
    background-color: #FF8C00;
    /* Requested Color */
}

@media screen and (max-width: 960px) {
    .p-footer-cta__illustration {
        width: 200px;
        top: -40px;
        right: 0;
    }
}

@media screen and (max-width: 768px) {
    .p-footer-cta {
        padding: 60px 20px;
    }

    .p-footer-cta__card {
        padding: 60px 10px 40px;
        border-radius: 24px;
    }

    .p-footer-cta__illustration {
        width: 150px;
        top: -80px;
        right: 50%;
        transform: translateX(50%);
    }

    .p-footer-cta__title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .p-footer-cta__btns-grid {
        flex-direction: column;
        align-items: center;
    }

    .c-cta-btn {
        width: 100%;
        height: 70px;
    }

    .c-cta-btn__main {
        font-size: 1.1rem;
    }
}


/* Campaign Banner */
.c-campaign-banner {
    background: #FF5252;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-pop);
    margin-bottom: 40px;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes cta-subtle-pulse {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35);
    }

    50% {
        box-shadow: 0 4px 24px rgba(255, 140, 0, 0.55);
    }
}

@keyframes campaignGlow {

    0%,
    100% {
        box-shadow: 0 4px 14px rgba(0, 174, 239, 0.45), 0 0 0 0 rgba(0, 174, 239, 0);
    }

    50% {
        box-shadow: 0 6px 24px rgba(0, 174, 239, 0.7), 0 0 0 6px rgba(0, 174, 239, 0.12);
    }
}

@keyframes campaignShimmer {
    0% {
        left: -80%;
    }

    60%,
    100% {
        left: 140%;
    }
}

@keyframes areaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(0, 174, 239, 0.12);
    }
}

/* Header & Navigation */
.l-header,
#header_sp,
#header,
.l-header__inner,
.c-header {
    display: none !important;
}

.p-custom-header {
    background-color: #fff;
    border-bottom: 2px solid var(--color-main);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.p-custom-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.p-custom-header__logo-area {
    display: flex;
    align-items: center;
    gap: 16px;
}

.p-custom-header__logo img {
    height: 60px;
    width: auto;
}

.p-custom-header__logo--sub img {
    height: 60px;
    width: auto;
}

.p-custom-header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.p-custom-header__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.p-custom-header__link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text);
    transition: color 0.3s;
}

.p-custom-header__link:hover {
    color: var(--color-accent);
}

.p-custom-header__icon {
    font-size: 1.3rem;
    margin-bottom: 2px;
    color: var(--color-accent);
}

.p-custom-header__text-ja {
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.2;
}

.p-custom-header__text-en {
    font-size: 0.65rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   モダン・テック系 シンプルCTAボタン
   ======================================== */

.p-custom-header__cta {
    position: relative;

    /* ソリッドなオレンジ背景 */
    background: #FF8C00;

    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    /* 控えめな角丸 */
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-family: var(--font-rounded);
    font-size: 0.95rem;

    /* シンプルな影 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);

    /* スムーズなトランジション */
    transition: all 0.2s ease;

    margin-left: 20px;
    margin-top: 20px;
}

/* シンプルなテキストのみのマイクロコピー */
.p-custom-header__cta::before {
    content: '無料見積もり';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);

    /* 背景なし、テキストのみ */
    background: none;
    color: #666;
    font-size: 10px;
    font-weight: 500;
    font-family: var(--font-base);
    white-space: nowrap;
    letter-spacing: 0.03em;
    pointer-events: none;
}

/* ホバー効果 - 微妙に明るく */
.p-custom-header__cta:hover {
    background: #FFA020;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* アクティブ（クリック）時 */
.p-custom-header__cta:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.p-custom-header__cta-main {
    font-size: 0.95rem;
}

/* ========================================
   SPメニュー - ハンバーガーボタン
   ======================================== */

.p-custom-header__hamburger {
    display: none;
    /* PC時は非表示 */
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    margin-left: auto;
    /* 右端に配置 */
    padding: 0;
}

.p-custom-header__hamburger-line {
    position: absolute;
    left: 8px;
    width: 28px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.p-custom-header__hamburger-line:nth-child(1) {
    top: 13px;
}

.p-custom-header__hamburger-line:nth-child(2) {
    top: 21px;
}

.p-custom-header__hamburger-line:nth-child(3) {
    top: 29px;
}

/* ハンバーガーボタン - 開いた状態 */
.is-menu-open .p-custom-header__hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.is-menu-open .p-custom-header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.is-menu-open .p-custom-header__hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   SPメニュー - オーバーレイ
   ======================================== */

.p-custom-header__sp-overlay {
    position: fixed;
    top: 71px;
    /* ヘッダーの高さ (12 + 45 + 12 + 2) 分下げる */
    left: 0;
    width: 100%;
    height: calc(100vh - 71px);
    background: linear-gradient(135deg, #FFFACD 0%, #FFF9E6 100%);
    z-index: 1999;
    overflow-y: auto;

    /* 初期状態: 非表示 */
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

/* オーバーレイ - 開いた状態 */
.is-menu-open .p-custom-header__sp-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}



/* ========================================
   SPメニュー - コンテンツ部分
   ======================================== */

.p-custom-header__sp-content {
    padding: 30px 20px;
}

.p-custom-header__sp-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.p-custom-header__sp-menu .p-custom-header__item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.p-custom-header__sp-menu .p-custom-header__link {
    display: flex;
    align-items: center;
    padding: 18px 15px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.2s ease;
}

.p-custom-header__sp-menu .p-custom-header__link:hover {
    background: rgba(255, 215, 0, 0.1);
}

.p-custom-header__sp-menu .p-custom-header__icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--color-accent);
    width: 30px;
    flex-shrink: 0;
}

.p-custom-header__sp-menu .p-custom-header__text-ja {
    font-size: 1rem;
    font-weight: bold;
    flex: 1;
}

.p-custom-header__sp-menu .p-custom-header__text-en {
    font-size: 0.7rem;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-left: auto;
    letter-spacing: 0.05em;
}

/* ========================================
   SPメニュー - CTAボタン
   ======================================== */

.p-custom-header__sp-cta {
    display: none;
}

/* ========================================
   body scroll lock
   ======================================== */

body.is-menu-open {
    overflow: hidden;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media screen and (max-width: 960px) {

    /* ハンバーガーボタン表示 */
    .p-custom-header__hamburger {
        display: flex;
    }

    /* PC用メニュー非表示 */
    .p-custom-header__menu {
        display: none;
    }

    /* PC用CTAボタン非表示 */
    .p-custom-header__cta {
        display: none;
    }

    /* SP用オーバーレイ有効化 */
    .p-custom-header__sp-overlay {
        display: block;
    }

    .p-custom-header__logo img {
        height: 45px;
    }

    .p-custom-header__logo--sub img {
        height: 38px;
    }
}

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

    /* PC時はSPメニュー完全非表示 */
    .p-custom-header__sp-overlay {
        display: none !important;
    }
}

/* Footer Section */
.l-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background-color: #fff;
    border-top: none;
    padding: 60px 0 0;
    margin-top: 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
}

.l-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
    margin: 0 auto;
    padding: 0 30px 50px;
}

.l-footer__branding {
    max-width: 600px;
}

.l-footer__logo {
    margin-bottom: 20px;
}

.l-footer__logo-img {
    height: 60px;
    width: auto;
}

.l-footer__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: center;
}

.l-footer__nav {
    width: 100%;
}

.l-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.l-footer__menu li {
    border-left: 1px solid var(--color-text-light);
    display: flex;
    align-items: center;
}

.l-footer__menu li:last-child {
    border-right: 1px solid var(--color-text-light);
}

.l-footer__menu li a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: bold;
    font-size: 1rem;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-footer__menu li a:hover {
    color: var(--color-accent);
}

.l-footer__bottom {
    background-color: var(--color-bg-sub);
    padding: 20px 0;
    text-align: center;
}

.l-footer__copyright {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .l-footer__menu {
        gap: 0;
    }

    .l-footer__menu li a {
        padding: 6px 14px;
    }
}

/* Service Card & Grid */
.c-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.c-card-grid--4col {
    grid-template-columns: repeat(4, 1fr);
}

.c-card-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.c-card-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.c-service-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.c-service-card:hover {
    border-color: var(--color-main);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.c-service-card__icon {
    background: var(--color-bg-sub);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.c-service-card__img-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-service-card__title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-main);
    display: inline-block;
}

.c-service-card__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 12px;
    text-align: left;
}

.c-service-card__price {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-warm);
    margin-top: auto;
}

/* Contact Page */
.p-contact-tel-area {
    text-align: center;
    background: #fff;
    padding: 60px 20px;
    border-radius: var(--radius-lg);
}

.p-contact-tel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF9F4A 0%, #FF8C00 100%);
    color: #fff !important;
    font-size: 2rem;
    font-weight: 800;
    padding: 20px 40px;
    border-radius: 99px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s;
}

.p-contact-tel-btn:hover {
    transform: translateY(2px);
    box-shadow: none;
}

.p-contact-tel-btn i {
    margin-right: 15px;
}

/* Floating CTA */
.c-floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    z-index: 2000;
    transition: transform 0.3s;
}

.c-floating-cta:hover {
    transform: scale(1.1);
}

.c-floating-cta img {
    width: 100%;
    height: auto;
}

/* Hide floating CTA on contact page (Desktop) */
.page-template-page-contact .c-floating-cta,
.page-id-61 .c-floating-cta {
    display: none !important;
}

/* Mobile Bottom CTA */
.c-mobile-bottom-cta {
    display: none;
    /* Default hide for Desktop */
}

@media screen and (max-width: 768px) {
    .c-floating-cta {
        display: none !important;
    }

    .p-contact-tel-btn {
        font-size: 1.5rem;
        padding: 15px 25px;
        width: 100%;
        box-sizing: border-box;
    }

    .c-service-card__title {
        font-size: 1.2rem !important;

    }

    .c-service-card__desc {
        font-size: 1rem !important;
        line-height: 1.7;
       
        text-align: left;
    }
}

/* Page Specific: Aircon */
.p-aircon-pain__list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.p-aircon-pain__item {
    background: #fff;
    padding: 30px 40px;
    border-radius: 50%;
    width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-pop);
    position: relative;
    border: 4px solid #eee;
}

.p-aircon-pain__item::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: #eee transparent transparent transparent;
}

.p-aircon-pain__icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.c-placeholder-img {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.c-placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Voice Card (Friendly Balloon) */
.c-voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.c-voice-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    border: none;
}

.c-voice-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.c-voice-card__avatar-wrap {
    flex-shrink: 0;
}

.c-voice-card__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.c-voice-card__avatar--default {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #c8cdd3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-voice-card__header-info {
    flex: 1;
    min-width: 0;
}

.c-voice-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}

.c-voice-card__star {
    font-size: 1.1rem;
    color: #ddd;
}

.c-voice-card__star.is-filled {
    color: #FFD700;
}

.c-voice-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.c-voice-card__tag {
    display: inline-block;
    background: var(--color-warm-light);
    color: var(--color-warm);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 20px;
}

.c-voice-card__date {
    font-size: 0.78rem;
    color: var(--color-text-light);
}

.c-voice-card__text {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.9;
}

.c-voice-card__meta {
    text-align: right;
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: bold;
}

/* Page Specific: Sub Hero (Full Width) */
.c-sub-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 28vh;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0;
}

.c-sub-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.c-sub-hero>* {
    position: relative;
    z-index: 2;
}

.c-sub-hero__title {
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    line-height: 1.4;
}

/* Page Specific: About Message */
.p-about-message__content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.p-about-message__img {
    flex: 0 0 300px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Price & Region Content */
.p-model-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.p-model-list__item {
    background: #fff;
    border: 2px solid var(--color-bg-sub);
    border-radius: var(--radius-md);
    padding: 15px 30px;
    font-weight: bold;
    transition: all 0.2s;
}

.p-model-list__item:hover {
    transform: translateY(-3px);
    border-color: var(--color-main);
}

.p-area-box {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-left: 20px;
    margin-right: 20px;
}

.p-area-box__text {
    flex: 0 0 40%;
}

.p-area-box__map {
    flex: 1 1 60%;
    min-height: 450px;
}

.p-area-box__map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: var(--radius-lg);
}

/* Calendar Section */
.p-top-calendar__wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);

    overflow: hidden;
}

.p-top-calendar__wrap iframe {
    display: block;
    width: 100%;
    height: 600px;
    border-radius: var(--radius-md, 8px);
}

/* Contact Form Refinements */
.p-contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 2px solid var(--color-bg-sub);
}

/* Global Responsive Fixes */
@media screen and (max-width: 768px) {
    :root {
        --spacing-section: 70px;
    }

    .c-container {
        padding: 0 5px;
    }

    .c-hero__inner,
    .p-top-intro__inner,
    .p-about-message__content,
    .p-area-box {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 30px;
    }

    .p-area-box {
        padding: 24px 10px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .p-area-box__text {
        text-align: left;
    }

    .p-area-box__text p {
        line-height: 1.8;
        margin-bottom: 10px;
    }

    .p-area-box__text,
    .p-area-box__map {
        flex: 1 1 auto;
    }

    .p-area-box__map {
        min-height: 350px;
    }

    .p-top-calendar__wrap {
        padding: 0px;
    }

    .p-top-calendar__wrap iframe {
        height: 450px;
    }

    .p-about-message__img {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 16px;
    }

    .c-hero__title-main {
        font-size: 1.7rem;
    }

    .c-section-header {
        margin-bottom: 40px;
    }

    .c-section-header__title {
        font-size: 1.5rem;
    }

    .c-sub-hero {
        height: 180px;
        min-height: 160px;
    }

    .c-sub-hero__title {
        font-size: 1.3rem;
        padding: 0 20px;
    }

    .c-card-grid,
    .c-card-grid--3col,
    .c-card-grid--2col {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .c-service-card {
        padding: 24px 20px;
    }

    .c-voice-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .c-voice-card {
        padding: 24px;
    }

    .p-top-intro__text h3 {
        font-size: 1.3rem;
    }

    .p-aircon-price__value {
        font-size: 1.5rem;
    }

    .p-aircon-price__unit {
        font-size: 0.9rem;
    }
}

/* ── Hero Mobile Redesign ── */
@media screen and (max-width: 768px) {

    /* 1. Section & Layout */
    .c-hero {
        padding: 24px 0 32px;
    }

    .c-hero__inner {
        flex-direction: column;
        text-align: left;
        padding: 20px 18px 28px;
        gap: 20px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.7);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    }

    .c-hero__content-col {
        width: 100%;
    }

    /* 2. Image Treatment */
    .c-hero__image-col {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .c-hero__image-col img {
        border-radius: 16px !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        aspect-ratio: 4 / 5;
        object-fit: cover;
        width: 100%;
        display: block;
    }

    /* 3. Typography */
    .c-hero__area-badge {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .c-hero__campaign-tag {
        padding: 12px 16px 9px;
    }

    .c-hero__campaign-tag__discount {
        font-size: 1.65rem;
    }

    .c-hero__title-main {
        font-size: clamp(1.4rem, 6vw, 1.75rem);
        line-height: 1.5;
        margin-bottom: 16px;
        letter-spacing: 0.01em;
    }

    .c-hero__title-main em {
        background: linear-gradient(transparent 55%, rgba(255, 215, 0, 0.4) 55%);
    }

    /* 4. Benefits Image */
    .c-hero__benefits-img {
        margin: 16px 0 24px;
    }

    /* 5. CTA Button */
    .c-hero__cta {
        margin-top: 4px;
    }

    .c-hero__cta .c-btn--lg {
        display: flex;
        width: 100%;
        padding: 16px 20px;
        font-size: 1.1rem;
        text-align: center;
        justify-content: center;
        box-shadow: 0 4px 16px rgba(255, 140, 0, 0.35);
        animation: cta-subtle-pulse 3s ease-in-out infinite;
    }

    /* 6. Blob Animations — Scaled Down */
    .c-hero__bg-anim {
        opacity: 0.45;
        filter: blur(60px);
    }

    .c-hero__blob {
        width: 200px;
        height: 200px;
    }

    .c-hero__blob--1 {
        width: 280px;
        height: 280px;
        top: -15%;
        left: -20%;
    }

    .c-hero__blob--2 {
        width: 240px;
        height: 240px;
        bottom: -15%;
        right: -15%;
    }

    .c-hero__blob--3 {
        width: 180px;
        height: 180px;
        top: 15%;
        right: 5%;
    }

    .c-hero__blob--4 {
        width: 220px;
        height: 220px;
        bottom: 25%;
        left: 10%;
    }
}

.p-aircon-merit__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.p-aircon-merit__item {
    text-align: center;
    background: #fff;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-main);
    position: relative;
}

.p-aircon-merit__number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-main);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    font-weight: 800;
    border: 2px solid #fff;
}

.p-aircon-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-main);
}

.p-aircon-price-table th {
    background: var(--color-main);
    color: #fff;
    padding: 20px;
}

.p-aircon-price-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.p-aircon-price-table td:nth-child(2) {
    white-space: nowrap;
}

.p-aircon-price__value {
    color: var(--color-warm);
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-rounded);
}

.p-aircon-price__unit {
    font-size: 1rem;
    font-weight: 600;
    margin-left: 4px;
}

/* Flow */
.p-aircon-flow__list {
    counter-reset: flow;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.p-aircon-flow__list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background: var(--color-bg-sub);
    border-radius: 4px;
}

.p-aircon-flow__item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.p-aircon-flow__item::before {
    counter-increment: flow;
    content: counter(flow);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    font-weight: 800;
    box-shadow: 0 0 0 5px #fff;
    z-index: 1;
}

.p-aircon-flow__item p {
    margin: 0;
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.p-aircon-flow__item p::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

/* Case Study Card */
.c-case-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.c-case-card__img-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #f0f0f0;
}

.c-case-card__body {
    padding: 24px;
}

.c-case-card__title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.c-case-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.c-placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #999;
    font-weight: bold;
}

/* Handyman specific */
.p-handyman-intro__content {
    max-width: 800px;
    margin: 0 auto;
}

.p-handyman-intro__content p {
    font-size: 1rem;
    line-height: 2;
}

/* カレンダーのレスポンシブ対応 */
.calendar-wrap {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.calendar-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===============================================
   Contact Form 7 - Modern Styling
   =============================================== */

/* 1. Form Container & Layout */
.reservation-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.reservation-form .wpcf7-form {
    margin: 0;
}

/* Form Groups for Better Organization */
.c-form-group {
    margin-bottom: 40px;
}

.c-form-group:last-of-type {
    margin-bottom: 0;
}

.c-form-group__title {
    font-size: 1.1rem;
    font-weight: 800;
    font-family: var(--font-rounded);
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-bg-sub);
}

/* 2. Form Labels & Required Indicators */
.reservation-form label {
    display: block;
    font-weight: 700;
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 8px;
    font-family: var(--font-base);
    letter-spacing: 0.02em;
}

/* Required Indicator - Modern Orange Star */
.reservation-form .required {
    color: var(--color-warm);
    margin-left: 6px;
    font-size: 12px;
}

.reservation-form .required::before {
    content: '★';
    margin-right: 2px;
}

/* Optional Badge */
.c-field-badge {
    display: inline-block;
    background: var(--color-bg-sub);
    color: var(--color-text-light);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 99px;
    margin-left: 8px;
    font-weight: 600;
}

/* 3. Input Fields - Text, Email, Tel, Date */
.reservation-form .wpcf7-form-control.wpcf7-text,
.reservation-form .wpcf7-form-control.wpcf7-email,
.reservation-form .wpcf7-form-control.wpcf7-tel,
.reservation-form .wpcf7-form-control.wpcf7-date {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E5E5;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    -webkit-appearance: none;
    appearance: none;
}

.reservation-form .wpcf7-form-control::placeholder {
    color: #AAAAAA;
    opacity: 1;
}

/* Input Hover State */
.reservation-form .wpcf7-form-control.wpcf7-text:hover,
.reservation-form .wpcf7-form-control.wpcf7-email:hover,
.reservation-form .wpcf7-form-control.wpcf7-tel:hover,
.reservation-form .wpcf7-form-control.wpcf7-date:hover {
    background-color: var(--color-bg-sub);
    border-color: var(--color-main);
}

/* Input Focus State - Orange Glow */
.reservation-form .wpcf7-form-control.wpcf7-text:focus,
.reservation-form .wpcf7-form-control.wpcf7-email:focus,
.reservation-form .wpcf7-form-control.wpcf7-tel:focus,
.reservation-form .wpcf7-form-control.wpcf7-date:focus {
    outline: none;
    border-color: var(--color-warm);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

/* 4. Textarea */
.reservation-form .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E5E5;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.reservation-form .wpcf7-form-control.wpcf7-textarea:hover {
    background-color: var(--color-bg-sub);
    border-color: var(--color-main);
}

.reservation-form .wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: var(--color-warm);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

/* 5. Select Dropdowns */
.reservation-form .wpcf7-form-control.wpcf7-select {
    width: 100%;
    padding: 16px 44px 16px 20px;
    border: 2px solid #E5E5E5;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FF8C00' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.reservation-form .wpcf7-form-control.wpcf7-select:hover {
    background-color: var(--color-bg-sub);
    border-color: var(--color-main);
}

.reservation-form .wpcf7-form-control.wpcf7-select:focus {
    outline: none;
    border-color: var(--color-warm);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

/* 6. Radio Buttons - Custom Pill Style */
.reservation-form .wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.reservation-form .wpcf7-list-item {
    margin: 0;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.reservation-form .wpcf7-list-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.reservation-form .wpcf7-list-item-label {
    position: relative;
    padding: 12px 24px 12px 44px;
    background: #fff;
    border: 2px solid #E5E5E5;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    user-select: none;
    pointer-events: none;
}

/* Radio Button Custom Circle */
.reservation-form .wpcf7-list-item-label::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #CCCCCC;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

/* Radio Button Inner Dot */
.reservation-form .wpcf7-list-item-label::after {
    content: '';
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

/* Radio Button Hover State */
.reservation-form .wpcf7-list-item-label:hover {
    background: var(--color-bg-sub);
    border-color: var(--color-main);
}

.reservation-form .wpcf7-list-item-label:hover::before {
    border-color: var(--color-main);
}

/* Radio Button Checked State */
.reservation-form .wpcf7-list-item input[type="radio"]:checked+.wpcf7-list-item-label {
    background: linear-gradient(135deg, #FF9F4A 0%, #FF8C00 100%);
    border-color: var(--color-warm);
    color: #fff;
}

.reservation-form .wpcf7-list-item input[type="radio"]:checked+.wpcf7-list-item-label::before {
    border-color: #fff;
    background: var(--color-warm);
}

.reservation-form .wpcf7-list-item input[type="radio"]:checked+.wpcf7-list-item-label::after {
    transform: translateY(-50%) scale(1);
}

/* Radio Button Focus State */
.reservation-form .wpcf7-list-item input[type="radio"]:focus+.wpcf7-list-item-label {
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.1);
}

/* 7. Calendar Section */
.c-calendar-section {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid var(--color-bg-sub);
}

.c-calendar-section__header {
    margin-bottom: 20px;
    text-align: center;
}

.c-calendar-section__title {
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-rounded);
    color: var(--color-text);
    margin-bottom: 8px;
}

.c-calendar-section__subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.c-calendar-section__embed {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.c-calendar-section__embed iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--radius-md);
}

/* 8. Submit Button - Premium Style */
.reservation-form .wpcf7-submit,
.reservation-form .wpforms-submit,
.reservation-form button[type="submit"].wpforms-submit {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 500px !important;
    padding: 18px 50px !important;
    margin: 40px auto 0 !important;
    background: linear-gradient(135deg, #FF9F4A 0%, #FF8C00 100%) !important;
    border: none !important;
    border-bottom: 3px solid #cc7000 !important;
    border-radius: 99px !important;
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    font-family: var(--font-rounded) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3) !important;
    position: relative !important;
    box-sizing: border-box !important;
    height: auto !important;
    appearance: none !important;
}

.reservation-form .wpcf7-submit:hover,
.reservation-form .wpforms-submit:hover {
    transform: translateY(2px);
    border-bottom-width: 1px !important;
    box-shadow: 0 2px 6px rgba(255, 140, 0, 0.2);
}

.reservation-form .wpcf7-submit:active,
.reservation-form .wpforms-submit:active {
    transform: translateY(3px);
    border-bottom-width: 0px !important;
    box-shadow: 0 1px 3px rgba(255, 140, 0, 0.2);
}

/* Submit Button Icon */
.reservation-form .wpcf7-submit::after,
.reservation-form .wpforms-submit::after {
    content: '▶';
    margin-left: 12px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.reservation-form .wpcf7-submit:hover::after,
.reservation-form .wpforms-submit:hover::after {
    transform: translateX(4px);
}

/* Form Spinner (Loading State) */
.reservation-form .wpcf7-spinner {
    margin: 0 0 0 16px;
}

/* 9. Validation & Error Messages */
.reservation-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #FFF5F5;
    border-left: 3px solid #dc3232;
    color: #dc3232;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
}

/* Invalid Input State */
.reservation-form .wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3232 !important;
    background-color: #FFF5F5 !important;
}

/* Response Messages */
.reservation-form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 16px 24px;
    border: none;
    border-left: 4px solid;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}

.reservation-form .wpcf7-mail-sent-ok {
    background: #E8F5E9;
    border-color: #4CAF50;
    color: #2E7D32;
}

.reservation-form .wpcf7-validation-errors,
.reservation-form .wpcf7-acceptance-missing {
    background: #FFF3E0;
    border-color: #FF9800;
    color: #E65100;
}

/* プライバシーポリシー同意チェックボックス */
.reservation-form .privacy-agreement {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.reservation-form .privacy-agreement__note {
    margin: 0 0 10px;
    font-size: 0.85rem;
    color: var(--color-text-light, #666);
}

.reservation-form .privacy-agreement .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* ラジオボタン用スタイルをリセット */
.reservation-form .privacy-agreement .wpcf7-list-item input[type="checkbox"] {
    position: static;
    opacity: 1;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    cursor: pointer;
    z-index: auto;
    accent-color: var(--color-warm, #FF8C00);
}

.reservation-form .privacy-agreement .wpcf7-list-item-label {
    position: static;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text);
    cursor: pointer;
    pointer-events: auto;
}

/* ラジオボタン用の疑似要素を非表示 */
.reservation-form .privacy-agreement .wpcf7-list-item-label::before,
.reservation-form .privacy-agreement .wpcf7-list-item-label::after {
    display: none;
}

.reservation-form .privacy-agreement .wpcf7-list-item-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

.reservation-form .privacy-agreement .wpcf7-list-item-label a:hover {
    text-decoration: none;
}

.reservation-form .wpcf7-spam-blocked,
.reservation-form .wpcf7-mail-sent-ng {
    background: #FFEBEE;
    border-color: #F44336;
    color: #C62828;
}

/* Form Paragraph Spacing */
.reservation-form p {
    margin-bottom: 24px;
}

.reservation-form p:last-child {
    margin-bottom: 0;
}

/* Form Control Wrapper */
.reservation-form .wpcf7-form-control-wrap {
    display: block;
}

/* 10. Responsive - Mobile (< 768px) */
@media screen and (max-width: 768px) {
    .reservation-form {
        padding: 28px 5px;
    }

    .c-form-group {
        margin-bottom: 30px;
    }

    .c-form-group__title {
        font-size: 1rem;
    }

    .reservation-form label {
        font-size: 13px;
    }

    .reservation-form .wpcf7-form-control.wpcf7-text,
    .reservation-form .wpcf7-form-control.wpcf7-email,
    .reservation-form .wpcf7-form-control.wpcf7-tel,
    .reservation-form .wpcf7-form-control.wpcf7-date,
    .reservation-form .wpcf7-form-control.wpcf7-select {
        padding: 14px 16px;
        font-size: 15px;
    }

    .reservation-form .wpcf7-form-control.wpcf7-select {
        padding-right: 40px;
        background-position: right 12px center;
    }

    .reservation-form .wpcf7-form-control.wpcf7-textarea {
        padding: 14px 16px;
        font-size: 15px;
        min-height: 120px;
    }

    .reservation-form .wpcf7-form-control.wpcf7-radio {
        flex-direction: column;
        gap: 10px;
    }

    .reservation-form .wpcf7-list-item-label {
        width: 100%;
        text-align: center;
        padding: 12px 20px 12px 40px;
    }

    .c-calendar-section {
        padding: 20px 16px;
        margin-bottom: 30px;
    }

    .c-calendar-section__embed iframe {
        height: 450px;
    }

    .reservation-form .wpcf7-submit {
        width: 100%;
        max-width: 100%;
        padding: 16px 40px;
        font-size: 1.1rem;
        margin-top: 30px;
    }

    .reservation-form p {
        margin-bottom: 20px;
    }

    /* プライバシーポリシー同意エリア スマホ最適化 */
    .reservation-form .privacy-agreement {
        padding: 14px 16px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .reservation-form .privacy-agreement .wpcf7-list-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .reservation-form .privacy-agreement .wpcf7-list-item input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        margin-top: 2px;
    }

    /* ラジオボタン用スタイルを上書き */
    .reservation-form .privacy-agreement .wpcf7-list-item-label {
        width: auto;
        text-align: left;
        padding: 0;
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Responsive - Tablet (769px - 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .reservation-form {
        padding: 35px 30px;
    }

    .c-calendar-section__embed iframe {
        height: 550px;
    }
}

/* Accessibility Improvements */
.reservation-form *:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* フォーム注釈テキスト */
.reservation-form .form-note {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.6;
    padding-left: 4px;
}

/* ファイルアップロードフィールド */
.reservation-form .wpcf7-file {
    display: block;
    width: 100%;
    padding: 12px;
    border: 2px dashed #E5E5E5;
    border-radius: 8px;
    background: #FAFAFA;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.reservation-form .wpcf7-file:hover {
    border-color: var(--color-main);
    background: #FFFEF5;
}

.reservation-form .wpcf7-file:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* ファイル選択ボタンのスタイル */
.reservation-form input[type="file"]::file-selector-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF9F4A 0%, #FF8C00 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-right: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reservation-form input[type="file"]::file-selector-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.reservation-form input[type="file"]::file-selector-button:active {
    transform: translateY(0);
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
    .reservation-form .form-note {
        font-size: 0.8rem;
    }

    .reservation-form .wpcf7-file {
        padding: 10px;
        font-size: 0.9rem;
    }

    .reservation-form input[type="file"]::file-selector-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}


/* Mobile Bottom CTA Styles */
@media screen and (max-width: 768px) {
    .c-mobile-bottom-cta {
        display: block;
        position: fixed;
        bottom: 15px;
        left: 5%;
        width: 90%;
        z-index: 3000;
        text-decoration: none;
        pointer-events: none;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .c-mobile-bottom-cta.is-visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .c-mobile-bottom-cta__inner {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #FF9F4A 0%, #FF8C00 100%);
        border-bottom: 3px solid #cc7000;
        border-radius: 12px;
        padding: 12px 18px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    }

    .c-mobile-bottom-cta__icon {
        flex-shrink: 0;
        width: 54px;
        height: 54px;
        background-color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
    }

    .c-mobile-bottom-cta__icon img {
        width: 100px;
        height: auto;
        display: block;
        object-fit: contain;
    }

    .c-mobile-bottom-cta__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .c-mobile-bottom-cta__sub {
        font-size: 0.8rem;
        font-weight: bold;
        color: #fff;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .c-mobile-bottom-cta__main {
        font-size: 1.15rem;
        font-weight: 900;
        color: #fff;
        line-height: 1.3;
        letter-spacing: 0.05em;
    }
}

/* スマホ表示時のpタグ左寄せ */
@media screen and (max-width: 768px) {
    p {
        text-align: left !important;
    }

    .c-section-header__sub {
        text-align: center !important;
    }

    .p-aircon-price-table td {
        padding: 7px !important;
    }

    .p-aircon-price-table-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .c-section {
        padding-left: 0;
        padding-right: 0;
    }
}

.p-aircon-price-table-wrapper {
    padding: 20px;
}