:root :where(.is-layout-flow) > * {
    margin-block-start: 0px;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0px;
}

.h-12 {
    height: 3rem !important;
}
   /* スムーススクロール */
        html {
            scroll-behavior: smooth;
            scroll-padding-top: 96px;
            /* ヘッダーの高さ分、スクロール停止位置を下げる */
        }

        /* オーバーレイ（黒半透明の背景） */
        #mobile-menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 40;
            opacity: 0;
            pointer-events: none;
            transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
        }

        #mobile-menu-overlay.opacity-100 {
            opacity: 1;
            pointer-events: auto;
        }

        /* メニュー本体 */
        #mobile-menu {
            position: fixed;
            top: 0;
            bottom: 0;
            right: 0;
            width: 85%;
            max-width: 384px;
            background-color: #ffffff;
            z-index: 45;
            display: flex;
            flex-direction: column;
            padding-top: 100px;
            padding-left: 2rem;
            padding-right: 2rem;
            padding-bottom: 2rem;
            overflow-y: auto;
            transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(100%);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        #mobile-menu.translate-x-0 {
            transform: translateX(0);
        }

        /* 背景スクロール防止 */
        body.overflow-hidden {
            overflow: hidden;
        }

        /* SP用メニューリンク */
        .sp-menu-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #cba87c;
            padding: 1rem 0;
            text-decoration: none;
        }

        .sp-menu-text {
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 0.05em;
        }

        .sp-menu-arrow {
            width: 8px;
            height: 8px;
            border-top: 2px solid #cba87c;
            border-right: 2px solid #cba87c;
            transform: rotate(45deg);
            margin-right: 4px;
        }

        /* PC時は非表示 */
        @media (min-width: 1024px) {

            #mobile-menu,
            #mobile-menu-overlay {
                display: none !important;
            }
        }

        /* 調査依頼で変わること セクション */
        .before-after-section {
            padding: 50px 0 0 0;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .before-after-title-area {
            text-align: center;
            margin-bottom: 20px;
        }

        .before-after-en-title {
            color: #cc9966;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .before-after-jp-title {
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 26px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
        }

        @media (min-width: 768px) {
            .before-after-section {
                padding: 100px 0;
            }

            .before-after-title-area {
                margin-bottom: 30px;
            }

            .before-after-en-title {
                font-size: 60px;
            }

            .before-after-jp-title {
                font-size: 50px !important;
            }
        }

        /* 選ばれる理由 セクション */
        .choose-section {
            background-color: #eaf4f6;
            padding: 50px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .choose-title-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .choose-en-title {
            color: #cc9966;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .choose-jp-title {
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 26px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
            color: #006699;
            line-height: 1.1;
        }

        .choose-card {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            width: 90%;
            max-width: 800px;
            margin-bottom: 40px;
            position: relative;
            padding: 40px 20px 20px 20px;
            display: flex;
            flex-direction: column;
        }

        .choose-badge {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background-color: #cc9966;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            font-weight: bold;
            border-radius: 4px;
            font-family: 'Zen Maru Gothic', sans-serif;
        }

        .choose-card-title {
            color: #006699;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .choose-card-img-sp {
            width: 100%;
            height: auto;
            margin-bottom: 15px;
        }

        .choose-card-img-pc {
            display: none;
            width: 216px;
            height: 216px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .choose-card-text {
            font-size: 14px;
            color: #333333;
            line-height: 1.6;
        }

        .choose-content-sp {
            display: flex;
            flex-direction: column;
        }

        .choose-content-pc {
            display: none;
        }

        @media (min-width: 768px) {
            .choose-section {
                padding: 100px 0;
            }

            .choose-title-area {
                margin-bottom: 60px;
            }

            .choose-en-title {
                font-size: 60px;
            }

            .choose-jp-title {
                font-size: 60px;
            }

            .choose-card {
                padding: 30px;
                margin-bottom: 50px;
            }

            .choose-badge {
                display: none;
            }

            .choose-badge-pc {
                display: flex;
                width: 48px;
                height: 48px;
                background-color: #cc9966;
                color: #ffffff;
                justify-content: center;
                align-items: center;
                font-size: 28px;
                font-weight: bold;
                border-radius: 4px;
                font-family: 'Zen Maru Gothic', sans-serif;
                margin-right: 15px;
                flex-shrink: 0;
            }

            .choose-content-sp {
                display: none;
            }

            .choose-content-pc {
                display: flex;
                flex-direction: row-reverse;
                align-items: center;
                gap: 40px;
            }

            .choose-card-title-pc {
                display: flex;
                align-items: center;
                color: #006699;
                font-size: 24px;
                font-weight: bold;
                margin-bottom: 20px;
                line-height: 1.4;
                text-align: left;
            }

            .choose-card-text-pc {
                font-size: 15px;
                color: #333333;
                line-height: 1.8;
            }

            .choose-card-img-pc {
                display: block;
            }
        }

        /* 代表プロフィール セクション */
        .representative-section {
            background-color: #ffffff;
            padding: 50px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .representative-title-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .representative-en-title {
            color: #cc9966;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .representative-jp-title {
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 26px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
            color: #006699;
            line-height: 1.4;
        }

        .representative-container {
            width: 90%;
            max-width: 900px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .representative-img-wrapper {
            width: 100%;
        }

        .representative-img-sp {
            width: 100%;
            height: auto;
        }

        .representative-img-pc {
            display: none;
            width: 100%;
            height: auto;
        }

        .representative-text-area {
            display: flex;
            flex-direction: column;
        }

        .representative-position {
            color: #cc9966;
            font-weight: bold;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .representative-name {
            color: #006699;
            font-weight: bold;
            font-size: 24px;
            margin-bottom: 20px;
            font-family: 'Zen Maru Gothic', sans-serif;
        }

        .representative-name-ruby {
            font-size: 16px;
        }

        .representative-desc {
            color: #333333;
            font-size: 14px;
            line-height: 1.8;
        }

        .representative-desc p {
            margin-bottom: 20px;
        }

        .representative-desc p:last-child {
            margin-bottom: 0;
            font-weight: bold;
        }

        @media (min-width: 768px) {
            .representative-section {
                padding: 100px 0;
            }

            .representative-title-area {
                margin-bottom: 60px;
            }

            .representative-en-title {
                font-size: 60px;
            }

            .representative-jp-title {
                font-size: 60px;
            }

            .representative-container {
                flex-direction: row;
                align-items: flex-start;
                gap: 50px;
            }

            .representative-img-wrapper {
                flex: 0 0 250px;
            }

            .representative-text-area {
                flex: 1;
                padding-top: 10px;
            }

            .representative-img-sp {
                display: none;
            }

            .representative-img-pc {
                display: block;
            }

            .representative-position {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .representative-name {
                font-size: 28px;
                margin-bottom: 30px;
            }

            .representative-name-ruby {
                font-size: 20px;
            }

            .representative-desc {
                font-size: 16px;
                line-height: 2;
            }

            .representative-desc p {
                margin-bottom: 25px;
            }
        }

        /* メディア・出演実績 セクション */
        .media-section {
            background-color: #fdfaf4;
            padding: 50px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .media-title-area {
            text-align: center;
            margin-bottom: 40px;
        }

        .media-en-title {
            color: #cc9966;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .media-jp-title {
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 26px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
            color: #006699;
            line-height: 1.4;
        }

        .media-card {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            width: 90%;
            max-width: 1000px;
            margin-bottom: 60px;
            position: relative;
            padding: 50px 20px 30px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .media-card:last-child {
            margin-bottom: 0;
        }

        .media-badge {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #cc9966;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            font-weight: bold;
            border-radius: 4px;
            padding: 5px 20px;
            font-family: 'Zen Maru Gothic', sans-serif;
            white-space: nowrap;
        }

        /* Youtubeコンテンツ */
        .youtube-grid {
            display: flex;
            flex-direction: column;
            gap: 30px;
            width: 100%;
            margin-bottom: 30px;
        }

        .youtube-item {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .youtube-thumb {
            width: 100%;
            aspect-ratio: 16 / 9;
            background-color: #d1d5db;
            margin-bottom: 15px;
            border-radius: 4px;
        }

        .youtube-title {
            color: #006699;
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .youtube-desc {
            font-size: 13px;
            color: #666666;
            line-height: 1.5;
        }

        .media-btn {
            max-width: 280px;
            width: 100%;
            height: auto;
            transition: opacity 0.3s ease;
        }

        .media-btn:hover {
            opacity: 0.8;
        }

        .youtube-btns {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .youtube-btns a {
            display: block;
            width: 100%;
            text-align: center;
            margin-bottom: 0.5rem;
        }

        .youtube-btns a:last-child {
            margin-bottom: 0;
        }

        .youtube-btns img {
            margin: 0 auto;
        }

        @media (min-width: 768px) {
            .youtube-btns {
                flex-direction: row;
                justify-content: center;
                gap: 20px;
            }
            .youtube-btns a {
                margin-bottom: 0;
                width: auto;
            }
        }

        /* メディア一覧コンテンツ */
        .media-list {
            width: 100%;
            display: flex;
            flex-direction: column;
            margin-bottom: 30px;
        }

        .media-item {
            display: flex;
            flex-direction: column;
            padding: 15px 0;
            border-bottom: 1px solid #e5e7eb;
        }

        .media-item:first-child {
            padding-top: 0;
        }

        .media-item:last-child {
            border-bottom: none;
        }

        .media-date {
            color: #cc9966;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .media-text {
            color: #333333;
            font-size: 15px;
            line-height: 1.4;
        }

        @media (min-width: 768px) {
            .media-section {
                padding: 100px 0;
            }

            .media-title-area {
                margin-bottom: 80px;
            }

            .media-en-title {
                font-size: 60px;
            }

            .media-jp-title {
                font-size: 60px;
            }

            .media-card {
                padding: 60px 40px 40px 40px;
                margin-bottom: 80px;
            }

            .media-badge {
                font-size: 24px;
                padding: 8px 30px;
                top: -24px;
            }

            .youtube-grid {
                flex-direction: row;
                justify-content: space-between;
                gap: 20px;
                margin-bottom: 40px;
            }

            .youtube-item {
                flex: 1;
                max-width: calc(33.333% - 14px);
            }

            .media-btn {
                max-width: 320px;
            }

            .media-item {
                flex-direction: row;
                align-items: center;
                padding: 20px 0;
            }

            .media-date {
                margin-bottom: 0;
                width: 120px;
                flex-shrink: 0;
            }
        }

        /* 相談CTA セクション */
        .consult-cta-section {
            background-color: #bee2e8;
            padding: 60px 0;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            overflow-x: hidden;
        }

        .consult-cta-card {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            width: 90%;
            max-width: 800px;
            position: relative;
            padding: 60px 20px 30px 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            z-index: 10;
        }

        .consult-cta-badge {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #cc9966;
            color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px;
            font-weight: bold;
            border-radius: 4px;
            padding: 8px 25px;
            font-family: 'Zen Maru Gothic', sans-serif;
            white-space: nowrap;
            z-index: 20;
        }

        .consult-cta-title {
            color: #006699;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: bold;
            font-size: 22px;
            margin-bottom: 20px;
            line-height: 1.4;
            position: relative;
            z-index: 20;
        }

        .consult-cta-text {
            color: #333333;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 30px;
            position: relative;
            z-index: 20;
            font-weight: 500;
        }

        .consult-cta-text span.text-red {
            color: #e60012;
            font-weight: bold;
        }

        .consult-cta-btns {
            display: flex;
            flex-direction: column;
            gap: 15px;
            width: 100%;
            max-width: 320px;
            margin-bottom: 20px;
            position: relative;
            z-index: 20;
        }

        .consult-cta-btn-img {
            width: 100%;
            height: auto;
            transition: opacity 0.3s;
        }

        .consult-cta-btn-img:hover {
            opacity: 0.8;
        }

        .consult-cta-note {
            font-size: 11px;
            color: #666666;
            line-height: 1.5;
            position: relative;
            z-index: 20;
        }

        .consult-illust-left {
            position: absolute;
            left: -15px;
            top: 100px;
            width: 70px;
            height: auto;
            z-index: 15;
            pointer-events: none;
        }

        .consult-illust-right {
            position: absolute;
            right: -15px;
            top: 100px;
            width: 70px;
            height: auto;
            z-index: 15;
            pointer-events: none;
        }

        @media (min-width: 768px) {
            .consult-cta-section {
                padding: 100px 0;
            }

            .consult-cta-card {
                padding: 70px 40px 40px 40px;
                max-width: 750px;
            }

            .consult-cta-badge {
                font-size: 24px;
                padding: 8px 30px;
                top: -24px;
            }

            .consult-cta-title {
                font-size: 30px;
                margin-bottom: 30px;
            }

            .consult-cta-text {
                font-size: 16px;
                line-height: 1.8;
                margin-bottom: 40px;
            }

            .consult-cta-btns {
                flex-direction: row;
                max-width: none;
                justify-content: center;
                gap: 20px;
                margin-bottom: 30px;
            }

            .consult-cta-btns a {
                flex: 1;
                max-width: 300px;
            }

            .consult-cta-note {
                font-size: 13px;
            }

            .consult-illust-left {
                left: -110px;
                top: 50%;
                transform: translateY(-50%);
                width: 150px;
            }

            .consult-illust-right {
                right: -110px;
                top: 50%;
                transform: translateY(-50%);
                width: 150px;
            }
        }

        /* 料金プラン セクション */
        .pricing-section {
            background-color: #ffffff;
            padding: 50px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .pricing-title-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .pricing-en-title {
            color: #cc9966;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .pricing-jp-title {
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 26px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
            color: #006699;
            line-height: 1.4;
            margin-bottom: 20px;
        }

        .pricing-intro {
            font-size: 14px;
            color: #333333;
            line-height: 1.6;
            text-align: center;
            margin-bottom: 30px;
        }

        .pricing-intro .text-red {
            color: #e60012;
            font-weight: bold;
        }

        .pricing-content-wrapper {
            width: 90%;
            max-width: 1000px;
            margin: 0 auto 20px auto;
        }

        .pricing-img-sp {
            width: 100%;
            height: auto;
        }

        .pricing-img-pc {
            display: none;
            width: 100%;
            height: auto;
        }

        .pricing-note {
            font-size: 11px;
            color: #666666;
            text-align: center;
            width: 90%;
            max-width: 1000px;
            line-height: 1.5;
        }

        @media (min-width: 768px) {
            .pricing-section {
                padding: 100px 0;
            }

            .pricing-title-area {
                margin-bottom: 40px;
            }

            .pricing-en-title {
                font-size: 60px;
            }

            .pricing-jp-title {
                font-size: 60px;
                margin-bottom: 30px;
            }

            .pricing-intro {
                font-size: 16px;
                line-height: 1.8;
            }

            .pricing-content-wrapper {
                margin-bottom: 30px;
            }

            .pricing-img-sp {
                display: none;
            }

            .pricing-img-pc {
                display: block;
            }

            .pricing-note {
                font-size: 13px;
            }
        }

        /* Flow セクション */
        .flow-section {
            background-color: #e5f1f3;
            padding: 50px 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .flow-title-area {
            text-align: center;
            margin-bottom: 40px;
        }

        .flow-en-title {
            color: #cc9966;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .flow-jp-title {
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 26px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
            color: #006699;
            line-height: 1.4;
        }

        .flow-container {
            width: 90%;
            max-width: 900px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .flow-arrow {
            width: 30px;
            height: auto;
            margin: 5px 0;
        }

        .flow-card {
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            width: 100%;
            position: relative;
            padding: 66px 20px 30px 20px;
            display: flex;
            flex-direction: column;
            margin-top: 25px;
            /* SPでバッジがはみ出る分 */
        }

        .flow-card:first-child {
            margin-top: 15px;
        }

        .flow-badge {
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #cda276;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 12px;
            width: 70px;
            height: 70px;
            z-index: 20;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            padding-top: 5px;
        }

        .flow-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .flow-title-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .flow-info-area {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .flow-step {
            font-size: 14px;
            font-weight: bold;
            line-height: 1;
            margin-bottom: -2px;
            font-family: 'Arial', sans-serif;
            letter-spacing: 1px;
        }

        .flow-num {
            font-size: 40px;
            font-weight: bold;
            line-height: 0.8;
            font-family: 'Dongle', sans-serif;
            margin-bottom: -5px;
        }

        .flow-content-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .flow-text-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .flow-tag {
            background-color: #ffea75;
            color: #e60012;
            font-size: 18px;
            font-weight: bold;
            padding: 4px 12px;
            border-radius: 20px;
            margin-bottom: 15px;
            display: inline-block;
        }

        .flow-title {
            color: #006699;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: bold;
            font-size: 22px;
            margin-bottom: 15px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 10px;
            line-height: 1.4;
        }

        .flow-labels {
            display: flex;
            gap: 5px;
        }

        .flow-label {
            border: 1px solid #006699;
            color: #006699;
            font-size: 16px;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: normal;
        }

        .flow-text {
            color: #333333;
            font-size: 14px;
            line-height: 1.6;
            text-align: left;
            width: 100%;
        }

        .flow-img-area {
            width: 100%;
            max-width: 250px;
            margin: 0 auto;
        }

        .flow-img-area img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        @media (min-width: 768px) {
            .flow-section {
                padding: 100px 0;
            }

            .flow-title-area {
                margin-bottom: 60px;
            }

            .flow-en-title {
                font-size: 60px;
            }

            .flow-jp-title {
                font-size: 60px;
            }

            .flow-arrow {
                width: 40px;
                margin: 15px 0;
            }

            .flow-container {
                padding-left: 45px;
                /* PCでバッジが左にはみ出る分のスペース */
                gap: 15px;
            }

            .flow-card {
                padding: 40px;
                flex-direction: row;
                align-items: center;
                gap: 40px;
                margin-top: 0;
            }

            .flow-info-area {
                flex: 1;
                display: flex;
                flex-direction: column;
            }

            .flow-card:first-child {
                margin-top: 0;
            }

            .flow-header {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 20px;
                width: 100%;
                margin-bottom: 20px;
            }

            .flow-badge {
                position: static;
                transform: none;
                width: 90px;
                height: 90px;
                padding-top: 6px;
                flex-shrink: 0;
            }

            .flow-title-wrap {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                flex: 1;
            }

            .flow-step {
                font-size: 15px;
                margin-bottom: -2px;
            }

            .flow-num {
                font-size: 48px;
                margin-bottom: -5px;
            }

            .flow-content-wrapper {
                flex-direction: column;
                align-items: flex-start;
                gap: 0;
                width: 100%;
            }

            .flow-text-area {
                align-items: flex-start;
                flex: 1;
            }

            .flow-title {
                font-size: 28px;
                justify-content: flex-start;
                margin-bottom: 0;
            }

            .flow-label {
                font-size: 16px;
                padding: 2px 10px;
            }

            .flow-text {
                font-size: 15px;
                line-height: 1.8;
            }

            .flow-img-area {
                flex: 0 0 250px;
                max-width: none;
                margin: 0;
                align-self: center;
            }
        }

        /* お客様の声 セクション */
        .voice-section {
            padding: 50px 0;
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .voice-title-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .voice-en-title {
            color: #be8c5e;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .voice-jp-title {
            color: #006699;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 32px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
        }

        .voice-slider-wrapper {
            width: 100%;
            max-width: 900px;
            padding: 0 50px;
            position: relative;
        }

        .voice-swiper {
            width: 100%;
            overflow: hidden;
        }

        .voice-swiper .swiper-slide {
            height: auto;
        }

        .voice-card {
            background-color: #fff8e7;
            border-radius: 16px;
            padding: 30px 25px;
            margin: 0 auto;
            max-width: 800px;
        }

        .voice-header {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
        }

        .voice-avatar {
            flex-shrink: 0;
            width: 80px;
            height: 80px;
            overflow: hidden;
            background-color: #ffffff;
        }

        .voice-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .voice-info {
            flex: 1;
            text-align: left;
        }

        .voice-profile {
            color: #006699;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .voice-title-text {
            color: #006699;
            font-size: 18px;
            font-weight: 700;
            line-height: 1.5;
            font-family: 'Zen Maru Gothic', sans-serif;
        }

        .voice-body {
            color: #333333;
            font-size: 14px;
            line-height: 1.9;
        }

        .voice-body p {
            margin-bottom: 15px;
        }

        .voice-body p:last-child {
            margin-bottom: 0;
        }

        .voice-body strong {
            font-weight: 700;
        }

        .voice-prev-btn,
        .voice-next-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            background-color: #cba87c;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease, opacity 0.3s ease;
        }

        .voice-prev-btn:hover,
        .voice-next-btn:hover {
            background-color: #b8986c;
        }

        .voice-prev-btn {
            left: 0;
        }

        .voice-next-btn {
            right: 0;
        }

        .voice-prev-btn.swiper-button-disabled,
        .voice-next-btn.swiper-button-disabled {
            opacity: 0.35;
            cursor: auto;
            pointer-events: none;
        }

        @media (min-width: 768px) {
            .voice-section {
                padding: 100px 0;
            }

            .voice-title-area {
                margin-bottom: 50px;
            }

            .voice-en-title {
                font-size: 60px;
            }

            .voice-jp-title {
                font-size: 48px;
            }

            .voice-slider-wrapper {
                padding: 0 70px;
            }

            .voice-card {
                padding: 40px 50px;
            }

            .voice-header {
                gap: 25px;
                margin-bottom: 25px;
            }

            .voice-avatar {
                width: 137px;
                height: 154px;
            }

            .voice-profile {
                font-size: 16px;
                margin-bottom: 10px;
            }

            .voice-title-text {
                font-size: 22px;
            }

            .voice-body {
                font-size: 15px;
                line-height: 2;
            }

            .voice-prev-btn,
            .voice-next-btn {
                width: 50px;
                height: 50px;
            }
        }

        @media (max-width: 640px) {
            .voice-slider-wrapper {
                padding: 0 40px;
            }

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

            .voice-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .voice-avatar {
                width: 100px;
                height: 112px;
            }

            .voice-title-text {
                font-size: 16px;
            }

            .voice-prev-btn,
            .voice-next-btn {
                width: 36px;
                height: 36px;
            }

            .voice-prev-btn svg,
            .voice-next-btn svg {
                width: 20px;
                height: 20px;
            }
        }

        /* FAQ セクション */
        .faq-section {
            padding: 50px 20px;
            background-color: #fdf8e8;
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .faq-title-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .faq-en-title {
            color: #be8c5e;
            font-family: 'Dongle', sans-serif;
            font-size: 40px;
            line-height: 0.8;
        }

        .faq-jp-title {
            color: #006699;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 32px;
            letter-spacing: 0.05em;
            margin-top: 0.5rem;
        }

        .faq-container {
            width: 100%;
            max-width: 800px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 30px;
        }

        .faq-item {
            background-color: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 16px 20px;
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
            font-size: 15px;
            font-weight: 700;
            color: #006699;
            transition: background-color 0.2s ease;
        }

        .faq-question:hover {
            background-color: #fff;
        }

        .faq-q-mark {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            background-color: #cba87c;
            color: #ffffff;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
        }

        .faq-q-text {
            flex: 1;
            line-height: 1.4;
        }

        .faq-arrow {
            flex-shrink: 0;
            color: #cba87c;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-arrow {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
        }

        .faq-answer-inner {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 0 20px 16px 20px;
        }

        .faq-a-mark {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            background-color: #006699;
            color: #ffffff;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 6px;
        }

        .faq-a-text {
            flex: 1;
            font-size: 14px;
            line-height: 1.8;
            color: #333333;
            padding-top: 4px;
        }

        .faq-btn {
            display: block;
            max-width: 300px;
            width: 100%;
            transition: opacity 0.3s ease;
        }

        .faq-btn:hover {
            opacity: 0.8;
        }

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

        @media (min-width: 768px) {
            .faq-section {
                padding: 100px 20px;
            }

            .faq-title-area {
                margin-bottom: 50px;
            }

            .faq-en-title {
                font-size: 60px;
            }

            .faq-jp-title {
                font-size: 48px;
            }

            .faq-container {
                gap: 16px;
                margin-bottom: 40px;
            }

            .faq-question {
                padding: 20px 24px;
                font-size: 16px;
            }

            .faq-q-mark {
                width: 36px;
                height: 36px;
                font-size: 20px;
            }

            .faq-answer-inner {
                padding: 0 24px 20px 24px;
                gap: 16px;
            }

            .faq-a-mark {
                width: 36px;
                height: 36px;
                font-size: 20px;
            }

            .faq-a-text {
                font-size: 15px;
            }

            .faq-btn {
                max-width: 360px;
            }
        }

        /* お問い合わせ セクション */
        .inquiry-section {
            position: relative;
            width: 100%;
            padding: 60px 20px;
        }

        .inquiry-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 0;
        }

        .inquiry-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .inquiry-bg-sp {
            display: block;
        }

        .inquiry-bg-pc {
            display: none;
        }

        .inquiry-content {
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }

        .inquiry-lead {
            text-align: center;
            margin-bottom: 40px;
        }

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

        .inquiry-form-container {
            background-color: #ffffff;
            border-radius: 16px;
            border: 3px solid #006699;
            padding: 30px 20px;
            max-width: 600px;
            margin: 0 auto;
        }

        .inquiry-title-area {
            text-align: center;
            margin-bottom: 30px;
        }

        .inquiry-en-title {
            color: #be8c5e;
            font-family: 'Dongle', sans-serif;
            font-size: 32px;
            line-height: 0.8;
        }

        .inquiry-jp-title {
            color: #006699;
            font-family: 'Zen Maru Gothic', sans-serif;
            font-weight: 700;
            font-size: 28px;
            letter-spacing: 0.05em;
            margin-bottom: 10px;
        }

        .inquiry-subtitle {
            color: #333333;
            font-size: 14px;
            line-height: 1.6;
        }

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

        .inquiry-field {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .inquiry-label {
            display: flex;
            align-items: center;
            gap: 8px;
            background-color: #e8f4f8;
            padding: 6px 12px;
            font-size: 13px;
            color: #006699;
            font-weight: 500;
        }

        .inquiry-required {
            background-color: #dc2626;
            color: #ffffff;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 3px;
        }

        .inquiry-input,
        .inquiry-textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            font-size: 14px;
            color: #333333;
            background-color: #ffffff;
        }

        .inquiry-input:focus,
        .inquiry-textarea:focus {
            outline: none;
            border-color: #006699;
            box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.1);
        }

        .inquiry-select-wrapper {
            position: relative;
        }

        .inquiry-select {
            width: 100%;
            padding: 12px 40px 12px 12px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            font-size: 14px;
            color: #333333;
            background-color: #ffffff;
            appearance: none;
            cursor: pointer;
        }

        .inquiry-select-wrapper::after {
            content: '';
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 8px solid #006699;
            pointer-events: none;
        }

        .inquiry-select:focus {
            outline: none;
            border-color: #006699;
            box-shadow: 0 0 0 3px rgba(0, 102, 153, 0.1);
        }

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

        .inquiry-privacy {
            margin-top: 10px;
        }

        .inquiry-privacy-title {
            font-size: 13px;
            font-weight: 700;
            color: #333333;
            margin-bottom: 10px;
        }

        .inquiry-privacy-box {
            height: 150px;
            overflow-y: auto;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            padding: 15px;
            font-size: 12px;
            line-height: 1.8;
            color: #555555;
            background-color: #fafafa;
            margin-bottom: 15px;
        }

        .inquiry-privacy-box p {
            margin-bottom: 12px;
        }

        .inquiry-privacy-box p:last-child {
            margin-bottom: 0;
        }

        .inquiry-privacy-check {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            cursor: pointer;
        }

        .inquiry-privacy-check input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #006699;
        }

        .inquiry-check-text {
            font-size: 13px;
            color: #333333;
        }

        .inquiry-privacy-note {
            font-size: 11px;
            color: #666666;
            line-height: 1.5;
            margin-bottom: 20px;
        }

        .inquiry-submit-btn {
            display: block;
            width: 100%;
            max-width: 280px;
            margin: 0 auto;
            padding: 0;
            border: none;
            background: none;
            cursor: pointer;
            transition: opacity 0.3s ease;
        }

        .inquiry-submit-btn:hover {
            opacity: 0.8;
        }

        .inquiry-submit-btn img {
            width: 100%;
            height: auto;
            display: block;
        }

        @media (min-width: 768px) {
            .inquiry-section {
                padding: 100px 40px;
            }

            .inquiry-bg-sp {
                display: none;
            }

            .inquiry-bg-pc {
                display: block;
            }

            .inquiry-lead {
                margin-bottom: 50px;
            }

            .inquiry-form-container {
                padding: 40px 50px;
            }

            .inquiry-en-title {
                font-size: 40px;
            }

            .inquiry-jp-title {
                font-size: 36px;
            }

            .inquiry-subtitle {
                font-size: 15px;
            }

            .inquiry-label {
                font-size: 14px;
            }

            .inquiry-input,
            .inquiry-textarea,
            .inquiry-select {
                font-size: 15px;
                padding: 14px;
            }

            .inquiry-select {
                padding-right: 45px;
            }

            .inquiry-privacy-title {
                font-size: 14px;
            }

            .inquiry-privacy-box {
                font-size: 13px;
                height: 180px;
            }

            .inquiry-check-text {
                font-size: 14px;
            }

            .inquiry-privacy-note {
                font-size: 12px;
            }

            .inquiry-submit-btn {
                max-width: 320px;
            }
        }

        /* Footer */
        .footer-section {
            background-color: #87ceeb;
            padding: 40px 20px;
            text-align: center;
        }

        .footer-logo {
            margin-bottom: 20px;
        }

        .footer-logo img {
            height: 50px;
            margin: auto;
            width: auto;
        }

        .footer-sns {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .footer-sns-link {
            display: block;
            width: 33px;
            height: 33px;
            border-radius: 50%;
            overflow: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .footer-sns-link:hover {
            opacity: 0.8;
            transform: translateY(-2px);
        }

        .footer-sns-link img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .footer-info {
            color: #006699;
            font-size: 13px;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .footer-info p {
            margin-bottom: 4px;
        }

        .footer-address {
            font-size: 12px;
        }

        .footer-license {
            font-size: 12px;
        }

        .footer-tel a {
            color: #006699;
            text-decoration: none;
            font-weight: 500;
        }

        .footer-tel a:hover {
            text-decoration: underline;
        }

        .footer-hours {
            font-size: 12px;
        }

        .footer-copyright {
            color: #006699;
            font-size: 12px;
        }

        @media (min-width: 768px) {
            .footer-section {
                padding: 50px 40px;
            }

            .footer-logo img {
                height: 60px;
            }

            .footer-sns {
                gap: 16px;
                margin-bottom: 40px;
            }

            .footer-sns-link {
                width: 40px;
                height: 40px;
            }

            .footer-info {
                font-size: 14px;
            }

            .footer-address,
            .footer-license,
            .footer-hours {
                font-size: 13px;
            }

            .footer-copyright {
                font-size: 13px;
            }
        }

    .simpdi {
    font-family: 'Noto Sans JP', sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    border: none !important;
    border-radius: 0px!important;
    margin-bottom: 60px;
    padding: 50px;
  }

  .simpdi-q {
    margin: auto;
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    max-width: 800px;
    scroll-margin-top: 116px; /* PC: 96px + 20px余白 */
  }

  .simpdi-q .text {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #333;
    border: none !important;
     border-radius: 0px!important;
     padding: 0!important;
    text-align: left!important;
  }

  .simpdi-q .text::before {
    content: "";
    display: inline-block;
    width: 71px;
    height: 80px;
    background-image: url('/wp-content/themes/kataoka-detective/assets/images/shindan-item.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .simpdi-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .simpdi-choice input[type="radio"] {
    display: none;
  }

  .simpdi-choice label {
    display: block;
    background-color: #006699;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
    width: 80%;
    margin: auto;
  }

  .simpdi-choice label:hover {
    opacity: 0.85;
  }

  .simpdi-choice input[type="radio"]:checked+label {
    background-color: #013650;
    color: #fe6600;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
  }

  .simpdi-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    background-color: #ff6600;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s;
  }

  .simpdi-submit:hover {
    opacity: 0.9;
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* スマホ向けスタイル調整 */
  @media (max-width: 768px) {
    .simpdi {
      padding: 15px 10px;
      width: 100%;
      box-sizing: border-box;
    }

    .simpdi-q {
      padding: 15px;
      margin-bottom: 30px;
      scroll-margin-top: 84px; /* SP: 64px + 20px余白 */
    }

    .simpdi-q .text {
      font-size: 1.2rem;
      align-items: center;
    }

    .simpdi-q .text::before {
      width: 49px;
      height: 55px;
      margin-right: 10px;
    }

    .simpdi-choices {
      gap: 8px;
    }

    .simpdi-choice label {
      font-size: 0.95rem;
      padding: 12px 15px;
      width: 100%;
    }

    .simpdi-submit {
      max-width: 100%;
      padding: 14px;
      font-size: 1.1rem;
    }
  }

  .simpdi-result {
    font-size: 1rem;
    margin-top: 1rem;
    padding: 0!important;
    border: none!important;
    border-radius: 0 !important;
    max-width: 800px;
    margin: 30px auto 60px;
    background-color: #fff;
}

.shindan-title {
    margin-bottom: 20px;
}





/* 1. メインエリアのレイアウト（PC/SP切り替え） */
.wp-singular .wp-block-post-content {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 80px 50px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.home .wp-block-post-content {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #fff !important;
    box-sizing: border-box !important;
    padding: 0px 0px !important;
}

@media (max-width: 767px) {
    .wp-singular .wp-block-post-content {
        width: 100% !important;
        padding: 30px 20px !important;
    }
    .home .wp-block-post-content {
    margin-left: auto !important;
    margin-right: auto !important;
    background: #fff !important;
    box-sizing: border-box !important;
    padding: 0px 0px !important;
}

    
}

/* 2. 記事一覧（クエリループ）のデザイン */
.wp-block-post-template {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border-top: 1px solid #eee !important; /* 一番上の線 */
}

/* 各行を横並びにする */
.wp-block-post-template li {
    display: flex !important;
    align-items: center !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #eee !important; /* 下の線 */
    margin: 0 !important;
}

/* 日付のデザイン */
.wp-block-post-date {
    width: 120px !important;
    flex-shrink: 0 !important;
    color: #c08e5b !important; /* 茶色系 */
    font-size: 16px !important;
    font-weight: bold !important;
    margin: 0 !important;
}

.wp-singular h2 {
font-size: 26px !important;
font-weight: bold!important;
 line-height: 1.4;
 color: #006699;
 margin: 0!important
}

/* タイトルのデザイン（巨大なサイズを強制上書き） */
.wp-block-post-title a {
    margin: 0 0 0 20px !important;
    font-size: 18px !important; /* 文字を適切な大きさに */
    line-height: 1.4 !important;
    font-weight: normal !important;
    text-transform: none !important; /* 大文字変換を解除 */
}

.wp-block-post-title a {
    text-decoration: none !important;
    color: #333 !important;
    box-shadow: none !important; /* テーマの余計な線を消す */
}

/* 3. ページ送り（中央寄せ） */
.wp-block-query-pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

@media (max-width: 600px) {
    .wp-block-post-template li {
        display: block !important; /* 横並び(flex)を解除 */
        padding: 15px 0 !important;
    }

    .wp-block-post-date {
        display: block !important;
        width: 100% !important; /* 幅をいっぱいにする */
        font-size: 13px !important;
        margin-bottom: 5px !important; /* タイトルとの隙間 */
    }

    .wp-block-post-title a {
        display: block !important;
        margin-left: 0 !important; /* PCで設定した左余白を消す */
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}


/* Contact Form7 */
.contact7 {
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: auto;
}

.contact7 dt {
  margin: 0;
  padding: 5px;
      background-color: #e8f4f8;
          font-weight: 500;
}

.contact7 dd {
  border: none;
  padding: 15px;
}

.contact7 .wpcf7-textarea {
  width: 90%;
  margin: auto;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
}

@media only screen and (max-width: 767px) {
  .contact7 .wpcf7-textarea {
    width: 100%;
  }
}

.contact7 input, .contact7 select {
      width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    color: #333333;
    background-color: #ffffff;
}

/* 必須マーク */
.contact7 .must {
  background: #FF1A00;
}

/* 任意マーク */
.contact7 .optional {
  background: #999;
}

.contact7 .must,
.contact7 .optional {
  color: #FFF;
  border-radius: 3px;
  font-size: 10px;
  margin-left: 10px;
  padding: 5px 10px;
  letter-spacing: 2px;
}

.btn_contact7 {
  text-align: center;
}

/* 問い合わせフォームボタン */
.wpcf7-form input[type=button], .wpcf7-form input[type=submit] {
  background: #ef5350;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  margin: 0px auto 0px;
  color: #fff;
  display: inline-block;
  cursor: pointer;
  border-radius: 10px;
  width: 240px;
  margin: auto;
  padding: 10px;
  border: none;
  margin: 15px;
}

@media only screen and (max-width: 767px) {
  .wpcf7-form input[type=button], .wpcf7-form input[type=submit] {
    margin: 10px;
  }
}

.wpcf7-form input[type=button] {
  background: #78909c;
}

div.wpcf7 .ajax-loader {
  display: block;
}

.content dt {
    padding: 10px;
    background-color: rgba(0, 0, 0, .05);
}

/*問い合わせフォームの注意書き*/
div.infobox {
  height: 25em;
  padding: 0px 10px;
  font-size: 0.7em;
  overflow: auto;
  border: grey 1px solid;
  background-color: white;
}
/* shindan.html styles */
.simpdi {
    font-family: 'Noto Sans JP', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }

  .simpdi-q {
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
  }

  .simpdi-q .text {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #333;
  }

  .simpdi-q .text::before {
    content: "";
    display: inline-block;
    width: 49px;
    height: 49px;
    background-image: url('images/shindan-item.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 12px;
    flex-shrink: 0;
  }

  .simpdi-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .simpdi-choice input[type="radio"] {
    display: none;
  }

  .simpdi-choice label {
    display: block;
    background-color: #006699;
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
  }

  .simpdi-choice label:hover {
    opacity: 0.85;
  }

  .simpdi-choice input[type="radio"]:checked+label {
    background-color: #013650;
    color: #fe6600;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
  }

  .simpdi-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    background-color: #ff6600;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s;
  }

  .simpdi-submit:hover {
    opacity: 0.9;
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* スマホ向けスタイル調整 */
  @media (max-width: 768px) {
    .simpdi {
      padding: 15px 10px;
      width: 100%;
      box-sizing: border-box;
    }

    .simpdi-q {
      padding: 15px;
      margin-bottom: 30px;
    }

    .simpdi-q .text {
      font-size: 1.2rem;
      align-items: flex-start;
    }

    .simpdi-q .text::before {
      width: 35px;
      height: 35px;
      margin-right: 10px;
    }

    .simpdi-choices {
      gap: 8px;
    }

    .simpdi-choice label {
      font-size: 0.95rem;
      padding: 12px 15px;
    }

    .simpdi-submit {
      max-width: 100%;
      padding: 14px;
      font-size: 1.1rem;
    }
  }
