/* 共通スタイル */
:root {
    --primary-color: #fe6e0b;
    --main-color: #2755A8;
    --secondary-color: #F2F9FE;
    --background-light: #ffffff;
    --text-color: #222222;
    --highlight-color: #518bff;
    --section-padding: 60px 0;
    --navy-accent: #013183;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0;
}

p{
    margin-bottom: 0;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}

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

strong {
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    line-height: 1.3;
}

span.yellow-highlight {
    background: linear-gradient(transparent 60%, #fbefbb 0%);
    display: inline;
    padding: 0 1px 0px;
    font-weight: 700;
}

.orange-text {
    color: #fe6e0b;
}

.flex-br {
    display: inline-block;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
@media screen and (max-width:768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}
.page section h2:not(.single-post-title) {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 700;
    color: #342246;
}
@media screen and (max-width:768px) {
    .page section h2:not(.single-post-title) {
        font-size: 26px;
        margin-bottom: 24px;
    }
}

.page section h2:not(.single-post-title) {
    color: var(--main-color);
}

/*  */
/* ヘッダー */
/*  */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px 32px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    z-index: 50;
    transition: box-shadow 0.3s ease;
}
.header-main {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.header-logo {
    width: 240px;
    height: 31px;
}

.header-title {
    width: fit-content;
    font-family: 'Zen Maru Gothic', Helvetica;
    font-weight: bold;
    color: #020953;
    font-size: 24px;
    line-height: 24px;
    white-space: nowrap;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 20px;
    border-radius: 100px;
}

.header-phone-icon {
    width: 25px;
}

.header-phone-number {
    font-family: 'Noto Sans JP', Helvetica;
    font-size: 32px;
    text-align: right;
    line-height: normal;
    font-weight: bold;
    white-space: nowrap;
}
.header-phone-number a {
    color: #333333;
}

.header-mail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 20px 7px;
    background-color: #fb932b;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.5s;
}

.header-mail-button:hover {
    background-color: #e88520;
}

.header-mail-icon {
    width: 22.6px;
}

.header-mail-text {
    font-family: 'Zen Maru Gothic', Helvetica;
    font-weight: bold;
    color: white;
    font-size: 24px;
    text-align: right;
    line-height: normal;
}
header nav.header-nav {
    border: none;
    transition: all 0.3s;
}
header .header-nav ul {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin-bottom: 0;
}
header .header-nav ul li a  {
    color: #333333;
    font-size: 18px;
}
.openbtn {
    position: relative;
    z-index: 2000;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    display: none;
}
@media screen and (max-width:768px) {
    .openbtn {
        display: block;
    }
}
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    background: var(--navy-accent);
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 13px;
}
.openbtn span:nth-of-type(2) {
    top: 19px;
}
.openbtn span:nth-of-type(3) {
    top: 25px;
}
.openbtn span:nth-of-type(3)::after {
    content: "Menu";
    position: absolute;
    top: 5px;
    left: -1px;
    color: var(--navy-accent);
    font-size: 0.6rem;
    text-transform: uppercase;
}
.sp-header-nav {
    display: none;
}
body.active {
    overflow: hidden;
}
body.active .sp-header-nav {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(255, 255, 255, 1);
    padding: 60px 30px 30px 30px;
}
.sp-header-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    border-top: none;
}
.sp-header-menu li a {
    color: var(--text-color);
    font-weight: 700;
    padding-top: 12px;
    padding-bottom: 12px;
    display: block;
    height: auto;
    line-height: normal;
}
.sp-header-menu li {
    border-bottom: none;
}
.sp-header-menu li:not(:first-child) a {
    border-top: 1px solid #b3b3b3;
}
.sp-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.sp-contact p {
    font-size: 14px;
}
.sp-contact .sp-phone-number-container {
    width: 100%;
}
/* レスポンシブ対応 */
@media screen and (min-width:1025px) and (max-width: 1440px) {
    .header {
        padding: 16px;
    }
    .header-phone-icon {
        width: clamp(1rem, -0.3893rem + 2.1687vw, 1.5625rem);
    }
    .header-phone-number {
        font-size: clamp(1.5rem, 0.2651rem + 1.9277vw, 2rem);
    }
    .header-mail-icon {
        width: clamp(1.125rem, 0.4149rem + 1.1084vw, 1.4125rem);
    }
    .header-mail-text {
        font-size: clamp(1.125rem, 0.1988rem + 1.4458vw, 1.5rem);
    }
    .header-contact {
        gap: 8px;
    }
}
@media (max-width: 1024px) {
    .header {
        height: auto;
        padding: 16px;
    }
    .header-contact {
        position: absolute;
        top: 5px;
        right: 5px;
    }
    .header-phone-icon {
        width: 16px;
    }
    .header-phone-number {
        font-size: 24px;
    }
    .header-mail-icon {
        width: 18px;
    }
    .header-mail-text {
        font-size: 18px;
    }
    header .header-nav ul li a  {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 8px;
    }
    .header-contact {
        display: none;
    }
    .header-phone-number {
        font-size: 24px;
    }

    .header-title {
        font-size: 18px;
    }

    .header-mail-text {
        font-size: 18px;
    }
    header nav.header-nav {
        display: none;
    }
}
@media screen and (max-width: 500px) {
    .header-title {
        font-size: clamp(0.75rem, 0.0833rem + 3.3333vw, 1.125rem);
    }
}


