
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

p {
    font-size: 1.6rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    position: relative;
    font-family: "nitalago-ruika", sans-serif;
    font-weight: 100;
    font-style: normal;
    line-height: 3.4rem;
}

h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    bottom: -10px;
    width: 100px;
    height: 2px;
    background-color: #ee624b;
}


html {
    font-size: 62.5%;
    scroll-padding-top: 60px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, sans-serif;
    background-image: 
     linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
     url(../img/back.jpg);
    background-repeat: repeat-y;
    background-size: 100%;
    background-attachment: fixed;
    background-position: center -50px;
    line-height: 1.6;
    color: #252c35;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.cta {
    background-color: #2f7d31;
    padding: 20px 0;
}

.cta-container {
    width: 90%;
    margin: auto;
    box-sizing: border-box;
}

.cta-inner {
    background-color: #ffffff;
    border-radius: 5px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.cta-lead {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: -10px;
}

.cta-phone-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-free-img {
    width: 40px;
    height: auto;
    margin: 0;
    padding-top: 10px;
}

.cta-phone-number {
    font-size: 3.6rem;
    font-weight: bold;
    color: #f24141;
    text-decoration: none;
    line-height: 1;
    font-family: "bahnschrift", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.cta-hours {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta-credit-wrap {
    border: 1px solid #2f7d31;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 15px;
    max-width: 100%;
}

.credit-title {
    background-color: #2f7d31;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 5px;
    white-space: nowrap;
}

.credit-brands {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    background-color: #ffffff;
}

.credit-brands img {
    height: 20px;
    width: auto;
}

.cta-mail-wrap {
    margin-bottom: 15px;
}

.cta-mail-wrap a {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cta-mail-wrap a:hover {
    transform: scale(1.03);
}

.cta-mail-wrap a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    35% {
        left: 200%;
    }
    100% {
        left: 200%;
    }
}

.cta-btn-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cta-copy {
    color: #2f7d31;
    margin: 0 0 5px 0;
    font-family: "nitalago-ruika", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.cta-staff-wrap {
    margin-bottom: 10px;
}

.cta-staff-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.area-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 2px;
}

.area-text {
    font-size: 1rem;
    font-weight: bold;
}

.main-header {
    width: 100%;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    height: 60px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
}

.header-btn-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn-tel {
    background-color: #178246;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    padding: 4px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
}

.tel-label {
    font-size: 1rem;
    line-height: 1.2;
}

.tel-number {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tel-icon {
    height: 16px;
    width: auto;
}

.header-btn-mail {
    background-color: #f26c41;
    border-radius: 3px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
}

.mail-icon-img {
    width: 24px;
    height: auto;
    display: block;
}

.timer {
    background-color: #2a3846;
    color: #fff;
    text-align: center;
    font-size: 13px;
}

#current-time {
    color: #fcee21;
}

.fv {
    background-color: #00642d;
    padding-bottom: 20px;
}

.cta-tel-link {
    display: inline-block;
    animation: telPulse 3s infinite;
    transition: transform 0.2s ease;
}

.fv .cta-tel-link {
    margin-top: 30px;
}

.cta-tel-link img {
    width: 90%;
    height: auto;
    display: block;
}

@keyframes telPulse {
    0%, 100% {
        transform: scale(1);
    }
    15% {
        transform: scale(1.04);
    }
    30% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.04);
    }
}

.service {
    background-color: #83ac4a;
    padding: 25px 0;
}

.service h2 {
    color: #fff;
}

.service h2::after {
    background-color: #2f7d31;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.service-item {
    background-color: #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    grid-column: span 2;
    overflow: hidden; 
}

.service-item:nth-child(4) {
    grid-column: 2 / span 2;
}

.service-item:nth-child(5) {
    grid-column: 4 / span 2;
}

.service-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.service-link:hover {
    opacity: 0.8;
}

.service-img {
    width: 100%;
    max-width: 80px;
    aspect-ratio: 1 / 1;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
}

.section02 {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: linear-gradient(180deg, #fffdf6 0%, #f5f0df 100%);
    padding: 38px 18px 42px;
    box-sizing: border-box;
    text-align: center;
}

.section02::before,
.section02::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(76, 135, 65, 0.08);
}

.section02::before {
    top: -65px;
    left: -45px;
}

.section02::after {
    right: -55px;
    bottom: -70px;
}

.promise-eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 6px;
    color: #397440;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.section02 h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: #173c2d;
    font-size: 2.7rem;
}

.promise-intro {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: #3c4b40;
    font-size: 1.6rem;
    line-height: 1.75;
}

.promise-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.promise-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: start;
    min-height: 112px;
    padding: 16px 15px;
    border: 1px solid #ddcfad;
    border-left: 6px solid #3f8748;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(60, 83, 55, 0.09);
    box-sizing: border-box;
    text-align: left;
}

.promise-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2f7d31;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
}

.promise-content {
    min-width: 0;
}

