@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ============================
    Reset & Base
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;

/* Base HTML/Body styles */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333333;
    background-color: #F8F8F8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Select box styling for p-estimate-photo__region-select */
.p-estimate-photo__region-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.2rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
}

.p-estimate-photo__region-select:focus {
    outline: none;
    border-color: #0068C0;
    box-shadow: 0 0 0 2px rgba(0, 104, 192, 0.2);
}

/* Upload area base styles */
.upload-area {
    border: 2px dashed #a0d3f2;
    background-color: #f8f9ff;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border: 3px dashed #007bff !important;
    background-color: #E9F1FE !important;
    border-color: #007bff !important;
}

.upload-icon {
    font-size: 1.3rem;
    color: #007bff;
    margin-bottom: 8px;
    display: block;
}

.upload-text-desktop {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.upload-text-mobile {
    display: none;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 8px;
}


.preview-item {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.preview-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.preview-item button {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 12px;
}

/* File count display */
.file-count {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

/* Loading overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    font-size: 1.3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .upload-text-desktop {
        display: none;
    }
    
    .upload-text-mobile {
        display: block;
    }
}

}

body.no-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    overflow-y: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* プライバシーポリシーリンクのスタイル */

/* ============================
    About Page Styles
============================ */

/* About Intro Section */

/* About Mission Section */

/* About Features Section */

/* About Services Section */

/* About Flow Section */

/* About Staff Section */

/* About License Section */

/* About SDGs Section */

/* About Company Section */

/* About CTA Section */

/* Responsive Design */

/* ============================
    Household Page Styles
============================ */

/* Household Intro Section */

/* Household Problems Section */

/* Household Items Section */

/* Household Method Section */

/* Household Flow Section */

/* Household Vehicles Section */

/* Household Area Section */

/* Household Service Flow Section */

/* Household CTA Section */

/* Responsive Design for Household Page */
@media (max-width: 768px) {
    .p-household-problems__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .p-household-method__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .p-household-method__item {
        padding: 12px;
        gap: 15px;
    }

    .p-household-items__categories {
        flex-direction: column;
        gap: 30px;
    }

    .p-household-flow__step {
        flex-direction: column;
        text-align: center;
    }

    .p-household-flow__step-content {
        flex-direction: column;
        gap: 20px;
    }

    .p-household-vehicles__item {
        flex-direction: column !important;
        text-align: center;
    }

    .p-household-area__top {
        flex-direction: column;
        gap: 40px;
    }

    .p-household-area__regions-grid {
        gap: 20px;
    }

    .p-household-area__region-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-household-service-flow__steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .p-household-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .p-household-cta__buttons .c-button {
        width: 100%;
        max-width: 300px;
    }
}

/* ============================
    Business Page Styles
============================ */

/* Business Intro Section */

/* Business Flow Section */

/* Business Industrial Section */

/* Business General Section */

/* Business Industries Section */

/* Business Licenses Section */

/* Business Area Section */

/* Business CTA Section */

/* Responsive Design for Business Page */

@media (max-width: 768px) {
    .p-business-area__regions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .p-business-area__region-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-business-flow__steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .p-business-industries__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .p-business-general__content {
        flex-direction: column;
        gap: 40px;
    }

    .p-business-general__items {
        grid-template-columns: 1fr;
    }

    .p-business-licenses__grid {
        grid-template-columns: 1fr;
    }

    .p-business-cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .p-business-cta__buttons .c-button {
        width: 100%;
        max-width: 300px;
    }

    .p-business-cta__features {
        flex-direction: column;
        gap: 20px;
    }

    .p-business-industrial__table {
        font-size: 1.2rem;
    }

    .p-business-industrial__table th,
    .p-business-industrial__table td {
        padding: 12px 16px;
    }
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ============================
    Layout
============================ */
.l-inner {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.l-subinner {
    max-width: 1340px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --------------------
    Header
-------------------- */

.l-header__bottom.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideInDown 0.5s ease forwards;
    z-index: 1000;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --------------------
    Hero Section
-------------------- */

/* --------------------
    Footer
-------------------- */

.l-footer__nav-col:nth-child(1),

/* ============================
    Component
============================ */
.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.c-button--primary {
    background-color: #FF8C00;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.3rem;
    border-radius: 8px;
}

.c-button--primary:hover {
    background-color: #e67e00;
}

.c-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #333333;
}

.c-section-title img {
    max-width: 90px;
    margin-right: 10px;
}

.c-section-title--blue-band {
    background-color: #0068C0;
    color: #fff;
    padding: 8px 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    text-align: center;
}

.c-section-title--blue-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(-45deg,
            transparent 0px,
            transparent 11.5px,
            rgba(255, 255, 255, 0.11) 12px,
            rgba(255, 255, 255, 0.11) 12.5px,
            transparent 13px);
    z-index: -1;
}

.c-section-title--blue-band::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px;
    border-color: #0068C0 transparent transparent transparent;
    z-index: 0;
}

/* ハンバーガーメニュー */

.c-hamburger.is-active span:nth-child(2) {
    transform: translateY(9px) rotate(45deg);
}

.c-hamburger.is-active span:nth-child(3) {
    opacity: 0;
}

.c-hamburger.is-active span:nth-child(4) {
    transform: translateY(-9px) rotate(-45deg);
}

.c-scroll-top.is-show {
    opacity: 1;
    visibility: visible;
}

/* Common upload area styles */

.c-upload-area:hover,
.c-upload-area.dragover {
    border-color: #007bff;
    background-color: #E9F1FE;
}

.upload-text-mobile {
    display: none;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.2rem;
    color: #34495e;
}

.loading-overlay .spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ============================
    Project
============================ */

/* --------------------
    Hero Section
-------------------- */

.p-hero__img-pc,

/* --------------------
    Hero Message Section
-------------------- */

/* --------------------
    One Stop Section
-------------------- */

/* --------------------
    Common Page Styles
-------------------- */

.l-inner {
    background-color: #fff;
    padding: 40px;
    margin: 0 auto;
    max-width: 870px;
}

.l-inner h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 30px 0;
    padding: 0 0 15px 0;
    border-bottom: 1px solid #e9ecef;
}

/* --------------------
    Section Titles
-------------------- */

.p-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 20px 0;
    padding: 0 0 8px 0;
    border-bottom: 2px solid #e9ecef;
}

/* --------------------
    Info Section (共通)
-------------------- */

.p-info-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.p-info-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.p-info-item:last-child {
    margin-bottom: 0;
}

.p-info-label {
    font-weight: 600;
    color: #495057;
    font-size: 1.0rem;
    min-width: 120px;
    flex-shrink: 0;
}

.p-info-value {
    color: #333;
    font-size: 1.0rem;
}

.p-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.p-image-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* --------------------
    Form Description
-------------------- */

.p-form-description {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    margin-bottom: 30px;
}

.p-form-description p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
}