/*  */
/* フッター */
/*  */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 32px 10px;
    width: 100%;
    color: var(--text-color);
    background-color: #fffefb;
}
.footer .footer-logo {
    text-align: center;
    margin-bottom: 60px;
}
.footer .footer-logo img {
    max-width: 400px;
    width: 100%;
}
.footer-content {
    font-size: 16px;
    line-height: 26px;
}
.footer .area-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;

}
.footer .area-items {
    list-style: none;
}
footer .area-item {
    width: 28%;
}
footer .area-item a {
    color: var(--text-color);
}
.footer .copyright {
    font-size: 16px;
    text-align: center;
    color: black;
    line-height: 26px;
    white-space: nowrap;
    margin-top: 32px;
}
@media screen and (max-width:768px) {
    footer .area-item {
        width: 45%;
    }
}
@media screen and (max-width:480px) {
    footer .area-item {
        width: 100%;
    }
}


main {
    padding-top: 73px;
}

/*  */
/* メインビジュアルセクション */
/*  */
.main-visual {
    background-color: var(--secondary-color);
    padding: 60px;
    position: relative;
    width: 100%;
}
.main-visual-inner {
    position: relative;
    background: url(https://www.kotegawa-law.com/wp-content/themes/houmu/assets/images/kensetsu-kasuhara/mainvisual-img.jpg);
    background-color: #ffffff;
    border-radius: 50px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    padding: 60px 45px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1440px;
}
.main-visual .content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}
.main-visual_textblock {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.main-visual-lead {
    font-family: serif;
    font-weight: bold;
    font-size: clamp(1.25rem, 1.181rem + 4.2433vw, 5rem);
    line-height: 1.3;
}
.main-heading {
    position: relative;
    font-weight: 700;
}
.main-heading p {
    position: relative;
    z-index: 2;
    font-size: clamp(1.125rem, 1.1089rem + 0.9901vw, 2rem);
    line-height: 1.6;
}
.main-visual-appeal {
    max-width: 640px;
    width: 60%;
}
.stats-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 25px;
    margin-bottom: 25px;
}
.online-badge {
    width: 100%;
    padding: 10px 20px;
    background-color: var(--main-color);
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.online-badge span {
    font-weight: bold;
    font-size: 32px;
}
@media screen and (max-width: 1024px) {
    .main-visual {
        padding: 32px;
    }
    .main-visual .content {
        flex-direction: column;
    }
    .online-badge span {
        font-size: 23px;
    }
}
@media screen and (max-width: 640px) {
    .main-visual {
        padding: 16px;
    }
    .main-visual-inner {
        background: none;
        padding: 0;
        border-radius: 20px;
    }
    .main-visual .content {
        gap: 0;
    }
    .main-visual_textblock {
        background: url(https://www.kotegawa-law.com/wp-content/themes/houmu/assets/images/kensetsu-kasuhara/kensetsu-kasuhara-mv_sp.jpg);
        background-color: #ffffff;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        padding: 50px 16px;
        gap: 16px;
        border-radius: 20px;
    }
    .main-visual-lead {
        font-size: clamp(1.5rem, 0.125rem + 6.875vw, 2.875rem);
    }
    .main-heading p {
        font-size: clamp(1rem, 0.375rem + 3.125vw, 1.625rem);
        line-height: 1.6;
    }
    .main-visual-appeal {
        width: 100%;
        padding: 16px;
        background-color: transparent;
    }
}


/*  */
/* 悩みセクション */
/*  */
.concerns-section {
    padding: var(--section-padding);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.concerns-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.concern-card {
    width: 100%;
    background: transparent;
}

.concern-card-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.concern-image-container {
    width: 433px;
    height: 293px;
    box-shadow: 10px 10px 0px 0px var(--main-color);
    background: url(https://www.kotegawa-law.com/wp-content/themes/houmu/assets/images/hoiku-kasuhara/nayami-img01.png) 50% 50% / cover;
}

.concern-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concern-quotes-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.highlight-1 {
    width: 401px;
    height: 12px;
    top: 228px;
}

.highlight-2 {
    width: 241px;
    height: 12px;
    top: 201px;
    left: 273px;
}

.concern-quote {
    font-weight: bold;
    color: #fe6e0b;
    font-size: 20px;
    line-height: 26px;
}

.concern-text {
    font-weight: normal;
    color: black;
    font-size: 16px;
    line-height: 26px;
}

.highlight-text {
    color: #fe6e0b;
}

.concern-text-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.concern-chart-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
}

.concern-chart {
    width: 292px;
    height: 292px;
    object-fit: cover;
}

.chart-caption {
    font-weight: normal;
    font-size: 16px;
    text-align: center;
    line-height: normal;
}

.chart-source {
    color: #518bff;
    font-size: 14px;
}

@media (max-width: 768px) {
    .concern-card-content .concern-quotes-container {
        order: -1;
    }
    .concern-quote {
        font-size: 18px;
    }
    .concern-image-container {
        height: auto;
    }
    .concern-chart-container {
        padding: 0;
    }
}

/*  */
/* リスクセクション */
/*  */
#risk {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.risk-content {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    margin-bottom: 32px;
}
.risk-content>* {
    width: 50%;
}
.risk-content img {
    object-fit: contain;
}
.risk-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
} 
.risk-item .risk-item-title {
    font-size: 20px;
    font-weight: 700;
}
.risk-item .risk-item-title1 {
    color: #F99539;
}
.risk-item .risk-item-title2 {
    color: #DE58A9;
}
.risk-item .risk-item-title3 {
    color: #BA5DE5;
}
.risk-item .risk-item-title4 {
    color: #7F64EA;
}
.risk-item .risk-item-title5 {
    color: #4E88E7;
}
@media screen and (max-width:768px) {
    .risk-content {
        flex-direction: column;
    }
    .risk-content>* {
        width: 100%;
    }
}

/*  */
/* パターンセクション */
/*  */
#pattern {
    padding: var(--section-padding);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#pattern .container {
    display: flex;
    flex-direction: column;
    align-items: center;
} 
.pattern-content {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 100%;
    margin-bottom: 32px;
}
.pattern-item {
    max-width: 380px;
    padding: 16px;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
}
.pattern-item img {
    width: calc(100% - 10px);
    margin: auto 10px 24px auto;
    box-shadow: 10px 10px 0 0 var(--main-color);
}
.pattern-item h3 {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}
.pattern-item hr {
    margin-top: 8px;
    margin-bottom: 18px;
}
.pattern-bottom {
    display: inline-block;
    margin: 0 auto;
}
.pattern-bottom p {
    margin-bottom: 8px;
}
#pattern ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}
#pattern li {
    list-style: disc;
    margin-left: 16px;
    line-height: 1.3;
}