.promise-list strong {
    display: block;
    color: #29312c;
    font-size: 1.85rem;
    line-height: 1.45;
}

.promise-list small {
    display: block;
    margin-top: 1px;
    color: #59615c;
    font-size: 1.35rem;
}

.promise-content p {
    margin: 8px 0 0;
    color: #465049;
    font-size: 1.5rem;
    line-height: 1.7;
}

.promise-assurance {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 10px;
    background: #286f38;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

.section02-visual {
    width: 100%;
    height: min(94.67vw, 473px);
    overflow: hidden;
}

.section02-visual img {
    width: 100%;
    max-width: none;
    margin: 0;
}

.section02-copy {
    width: 88%;
    margin: 20px auto 0;
    color: #173c2d;
    font-size: 1.65rem;
    line-height: 1.95;
    font-weight: 500;
    text-align: left;
}


.section02-contents {
    width: 90%;
    margin: 20px auto;
}

.trouble-box {
    border: 2px solid #97ca57;
    background-color: #ffffff;
    padding: 15px 10px;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 20px;
}

.trouble-row {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.label-kadai, .label-kaiketsu {
    font-weight: bold;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.label-kadai {
    background-color: #2f7d31;
    color: #ffffff;
}

.label-kaiketsu {
    border: 2px solid #2f7d31;
    color: #2f7d31;
    background-color: #ffffff;
}

.text-kadai, .text-kaiketsu {
    margin: 0 0 0 15px;
    font-weight: bold;
    line-height: 1.4;
    font-size: 1.8rem;
}

.text-kaiketsu {
    color: #2f7d31;
}

.trouble-img {
    margin: 25px auto;
    text-align: center;
    width: 80%;;
}


.section03 {
    padding: 25px 0px 20px;
    background-color: #83ac4a;
}

.section03 h2 {
    color: #fff;
}

.section03 h2::after {
    background-color: #2f7d31;
}

.section03-contents {
    width: 90%;
    margin: 30px auto;
}

.service-card {
    background-color: #ffffff;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.card-header {
    background-color: #2f7d31;
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    padding: 10px;
}

.card-body {
    padding: 20px 15px;
}

.card-lead {
    font-weight: bold;
    margin: 0 0 20px 0;
}

.card-img {
    margin-bottom: 20px;
}

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

.card-info-container {
    display: flex;
    gap: 15px;
}

.info-box {
    flex: 1;
    background-color: #f4f0e9;
    border-radius: 4px;
    padding: 5px 2px;
    box-sizing: border-box;
}

.info-title {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
}

.info-value {
    margin: 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.price {
    font-family: "bahnschrift", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #e65100;
    font-size: 3rem;
}

.time {
    font-size: 2rem;
    margin-top: 10px;
}

.separator {
    margin-top: -30px;
}


.section04 {
    background-color: #fdf8ec;
    padding: 25px 0 5px;
}

.section04-contents {
    width: 90%;
    margin: 30px auto;
}

.case-card {
    background-color: #c0dd9a;
    border-radius: 5px;
    margin: 0 auto 15px;
    overflow: hidden;
    box-sizing: border-box;
}

.case-header {
    background-color: #252c35;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.case-body {
    padding: 10px 10px 20px;
}

.case-img-container {
    text-align: center;
    margin-bottom: 20px;
}

.case-text {
    text-align: left;
    margin: 0 0 25px 0;
}

.case-voice {
    display: flex;
    align-items: center;
    gap: 5px;
}

.voice-user {
    width: 100px;
    flex-shrink: 0;
    text-align: center;
}

.voice-user img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 5px;
}

.user-info {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
    white-space: nowrap;
}

.voice-bubble {
    position: relative;
    background-color: #ffffff;
    border-radius: 3px;
    padding: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
    box-sizing: border-box;
}

.voice-bubble::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-right: 10px solid #ffffff;
    border-bottom: 8px solid transparent;
}


.section05 {
    background-color: #c0dd9a;
    padding: 25px 0 5px;
}

.section05-contents {
    width: 95%;
    margin: 40px auto;
}

.section06 {
    padding: 30px 0;
    position: relative;
}

.area {
    width: 100px;
    position: absolute;
    top: 2%;
    right: 3%;
}

.section06-contents {
    width: 90%;
    margin: 50px auto 5px;
}

.area-accordion-container {
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    border: #242f3e 1px solid;
}

.area-accordion {
    border-bottom: 1px solid #e0e0e0;
}

.area-accordion:last-child {
    border-bottom: none;
}

.area-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-size: 1.6rem;
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.area-summary::-webkit-details-marker {
    display: none;
}

.area-summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-bottom: 3px solid #242f3e;
    border-right: 3px solid #242f3e;
    transform: rotate(45deg);
    margin-right: 5px;
    transition: transform 0.2s;
}

.area-accordion[open] .area-summary::after {
    transform: rotate(-135deg);
}

.area-content {
    background-color: #f4f0e9;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.city-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.city-list li {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.4;
}



.faq {
    background-color: #fdf8ec;
    padding: 30px 0px;
}

.faq_contents {
    width: 90%;
    margin: 40px auto 5px;
}

.faq-item {
    background-color: #fff;
    border: #97ca57 2px solid;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-check {
    display: none;
}

.faq-question-area {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 4px;
    color: #2f7d31;
    font-weight: bold;
}

.faq-q,
.faq-a {
    font-weight: bold;
    font-size: 2.8rem;
    color: #2f7d31;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}

.faq-a {
    color: #f26c41;
}

.faq-text {
    font-size: 1.6rem;
    line-height: 1.4;
    flex-grow: 1;
    text-align: left;
}

.faq-toggle-btn {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: #2f7d31;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.3s;
}

.faq-toggle-btn::before,
.faq-toggle-btn::after {
    content: '';
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}

.faq-toggle-btn::before {
    width: 10px;
    height: 2px;
}

.faq-toggle-btn::after {
    width: 2px;
    height: 10px;
}

.faq-answer-area {
    max-height: 0;
    transition: max-height 0.5s ease-out;
    background-color: #fff;
}

.faq-divider {
    height: 1px;
    background-color: #97ca57;
    margin: 0 20px;
}

.faq-answer-content {
    display: flex;
    align-items: flex-start;
    padding: 15px 10px;
}

.faq-answer-content p {
    font-size: 1.6rem;
    text-align: left;
}

.faq-check:checked ~ .faq-answer-area {
    max-height: 500px;
}

.faq-check:checked ~ .faq-question-area .faq-toggle-btn::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.section07 {
    background-image: url(../img/attention_bg@2x.webp);
    background-size: cover;
    background-position: center;
    padding: 20px 0px 30px;
}

.section07_contents {
    width: 90%;
    margin: auto;
    text-align: center;
    box-sizing: border-box;
}

.attention-icon {
    width: 50px;
    height: auto;
    margin: 0 auto 15px;
}

.attention-icon img {
    width: 100%;
    height: auto;
    display: block;
}

.attention-lead {
    font-size: 1.6rem;
    line-height: 1.4;
    font-weight: bold;
    margin: 0 0 30px 0;
}

.attention-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 15px;
    margin: 0 auto;
}

.attention-item {
    width: calc((100% - 15px) / 2);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.attention-img {
    width: 100%;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
}

.attention-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.attention-label {
    background-color: #242f3e;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    width: 90%;
    padding: 5px;
    margin: 5px 0 0 0;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}



.section08 {
    background-image: url(../img/section08_bg@2x.webp);
    background-size: cover;
    background-position: center top;
    padding: 30px 0px;
    text-align: center;
    box-sizing: border-box;
}

.section08-contents {
    width: 90%;
    margin: auto;
}

.section08 h2 {
    color: #2f7d31;
    font-size: 2.4rem;
    line-height: 1.4;
    margin: 0 0 15px 0;
    font-style: italic;
}

.section08 h2::after {
    display: none;
}

.staff-image-wrap {
    position: relative;
    margin: 0 auto 25px;
}

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

.leaf-right {
    position: absolute;
    right: -15px;
    bottom: -25px;
    width: 80px;
    height: auto;
    z-index: 2;
}

.consultation-content {
    margin: 0 auto;
}

.content-text-lead {
    font-size: 1.6rem;
    margin: 0 0 30px 0;
    font-weight: bold;
}

.content-text-footer-wrap {
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.leaf-left {
    position: absolute;
    left: -10px;
    bottom: -5px;
    width: 70px;
    height: auto;
}



.form {
    padding: 30px 10px;
    text-align: center;
}

.form-balloon {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
    border: 2px solid #2f7d31;
    color: #2f7d31;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 3px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.form-balloon::before,
.form-balloon::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    width: 0;
    height: 0;
}

.form-balloon::before {
    border-width: 11px 11px 0 11px;
    border-color: #2f7d31 transparent transparent transparent;
    z-index: 1;
}

.form-balloon::after {
    border-width: 8px 8px 0 8px;
    border-color: #ffffff transparent transparent transparent;
    z-index: 2;
}


.company {
    background-color: #fdf8ec;
    padding: 30px 0px;
}

.company_contents {
    width: 90%;
    margin: 30px auto 5px;
}

.company-info-list {
    background-color: #ffffff;
    border-radius: 5px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.company-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.company-info-row:last-child {
    margin-bottom: 0;
}

.company-info-list dt {
    width: 120px;
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0;
    margin: 0;
}

.company-info-list dd {
    font-size: 1.4rem;
    margin: 0;
}

.footer {
    background-color: #242f3e;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

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



/* ------------------------------------
 * Contact Form 7 全体スタイル
 * ------------------------------------ */
.custom-cf7-form {
  width: 95%;
  margin: 30px auto;
  padding: 20px 15px;
  box-sizing: border-box;
  border: solid #97ca57 2px;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 22px;
}

/* ラベル & 必須/任意バッジ */
.form-label {
  display: flex;
  align-items: flex-end;
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.sub-label {
  font-size: 1.2rem;
  font-weight: normal;
  color: #333333;
}

.badge {
  margin-left: auto;
  font-size: 1rem;
  padding: 2px 10px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: bold;
}

.badge-required {
  background-color: #ea584c; /* 赤色バッジ */
}

.badge-optional {
  background-color: #999999; /* グレーバッジ */
}

/* テキスト入力・セレクトボックス・テキストエリア共通 */
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #dcdcdc;
  background-color: #f2f2f2;
  border-radius: 3px;
  box-sizing: border-box;
  font-size: 1.4rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-control:focus {
  background-color: #ffffff;
  border-color: #2f7d31;
}

.textarea-control {
  height: 120px;
  resize: vertical;
}

.wpcf7-not-valid-tip {
    text-align: left;
}

.custom-cf7-form br {
  display: none;
}

.wpcf7-list-item {
    margin: 0 !important;
    font-size: 1.4rem;
}
/* ------------------------------------
 * お問い合わせの種類（ボタン風チェックボックス）
 * ------------------------------------ */
.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* 左寄せ指定 */
  gap: 10px; /* ボタン同士の余白 */
}

.check-buttons .wpcf7-list-item {
  display: inline-block;
  margin: 0 !important; /* 余計なマージンをリセット */
  width: calc(50% - 5px); /* 2列並び */
  box-sizing: border-box;
}

.check-buttons label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background-color: #f2f2f2;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  padding: 12px 8px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* チェック時のスタイル（黄緑色） */
.check-buttons .wpcf7-list-item label:has(input:checked) {
  background-color: #c0dd9a;
  border-color: #9ac275;
}

.check-buttons input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #fff;
  cursor: pointer;
}

/* ------------------------------------
 * プライバシーポリシーエリア
 * ------------------------------------ */
/* プライバシーポリシー全体エリア */
.privacy-group {
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: center;
}

.privacy-check {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.privacy-check input[type="checkbox"] {
  margin-right: 6px;
  transform: scale(1.1);
}

/* スクロール枠 */
.privacy-box {
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 15px;
  background-color: #ffffff;
  max-height: 180px; /* 枠の高さ（お好みに合わせて調整可能） */
  overflow-y: auto;  /* 縦スクロールバーを表示 */
  text-align: left;  /* 文章は左揃え */
  box-sizing: border-box;
}

/* スクロールバーのカスタマイズ（標準的で見やすいデザイン） */
.privacy-box::-webkit-scrollbar {
  width: 6px;
}

.privacy-box::-webkit-scrollbar-thumb {
  background-color: #cccccc;
  border-radius: 3px;
}

.privacy-content h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 15px 0 8px 0;
  border-bottom: 2px solid #2f7d31;
  padding-bottom: 3px;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content h4 {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 12px 0 4px 0;
}

.privacy-content p {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.privacy-content ul {
  margin: 0 0 10px 0;
  padding-left: 18px;
}

.privacy-content li {
  margin-bottom: 3px;
}

.privacy-content hr {
  border: 0;
  border-top: 1px dashed #dcdcdc;
  margin: 20px 0;
}

/* ------------------------------------
 * 送信ボタン
 * ------------------------------------ */
.form-submit {
  text-align: center;
  margin-top: 20px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(90deg, #f26c41 0%, #f88651 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  border: solid 2px #fff;
  border-radius: 50px;
  padding: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(255, 91, 0, 0.1);
  transition: transform 0.2s ease, opacity 0.2s ease;
  position: relative;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* 伐採案件向けCV導線 */
body {
    padding-bottom: 68px;
}

.fv {
    text-align: center;
    padding-bottom: 0;
    background: #064c29;
}

.fv-area {
    width: auto;
    margin: 0 0 14px;
    padding: 7px 10px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.fv-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    background-image: url(../img/section03_1@2x.webp);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.fv-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 45, 23, 0.06) 8%, rgba(0, 47, 25, 0.42) 42%, rgba(0, 45, 23, 0.95) 100%);
}

.fv-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 30px 5% 28px;
    box-sizing: border-box;
    color: #fff;
    text-align: left;
}

.fv-eyebrow {
    margin: 0 0 6px;
    color: #fff6a5;
    font-size: 1.5rem;
    font-weight: 700;
}

.fv h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 8.6vw, 4.3rem);
    line-height: 1.28;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.fv-subcopy {
    margin: 12px 0 18px;
    font-size: 1.45rem;
    font-weight: 700;
}

.fv-benefits {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    list-style: none;
}

.fv-benefits li {
    padding: 9px 4px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.94);
    color: #1e6636;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

.fv-action {
    padding: 16px 5% 20px;
    background: #064c29;
}

.fv .cta-tel-link.fv-estimate-button {
    width: 100%;
    margin-top: 0;
    box-sizing: border-box;
    padding: 16px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f26c41, #f88651);
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 5px 0 #b94a28;
}

.fv-phone {
    display: block;
    margin: 16px auto 0;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}

.fv-action > p {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.1rem;
}

.fv-assurances {
    width: 90%;
    margin: 18px auto 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.7;
    font-weight: 700;
    text-align: left;
}

.fv-assurances li::before {
    content: "✓";
    margin-right: 8px;
    color: #c9f178;
    font-size: 1.8rem;
    font-weight: 700;
}

.secondary-services {
    margin: 18px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    padding: 10px;
}

.compact-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.compact-service-card {
    width: 100%;
    margin-bottom: 0;
}

.compact-service-card .card-header {
    padding: 8px;
    font-size: 1.7rem;
}

.compact-service-card .card-body {
    padding: 12px 9px;
}

.compact-service-card .card-lead {
    min-height: 44px;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.compact-service-card .card-img {
    margin-bottom: 10px;
}

.compact-service-card .card-img img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.compact-service-card .card-info-container {
    display: block;
}

.compact-service-card .info-box {
    width: 100%;
    padding: 6px 2px;
}

.compact-service-card .info-title {
    font-size: 1.15rem;
}

.compact-service-card .info-value {
    font-size: 1.1rem;
    white-space: nowrap;
}

.compact-service-card .price {
    font-size: clamp(2.1rem, 7vw, 2.8rem);
}

.compact-services > .secondary-services,
.compact-services > .price-note,
.compact-services > .supported-trees {
    grid-column: 1 / -1;
}

.secondary-services > summary {
    padding: 8px 4px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.secondary-services[open] > summary {
    margin-bottom: 12px;
}

.price-note {
    margin: 15px 2px 0;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: left;
}

.cta-button-text {
    display: block;
    min-width: 100%;
    box-sizing: border-box;
    padding: 16px 12px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f26c41, #f88651);
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
}

.form-priority {
    background: #fffdf7;
    border-top: 8px solid #2f7d31;
}

.early-proof {
    padding: 30px 5%;
    background: #f7f3e8;
    text-align: center;
}

.early-proof-company {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #fff;
    color: #2f7d31;
    font-size: 1.2rem;
    font-weight: 700;
}

.early-proof h2 {
    margin-bottom: 32px;
}

.early-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.early-proof-grid article {
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.early-proof-grid img {
    width: 100%;
}

.early-proof-grid h3 {
    margin: 12px 10px 5px;
    color: #2f7d31;
    font-size: 1.5rem;
}

.early-proof-grid p {
    margin: 0;
    padding: 0 10px 14px;
    font-size: 1.2rem;
    text-align: left;
}

.early-proof-link {
    margin: 18px 0 0;
}

.early-proof-link a {
    color: #2f7d31;
    font-weight: 700;
}

.form-intro {
    width: 92%;
    margin: 24px auto 18px;
    font-size: 1.4rem;
    line-height: 1.8;
}

.mobile-fixed-cta {
    position: fixed;
    z-index: 1200;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    display: grid;
    grid-template-columns: 0.9fr 1.35fr;
    gap: 8px;
    padding: 8px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.18);
}

.mobile-fixed-cta a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
}

.mobile-fixed-phone {
    background: #178246;
    flex-direction: column;
    line-height: 1.1;
}

.mobile-fixed-phone .tel-label {
    font-size: 0.95rem;
    font-weight: 400;
}

.mobile-fixed-phone .tel-number {
    color: #fff;
    font-size: 1.65rem;
}

.mobile-fixed-phone .tel-icon {
    height: 15px;
}

.mobile-fixed-form {
    background: #f26c41;
}

.mobile-fixed-cta.is-hidden {
    display: none;
}

/* FV直下のお悩み別かんたん案内 */
.quick-diagnosis {
    padding: 34px 18px 38px;
    box-sizing: border-box;
    background: #f3f8ee;
    text-align: center;
}

.quick-diagnosis + .section02 {
    margin-top: 0;
}

.diagnosis-kicker {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 14px;
    border-radius: 999px;
    background: #2f7d31;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.quick-diagnosis h2 {
    margin: 0 0 22px;
    color: #244a2b;
}

.diagnosis-intro {
    margin: 0 0 30px;
    font-size: 1.6rem;
    line-height: 1.7;
}

.diagnosis-step-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #244a2b;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: left;
}

.diagnosis-step-title span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2f7d31;
    color: #fff;
}

.diagnosis-step-title b {
    flex: 1;
    font: inherit;
}

.diagnosis-detail-help {
    margin: -6px 0 14px;
    color: #657067;
    font-size: 1.3rem;
    text-align: center;
}

.diagnosis-detail-choices .diagnosis-detail-choice:last-child {
    grid-column: 1 / -1;
}

.diagnosis-step-second {
    margin-top: 0;
}

.diagnosis-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.diagnosis-work-choices {
    grid-template-columns: 1fr;
}

.diagnosis-choice,
.diagnosis-situation-choice,
.diagnosis-detail-choice {
    min-height: 76px;
    padding: 12px 10px;
    border: 2px solid #a9c997;
    border-radius: 9px;
    background: #fff;
    color: #25352a;
    font: inherit;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
}

.diagnosis-choice.is-selected,
.diagnosis-situation-choice.is-selected,
.diagnosis-detail-choice.is-selected {
    border-color: #237331;
    background: #e2f1d9;
    color: #174d22;
    box-shadow: 0 0 0 2px rgba(35, 115, 49, 0.12);
}

.diagnosis-detail-choices {
    gap: 12px;
}

.diagnosis-detail-choice {
    position: relative;
    display: flex;
    min-height: 92px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 8px;
    box-shadow: 0 3px 8px rgba(42, 83, 45, .1);
}

.diagnosis-detail-choice::before {
    content: attr(data-badge);
    display: inline-flex;
    min-width: 48px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: #e3f0dc;
    color: #267035;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.diagnosis-detail-choice.is-selected::before {
    background: #2f7d31;
    color: #fff;
}

.diagnosis-detail-choices .diagnosis-detail-choice:last-child {
    min-height: 60px;
    flex-direction: row;
}

.diagnosis-back,
.diagnosis-restart {
    display: block;
    margin: 16px auto 0;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #276b35;
    font: inherit;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.diagnosis-restart {
    margin-top: 14px;
}

.diagnosis-result {
    margin-top: 18px;
    padding: 20px 16px;
    border: 2px solid #2f7d31;
    border-radius: 10px;
    background: #fff;
    text-align: left;
}

.diagnosis-result h3 {
    margin: 0 0 10px;
    color: #1d5929;
    font-size: 1.9rem;
    line-height: 1.5;
    text-align: center;
}

#diagnosis-result-image {
    float: left;
    width: 42%;
    max-width: 150px;
    aspect-ratio: 4 / 3;
    margin: 2px 14px 8px 0;
    border-radius: 8px;
    object-fit: cover;
}

.diagnosis-result > p:not(.diagnosis-result-label) {
    margin: 0;
    font-size: 1.55rem;
    line-height: 1.75;
}

.diagnosis-price-box {
    clear: both;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #fff5e9;
}

.diagnosis-price-box span {
    color: #5a4638;
    font-size: 1.4rem;
    font-weight: 700;
}

.diagnosis-price-box strong {
    color: #e25531;
    font-size: 2.2rem;
    line-height: 1.3;
}

.diagnosis-offer {
    position: relative;
    clear: both;
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid #efb39e;
    border-radius: 8px;
    background: #fff7f2;
    text-align: center;
}

.diagnosis-offer-label {
    display: inline-block;
    margin-bottom: 4px;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e65f32;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.diagnosis-offer p {
    margin: 0;
}

.diagnosis-offer p strong {
    color: #c94220;
    font-size: 1.55rem;
    line-height: 1.4;
}

.diagnosis-offer small {
    display: none;
}

.diagnosis-result .diagnosis-price-note {
    margin-top: 10px;
    color: #4c554e;
    font-size: 1.2rem;
    line-height: 1.75;
}

.diagnosis-price-note strong {
    color: #237331;
    font-size: 1.3rem;
}

.diagnosis-inline-form-mount {
    clear: both;
    margin-top: 22px;
}

.diagnosis-inline-form-mount:empty {
    display: none;
}

.diagnosis-form-summary {
    margin: 0 0 10px;
    padding: 0;
    text-align: center;
}

.diagnosis-form-summary span,
.diagnosis-form-summary strong,
.diagnosis-form-summary small {
    display: block;
}

.diagnosis-form-summary span {
    color: #526356;
    font-size: 1.25rem;
    font-weight: 700;
}

.diagnosis-form-summary .diagnosis-form-progress {
    display: inline-block;
    margin-bottom: 0;
    padding: 4px 14px;
    border-radius: 999px;
    background: #2f7d31;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: .06em;
}

.diagnosis-form-summary strong {
    margin-top: 3px;
    color: #1e682d;
    font-size: 1.8rem;
    line-height: 1.45;
}

.diagnosis-form-summary small {
    margin-top: 2px;
    color: #4b554d;
    font-size: 1.3rem;
    line-height: 1.55;
}

.diagnosis-form-stage-heading {
    margin: 0 0 14px;
    text-align: center;
}

.diagnosis-form-stage-heading strong,
.diagnosis-form-stage-heading span {
    display: block;
}

.diagnosis-form-stage-heading strong {
    color: #244a2b;
    font-size: 1.75rem;
    line-height: 1.5;
}

.diagnosis-form-stage-heading span {
    margin-top: 4px;
    color: #667068;
    font-size: 1.3rem;
}

.diagnosis-result .form.is-diagnosis-inline {
    width: auto;
    margin: 0;
    padding: 18px 12px;
    border: 2px solid #ef6a37;
    border-radius: 12px;
    background: #fffaf4;
}

.diagnosis-result .form.is-diagnosis-inline .form-balloon {
    display: none;
}

.diagnosis-result .form.is-diagnosis-inline h2 {
    display: none;
}

.diagnosis-result .form.is-diagnosis-inline .form-intro {
    display: none;
}

.diagnosis-result .form.is-diagnosis-inline .diagnosis-auto-field {
    display: none;
}

.diagnosis-result .form.is-diagnosis-inline .form-group {
    margin-bottom: 16px;
}

.diagnosis-result .form.is-diagnosis-inline .custom-cf7-form {
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.diagnosis-result .form.is-diagnosis-inline input[type="text"],
.diagnosis-result .form.is-diagnosis-inline input[type="tel"],
.diagnosis-result .form.is-diagnosis-inline input[type="email"],
.diagnosis-result .form.is-diagnosis-inline select,
.diagnosis-result .form.is-diagnosis-inline textarea {
    min-height: 56px;
    font-size: 16px;
}

.diagnosis-result .form.is-diagnosis-inline textarea {
    min-height: 92px;
}

.diagnosis-privacy-toggle {
    display: none;
}

.diagnosis-result .form.is-diagnosis-inline .diagnosis-privacy-toggle {
    display: block;
    margin: 8px auto 12px;
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: #336f3d;
    font-size: 1.25rem;
    text-decoration: underline;
    cursor: pointer;
}

.diagnosis-result .form.is-diagnosis-inline .form-submit input[type="submit"],
.diagnosis-result .form.is-diagnosis-inline .form-submit button[type="submit"] {
    min-height: 60px;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 1.65rem;
    font-weight: 700;
}

.diagnosis-result .form.is-diagnosis-inline .wpcf7-response-output:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

#form-original-position {
    display: none;
}

.supported-trees {
    margin-top: 28px;
    padding: 20px 14px;
    border: 1px solid #b9d5ad;
    border-radius: 10px;
    background: #f7fbf3;
    text-align: center;
}

.supported-trees-kicker {
    color: #2f7d31;
    font-size: 1.3rem;
    font-weight: 700;
}

.supported-trees h3 {
    margin-top: 5px;
    color: #244a2b;
    font-size: 2rem;
    line-height: 1.45;
}

.supported-trees ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 15px 0 12px;
    padding: 0;
    list-style: none;
}

.supported-trees li {
    min-width: 42px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff;
    color: #285b30;
    font-size: 1.35rem;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(37, 78, 43, 0.12);
}

.supported-trees > p:last-child {
    margin: 0;
    color: #3d4d40;
    font-size: 1.45rem;
    line-height: 1.75;
    text-align: left;
}

.diagnosis-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.diagnosis-action-lead {
    margin: 0 0 -2px;
    color: #b63f20;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.diagnosis-actions a {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 11px 42px 11px 16px;
    border: 2px solid transparent;
    border-radius: 10px;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.diagnosis-actions a::after {
    content: "›";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-53%);
    font-size: 2.8rem;
    line-height: 1;
}

.diagnosis-actions a:active {
    transform: translateY(3px);
}

.diagnosis-form-link {
    background: linear-gradient(90deg, #ed572d, #ff7b3f);
    border-color: #c94d26 !important;
    box-shadow: 0 4px 0 #a93e20, 0 7px 12px rgba(100, 48, 25, 0.2);
}

.diagnosis-form-link::before {
    content: "✉";
    margin-right: 9px;
    font-size: 2.1rem;
    line-height: 1;
}

.diagnosis-form-link:active {
    box-shadow: 0 1px 0 #a93e20, 0 3px 6px rgba(100, 48, 25, 0.16);
}

.diagnosis-phone-link {
    background: #178246;
    border-color: #0f6636 !important;
    box-shadow: 0 4px 0 #0b512a, 0 7px 12px rgba(19, 84, 46, 0.2);
}

.diagnosis-phone-link::before {
    content: "☎";
    margin-right: 9px;
    font-size: 2rem;
    line-height: 1;
}

.diagnosis-phone-link:active {
    box-shadow: 0 1px 0 #0b512a, 0 3px 6px rgba(19, 84, 46, 0.16);
}

/* fv2画像下の地域・見積もり導線 */
.fv:has(> .fv-area) {
    padding-bottom: 20px;
}

.fv > .fv-area {
    width: 90%;
    margin: 18px auto 0;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
}

.fv > .cta-tel-link.fv-estimate-button {
    width: 90%;
    margin-top: 15px;
}

.main-header {
    position: static;
}

/* 65歳以上の利用者を想定した視認性・操作性 */
body {
    font-size: 16px;
    line-height: 1.8;
    padding-bottom: 78px;
}

.section01,
.section02,
.section03,
.section04,
.section05,
.section06,
.section07,
.section08,
.faq,
.form,
.company {
    font-size: 16px;
}

.compact-service-card .card-lead {
    min-height: 50px;
    font-size: 1.45rem;
    line-height: 1.65;
}

.compact-service-card .info-title {
    font-size: 1.4rem;
}

.compact-service-card .info-value {
    font-size: 1.35rem;
}

.price-note {
    font-size: 1.45rem;
    line-height: 1.85;
}

.secondary-services > summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1.6rem;
}

.early-proof-company {
    font-size: 1.4rem;
}

.early-proof-grid h3 {
    font-size: 1.7rem;
}

.early-proof-grid p {
    font-size: 1.5rem;
    line-height: 1.75;
}

.early-proof-link a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    font-size: 1.6rem;
}

.works-disclosure {
    margin-top: 22px;
}

.works-disclosure > summary {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 42px 10px 18px;
    border: 2px solid #238338;
    border-radius: 8px;
    background: #fff;
    color: #17672b;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
    position: relative;
    box-sizing: border-box;
}

.works-disclosure > summary::-webkit-details-marker {
    display: none;
}

.works-disclosure > summary::after {
    content: "＋";
    position: absolute;
    right: 16px;
    font-size: 2rem;
    line-height: 1;
}

.works-disclosure[open] > summary::after {
    content: "－";
}

.works-disclosure #works {
    margin-top: 16px;
}

.case-text,
.voice-bubble,
.content-text-lead,
.attention-lead,
.attention-label {
    font-size: 1.6rem;
    line-height: 1.85;
}

.city-list li {
    font-size: 1.5rem;
    line-height: 1.8;
}

.area-summary {
    min-height: 58px;
    box-sizing: border-box;
    font-size: 1.7rem;
}

.faq-question-area {
    min-height: 64px;
    box-sizing: border-box;
}

.faq-text {
    font-size: 1.65rem;
    line-height: 1.55;
}

.faq-q,
.faq-a {
    font-size: 2rem;
}

.faq-answer-content p {
    font-size: 1.6rem;
    line-height: 1.85;
}

.form-intro,
.form-label,
.form-control,
.privacy-check,
.company-info-row dt,
.company-info-row dd {
    font-size: 1.6rem;
    line-height: 1.75;
}

.form-control {
    min-height: 52px;
}

textarea.form-control {
    min-height: 150px;
}

.check-buttons label,
.wpcf7-list-item label {
    min-height: 52px;
    font-size: 1.6rem;
}

.btn-submit,
.cta-button-text {
    min-height: 58px;
    font-size: 1.8rem;
}

.cta-copy,
.cta-hours,
.area-title,
.area-text {
    font-size: 1.5rem;
    line-height: 1.7;
}

.mobile-fixed-cta {
    min-height: 70px;
}

.mobile-fixed-cta a {
    min-height: 54px;
    font-size: 1.6rem;
}

.mobile-fixed-phone .tel-label {
    font-size: 1.1rem;
}

.mobile-fixed-phone .tel-number {
    font-size: 2rem;
}

@media (max-width: 400px) {
    .mobile-fixed-cta {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 6px;
        padding: 6px;
    }

    .mobile-fixed-phone .tel-label,
    .mobile-fixed-phone .tel-number {
        white-space: nowrap;
    }

    .mobile-fixed-phone .tel-number {
        font-size: 1.8rem;
    }

    .mobile-fixed-form {
        font-size: 1.45rem;
        white-space: nowrap;
    }
}

@media (max-width: 370px) {
    .mobile-fixed-phone .tel-number {
        font-size: 1.75rem;
    }

    .mobile-fixed-cta a {
        font-size: 1.45rem;
    }
}

/* ------------------------------------
 * サンクスページ スタイル
 * ------------------------------------ */

.thanks-container {
    padding: 20px 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.thanks-card {
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.thanks-icon {
    width: 60px;
    height: 60px;
    background-color: #e8f5e9;
    color: #2f7d31;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 15px auto;
}

.thanks-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2f7d31;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.thanks-lead {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.thanks-flow {
    background-color: #fdf8ec;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px 15px;
    margin-bottom: 25px;
    text-align: left;
}

.thanks-flow h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    text-align: center;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.flow-list li:last-child {
    margin-bottom: 0;
}

.step-num {
    background-color: #2f7d31;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.4rem;
    padding: 3px 8px;
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-text {
    font-size: 1.2rem;
    line-height: 1.5;
}

.step-text strong {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 2px;
}

.thanks-note {
    color: #666666;
    text-align: left;
    margin-bottom: 30px;
}

.thanks-note p {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.thanks-tel-wrap {
    margin-bottom: 35px;
}

.tel-label2 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #f24141;
    margin: 0 0 8px 0;
}

.thanks-tel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f24141;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.thanks-tel-btn:hover {
    transform: translateY(-2px);
}

.thanks-tel-btn .tel-icon {
    height: 24px;
    width: auto;
}

.tel-hours {
    display: block;
    font-size: 1.2rem;
    color: #666666;
    margin-top: 6px;
}

.btn-home {
    display: inline-block;
    background-color: #666666;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 12px 35px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.btn-home:hover {
    background-color: #444444;
}
