/*
Template: businesspress
Theme Name: sinwakankyou
*/

/* 共通追加 */
h3 {
    font-size: 1.8em;
    margin-bottom: 1em;
    border-top: solid 2px #0066fd;
    border-bottom: solid 2px #0066fd;
    padding: 0.4em 0;
    position: relative;
}

h3:before {
    content: "\25A0";
    color: #0066fd;
    /* margin-right: 0.5em; */
}

@media screen and (max-width: 782px) {
    h3 {
        font-size: 1.6em;
        margin-top: 0;
    }

    .blue-title strong{
        font-size: 2.25rem;
    }
    .sp-font-s strong {
        font-size: 1.65rem;
    }
}

h4 {
    font-size: 1.3em;
    font-weight: bold;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    margin-top: 2em;
    border-bottom: 3px solid #0066fd;
}

h5 {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5em;
    padding: 0.4em 0.5em;
    background-color: #dbe9ff;
    border-left: solid 5px #0066fd;
}

p {
    margin: 0;
}

.site-header {
    border-bottom: 0;
    margin-bottom: 5rem;
}

/* Main Header */
.site-branding {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1200px) and (min-width: 980px) {
    /* 1段目：ロゴ、2段目：ナビ＋お問い合わせ */
    .main-header-content {
        flex-wrap: wrap;
    }

    .main-header-content .site-branding {
        flex-basis: 100%;
    }

    .main-header .main-header-content .main-navigation {
        width: auto;
        flex: 1;
        margin-left: 0;
        margin-right: 15px;
    }

    .main-navigation .menu-heade-container>ul {
        display: flex;
        justify-content: space-between;
        margin-left: 0;
    }

    /* 最後の項目のうしろにも同じ間隔を入れる */
    .main-navigation .menu-heade-container>ul::after {
        content: "";
        display: block;
    }

    .main-navigation div.menu>ul>li,
    .main-navigation ul.menu>li {
        display: inline-block;
        letter-spacing: normal;
        white-space: nowrap;
        width: auto;
    }
}

.site-title {
    font-size: 1.1em;
}

.main-header {
    padding-top: 15px;
    padding-bottom: 15px;
}

.site-logo img {
    width: 100px;
}

@media screen and (max-width: 782px) {
    .main-header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-logo img {
        width: auto;
    }
}

.main-header-content .main-navigation {
    margin-left: auto;
    margin-right: 30px;
}

@media screen and (max-width: 782px) {
    .site-logo {
        width: 80px;
    }

    .drawer-navigation {
        width: 100%;
    }
}

/* Home Header */

.main-header-clone {
    padding-bottom: 6px;
    padding-top: 6px;
}

.wp-block-columns {
    margin-bottom: 0;
}

.has-text-align-center {
    word-break: keep-all;
}

.mb0 {
    margin-bottom: 0;
}

.gap0 {
    gap: 0;
}

.pl20 {
    padding: 20px;
}

.flex {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 1em;
}

/* 追加 2カラム */
.justify-content {
    justify-content: center;
}

.sp-font-s {
    font-size: 1.6em;
}

.al-center {
    align-items: center !important;
}

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

.pc-none {
    display: none;
}

@media screen and (max-width: 980px) {
    .pc-none {
        display: block;
    }
}

/* ヘッダーお問い合わせ */
.contact-btn {
    background-color: #0066fd;
    border-radius: 8px;
    padding: 10px 20px;
}

.contact-btn a {
    text-decoration: none;
    color: #FFF;
}

@media screen and (max-width: 980px) {
    .main-header-content .contact-btn {
        display: none;
    }
}

/* タブメニュー */
.tab-nav {
    list-style: none;
    display: flex;
    gap: 1em;
    padding: 0;
}

.tab-nav li {
    cursor: pointer;
    padding: 0.5em 1em;
    background: #eee;
}

.tab-nav li.active {
    background: #333;
    color: #fff;
}

.tab-wrapper {
    display: flex;
    gap: 20px;
    /* タブと内容の間隔 */
    align-items: flex-start;
    /* 上揃え */
}