/*  */
/* 解決事例セクション */
/*  */
.solution-section {
    padding: var(--section-padding);
    background-color: #ffeedc;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.solution-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.solution-card {
    width: 100%;
    border: none;
    box-shadow: none;
}

.solution-card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #fffdfb;
    padding: 30px 30px 30px 35px;
}

.solution-title {
    font-weight: bold;
    color: #fe6e0b;
    font-size: 24px;
    line-height: normal;
    margin-bottom: 10px;
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background-color: #fe6e0b;
    align-self: flex-start;
    margin-bottom: 10px;
}

.solution-badge span {
    color: white;
    font-size: 16px;
    line-height: 32px;
    white-space: nowrap;
    font-weight: bold;
}

.consultation-content,
.solution-content {
    width: 100%;
    margin-bottom: 15px;
}

.consultation-content p,
.solution-content p {
    font-weight: normal;
    font-size: 16px;
    line-height: 32px;
    color: black;
}

.highlight-text-bg {
    font-weight: bold;
    position: relative;
    display: inline;
}

.highlight-text-bg::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 12px;
    background-color: #fbefbb;
    z-index: -1;
}

.solution-conclusion {
    width: 100%;
}

.solution-conclusion p {
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    color: black;
    margin-bottom: 8px;
}

@media screen and (max-width:768px) {
    .solution-title {
        font-size: 21px;
    }
    .solution-card-content {
        padding: 16px;
    }
}

/*  */
/* メリットセクション */
/*  */
.benefits-section {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.benefits-lead {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 900px;
}

.benefits-lead p {
    line-height:1.6;
}

.lawyer-comparison {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 150px;
    align-items: center;
    position: relative;
}

.lawyer-card {
    display: flex;
    flex-direction: column;
    width: 360px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px 32px;
    border: none;
}

.before-lawyer {
    background-color: #ffffff;
}

.after-lawyer {
    background-color: #fff2ef;
}

.lawyer-card h3 {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    line-height: normal;
    width: 100%;
    margin-bottom: 0;
}

.before-lawyer h3 {
    color: #2e2e2e;
}

.after-lawyer h3 {
    color: #fe6e0b;
}

.separator {
    width: 65px;
    height: 1px;
    background-color: black;
}

.lawyer-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.lawyer-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.item-icon {
    width: 30px;
    height: 22px;
    object-fit: cover;
}

.before-lawyer .lawyer-item span {
    color: black;
    font-size: 18px;
    text-align: center;
    line-height: normal;
}

.after-lawyer .lawyer-item span {
    font-weight: bold;
    color: #fe6e0b;
    font-size: 18px;
    text-align: center;
    line-height: normal;
}

.layer-icon {
    position: relative;
    width: 25px;
    height: 22px;
    background-image: url(https://www.kotegawa-law.com/wp-content/themes/houmu/assets/images/hoiku-kasuhara/layer-1.png);
    background-size: 100% 100%;
}

.group-icon-container {
    position: relative;
    width: 22px;
    height: 22px;
}

.group-icon {
    position: absolute;
    width: 20px;
    height: 22px;
    top: 0;
    left: 1px;
}

.center-circle {
    display: flex;
    flex-direction: column;
    width: 175px;
    height: 175px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background-color: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgb(246, 233, 178) 0%, rgb(217, 137, 51) 100%);;
}

.circle-text {
    font-weight: bold;
    color: black;
    font-size: 24px;
    text-align: center;
    line-height: normal;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 50vh;
}

.benefits-conclusion {
    width: fit-content;
    font-family: 'Noto Sans JP', Helvetica;
    font-weight: normal;
    text-align: center;
    line-height: 26px;
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .problem-cards-container {
        gap: 24px;
    }
    .problem-card {
        width: 250px;
    }
    .problem-card-title {
        margin-top: 0;
        font-size: 21px;
    }
}
@media screen and (max-width: 768px) {
    .lawyer-comparison {
        position: relative;
        flex-direction: column;
    }
    .lawyer-card {
        position: relative;
        width: 100%;
        max-width: 400px;
        padding: 24px 18px;
    }
    .lawyer-items {
        width: auto;
    }
    .center-circle {
        position: absolute;
        margin: 0 auto;
    }

    .problem-cards-container {
        gap: 42px;
    }
    .benefits-conclusion {
        text-align: left;
    }
    .benefits-conclusion .flex-br {
        display: inline;
    }
}


/* 無料相談セクション */
.cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 56px 24px;
    width: 100%;
    background-color: var(--main-color);
    color: #ffffff;
}
.page section.cta-section h2.cta-title {
    color: #ffffff;
}
.cta-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    line-height: normal;
    margin-bottom: 0;
    margin-bottom: 0 !important;
}