/* --------------------
    Button Groups
-------------------- */

.p-button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.p-button-group form {
    display: contents;
}

.c-button--secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.0rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.c-button--secondary:hover {
    background-color: #545b62;
}

/* --------------------
    Estimate Photo Section
-------------------- */

.p-estimate-photo__form {
    background-color: transparent;
    border: none;
    padding: 0;
    text-align: center;
}

.p-estimate-photo__upload-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 25px;
}

.p-estimate-photo__upload-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
    position: relative;
    text-align: left;
}

.p-estimate-photo__upload-label::before {
    content: "📷";
    margin-right: 8px;
    font-size: 1.0rem;
}

.p-estimate-photo__region-selection {
    margin-bottom: 25px;
    text-align: left;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.p-estimate-photo__region-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    position: relative;
}

.p-estimate-photo__region-label::before {
    content: "📍";
    margin-right: 8px;
    font-size: 1.0rem;
}

.p-estimate-photo__region-select {
    width: 100%;
    max-width: 350px;
    padding: 12px 40px 12px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1.0rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #495057;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23495057'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.p-estimate-photo__region-select:focus {
    outline: none;
    border-color: #007bff;
}

.p-estimate-photo__region-select:hover {
    border-color: #007bff;
}

.p-estimate-photo__region-select option {
    padding: 12px;
    font-size: 1.2rem;
    color: #2c3e50;
    background-color: #fff;
}

.p-estimate-photo__region-select option:hover {
    background-color: #f8f9fa;
}

.p-estimate-photo__region-select option[value=""] {
    color: #95a5a6;
    font-style: italic;
}

/* --------------------
    Message Section
-------------------- */
.p-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: left;
    border-left: 4px solid;
    display: flex;
    align-items: center;
}

.p-message i {
    margin-right: 12px;
    font-size: 1.3rem;
}

.p-message--error {
    background-color: #fef2f2;
    color: #dc2626;
    border-left-color: #dc2626;
    border: 1px solid #fecaca;
}

.p-message--info {
    background-color: #eff6ff;
    color: #2563eb;
    border-left-color: #2563eb;
    border: 1px solid #bfdbfe;
}

.p-message--success {
    background-color: #f0fdf4;
    color: #16a34a;
    border-left-color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* --------------------
    Trouble Section
-------------------- */

/* --------------------
    Service Section
-------------------- */

.p-service .c-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #FFCC01;
    text-underline-offset: 0px;
    text-decoration-thickness: 12px;
    margin-bottom: 20px;
    font-style: italic;
}

/* --------------------
    Area Section
-------------------- */

/* --------------------
    Contact Banner Section
-------------------- */

/* --------------------
    Reason Section
-------------------- */

.p-reason .c-section-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #FFCC01;
    text-underline-offset: 0px;
    text-decoration-thickness: 12px;
    margin-bottom: 20px;
    font-style: italic;
}

/* --------------------
    Flow Section
-------------------- */

.p-flow .c-section-title {
    font-style: italic;
    font-size: 1.3rem;
    font-weight: bold;
}

/* --------------------
    Voice Section
-------------------- */

.p-voice .c-section-title {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    text-align: left;
    position: relative;
    margin: 0 5px;
}

/* --------------------
    FAQ Section
-------------------- */

.p-faq .c-section-title {
    font-style: italic;
    font-size: 1.3rem;
    font-weight: bold;
}

/* --------------------
    SDGs Section
-------------------- */

.p-sdgs .c-section-title {
    color: #FFF;
    background-color: #0068C0;
    border-radius: 10px 10px 0px 0px;
    margin-top: 0px;
    margin-bottom: 40px;
    padding: 12px;
}

/* --------------------
    News / Blog Section
-------------------- */

.p-news,

.p-news .c-section-title,
.p-blog .c-section-title {
    margin-bottom: 40px;
}

.p-news__list,

.p-news__item,

.p-news__item-img-wrap,

.p-news__item-img,

.p-news__item-date,

.p-news__item-title,

.p-news__item-text,

/* --------------------
    Contact Form Section
-------------------- */