.tab-menu {
    display: flex;
    width: 42%;
    justify-content: space-between;
    align-items: center;
}

.tab-menu button {
    line-height: 1;
}

.tab-menu button:nth-child(1) {
    background-color: #FFF;
    border: 1px solid #fe0100;
    color: #fe0100;
    border-radius: 50px;
    width: 48%;
}

.tab-menu button:nth-child(1).active {
    background-color: #fe0100;
    color: #FFF;
}

.tab-menu button:nth-child(2) {
    background-color: #FFF;
    border: 1px solid #0066fd;
    color: #0066fd;
    border-radius: 50px;
    width: 48%;
}

.tab-menu button:nth-child(2).active {
    background-color: #0066fd;
    color: #FFF;
}

.tab-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.tab-content {
    width: 53%;
    margin-top: -78px;
}

.tab-content p {
    margin: 0;
    padding: 20px;
    border-bottom: 1px solid #b3b3b3;
}

.tab-content p:nth-child(1) {
    border-top: 1px solid #b3b3b3;
}

.tab-group .tab-content p {
    position: relative;
}

.tab-group .tab-content p::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 30px;
    display: block;
    height: 8px;
    width: 41px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../../uploads/2025/07/arrow.png);
    transition: all .4s;
}

.tab-group .tab-content p:hover::after {
    right: 20px;
}

.tab-group .tab-content p>a {
    color: #000;
    text-decoration: none;
}

.tab-group .tab-content time {
    margin-right: 20px;
}

@media screen and (max-width: 980px) {
    .tab-group {
        display: flex;
        flex-direction: column;
    }

    .tab-menu {
        width: 70%;
    }

    .tab-content {
        width: 100%;
        margin-top: 20px;
    }
}

/*******TOP*******/
/* アイコン */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.category-grid a {
    text-decoration: none;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-grid a:hover {
    opacity: 0.5;
}

.icon-box {
    width: 95%;
    margin: 0 auto;
}

/* 各マスのスタイル */
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0.5px solid #000;
    border-top: none;
    border-left: none;
    padding: 50px;
    background: #fff;
}

/* 一番上の行には上線を付ける */
.category-item:nth-child(-n+3) {
    border-top: 0.5px solid #000;
}

/* 1列目（左端）に左線を付ける */
.category-item:nth-child(3n+1) {
    border-left: 0.5px solid #000;
}

.category-item img {
    width: 110px;
    height: 100px;
    margin-bottom: 30px;
    object-fit: contain;
}

.category-item p {
    font-size: 1.1em;
    font-weight: bold;
}

/* ▼ レスポンシブ時：2列に変更 */
@media screen and (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .icon-box {
        width: 93%;
        padding: 0 20px;
    }

    .category-item p {
        text-align: center;
        word-break: break-word;
    }

    /* 上2つ：上線を外す */
    .category-item {
        border-top: none;
        border-left: 0.5px solid #000;
        padding: 20px !important;
    }

    .category-item:nth-child(3) {
        border-top: none;
    }

    /* 左列：左線を外す（2列レイアウト時） */
    .category-item:nth-child(2n+1) {
        border-right: none;
    }

}

.btn-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* TOPの画像×テキストの部分 */

.other-section {
    padding: 0 20px;
}

.other-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
    background-color: #FFF;
    border-radius: 15px;
    margin-bottom: 60px;
}

.other-image {
    width: 50%;
}

.other-image img {
    width: 100%;
    min-height: 420px;
    border-radius: initial;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    object-fit: cover;
}

.other-text {
    width: 50%;
    padding: 30px;
    display: flex;
    /* gap: 1.5em; */
    flex-direction: column;
    align-items: center;
}

.other-text h2 {
    margin-bottom: 20px;
}