.cta-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.feature-badge {
    background-color: white;
    padding: 5px 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.feature-badge span {
    font-weight: bold;
    color: var(--main-color);
    font-size: 16px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
}

@media (min-width: 769px) {
    .contact-options {
        flex-direction: row;
        gap: 60px;
    }
}

.phone-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.pc-phone-number-container {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 auto;
}
.sp-phone-number-container {
    display: none;
}

.phone-icon {
    width: 32px;
}

.phone-number {
    font-family: 'Noto Serif JP', Helvetica;
    color: #ffffff;
    font-size: 50px;
    line-height: 26px;
    font-weight: bold;
    white-space: nowrap;
}

.reception-hours {
    font-family: 'Inter', Helvetica;
    font-size: 16px;
    text-align: center;
    width: 100%;
}

.email-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 340px;
    height: 60px;
    border-radius: 150px;
    background: linear-gradient(to bottom right, #fc932b, #f3c99f);
    color: white;
    font-size: 21px;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.contact-button:hover {
    color: #ffffff;
}
.mail-icon {
    width: 23px;
    height: 16px;
    background-image: url(https://www.kotegawa-law.com/wp-content/themes/houmu/assets/images/hoiku-kasuhara/group.png);
    background-size: 100% 100%;
    margin-right: 8px;
}

.arrow-icon {
    position: absolute;
    width: 13px;
    height: 14px;
    right: 20px;
}

.email-reception {
    text-align: center;
}

.contact-note {
    text-align: center;
    line-height: 26px;
}
@media screen and (max-width:1024px) {
    .phone-icon {
        width: 26px;
    }
    .phone-number {
        font-size: 32px;
        line-height: 1;
    }
    .phone-contact {
        width: 100%;
    }
    .email-contact {
        width: 100%;
    }

}
@media screen and (max-width:768px) {
    .cta-title {
        font-size: 28px;
    }
    .contact-button {
        max-width: 340px;
        width: 100%;
        font-size: 18px;
    }
    .arrow-icon {
        right: 15px;
    }
    .pc-phone-number-container {
        display: none;
    }
    .sp-phone-number-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        background: #ffffff;
        color: #FC932B;
        font-size: 25px;
        font-weight: 700;
        width: 100%;
        max-width: 340px;
        border: 2px solid #FC932B;
        margin: 0 auto;
        padding: 15px 20px 17px;
        border-radius: 50vh;
    }
    
    .phone-number {
        font-size: 26px;
        line-height: 1;
        padding-bottom: 2px;
        color: var(--primary-color);
    }
}

/* サポートセクション */
.support-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: var(--section-padding);
    background: linear-gradient(180deg, rgba(255, 254, 251, 1) 0%, rgba(255, 238, 220, 1) 100%);
}

.support-container {
    width: 100%;
    max-width: 1440px;
}

.support-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.support-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.support-desc {
    text-align: center;
    color: black;
    line-height: 26px;
}

.support-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1100px;
}

.support-item.right {
    justify-content: flex-end;
}

.support-item-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    background-color: #fbf0f0;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.support-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.support-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
}

h3.support-title {
    width: fit-content;
    color: #fe6e0b;
    font-size: 50px;
    text-align: center;
    line-height: 48px;
}

.support-number {
    font-weight: bold;
}

.support-title-text {
    font-weight: bold;
    font-size: 32px;
}

.support-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.support-details p {
    line-height: 26px;
}

.support-benefit-container {
    position: relative;
}

.support-benefit-highlight {
    position: absolute;
    height: 12px;
    background-color: #fbefbb;
    width: 100%;
    top: 26px;
    left: 34px;
    z-index: 1;
}

.support-benefit {
    position: relative;
    font-weight: bold;
    color: black;
    font-size: 24px;
    line-height: normal;
    padding-left: 28px;
    z-index: 2;
}