.p-contact-form .c-section-title {
    color: #FFF;
    background-color: #0068C0;
    border-radius: 10px 10px 0px 0px;
    margin-top: 0px;
    margin-bottom: 40px;
    padding: 12px;
}
.p-contact-form__form {
    max-width: 900px;
    margin: 0 auto;
}

.p-contact-form__group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.p-contact-form__label {
    flex-shrink: 0;
    width: 150px;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
}

.required {
    color: #dc3545;
    font-weight: bold;
}

.p-contact-form__input-wrap {
    flex-grow: 1;
    position: relative;
}

.p-contact-form__input,
.p-contact-form__select,
.p-contact-form__textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.2rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

.p-contact-form__input:focus,
.p-contact-form__select:focus,
.p-contact-form__textarea:focus {
    outline: none;
    border-color: #0068C0;
    box-shadow: 0 0 0 2px rgba(0, 104, 192, 0.2);
}

.p-contact-form__textarea {
    min-height: 150px;
    resize: vertical;
}

.p-estimate-photo__upload-area,
.p-contact-form__upload-area,
.upload-area,
#dropArea {
    border: 2px dashed #ccc;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
    position: relative;
}

.p-estimate-photo__upload-area:hover,
.p-contact-form__upload-area:hover,
.upload-area:hover,
.upload-area.dragover,
.p-estimate-photo__upload-area.dragover,
.p-contact-form__upload-area.dragover,
#dropArea:hover,
#dropArea.dragover,
#uploadArea:hover,
#uploadArea.dragover {
    border-color: #007bff !important;
    background-color: #f8f9fa !important;
}

.fas.fa-cloud-upload-alt.upload-icon {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    display: block !important;
    font-size: 3rem !important;
    color: #6c757d !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    line-height: 1 !important;
}

.p-contact-form__upload-text, 
.p-estimate-photo__upload-text {
    color: #6c757d !important;
    font-size: 1rem !important;
    margin: 10px 0 !important;
    line-height: 1.5 !important;
}

.p-contact-form__upload-info,
.p-estimate-photo__upload-info {
    text-align: center !important;
    margin: 10px 0 !important;
    color: #6c757d !important;
    font-size: 0.9rem !important;
}
.p-contact-form__submit-button {
    display: block;
    margin: 40px auto 0;
    width: 250px;
}
.p-contact-form__back-button {
    display: block;
    color: #fff !important;
    background-color: #999 !important;
    margin: 25px auto 0;
    width: 250px;
}
.p-estimate-photo__upload-icon:not(.upload-icon),
.p-estimate-photo__select-button,
.upload-area button:not(.fas),
#dropArea button:not(.fas),
.p-estimate-photo__upload-area button:not(.fas) {
    display: none !important;
}

.p-contact-form__file-input,
input[type="file"] {
    display: none !important;
}

.p-contact-form__preview-container,
.preview-container,
.file-list,
.p-estimate-photo__file-list,
#fileList {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.p-contact-form__preview-item,
.preview-item {
    position: relative !important;
    display: inline-block !important;
}

.p-contact-form__preview-image,

.p-contact-form__remove-btn,

.p-contact-form__remove-btn:hover,

.p-contact-form__file-count,
.file-count {
    margin-top: 10px !important;
    font-size: 14px !important;
    color: #666 !important;
}

#submitUpload:not(:disabled) {
    background-color: #ff6b35 !important;
    border-color: #ff6b35 !important;
}

/* --------------------
    Result Page Styles
-------------------- */

.p-result-content {
    margin-bottom: 40px;
}

.p-price-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 30px 0;
    text-align: center;
}

.p-price-display {
    font-size: 2rem;
    font-weight: bold;
    color: #e67e22;
    margin: 15px 0;
}

.p-reason-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 30px 0;
}

.p-reason-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-top: 15px;
    line-height: 1.6;
    text-align: left;
}

.p-action-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.p-note {
    margin-top: 20px;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --------------------
    Form Page Styles
-------------------- */

.p-form {
    margin-top: 30px;
}

.p-form-group {
    margin-bottom: 25px;
}

.p-form-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.p-form-input,
.p-form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1.0rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #495057;
    background-color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.p-form-input:focus,
.p-form-textarea:focus {
    outline: none;
    border-color: #007bff;
}

.p-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.p-radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.p-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.0rem;
    color: #495057;
}

.p-radio {
    margin-right: 8px;
    width: 16px;
    height: 16px;
}

.p-form-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    color: #721c24;
}

.p-form-errors h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.p-form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.p-form-errors li {
    margin-bottom: 5px;
    font-size: 1.0rem;
}

/* --------------------
    Confirm Page Styles
-------------------- */

.p-confirm-section {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 30px 0;
}

.p-confirm-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
}

.p-confirm-table th {
    text-align: left;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    width: 140px;
    font-weight: 600;
    color: #495057;
    vertical-align: top;
    font-size: 1.0rem;
}

.p-confirm-table td {
    padding: 12px 15px;
    color: #333;
    border-bottom: 1px solid #dee2e6;
    line-height: 1.5;
    font-size: 1.0rem;
}

.p-confirm-table tr:last-child th,
.p-confirm-table tr:last-child td {
    border-bottom: none;
}

/* --------------------
    Complete Page Styles
-------------------- */

.p-complete-content {
    text-align: center;
    padding: 40px 20px;
}

.p-complete-icon {
    margin-bottom: 25px;
}

.p-complete-icon i {
    font-size: 4rem;
    color: #28a745;
}

.p-complete-message {
    margin-bottom: 30px;
}