.other-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.qanda-link {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #007bff;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

/* 2つ目のボックスは画像を右側に配置 */
.other-box:nth-child(2) {
    flex-direction: row-reverse;
}

.other-box:nth-child(2) .other-image img {
    width: 100%;
    height: auto;
    border-radius: initial;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
}

@media screen and (max-width: 980px) {
    .other-box:nth-child(1) .other-image img {
        object-position: right;
    }

    .other-box:nth-child(2) .other-image img {
        object-position: left;
    }
}

@media screen and (max-width: 768px) {
    .other-box:nth-child(3) {
        margin-bottom: 0;
    }

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

    .other-image img {
        border-radius: initial;
        border-top-right-radius: 15px;
        border-top-left-radius: 15px;
        min-height: auto;
    }

    .other-box:nth-child(2) .other-image img {
        border-radius: initial;
        border-top-right-radius: 15px;
        border-top-left-radius: 15px;
        min-height: auto;
    }

    .other-text {
        width: 100%;
        padding: 30px;
        gap: 0;
    }

    .other-box {
        flex-direction: column;
        text-align: center;
    }

    .other-text h2 {
        font-size: 28px;
    }

    .qanda-link {
        margin-top: 10px;
    }
}

/* footer */
.widget {
    color: #FFF;
}

.widget a:hover {
    color: inherit;
    opacity: 0.5;
}

.widget_nav_menu .current_page_item>a,
.widget_nav_menu .current-menu-item>a {
    color: #FFF;
}

.footer-widget-content .widget {
    margin-bottom: 0;
}

.footer-widget-wrapper .wp-block-image img {
    max-width: 315px;
}

/* スマホ時はフッターロゴをヘッダーロゴと同じ大きさに */
@media screen and (max-width: 782px) {
    .footer-widget-1 .wp-block-image img {
        width: 228px;
        height: auto;
    }
}

.footer-widget-1 {
    width: 44% !important;
}

.footer-widget-2 {
    width: 56% !important;
}

.footer-widget-3 {
    width: 100% !important;
    text-align: center;
    margin-top: 60px;
}

.footer-widget-3 .widget {
    margin-bottom: 0;
}

.footer-contact-container {
    margin: 0 auto;
    margin-bottom: 100px;
    padding-left: 40px;
    padding-right: 40px;
}

.footer-contact-container .smb-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    border: 2px solid #007aff;
    border-radius: 15px;
}

.footer-contact-container .alphabet {
    margin-bottom: 0;
    line-height: 1;
}

@media only screen and (max-width: 980px) {
    .footer-widget-1 {
        margin-bottom: 1em;
        width: 100% !important;
    }

    .footer-widget-2 {
        width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    .footer-widget-3 .widget {
        text-align: center;
    }

    .footer-widget-1 .widget,
    .footer-widget-3 .widget {
        margin-bottom: 0;
    }

    .footer-widget-2 {
        display: none;
    }

    .footer-contact-container {
        margin-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 767px) {
    .wp-block-buttons.is-content-justification-right {
        justify-content: flex-end;
        margin-right: 20px;
    }

    .is-style-outline--1 a {
        text-align: center;
    }
}

/* table */
.table-1 tr {
    border-bottom: 2px solid #FFF !important;
}

.table-3 tr>th:nth-child(1),
.table-3 tr>td:nth-child(1) {
    border-right: 2px solid #FFF !important;
}

@media screen and (max-width: 782px) {
    .table-2 tr:nth-child(1) th {
        border-top-color: #999999 !important;
    }

    .table-2 tr:nth-child(1) td {
        border-top-color: #FFF !important;
    }

    .table-3 .has-fixed-layout {
        width: 100% !important;
    }
}

.jumbotron-content {
    padding-bottom: 105px;
    padding-top: 105px;
}

.featured-entry-content,
.home-header-content,
.jumbotron-content,
.site-content,
.container-content,
.footer-widget-content,
.site-bottom-content,
.footer-contact-container {
    max-width: 1216px;
}

.top-bar-content,
.main-header-content {
    max-width: 1600px;
}

.alphabet {
    font-family: Playfair Display, serif;
    font-optical-sizing: auto;
    font-size: 52px;
    font-weight: normal;
    margin-top: 0;
}

.top-news-container .alphabet {
    margin-bottom: 30px;
}

@media screen and (max-width: 782px) {
    .alphabet {
        font-size: 2em;
    }
}

/* タブレット（783〜1100px）は見出しを少し小さく */
@media screen and (max-width: 1100px) and (min-width: 783px) {
    .alphabet {
        font-size: 46px;
    }
}

.widget_nav_menu {
    color: #FFF;
}

.wp-block-button {
    position: relative;
    width: 266px;
    text-align: center;
}

.wp-block-button a {
    color: #0066fd;
    text-decoration: none;
}

.wp-block-button::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: -20px;
    display: block;
    height: 8px;
    width: 41px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../../uploads/2025/07/arrow.png);
    transition: all .4s;
}