.benefit-icon {
    position: absolute;
    width: 17px;
    height: 21px;
    top: 6px;
    left: 6px;
}

.support-bottom {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 45px;
    background-size: cover;
    background-position: 50% 50%;
}

.support-bottom-desc {
    text-align: center;
    color: black;
    line-height: 26px;
}
@media screen and (max-width:768px) {
    .support-benefit {
        font-size: 21px;
    }
}


/* 相談ラッパーセクション */
.consultation-wrapper-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 60px 24px;
    width: 100%;
    background-color: #ffeedc;
}

.mail-icon-alt {
    background-image: url(https://www.kotegawa-law.com/wp-content/themes/houmu/assets/images/hoiku-kasuhara/group-3.png);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .support-item-content {
        flex-direction: column;
    }
    .support-items {
        gap: 80px;
    }
    .support-item,
    .support-item.right {
        justify-content: center;
    }
    .support-text {
        width: 100%;
        align-items: center;
    }

    h3.support-title {
        position: relative;
        text-align: center;
        line-height: 26px;
    }
    .support-title-text {
        font-size: 26px;
        line-height: 1;
    }
    .support-number {
        position: absolute;
        top: -5px;
        left: 0;
        transform: translateY(-100%);
    }
    .support-details {
        align-items: center;
        text-align: center;
    }
    .consultation-wrapper-section {
        padding: 60px 16px;
    }
}

/*  */
/* 園長先生におすすめですセクション */
/*  */
.enhancement-section {
    background-color: #fffefb;
    padding: var(--section-padding);
    width: 100%;
}

.enhancement-card {
    margin: 0 auto;
    border: none;
    background-color: transparent;
}

.enhancement-card-content {
    padding: 0;
}

.enhancement-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #342246;
    margin-bottom: 32px;
}

.enhancement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.enhancement-image-container {
    position: relative;
}

.enhancement-image {
    width: 310px;
    min-width: 310px;
    height: 210px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 10px 10px 0px 0px rgba(251, 239, 187, 1);
}

.enhancement-checklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}


.enhancement-checkbox {
    margin-top: 4px;
    appearance: none;
    background-color: #fff;
    border: 2px solid #fe6e0b;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    position: relative;
}

.enhancement-checkbox::after {
    content: "";
    position: absolute;
    display: block;
    width: 6px;
    height: 12px;
    border: solid #fe6e0b;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    top: 1px;
    left: 6px;
}

.enhancement-checkbox-label {
    color: black;
    line-height: 32px;
}

.enhancement-footer {
    text-align: center;
    margin-top: 32px;
    color: black;
    line-height: 26px;
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .enhancement-image {
        width: 100%;
        max-width: 310px;
        min-width: auto;
        height: auto;
    }
    .enhancement-container {
        flex-direction: column;
        align-items: center;
    }

    .enhancement-checklist {
        min-width: auto;
        width: 100%;
    }
}

/*  */
/* 弁護士法人グレイスの特徴セクション */
/*  */
.features-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 45px 10px !important;
    width: 100%;
    background-color: white;
}

.features-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
}

.features-title {
    text-align: center;
    margin-bottom: 32px;
    font-size: 36px;
    font-weight: 700;
    color: #342246;
    white-space: nowrap;
}

.features-main-image {
    width: 100%;
    height: auto;
    max-height: 647px;
    object-fit: cover;
    margin-bottom: 32px;
}

.features-card {
    border: none;
    box-shadow: none;
}

.features-card-content {
    padding: 0;
}

.features-flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
}

.features-image-container {
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .features-image-container {
        width: auto;
    }
}
@media screen and (max-width:768px) {
    .features-image-container {
        text-align: center;
    }
}