.p-complete-message h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.p-complete-description {
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.p-complete-description p {
    margin-bottom: 15px;
    color: #495057;
    line-height: 1.6;
    font-size: 1.0rem;
}

.p-complete-note {
    color: #6c757d !important;
    font-size: 0.9rem !important;
    font-style: italic;
}

.p-complete-actions {
    margin-top: 40px;
}

/* --------------------
    News System Styles
-------------------- */

/* Simple news list (dl) */

/* News detail styles */

/* ============================
    Media Queries (Smartphone)
============================ */
@media (max-width: 767px) {
    .l-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .l-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .l-subinner {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* --------------------
        Header
    -------------------- */
    .l-header__top {
        padding: 10px 0;
    }

    .l-header__top-inner {
        flex-direction: column;
        gap: 10px;
    }

    .l-header__logo img {
        max-width: 100%;
        margin: 15px auto 5px auto;
    }

    .l-header__contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .l-header__tel {
        display: none;
        font-size: 1.2rem;
        align-items: center;
    }

    .l-header__tel i {
        font-size: 2rem;
    }

    .l-header__tel-time {
        font-size: 1rem;
    }

    .l-header__contact-img {
        display: none;
    }

    .l-header__bottom {
        padding: 10px 0;
    }

    .l-header__bottom-inner {
        justify-content: flex-end;
    }

    .l-header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #333;
        z-index: 1100;
        padding-top: 80px;
        overflow-y: auto;
    }

    .l-header__nav.is-open {
        display: block;
    }

    .l-header__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .l-header__nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .l-header__nav-item a {
        padding: 15px 0;
        text-align: center;
        font-size: 1.3rem;
        border-radius: 0;
        color: #fff;
    }

    .l-header__nav-item a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .c-hamburger {
        display: block;
    }

    .menu {
        color: #FFF;
        margin-left: -100px;
        display: block;
    }

    .l-hero {
        height: 330px;
    }

    .l-hero__catchcopy {
        margin-top: 20px;
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    /* --------------------
        Footer
    -------------------- */

    .l-footer__inner {
        width: 90%;
        flex-direction: column;
        gap: 30px;
    }

    .l-footer__info {
        width: 100%;
        text-align: center;
        padding-bottom: 30px;
    }

    .l-footer__character {
        position: static;
        margin: 20px auto 0;
        display: block;
    }

    .l-footer__nav-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 20px 30px;
    }

    .l-footer__nav-col:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .l-footer__nav-col:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .l-footer__nav-col:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .l-footer__nav-col {
        flex: none;
    }

    .l-footer__area-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px 20px;
    }

    .l-footer__area-group ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .l-footer__area-summary {
        padding: 12px;
    }

    /* --------------------
        Component
    -------------------- */
    .c-section-title {
        font-size: 1.3rem;
        margin-bottom: 40px;
    }

    .c-section-title .u-underline::after {
        height: 8px;
    }

    .c-section-title--blue-band {
        font-size: 2.6rem;
        padding: 20px 15px;
        margin-top: -45px;
        margin-bottom: 40px;
    }

    .c-section-title--blue-band::after {
        border-width: 10px 10px 0 10px;
        bottom: -10px;
    }

    .c-estimate-btn {
        max-width: 100px;
        bottom: 85px;
        right: 15px;
        z-index: 980;
    }

    .c-scroll-top {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 2rem;
        z-index: 990;
    }

    .c-upload-area {
        padding: 30px 15px;
    }

    .c-upload-area__icon {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .upload-text-desktop {
        display: none;
    }

    .upload-text-mobile {
        display: block;
    }

    /* --------------------
        Hero Section
    -------------------- */
    .p-hero {
        height: 500px;
    }

    .p-hero__img-pc {
        display: none;
    }

    .p-hero__img-sp {
        display: block;
    }

    /* --------------------
        Hero Message Section
    -------------------- */

    .p-hero-message__text {
        font-size: 1.2rem;
    }

    .p-hero-message .u-text-strong {
        font-size: 1.3rem;
    }

    /* --------------------
        One Stop Section
    -------------------- */
    .p-onestop {
        padding: 40px 0;
        min-height: 350px;
    }

    .p-onestop__visual {
        height: 250px;
    }

    .p-onestop__balloon img {
        max-width: 120px;
    }

    .p-onestop__balloon--01 {
        top: 15px;
        left: 20%;
    }

    .p-onestop__balloon--02 {
        top: 8px;
        right: 20%;
    }

    .p-onestop__balloon--03 {
        bottom: 60px;
        left: 2%;
    }

    .p-onestop__balloon--04 {
        bottom: 70px;
        right: 5%;
    }

    .p-onestop__character img {
        max-width: 200px;
    }

    .p-onestop__box {
        padding: 5px 30px;
        margin-top: -40px;
        border-width: 2px;
    }

    .p-onestop__box::before {
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
        border-width: 1px;
    }

    .p-onestop__title {
        font-size: 1.3rem;
    }

    .p-onestop__text {
        font-size: 1.2rem;
    }

    .p-onestop__visual {
        height: 270px;
    }

    .p-onestop__balloon {
        max-width: 100px;
    }

    .p-onestop__character {
        max-width: 200px;
    }

    /* --------------------
        Common Page Styles
    -------------------- */
    
    .l-inner {
        padding: 20px;
        margin: 0 15px;
    }

    .l-inner h1 {
        font-size: 1.6rem;
    }
    
    .p-section-title {
        font-size: 1.2rem;
    }

    .p-upload-area {
        padding: 30px 20px;
    }
    
    .p-upload-icon {
        font-size: 2.5rem !important;
    }
    
    .p-upload-text {
        font-size: 1.1rem !important;
    }
    
    .p-estimate-photo__region-label,
    .p-estimate-photo__upload-label {
        font-size: 1.0rem;
    }
    
    .p-estimate-photo__region-select {
        font-size: 1.0rem;
        padding: 12px 35px 12px 12px;
    }
    
    .upload-text-desktop {
        display: none;
    }
    
    .upload-text-mobile {
        display: block;
    }
    
    .p-image-item {
        width: 60px;
        height: 60px;
    }
    
    .p-info-label {
        min-width: 100px;
        font-size: 0.9rem;
    }
    
    .p-info-value {
        font-size: 0.9rem;
    }
    
    .p-button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .p-button-group .c-button {
        width: 100%;
        max-width: 280px;
    }
    
    .p-form-input,
    .p-form-textarea {
        font-size: 1.0rem;
        padding: 10px 12px;
    }
    
    .p-radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .p-confirm-table th {
        width: 120px;
        font-size: 0.9rem;
    }
    
    .p-confirm-table td {
        font-size: 0.9rem;
    }
    
    .p-complete-icon i {
        font-size: 3rem;
    }
    
    .p-complete-message h2 {
        font-size: 1.3rem;
    }

    .p-message {
        font-size: 1.1rem;
        padding: 12px 16px;
    }

    /* --------------------
        Trouble Section
    -------------------- */
    .p-trouble::before {
        background-color: rgba(255, 255, 255, 0.8);
    }

    .p-trouble__head {
        height: auto;
        background-size: 200px auto;
        background-position: top center;
        padding: 120px 20px 20px;
        flex-direction: column;
        background-image: none;

    }

    .p-trouble__text-overlay {
        padding: 0px;
        position: static;
        transform: none;
        text-align: left;
        margin-top: -150px;
        padding-left: 0px;
    }

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

    .p-trouble__title {
        font-size: 20px;
        text-align: left;
    }

    .p-trouble__list {
        grid-template-columns: 1fr;
    }

    .p-trouble__list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .p-trouble__item {
        height: 154px;
    }

    .p-trouble__item-text {
        font-size: 1.2rem;
        padding: 12px;
    }

    .p-trouble__solution-img {
        width: 90%;
    }

    .p-trouble__arrow-wrap {
        padding: 10px;
        width: 80%;
    }

    .p-trouble__arrow-wrap::before,
    .p-trouble__arrow-wrap::after {
        width: 12px;
        border-width: 2px;
    }

    .trouble-black-text,
    .trouble-blue-text {
        font-size: 22px;
    }

    .trouble-bottom-text {
        font-size: 22px;
    }

    .trouble-orange-box {
        padding: 5px 10px;
        font-size: 22px;
        margin: 0 2px;
    }

    /* --------------------
        Service Section
    -------------------- */
    .p-service__list {
        grid-template-columns: 1fr;
    }

    .p-service__item-img-wrap {
        height: 200px;
    }

    .p-service .c-section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
        margin-top: 0px;
    }

    .p-service .c-section-title img {
        vertical-align: top;
    }

    .p-service .c-section-title .u-underline {
        font-size: 3rem;
        margin-top: -40px;
        display: block;
    }

    .p-service__item-title {
        font-size: 1.3rem;
    }

    .p-service__item-text {
        font-size: 1.2rem;
    }

    /* --------------------
        Area Section
    -------------------- */
    .p-area {
        padding: 60px 0;
    }

    .p-area__content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .p-area__left {
        align-items: center;
        text-align: center;
    }

    .p-area__title-wrapper {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .p-area__icon {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .p-area__title {
        font-size: 2rem;
    }

    .p-area__title-underline {
        font-size: 1.3rem;
    }

    .p-area__list {
        max-width: 70%;
    }

    .p-area__item {
        margin: 0 auto;
        font-size: 1.2rem;
    }

    /* --------------------
        Contact Banner Section
    -------------------- */
    .p-contact-banner {
        padding: 30px 0;
        background-image: url('../img/sec06_bg.png');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .p-contact-banner__lead-wrap {
        padding: 10px 20px;
        border-radius: 30px;
        margin-bottom: 20px;
    }

    .p-contact-banner__lead {
        font-size: 1.3rem;
        white-space: normal;
    }

    .p-contact-banner__content {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-bottom: 8px;
    }

    .p-contact-banner__tel {
        width: calc(100% - 30px);
        font-size: 1.3rem;
        padding: 8px 12px;
    }

    .p-contact-banner__tel-head {
        font-size: 2rem;
    }

    .p-contact-banner__tel i {
        font-size: 1.3rem;
    }

    .p-contact-banner__buttons {
        width: calc(100% - 30px);
        gap: 10px;
    }

    .p-contact-banner__button {
        width: 100%;
        font-size: 1.2rem;
        padding: 5px;
    }

    .p-contact-banner__button i {
        font-size: 1.3rem;
    }

    .p-contact-banner__tel-time {
        font-size: 1.4rem;
        margin-top: 10px;
    }

    /* --------------------
        Reason Section
    -------------------- */
    .p-reason__item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .p-reason__item-number {
        font-size: 1.3rem;
    }

    .p-reason__item-title {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .p-reason__item-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .p-reason__item-img-wrap {
        width: 100%;
        max-width: 300px;
    }

    .p-reason .c-section-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
        margin-top: 0px;
    }

    .p-reason .c-section-title img {
        vertical-align: top;
    }

    .p-reason .c-section-title .u-underline {
        font-size: 3rem;
        margin-top: -40px;
        display: block;
    }

    /* --------------------
        Flow Section
    -------------------- */
    .p-flow .c-section-title {
        font-size: 1.3rem;
    }

    .p-flow__lead-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .p-flow__list {
        gap: 20px;
    }

    .p-flow__item {
        padding-left: 10px;
        gap: 10px;
    }

    .p-flow__item::before {
        left: 32.5px;
        height: calc(100% + 20px);
    }

    .p-flow__item-number {
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }

    .p-flow__item-content {
        gap: 10px;
        padding-bottom: 20px;
        flex-direction: column;
    }

    .p-flow__item-icon {
        width: 45px;
        height: 45px;
        margin-top: 0;
        align-self: flex-start;
    }

    .p-flow__item-title {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .p-flow__item-text {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    /* --------------------
        Voice Section
    -------------------- */
    .p-voice .c-section-title {
        font-size: 2rem;
    }

    .p-voice__item-icon {
        width: 50px;
        margin-left: 5px;
        margin-bottom: 8px;
    }

    .p-voice .u-underline {
        font-size: 2.5rem;
        margin-left: 0px;
    }

    .p-voice__list {
        grid-template-columns: 1fr;
    }

    .p-voice__item {
        width: 90%;
        margin:0px auto;
    }

    .p-voice__item-img-wrap {
        margin-top: 0px;
    }

    .p-voice__item-title {
        font-size: 1.3rem;
    }

    .p-voice__item-text {
        font-size: 1.2rem;
    }

    /* --------------------
        FAQ Section
    -------------------- */

    .p-faq .c-section-title {
        font-size: 1.3rem;
    }

    .p-faq__list {
        padding: 12px;
    }

    .p-faq__item {
        padding: 15px 20px 0 20px;
    }

    .p-faq__question {
        font-size: 1.2rem;
    }

    .p-faq__q-icon {
        font-size: 1.3rem;
    }

    .p-faq__answer {
        padding-top: 10px;
        padding-bottom: 15px;
        padding-left: calc(2.4rem + 15px);
        padding-right: 20px;
        margin-left: calc(-20px + 2.4rem + 15px);
        margin-right: -20px;
        width: calc(100% - (2.4rem + 15px));
    }

    .p-faq__answer-text {
        padding: 0;
    }

    /* --------------------
        SDGs Section
    -------------------- */

    .p-sdgs__inner-wrap {
        width: 90%;
        padding: 0 5% 30px 5%;
    }

    .p-sdgs__lead-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .p-sdgs h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .p-sdgs h3 {
        font-size: 2rem;
    }

    .p-sdgs__logo {
        width: 80%;
    }

    .p-sdgs .c-section-title {
        color: #FFF;
        background-color: #0068C0;
        border-radius: 10px 10px 0px 0px;
        margin: 0px -7% 40px -7%;
        width: auto;
        font-size: 2rem;
    }

    .p-sdgs__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .p-sdgs__item {
        width: 100%;
        max-width: 400px;
        padding: 12px;
    }

    .p-sdgs__item:nth-child(1),
    .p-sdgs__item:nth-child(2),
    .p-sdgs__item:nth-child(3),
    .p-sdgs__item:nth-child(4),
    .p-sdgs__item:nth-child(5) {
        grid-column: unset;
        grid-row: unset;
    }

    /* --------------------
        News / Blog Section
    -------------------- */
    .p-news__list,
    .p-blog__list {
        grid-template-columns: 1fr;
    }

    .p-news__item-img-wrap,
    .p-blog__item-img-wrap {
        height: 100px;
    }

    .p-news__item-date,
    .p-blog__item-date {
        font-size: 1.1rem;
    }

    .p-news__item-title,
    .p-blog__item-title {
        font-size: 1.3rem;
    }

    .p-news__item-text,
    .p-blog__item-text {
        font-size: 1.2rem;
    }

    /* --------------------
        Contact Form Section
    -------------------- */
    .p-contact-form {
        padding-top: 30px;
        width: 100%;
        padding: 30px;
    }

    .p-contact-form__inner-wrap {
        width: 95%;
        padding: 0 5% 30px 5%;
    }

    .p-contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .p-contact-form .c-section-title {
        color: #FFF;
        background-color: #0068C0;
        border-radius: 10px 10px 0px 0px;
        margin: 0px -7% 40px -7%;
        width: auto;
        font-size: 2rem;
    }

    .p-contact-form__group {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .p-contact-form__label {
        width: 100%;
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .p-contact-form__input-wrap {
        width: 100%;
        box-sizing: border-box;
    }

    .p-contact-form__input,
    .p-contact-form__select,
    .p-contact-form__textarea {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 1.2rem;
        padding: 10px 12px;
    }

    .p-contact-form__upload-area {
        padding: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .p-contact-form__submit-button {
        width: 100%;
        font-size: 1.2rem;
        padding: 12px 25px;
        margin-top: 30px;
    }
}

            /* 公開画面向け追加CSS */
            body {
                font-family: 'Arial', sans-serif;
                background-color: #f8f9fa;
                margin: 0;
                padding: 12px;
                display: flex;
                justify-content: center;
                align-items: flex-start;
                min-height: 100vh;
            }

            .public-container {
                background-color: #fff;
                border-radius: 12px;
                padding: 40px;
                width: 100%;
                max-width: 1200px;
                text-align: center;
                border: 1px solid #e9ecef;
            }

            /* フォーム専用のスタイリング */
            form {
                background-color: #fff !important;
                border-radius: 12px !important;
                padding: 40px !important;
                margin: 20px 0 !important;
                border: 1px solid #e9ecef !important;
                text-align: left !important;
                max-width: none !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }

            .public-header h1 {
                color: #34495e;
                margin-bottom: 20px;
                font-size: 28px;
            }

            .upload-area {
                border: 2px dashed #a0d3f2;
                border-radius: 10px;
                padding: 50px;
                text-align: center;
                cursor: pointer;
                transition: all 0.3s ease;
                margin-bottom: 20px;
            }

            .upload-area:hover,
            .upload-area.dragover {
                border: 3px dashed #007bff !important;
                background-color: #E9F1FE !important;
                border-color: #007bff !important;
            }

            .upload-area p {
                color: #666;
                font-size: 18px;
                margin-bottom: 8px;
            }

            .upload-area input[type="file"] {
                display: none;
            }

            .file-list {
                margin-top: 20px;
                text-align: left;
                max-height: 200px;
                overflow-y: auto;
                border-top: 1px solid #eee;
                padding-top: 10px;
            }

            .file-list-item {
                display: flex;
                align-items: center;
                margin-bottom: 8px;
                padding: 8px;
                background-color: #f9f9f9;
                border-radius: 5px;
            }

            .file-list-item img {
                width: 50px;
                height: 50px;
                object-fit: cover;
                margin-right: 10px;
                border-radius: 3px;
            }

            /* submit-btn の幅調整と位置 */
            .submit-btn {
                background-color: #2ecc71;
                color: #fff;
                padding: 15px 30px;
                border: none;
                border-radius: 8px;
                font-size: 20px;
                cursor: pointer;
                transition: background-color 0.3s;
                width: 100%;
                margin-top: 20px;
                max-width: 400px;
                display: block;
                margin-left: auto;
                margin-right: auto;
            }

            .submit-btn:hover {
                background-color: #27ae60;
            }

            .response-box {
                background-color: #f0f8ff;
                border: 1px solid #d0e8ff;
                border-radius: 8px;
                padding: 12px;
                text-align: left;
                margin: 30px auto;
                max-width: 900px !important;
                width: 100%;
            }

            .response-box h2 {
                color: #2c3e50;
                font-size: 24px;
                margin-bottom: 8px;
            }

            .response-box p {
                color: #555;
                line-height: 1.6;
                margin-bottom: 8px;
            }

            .response-price {
                font-size: 1.3rem;
                color: #e67e22;
                font-weight: bold;
                margin-bottom: 20px;
            }

            .form-input-group input[type="text"],
            .form-input-group input[type="email"],
            .form-input-group input[type="tel"],
            .form-input-group textarea,

            .form-input-group input:focus,
            .form-input-group textarea:focus,

            .button-group .btn {
                display: inline;
                width: 160px;
                padding: 12px 0;
                font-size: 18px;
                border-radius: 6px;
                text-align: center;
            }

            .back-btn {
                background-color: #95a5a6;
                color: #fff;
                border: 1px solid #95a5a6;
            }

            .back-btn:hover {
                background-color: #7f8c8d;
                border-color: #7f8c8d;
            }

            .submit-btn {
                /* 個別のsubmit-btnスタイルも調整 */
                background-color: #0068C0;
                color: #fff;
                border: 1px solid #0068C0;
                padding: 15px 30px;
                font-size: 1.4rem;
                min-width: 200px;
            }

            .submit-btn:hover {
                background-color: #004d87;
                border-color: #004d87;
            }

            .back-btn {
                background-color: #95a5a6;
                color: #fff;
                border: 1px solid #95a5a6;
                padding: 8px 16px;
                font-size: 1.2rem;
                min-width: 120px;
            }

            .back-btn:hover {
                background-color: #7f8c8d;
                border-color: #7f8c8d;
            }

            .success-message {
                color: #27ae60;
                font-size: 20px;
                font-weight: bold;
                margin-top: 30px;
            }

            .loading-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(255, 255, 255, 0.8);
                z-index: 1000;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                font-size: 1.2rem;
                color: #34495e;
            }

            .loading-overlay .spinner {
                border: 8px solid #f3f3f3;
                border-top: 8px solid #3498db;
                border-radius: 50%;
                width: 60px;
                height: 60px;
                animation: spin 1s linear infinite;
                margin-bottom: 20px;
            }

            .ai-price-highlight {
                color: #e67e22;
                /* オレンジ色 */
                font-weight: bold;
                /* 太字 */
                font-size: 1.1em;
                /* 少し大きく */
                display: inline-block;
                /* インラインブロックにしてレイアウトを安定させる */
                text-align: left;
                /* 左寄せを強制 */
            }

            /* ... response-box や text-break の調整 ... */
            .response-box .text-break {
                white-space: normal;
                /* pre-wrapだと余計な空白も表示されるため、normalで調整 */
                word-break: break-word;
                /* 長い単語の折り返し */
                text-align: left;
                background-color: #fff;
                padding: 12px;
                box-sizing: border-box;
                margin-bottom: 8px;
            }

            .response-box li {
                margin: 20px;
            }

            .response-price {
                font-size: 1.3rem;
                color: #e67e22;
                font-weight: bold;
                margin-bottom: 20px;
                text-align: center;
                /* 価格自体は中央寄せでOK */
            }

            /* レスポンシブ */
            @media (max-width: 768px) {

                .public-header img {
                    max-width: 100%;
                }

                .public-container {
                    max-width: 100% !important;
                    padding: 12px;
                }

                .upload-area {
                    padding: 30px;
                }

                .btn {
                    width: 100% !important;
                    max-width: 100% !important;
                    padding: 15px 0;
                    font-size: 1.2rem;
                }

                .submit-btn {
                    width: 100% !important;
                    max-width: 100% !important;
                }

                .response-box {
                    max-width: 90% !important;
                }
            }

            @keyframes spin {
                0% {
                    transform: rotate(0deg);
                }

                100% {
                    transform: rotate(360deg);
                }
            }

/* ============================
    Estimate System Styles
============================ */

/* CTA Section (index.php) */
.p-cta {
    background-color: #f8f9fa;
    color: #333;
    text-align: center;
    padding: 80px 20px;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.p-cta .l-inner {
    background-color: transparent;
    padding: 40px;
    max-width: 870px;
}

.p-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.p-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #495057;
    line-height: 1.6;
}

.p-cta .c-button--primary {
    background: #007bff;
    color: white;
    padding: 20px 40px;
    font-size: 1.3rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.p-cta .c-button--primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.p-admin-link {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.p-admin-link a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.p-admin-link a:hover {
    color: #495057;
    text-decoration: underline;
}

/* Image Gallery Sections */
.image-gallery-section {
    margin-bottom: 20px;
}

.image-gallery-flex {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.image-item {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: transform 0.2s ease;
}

.image-item:hover {
    transform: scale(1.05);
}

/* Info Box for Region and Images */
.info-box {
    background-color: #f0f8ff;
    border: 1px solid #d0e8ff;
    border-radius: 8px;
    padding: 12px;
    margin: 30px 0;
    text-align: left;
}

.info-item {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 8px;
}

.info-item strong {
    font-weight: bold;
}

.info-item:last-child {
    margin-bottom: 8px;
}

/* Confirmation Table */
.p-contact-form__confirmation table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.2rem;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 30px 0;
    overflow: hidden;
}

.p-contact-form__confirmation th {
    text-align: left;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 150px;
    font-weight: bold;
    color: #333;
    vertical-align: top;
}

.p-contact-form__confirmation td {
    padding: 8px 12px;
    color: #555;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

.p-contact-form__confirmation tr:last-child th,
.p-contact-form__confirmation tr:last-child td {
    border-bottom: none;
}

/* Button Groups */
.p-contact-form__button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.p-contact-form__button-group form {
    display: contents;
}

/* Complete Page */
.p-complete {
    text-align: center;
    padding: 60px 40px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
}

.p-complete .success-icon {
    font-size: 1.3rem;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.p-complete .success-message {
    color: #28a745;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.p-complete .success-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.p-complete .success-content p {
    margin-bottom: 20px;
}

.p-complete .success-content .note {
    color: #666;
    font-size: 1.2rem;
}

.p-complete .success-actions {
    margin-top: 50px;
}

.p-complete .c-button--primary {
    min-width: 250px;
    padding: 15px 30px;
    font-size: 1.2rem;
}

/* Improved Button Styling */
.c-button {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.c-button--primary {
    background-color: #007bff;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.2rem;
}

.c-button--primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.c-button--secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.2rem;
}

.c-button--secondary:hover {
    background-color: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

/* Submit and Back Buttons */
.submit-btn {
    background-color: #28a745;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.submit-btn:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(40, 167, 69, 0.3);
}

.back-btn {
    background-color: #6c757d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-left: 15px;
}

.back-btn:hover {
    background-color: #545b62;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(108, 117, 125, 0.3);
}

/* Typography Improvements */
.p-estimate-photo__description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

/* Form Improvements */
.p-contact-form__group {
    margin-bottom: 20px;
}

.p-contact-form__label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #dc3545;
    font-size: 1.2rem;
    margin-left: 4px;
}

.p-contact-form__input,
.p-contact-form__textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1.2rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.p-contact-form__input:focus,
.p-contact-form__textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.p-contact-form__textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio Button Styling */
.p-contact-form__radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.p-contact-form__radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
}

.p-contact-form__radio {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

/* Error Styling */
.p-contact-form__errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    color: #721c24;
}

.p-contact-form__errors h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.p-contact-form__errors ul {
    margin: 0;
    padding-left: 20px;
}

.p-contact-form__errors li {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .p-cta {
        padding: 60px 15px;
    }
    
    .p-cta h2 {
        font-size: 2rem;
    }
    
    .p-cta p {
        font-size: 1.1rem;
    }
    
    .p-cta .c-button--primary {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    
    .image-gallery-flex {
        gap: 10px;
    }
    
    .image-item {
        width: 80px;
        height: 80px;
    }
    
    .preview-item img,
    .preview-image {
        width: 100px;
        height: 100px;
    }
    
    .p-file-preview {
        gap: 10px !important;
        padding: 12px;
    }
    
    .info-box {
        padding: 12px;
        margin: 20px 0;
    }
    
    .info-item {
        font-size: 1.2rem;
    }
    
    .p-contact-form__button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .p-contact-form__button-group .c-button {
        width: 100%;
        max-width: 300px;
    }
    
    .p-complete {
        padding: 40px 20px;
    }
    
    .p-complete .success-message {
        font-size: 1.3rem;
    }
    
    .p-complete .success-content {
        font-size: 1.2rem;
    }
    
    .p-contact-form__confirmation th {
        width: 120px;
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    
    .p-contact-form__confirmation td {
        font-size: 1.2rem;
        padding: 10px 12px;
    }
    
    .submit-btn,
    .back-btn {
        width: 100%;
        max-width: 250px;
        margin: 10px 0;
    }
    
    .back-btn {
        margin-left: 0;
    }
}