.wp-block-button:hover::after {
    right: -30px;
}

.home-header {
    background-color: initial;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 0;
    height: auto;
    aspect-ratio: 1920 / 804;
}

.home-header-overlay {
    background-color: initial;
}

@media screen and (max-width: 782px) {
    .home-header {
        height: auto;
        aspect-ratio: auto;
        padding-top: 100%;
        background-size: contain;
        background-position: right;
        background-image: url(../../uploads/2026/10/top-sp.png) !important;
    }
}

.footer-widget-area {
    background-image: url(../../uploads/2025/07/bg-image-scaled.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 767px) {
    .tab-group .tab-content p>a {
        display: flex;
        flex-direction: column;
    }
}

.bg100 {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.bg100-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.wp-block-column.is-vertically-aligned-top {
    align-self: stretch !important;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    height: auto;
}

.smb-box {
    height: 100%;
}

.wp-block-image img {
    width: 100%;
}

.anchour {
    margin: 0 auto;
}

.anchour ul {
    display: flex;
    justify-content: center;
    width: 80%;
    top: -66px;
    margin: 0 auto;
}

.anchour li {
    width: calc(100% / 4);
    background: #ffffff;
    text-align: center;
    list-style: none;
    border-left: 1px solid #000000;
}

.anchour li:last-child {
    border-right: 1px solid #000000;
}

.anchour li a {
    display: block;
    padding: 20px 0 35px 0;
    position: relative;
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

.anchour li a:after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -7px;
    border-right: 1px solid #0066fd;
    border-bottom: 1px solid #0066fd;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.anchour li a:hover {
    text-decoration: none;
}

.anchour li a:hover:after {
    bottom: 15px;
}

.anchour li span {
    display: block;
    width: 100%;
}

@media screen and (max-width: 782px) {
    .anchour ul {
        width: 100%;
    }

    /*FAQぺージのアンカーリンク*/
    .anchour_faq li {
        width: calc(100% / 2);
    }
}

/*******一般廃棄物*******/
.flow_box .has-text-align-center {
    word-break: unset;
}

/*******契約書マニフェストぺージ*******/
.box_contact {
    max-width: 1040px;
    margin: auto;
}

.box_contact a {
    text-decoration: none;
}

/*******FAQ*******/
.faq_box {
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
}

.faq_q,
.faq_a {
    position: relative;
    margin: 20px 20px 20px 60px !important;
}

.faq_q::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    top: -11px;
    left: -57px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../businesspress/images/faq_q.png);
}

.faq_a::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    top: 4px;
    left: -57px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../businesspress/images/faq_a.png);
}

@media screen and (max-width: 480px) {
    .faq_q,
    .faq_a {
        margin: 11px 8px 17px 49px;
    }

    .faq_q::before {
        top: -7px;
    }
}

/*******車両紹介*******/
.car_photo {
    display: flex;
    width: 100%;
    margin: auto;
}

.car_photo li {
    list-style: none;
}

/*******引越しの見出し*******/
.midashi__sp {
    font-size: 27px;
    text-align: center;
    font-weight: bold;
}

@media screen and (max-width: 600px) {
    .midashi__sp {
        font-size: 18px;
    }
}

/*******採用情報*******/
.recruit_btn {
    display: flex;
    justify-content: center;
}

.recruit_btn p {
    margin: 20px;
    border-radius: 8px;
    padding: 12px 24px;
    text-align: center;
}