.features-secondary-image {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.features-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.features-highlight {
    width: 446px;
    height: 12px;
    background-color: #fbefbb;
    position: absolute;
    top: 40px;
    left: 30px;
}

.features-paragraph {
    position: relative;
    align-self: stretch;
    line-height: 26px;
}

.features-paragraph.orange {
    color: #fb932b;
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .features-highlight {
        width: 100%;
        max-width: 300px;
        left: 0;
    }
}

/*  */
/* 顧問弁護士料金セクション */
/*  */
.pricing-section {
    padding: 48px 16px;
    background-color: white;
    width: 100%;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.pricing-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: #342246;
}

.pricing-card {
    width: 100%;
    border: 3px solid #fe6e0b;
    overflow: hidden;
}

.pricing-banner {
    display: flex;
    flex-wrap: wrap;
}

.pricing-banner-left {
    flex: 1;
    background-color: #fe6e0b;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-banner-text {
    font-weight: bold;
    color: white;
    font-size: 32px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 42px;
    white-space: nowrap;
}

.pricing-banner-right {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-monthly-text {
    font-weight: bold;
    color: #fe6e0b;
    font-size: 32px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 32px;
}

.pricing-price-container {
    font-weight: bold;
    text-align: center;
}

.pricing-price-tax {
    color: #fe6e0b;
    letter-spacing: 0.29px;
}

.pricing-price {
    color: #fe6e0b;
    font-size: 48px;
    letter-spacing: 1.15px;
    line-height: 48px;
}

.pricing-price-suffix {
    color: #fe6e0b;
    font-size: 32px;
    letter-spacing: 0.51px;
    line-height: 32px;
}

.pricing-table-container {
    width: 100%;
}

.pricing-table-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px;
    background-color: #ececec;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pricing-table-label:hover {
    background-color: #e0e0e0;
}

.pricing-table-label-text {
    font-weight: bold;
    color: black;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 41px;
    white-space: nowrap;
    margin-bottom: 0;
}

.pricing-table-label-icon {
    width: 18.19px;
    height: 15.75px;
    transition: transform 0.3s ease;
}

.pricing-table-wrapper {
    padding-top: 59px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    background-color: white;
}

.pricing-table {
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.pricing-table-head {
    background-color: white;
}

.pricing-table-head-cell {
    width: 150px;
    background-color: white;
}

.pricing-plan-header {
    background-color: #999999;
    padding: 24px;
    position: relative;
}

.pricing-plan-header.basic {
    background-color: #013183;
}

.pricing-plan-name {
    font-weight: bold;
    color: white;
    font-size: 15px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 28.8px;
}

.pricing-recommended-badge {
    position: absolute;
    width: 100%;
    height: 29px;
    top: -25px;
    background-color: #fb8715;
}

.pricing-recommended-text {
    font-weight: 900;
    color: white;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 16.8px;
    white-space: nowrap;
    padding: 6px 8px;
}

.pricing-recommended-arrow {
    position: absolute;
    width: 18px;
    height: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-table-body {
    width: 100%;
}

.pricing-table-cell {
    border: 1px solid #d5d5d5;
    padding: 8px;
    vertical-align: middle;
}

.pricing-table-cell.header {
    background-color: #f5f5f5;
}

.pricing-table-tooltip {
    color: #1d357b;
    font-size: 10px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 18px;
}

.pricing-plan-description {
    color: #333333;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 19.2px;
}

.pricing-row-title {
    font-weight: bold;
    color: #1d357b;
    font-size: 14px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 14px;
}

.pricing-fee-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-fee {
    font-weight: bold;
    color: #333333;
    font-size: 20px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 28.8px;
}

.pricing-fee-suffix {
    font-weight: 300;
    font-size: 14px;
    margin-left: 4px;
}

.pricing-fee-tax {
    font-weight: 300;
    color: #333333;
    font-size: 13px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 28.8px;
}

.pricing-cell-highlight {
    background-color: #fcf8e3;
    width: 100%;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-check-icon {
    height: 15px;
    width: 15px;
    background-size: cover;
    background-position: center;
}

.pricing-feature-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-feature-text {
    font-weight: 300;
    color: #333333;
    font-size: 14px;
    text-align: center;
    letter-spacing: 1.6px;
    line-height: 28.8px;
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .pricing-banner-left {
        padding: 16px;
    }
    .pricing-banner {
        flex-direction: column;
    }
    .pricing-banner-text {
        font-size: 26px;
        line-height: 1;
        padding-bottom: 4px;
    }
    .pricing-table-wrapper {
        padding: 32px 8px 16px;
    }
    .pricing-banner-right {
        padding: 24px 8px;
    }
    .pricing-monthly-text {
        font-size: 26px;
        margin-bottom: 8px;
    }
    .pricing-price {
        font-size: 42px;
    }
}

/*  */
/*顧問料金表*/
/*  */
.feeTable {
	margin: 0 0 50px;
	padding-top: 65px;
}
.feeTable .pc {
    display: block;
}
.feeTable .sp {
    display: none;
}
.feeTable table {
    width: 100%;
    min-width: 600px;
    border-spacing: 4px;
    border-bottom: 1px solid #d5d5d5;
	width: 100%;
}
.feeTable table tr th {
	background-color: #f5f5f5;
	border-bottom: 1px solid #999;
	position: relative;
	padding: 20px 10px;
	width: 13% !important;
}
.feeTable table tr td {
	border-bottom: 1px solid #999;
	border-left: 1px dotted #999;
	padding: 15px 0;
	text-align: center;
	width: 19%;
}
.feeTable table tr.fee td strong {
	display: inline-block;
	font-size: 20px;
	margin-right: 2px;
}
.feeTable table tr td .mark {
	display: block;
}
.feeTable table tr td .mark img {
	width: 15px;
}
.feeTable table tr td .mark + .txt {
	display: block;
	margin-top: 10px;
}
.feeTable table tr td strong.num {
	display: inline-block;
	font-size: 17px;
	margin-right: 2px;
}
.feeTable table tr td .small {
	font-size: 13px;
}

@media screen and (max-width: 768px) {
	.feeTable {
		font-size: 13px;
		overflow: scroll;
        padding-top: 32px;
	}
    .feeTable .pc {
        display: none;
    }
    .feeTable .sp {
        display: block;
    }
	.feeTable table {
		display: table!important;
		margin-top: 60px;
		width: 475px!important;
	}
    .feeTable table tbody {
		display: table-row-group!important;
	}
	.feeTable table tr {
		display: table-row!important;
	}
	.feeTable table td, .feeTable table th {
		display: table-cell!important;
	}
	.feeTable table tr th {
		width: 95px!important;
	}
	.feeTable table tr td {
		width: 95px!important;
	}
	.feeTable table tr.fee td strong {
		font-size: 16px;
	}
	.feeTable table tr td .mark {
		background-color: #fff!important;
	}
	.feeTable table tr td .mark img {
		width: 15px!important;
	}
	.feeTable table tr td .mark + .txt {
		display: block;
		margin-top: 10px;
	}
	.feeTable table tr td strong.num {
		display: inline-block;
		font-size: 17px;
		margin-right: 2px;
	}
	.feeTable table tr td .small {
		font-size: 13px;
	}
}


/*プラン名*/
.feeTable table tr.plan th, .feeTable table tr.plan td {
	background-color: #fff;
	border-bottom: none;
	border-left: 1px solid #fff;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	padding: 5px 1px;
}
.feeTable table tr.plan td span {
	display: block;
	background-color: #999;
	box-sizing: border-box;
	padding: 20px 10px;
	width: 100%;
}
.feeTable table tr.plan td.recommend {
	position: relative;
}
.feeTable table tr.plan td.recommend span {
	background-color: #013183;
	padding: 25px 10px;
}
.feeTable table tr.plan td.recommend strong {
    width: 100%;
	position: absolute;
	top: -45px;
    transform: translateX(-50%);
	/*left: 0;*/
	background-color: #fb8715;
	box-sizing: border-box;
	font-size: 12px;
	line-height: 1.4;
	padding: 6px;
}
.feeTable table tr.plan td.recommend strong:after {
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(251, 135, 21, 0);
	border-top-color: #fb8715;
	border-width: 10px;
	margin-left: -10px;
}

.feeTable table tr.planTxt th {
	background-color: #fff;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.8;
}

.feeTable table tr.planTxt td {
	line-height: 1.6;
	vertical-align: middle;
	padding: 13px 5px !important;
}

.feeTable table tr.planTxt td p {
	margin-bottom: 0;
	font-size: 14px;
}

.feeTable table tr.planTxt td p.ex {
	text-align: left;
	margin-top: 5px;
}

.feeTable table tr.planTxt td ul {
	text-align: left;
	margin-bottom: 0;
}

.feeTable table tr.planTxt td ul li {
	display: flex;
	font-size: 12px !important;
}

@media screen and (max-width: 768px) {
	.feeTable table tr.plan th, .feeTable table tr.plan td {
		font-size: 14px;
		padding: 5px 0;
	}
	.feeTable table tr.plan td span {
		padding: 20px 0;
	}
	.feeTable table tr.plan td.recommend span {
		padding: 25px 0;
	}
	.feeTable table tr.plan td.recommend strong {
		top: -60px;
	}
	.feeTable table tr.planTxt th {
		font-size: 12px;
	}
	.feeTable table tr.planTxt td {
		padding: 15px 2px;
	}
}


/*マウスオーバーで説明*/
.feeTable table tr th .noteTitle {
	position: relative;
	display: inline;
	cursor: pointer;
    color: #013183;
}
.feeTable table tr th .noteTitle strong {
	border-bottom: 1px dotted #999;
}

.feeTable table tr th .note {
	position: absolute;
	display: none;
	top: -10em;
	left: 0;
	background-color: #013183;
	border-radius: 5px;
	box-sizing: border-box;
	color: #fff;
	font-weight: normal;
	padding: 15px 20px 22px;
	width: 650px;
	z-index: 1;
}
.feeTable table tr th .note:after {
	top: 100%;
	left: 10%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(245, 245, 245, 0);
	border-top-color: #013183;
	border-width: 10px;
	margin-left: -10px;
}

.feeTable table tr th .noteTitle:hover + .note {
	display: block;
}
.feeTable table tr th .note h5 {
	border-bottom: 1px solid #fff;
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 10px;
	padding: 0 5px 5px;
}

.feeTable table tr th .note p {
	margin-bottom: 10px;
	padding: 0 5px;
}
.feeTable table tr th .note p:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {
	.feeTable table tr th .noteTitle {
		font-size: 13px;
	}
	.feeTable table tr th .noteTitle::after {
		margin: 0 0 2px 5px;
		width: 12px;
		height: 12px;
	}
	.feeTable table tr th .note {
		left: 5px;
		font-size: 13px;
		font-weight: normal;
		padding: 5px 15px 15px;
		width: 280px;
		top: -17em;
	}
	.feeTable table tr th .note h5 {
		font-size: 14px;
		line-height: 1.4;
		margin-bottom: 10px;
		padding: 0 5px 8px;
	}
}



/*各項目の補足説明*/
.feeNote {
	margin: 0 0 50px;
}
.feeNote dl {
	border-bottom: 1px dotted #ccc;
	overflow: hidden;
	padding: 15px 7px;
}
.feeNote dl dt {
	float: left;
	color: #013183;
	font-weight: bold;
	width: 150px;
}
.feeNote dl dd {
	padding-left: 170px; 
}

@media screen and (max-width: 768px) {
	.feeNote dl {
		margin-bottom: 0;
		padding: 15px 7px;
	}
	.feeNote dl dt {
		float: none;
		margin-bottom: 10px;
		width: 100%;
	}
	.feeNote dl dt br {
		display: none;
	}
	.feeNote dl dd {
		padding-left: 0; 
	}
}



/*コメ*/
.kome {
	margin-bottom: 50px;
}

/*お問い合わせ*/
.feeContact {
	margin-bottom: 50px;
	padding: 0 10px;
}
.feeContact .box {
	margin: 20px 0 30px;
}
.feeContact .box dl {
	margin-bottom: 10px;
	overflow: hidden;
}
.feeContact .box dl dt {
	float: left;
	background-color: #f5f5f5;
	box-sizing: border-box;
	font-weight: bold;
	padding: 10px;
	text-align: center;
	width: 150px;
}
.feeContact .box dl dd {
	padding: 10px 10px 10px 170px;
}

@media screen and (max-width: 768px) {
	.feeContact {
		padding: 0;
	}
	.feeContact .box dl {
		margin-bottom: 10px;
	}
	.feeContact .box dl dt {
		float: none;
		padding: 8px;
		width: 100%;
	}
	.feeContact .box dl dd {
		padding: 10px;
		text-align: center;
	}
}


/*  */
/* 職員を守れるのはセクション */
/*  */
.main-container-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 45px 10px;
    width: 100%;
    background-color: #fffefb;
    position: relative;
}

.main-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.main-container-title {
    text-align: center;
    margin-bottom: 28px;
    font-size: 36px;
    font-weight: 700;
    color: #342246;
}

.main-container-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .main-container-content {
        flex-direction: row;
    }
}

.main-container-image-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 200px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.main-container-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-container-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    position: relative;
    flex: 1;
}

.main-container-highlight-container {
    position: relative;
    width: 100%;
}

.main-container-highlight {
    position: absolute;
    width: 100%;
    max-width: 422px;
    height: 12px;
    background-color: #fbefbb;
    top: 14px;
}

@media (max-width: 768px) {
    .main-container-highlight {
        width: 100%;
    }
}

.main-container-paragraph {
    position: relative;
    line-height: 26px;
}

.main-container-paragraph strong {
    font-weight: bold;
}

.main-container-footer-text {
    align-self: stretch;
    line-height: 26px;
}

/* お問い合わせフォームのスタイル */
.last-cta-section .phone-contact {
    align-items: center;
}
.contact-form-container {
    max-width: 800px;
    width: 100%;
    margin: 30px 60px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-title {
    font-size: 32px;
    font-weight: 700;
    color: #020953;
    text-align: center;
    margin-bottom: 10px;
}

.contact-form-description {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.required {
    color: #fe6e0b;
    margin-left: 5px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #fe6e0b;
    box-shadow: 0 0 0 2px rgba(254, 110, 11, 0.2);
}

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

.form-privacy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
}

.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #fe6e0b;
}
.form-privacy label[for="privacy-1"] {
    display: flex;
    align-items: center;
}
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.contact-submit-btn {
    background-color: #fe6e0b;
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-submit-btn:hover {
    background-color: #e55d00;
    transform: translateY(-2px);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-form-title {
        font-size: 26px;
    }
    .contact-form-container {
        padding: 20px 15px;
        margin: 40px auto;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-label {
        font-size: 14px;
    }
    
    .form-input, 
    .form-select, 
    .form-textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .contact-submit-btn {
        padding: 12px 40px;
        font-size: 16px;
        width: 100%;
    }
}

/* プライバシーポリシーボックスのスタイル */
.privacy-policy-section {
    margin: 0 auto;
    max-width: 500px;
    width: 90%;
}

.pp-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    height: 200px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 0;
}

.pp-content {
    padding: 20px;
}

.pp-box h2 {
    text-align: left;
    font-size: 18px !important;
    font-weight: 700;
    margin: 20px 0 10px !important;
    color: #020953;
}

.pp-box h2.privacy-policy-title {
    font-size: 20px !important;
    font-weight: 700;
    color: #020953;
    margin-bottom: 15px;
    margin-top: 0;
}

.pp-box h3 {
    font-size: 16px !important;
    font-weight: 700;
    margin: 15px 0 8px;
    color: #333;
}

.pp-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.pp-box ul {
    margin: 10px 0 15px 20px;
    list-style: none;
}

.pp-box li {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
    color: #333;
}

.pp-box a {
    text-decoration: underline;
    display: block;
    margin: 5px 0;
}

.pp-box a:hover {
    text-decoration: none;
}

/* スクロールバーのカスタマイズ（Webkit系ブラウザ用） */
.pp-box::-webkit-scrollbar {
    width: 8px;
}

.pp-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pp-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.pp-box::-webkit-scrollbar-thumb:hover {
    background: #fe6e0b;
}

@media (max-width: 768px) {
    .pp-box {
        height: 200px;
    }
    
    .pp-box h2 {
        font-size: 16px !important;
    }
    
    .pp-box h3 {
        font-size: 15px !important;
    }
    
    .pp-box p, .pp-box li {
        font-size: 13px;
    }
}

/* 送信後サンクスメッセージ */
.contact-form-description:has(~ 
.mw_wp_form_complete) {
	display: none;
}
.mw_wp_form_complete {
    margin-top: 40px;
}