.recruit_btn p a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.recruit_btn_l {
    background: #29ABE2;
}

.recruit_btn_r {
    background: #0066fd;
}

@media screen and (max-width: 768px) {
    .recruit_btn {
        flex-direction: column;
    }

    .recruit_btn p a {
        font-size: 1em;
    }

    .recruit_btn .recruit_btn_l {
        margin-bottom: 0;
    }
}

/*******お知らせ*******/
.post-categories {
    list-style: none;
    margin: 0;
}

.information {
    background-color: #fe0100;
    text-align: center;
}

.information li a,
.legal-information li a {
    color: #FFF;
}

.legal-information {
    background-color: #0066fd;
    text-align: center;
}

.blog .hentry,
.single .hentry,
.archive .hentry {
    border-bottom: 0.75px solid rgba(0, 0, 0, 0.4);
    padding: 0 0 30px;
    margin: 0 0 30px;
}

.post-list:nth-child(1) .hentry {
    border-top: 0.75px solid rgba(0, 0, 0, 0.4);
    padding-top: 30px;
}

.has-sidebar .content-area {
    width: 100%;
}

.blog-container {
    display: flex;
    justify-content: space-between;
}

.left-items {
    width: 75%;
}

.right-items {
    width: 20%;
}

.right-items li a,
.right-items p {
    color: #000000;
}

.right-items p {
    background-color: #f2f2f2;
}

.has-sidebar .sidebar-area {
    width: 100%;
    border-top: none;
    padding-top: 0;
}

.has-sidebar .sidebar-area p {
    margin-bottom: 20px;
}

.blog-container .widget {
    margin-bottom: 0;
    color: #000;
}

.blog-container .widget li {
    margin-bottom: 2em;
}

.blog-container .widget ul {
    margin-left: 1em;
}

.low-ct {
    display: flex;
    align-items: center;
    gap: 1em;
}

.post-list-content {
    width: 100%;
}

.post-list .entry-header {
    display: flex;
    margin-bottom: 0;
    width: 100%;
}

.entry-meta,
.cat-links {
    margin: 0;
}

.entry-meta a {
    font-size: initial;
    color: initial;
}

.cat-links {
    padding: 0 0.5em;
}

.pagination .current {
    background-color: #84b6ff !important;
    color: #0066fd;
    border: none;
}

/******* single *******/
.single .low-ct,
.single .entry-header {
    margin-bottom: 20px;
}

@media only screen and (max-width: 767px) {
    .blog-container {
        flex-direction: column;
    }

    .left-items,
    .right-items {
        width: 100%;
    }

    .blog .flex {
        align-items: start;
        flex-direction: column;
    }
}

/*ページネーション */
.pagination {
    text-align: center;
}

.pagination a.page-numbers {
    border: solid 1px #0066fd;
    color: #0066fd;
}

.pagination a.page-numbers:hover {
    border: solid 1px #0066fd;
    color: #0066fd;
    opacity: 0.6;
}

.entry-title a {
    font-size: initial;
}

/*******お問い合わせ*******/
.contact th,
.contact td {
    border: none;
    font-size: initial;
}

.contact th {
    background-color: initial;
}

.wpcf7 {
    margin: 0 auto;
}

.wpcf7 br {
    display: none;
}

.required {
    font-size: 0.8em;
    padding: 3px 10px;
    background: #fe0100;
    color: #ffffff;
    border-radius: 5px;
    margin-left: 1em;
    display: inline-block;
}

.wpcf7 p>label {
    display: flex;
    justify-content: space-between;
}

.wpcf7-form-control-wrap {
    width: 70%;
}

.adores_tr .wpcf7-form-control-wrap textarea {
    height: 50px;
}

.privacy {
    margin-top: 50px;
}

.wpcf7-list-item:nth-child(1) {
    margin: 0;
}

.submit-btn {
    text-align: center;
}

.submit-btn .wpcf7-submit {
    background-color: #0066fd;
    border-radius: 8px;
    padding: 12px 24px;
    min-width: 210px;
    font-size: 1em;
}

.submit-btn .wpcf7-submit:hover {
    background-color: #0066fd;
    color: #639af6;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea {
    border: solid 1px #e6e6e6;
    color: #777;
    margin-top: 0.6em;
    padding: 0.6em;
}

button,
input,
select,
textarea {
    background-color: #fff;
    box-sizing: border-box;
    line-height: 1.6;
    max-width: 100%;
}

@media only screen and (max-width: 767px) {
    .contact th,
    .contact td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .contact td {
        padding-top: 0;
    }

    .wpcf7-form-control {
        width: 100%;
    }

    .wpcf7-radio {
        display: flex;
        flex-direction: column;
    }

    .wpcf7-list-item {
        margin: 0;
    }

    .wpcf7 p>label,
    .adores span {
        display: block;
    }

    .wpcf7-form-control-wrap {
        width: 100%;
    }
}

/* CONCEPT など見出し（.alphabet）＋本文の2カラムは1100px以下で縦積み */
@media screen and (max-width: 1100px) {
    .wp-block-columns:has(> .wp-block-column > .alphabet) {
        flex-wrap: wrap !important;
    }

    .wp-block-columns:has(> .wp-block-column > .alphabet) > .wp-block-column {
        flex-basis: 100% !important;
    }
}

@media screen and (max-width: 600px) {
  .eco-action .wp-block-media-text__media {
    text-align: center;
  }
  .eco-action .wp-block-media-text__media img {
    width: 50%;
    max-width: 144px; /* 元画像サイズ以上に拡大しない */
  }
}
.site-description {
  display: none;
}

/* 冒頭の注意書き */
.wpcf7 .form-lead {
  margin-bottom: 32px;
}
.wpcf7 .form-notice-sales {
  background: #fff2f2;
  border-left: 4px solid #e60012;
  color: #c00;
  font-weight: bold;
  padding: 12px 16px;
  margin-top: 12px;
}

/* プライバシーポリシー */
.wpcf7 .privacy-area {
  margin: 40px auto 24px;
}
.wpcf7 .privacy-scroll {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background: #f7f7f7;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}
.wpcf7 .privacy-scroll h4,
.wpcf7 .privacy-scroll h5 {
  padding: 0;
  background: none;
  border: none;
  color: inherit;
  font-weight: bold;
  line-height: 1.6;
}
.wpcf7 .privacy-scroll h4::before,
.wpcf7 .privacy-scroll h4::after,
.wpcf7 .privacy-scroll h5::before,
.wpcf7 .privacy-scroll h5::after {
  display: none;
}
.wpcf7 .privacy-scroll h4 {
  font-size: 16px;
  margin: 0 0 8px;
}
.wpcf7 .privacy-scroll h5 {
  font-size: 14px;
  margin: 12px 0 2px;
}
.wpcf7 .privacy-scroll p {
  margin: 0;
}

/* 同意チェック */
.wpcf7 .agree-list {
  text-align: center;
}
.wpcf7 .agree-list .wpcf7-list-item {
  display: block;
  margin: 0 0 10px;
}
.wpcf7 .agree-list label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px !important;
  font-weight: bold;
  cursor: pointer;
}
.wpcf7 .agree-list .wpcf7-list-item-label {
  font-size: 14px !important;
  line-height: 1.5;
}
.wpcf7 .agree-list input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0068ff;
}

/* スマホ：1行に収めて中央に並べる */
@media (max-width: 600px) {
  .wpcf7 .agree-list label,
  .wpcf7 .agree-list .wpcf7-list-item-label {
    font-size: clamp(11px, 3.4vw, 13px) !important;
    white-space: nowrap;
  }
  .wpcf7 .agree-list label {
    gap: 6px;
  }
  .wpcf7 .agree-list input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
}

/* 送信ボタンを中央に（スピナーの幅を計算から外す） */
.wpcf7 .submit-btn {
  position: relative;
  text-align: center;
}
.wpcf7 .submit-btn .wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 12px;
}