.acf-field.acf-accordion .acf-label.acf-accordion-title {
	background: red;
}

.wpp-no-data {
  display: none;
}

/* Container for centering the form */
.form-container {
  --primary-color: #009faf;
  --primary-color-light: #e0f7fa;
  --primary-color-dark: #007a7f;
  --text-color: #333;
  --label-color: #555;
  --border-color: #ccc; /* Slightly darker border */
  --border-focus-color: rgba(0, 159, 175, 0.5);
  --background-color: #fff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --danger-color: var(--primary-color); /* Use theme color for required */
  max-width: 800px; /* Max form width */
  margin: 0 auto; /* Center horizontally */
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  line-height: 1.6;
  font-size: 16px;
}

/* Style for each form field group */
.form-field {
  margin-bottom: 1.5rem; /* Space between fields */
}

/* Form label styles */
.form-label {
  display: block; /* Ensure label is on its own line */
  color: var(--label-color);
  margin-bottom: 0.5rem;
  font-weight: bold; /* Make labels bold */
}

/* Required badge style */
.required-badge {
  background-color: var(--danger-color);
  color: white;
  font-size: 0.8em;
  padding: 0.2em 0.5em;
  border-radius: 0.25rem;
  margin-left: 0.5em;
  font-weight: normal; /* Override bold label */
  vertical-align: middle;
}

/* Common input/select/textarea styles */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  font-size: 1.6rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem var(--border-focus-color);
}

.form-textarea {
  resize: vertical; /* Allow vertical resize */
  min-height: 100px;
}

/* Radio button group basic spacing */
.form-radio-group label {
  display: block; /* Ensure each option is on a new line */
  margin-bottom: 0.5rem; /* Add space below each radio option */
  cursor: pointer;
}

/* Align radio button and text (adjust as needed) */
.form-radio-group input[type="radio"] {
  margin-right: 0.5em; /* Space between radio and text */
  vertical-align: middle; /* Align radio vertically with text */
}

/* Submit button styles */
.submit-button {
  display: block;
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.9rem 1.5rem;
  font-size: 1.8em;
  font-weight: bold;
  border-radius: 0.3rem;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease-in-out;
}

.submit-button:hover,
.submit-button:focus {
  background-color: var(--primary-color-dark);
  outline: none;
}

.submit-button:focus {
  box-shadow: 0 0 0 0.2rem var(--border-focus-color);
}

/* Basic responsiveness */
@media (max-width: 640px) {
  .form-container {
    padding: 1.5rem;
  }
}

/* 追従バナー */
		.bottom-banner {
			position: fixed;
			bottom: 0;
			right: 100px;
			transform: translateY(100%);
			width: 386px;
			max-width: 90vw;
			z-index: 9999;
			transition: all 0.2s ease-in-out;
			box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
			border-radius: 8px 8px 0 0;
			opacity: 0;
		}

		.bottom-banner.show {
			opacity: 1;
			transform: translateY(0);
		}

		.banner-content {
			position: relative;
			width: 100%;
		}

		.banner-close {
			position: absolute;
			top: -10px;
			right: -10px;
			width: 30px;
			height: 30px;
			border: none;
			background: rgba(0, 0, 0, 0.7);
			color: white;
			border-radius: 50%;
			font-size: 18px;
			font-weight: bold;
			cursor: pointer;
			z-index: 10000;
			display: flex;
			align-items: center;
			justify-content: center;
			line-height: 1;
			transition: background-color 0.3s ease;
		}

		.banner-close:hover {
			background: rgba(0, 0, 0, 0.9);
		}

		.banner-link {
			display: block;
			width: 100%;
		}

		.banner-image {
			width: 100%;
			height: auto;
			display: block;
			border-radius: 8px 8px 0 0;
		}

		/* レスポンシブ対応 */
		@media (max-width: 768px) {
			.bottom-banner {
				width: 90vw;
				max-width: 350px;
				left: 5px;
			}
		}

		@media (max-width: 480px) {
			.bottom-banner {
				width: 95vw;
				max-width: 320px;
			}
		}

/* コラムの本文 */
.single .post_body {
	line-height: 2 !important;
	font-size: 1.8rem;
	font-feature-settings: normal;
}

.single .post_body h2 {
	margin-bottom: 1.6rem !important;
}

.single .post_body p {
	margin-bottom: 1.6rem !important;
}

.single #toc_container {
	margin-top: 1.6rem;
	margin-bottom: 0px !important;
}

.single .post_body ul:not(.toc_list, .toc_list ul) {
    list-style: disc;
	padding-left: 40px;
}

.post_body img {
	width: revert-layer;
	height: auto;
	max-width: 100%;
}

.post_body a {
	color: var(--primary);
}

.post_body a:hover {
	opacity: 0.6;
	text-decoration: underline;
}

.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignright{
	float: right;
	margin-left: 1.5em;
}
.alignleft{
	float: left;
	margin-right: 1.5em;
}

/* 記事カード */
.lkc-thumbnail-img {
	object-fit: contain !important;
}

/* 投稿ナビゲーション */
.post_navigation {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.nav_buttons {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.nav_prev, .nav_next {
    flex: 1;
    max-width: 48%;
}

.nav_link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.nav_link:hover {
    background: #e9ecef;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.nav_link i {
    font-size: 18px;
    color: var(--primary);
    margin: 0 15px;
}

.nav_content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nav_label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav_title {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prev_link {
    justify-content: flex-start;
}

.next_link {
    justify-content: flex-end;
    text-align: right;
}

.next_link .nav_content {
    align-items: flex-end;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.single .post_body {
		line-height: 2 !important;
		font-size: 1.6rem;
	}
    .nav_buttons {
        flex-direction: column;
        gap: 15px;
    }

    .nav_prev, .nav_next {
        max-width: 100%;
    }

    .nav_link {
        padding: 15px;
    }

    .nav_link i {
        margin: 0 10px;
    }

    .nav_title {
        font-size: 13px;
    }

    .next_link {
        text-align: left;
    }

    .next_link .nav_content {
        align-items: flex-start;
    }
}


/* All in One SEO パンくずリスト スタイル（実際の構造に対応） */

/* パンくずナビゲーション全体 */
#header {
	z-index: 9999;
	position: relative;
}
.breadcrumb-navigation {
    font-size: 14px;
    line-height: 1.5;
	padding: 0px 32px;
	background-color: #fafafa;
}

/* 最外側のコンテナ */
.breadcrumb-navigation .aioseo-breadcrumb {
    padding: 8px 0;
}

/* パンくずリストのメインコンテナ */
.aioseo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

/* 各パンくずアイテム */
.aioseo-breadcrumbs .aioseo-breadcrumb {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: #666;
}

/* パンくずリンク */
.aioseo-breadcrumbs .aioseo-breadcrumb a {
    color: #0073aa;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
    display: inline-block;
}

.aioseo-breadcrumbs .aioseo-breadcrumb a:hover {
    color: #005177;
    background-color: #f0f0f0;
    text-decoration: underline;
}

.aioseo-breadcrumbs .aioseo-breadcrumb a:focus {
    outline: 2px solid #005177;
    outline-offset: 2px;
}

/* 現在のページ（リンクがないアイテム） */
.aioseo-breadcrumbs .aioseo-breadcrumb:last-of-type {
    color: #333;
    font-weight: 500;
    padding: 4px 6px;
}

/* 区切り文字 */
.aioseo-breadcrumb-separator {
    margin: 0 6px;
    color: #999;
    font-weight: normal;
    user-select: none;
    speak: none;
    display: inline-flex;
    align-items: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .breadcrumb-navigation {
        font-size: 13px;
        padding: 0px 20px;
    }
    
    .aioseo-breadcrumb-separator {
        margin: 0 4px;
    }
    
    .aioseo-breadcrumbs {
        gap: 2px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-navigation {
        font-size: 12px;
    }
    
    .aioseo-breadcrumb-separator {
        margin: 0 3px;
    }
    
    .aioseo-breadcrumbs .aioseo-breadcrumb a,
    .aioseo-breadcrumbs .aioseo-breadcrumb:last-of-type {
        padding: 3px 4px;
    }
    
    /* 小画面では長いテキストを省略 */
    .aioseo-breadcrumbs .aioseo-breadcrumb:last-of-type {
/*         max-width: 200px; */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* カスタムスタイルバリエーション */

/* ボックススタイル */
.breadcrumb-navigation.box-style {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 15px 0 25px 0;
}

.breadcrumb-navigation.box-style .aioseo-breadcrumb {
    padding: 0;
}

/* カードスタイル */
.breadcrumb-navigation.card-style {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 15px 0 25px 0;
}

.breadcrumb-navigation.card-style .aioseo-breadcrumb {
    padding: 0;
}

/* ミニマルスタイル */
.breadcrumb-navigation.minimal {
    font-size: 13px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.breadcrumb-navigation.minimal .aioseo-breadcrumbs .aioseo-breadcrumb {
    color: #888;
}

/* ホームアイコン付きスタイル */
.breadcrumb-navigation.with-home-icon .aioseo-breadcrumbs .aioseo-breadcrumb:first-of-type a::before {
    content: "🏠";
    margin-right: 5px;
    font-size: 12px;
}

/* 区切り文字のカスタマイズ */
.breadcrumb-navigation.arrow-separator .aioseo-breadcrumb-separator {
    font-family: monospace;
}

.breadcrumb-navigation.slash-separator .aioseo-breadcrumb-separator::after {
    content: "/";
}

.breadcrumb-navigation.dot-separator .aioseo-breadcrumb-separator::after {
    content: "•";
}

/* アクセシビリティ向上 */
.breadcrumb-navigation[aria-label] {
    position: relative;
}

/* 印刷時のスタイル */
@media print {
    .breadcrumb-navigation {
        background: none !important;
        box-shadow: none !important;
        border: none !important;
        color: #000 !important;
    }
    
    .aioseo-breadcrumbs .aioseo-breadcrumb a {
        color: #000 !important;
        text-decoration: underline !important;
        background: none !important;
    }
}

/* 長いパンくずリストの処理 */
.aioseo-breadcrumbs {
    max-width: 100%;
}

.aioseo-breadcrumbs .aioseo-breadcrumb {
    word-break: break-word;
    hyphens: auto;
}

/* フォーカス時のキーボードナビゲーション向上 */
.aioseo-breadcrumbs .aioseo-breadcrumb a:focus-visible {
    outline: 2px solid #005177;
    outline-offset: 2px;
    border-radius: 3px;
}

/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
    .aioseo-breadcrumbs .aioseo-breadcrumb a {
        border: 1px solid transparent;
    }
    
    .aioseo-breadcrumbs .aioseo-breadcrumb a:hover,
    .aioseo-breadcrumbs .aioseo-breadcrumb a:focus {
        border-color: currentColor;
        background-color: transparent;
    }
}


/* リンクカード */
        .linkcard {
            max-width: 600px;
            margin: 0 auto;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .linkcard:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(0, 159, 175, 0.15);
            border-color: #009FAF;
        }

        .lkc-external-wrap,
        .lkc-internal-wrap {
            display: block;
            max-width: unset;
            border: none;
            box-shadow: unset;
			background: white !important;
        }

        .lkc-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }

        .lkc-card {
            display: flex;
            flex-direction: column;
            height: 100%;
            margin: 0;
        }

        .lkc-info {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 12px 16px 8px;
            border-bottom: 1px solid #009FAF;
            background: linear-gradient(135deg, #f0fbfc 0%, #e6f9fb 100%);
        }

        .lkc-favicon img {
            width: 16px;
            height: 16px;
            border-radius: 2px;
        }

        .lkc-domain {
            font-size: 12px;
            color: #009FAF;
            font-weight: 500;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            flex: 1;
            line-height: 1.4;
        }

        .lkc-content {
            padding: 16px;
            gap: 16px;
            flex: 1;
        }

        .lkc-thumbnail {
            margin: 0;
            flex-shrink: 0;
            float: left;
        }

        .lkc-thumbnail-img {
            width: 120px;
            height: 90px;
            object-fit: cover;
            border-radius: 8px;
            background: #f3f4f6;
            border: 2px solid #009FAF;
        }

        .lkc-text-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
            min-width: 0;
        }

        .lkc-title {
            font-size: 16px;
            font-weight: 600;
            color: #1f2937;
            line-height: 1.4;
            margin: 0 0 8px 0;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            position: relative;
            padding-left: 10px;
        }

        .lkc-title::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 30px;
            height: 2px;
            background: #009FAF;
            border-radius: 1px;
        }

        .lkc-date {
            font-size: 13px;
            color: #009FAF;
            font-weight: 500;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
            padding-left: 10px;
        }

        .lkc-excerpt {
            font-size: 14px;
            color: #6b7280;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 8px;
            padding-left: 10px;
        }

        .lkc-url {
            font-size: 12px;
            color: #009FAF;
            font-weight: 500;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            margin-top: auto;
            padding-left: 10px;
        }

        /* モバイル対応 */
        @media (max-width: 480px) {
            .linkcard {
                margin: 0 10px;
            }
            
            .lkc-thumbnail {
                float: none;
                margin-bottom: 12px;
            }
            
            .lkc-thumbnail-img {
                width: 100%;
                height: 180px;
            }
            
            .lkc-title,
            .lkc-date,
            .lkc-excerpt,
            .lkc-url {
                padding-left: 0;
            }
            
            .lkc-domain {
                font-size: 11px;
            }
        }

.logo_bloc {
  display: flex !important;
  flex-wrap: wrap;
  gap: 46px 16px !important;
  justify-content: center;
}

.logo_bloc > * {
     width: 30%;
    max-width: 320px;
}
}

/* メルマガ */
#newsletter .form_area {
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
}
#newsletter .form_area h2 {
  position: relative;
  margin-bottom: 124px;
  padding-top: 100px;
  padding-left: 11.6vw;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  font-weight: 500;
}
@media only screen and (max-width: 1024px) {
  #newsletter .form_area h2 {
    padding-top: 50px;
    padding-left: 16vw;
  }
}
@media only screen and (max-width: 767px) {
  #newsletter .form_area h2 {
    margin-bottom: 40px;
    padding-top: 30px;
    padding-left: 20px;
    letter-spacing: 0.05em;
  }
}
#newsletter .form_area h2::before {
  position: absolute;
  content: "Subscription";
  font-size: clamp(5rem, 10vw, 13rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gray6_40);
  bottom: 0;
  left: 80px;
  z-index: -1;
}
@media only screen and (max-width: 767px) {
  #newsletter .form_area h2::before {
    font-weight: 500;
    letter-spacing: 0.07em;
    bottom: 1rem;
    left: 30px;
  }
}

/* 404ページ専用スタイル */
.error404 .post_head {
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.error404 .post_head h1,
body#page404 .post_head h1,
body.under-404 .post_head h1 {
  font-size: 3rem;
  color: var(--primary-color, #009faf);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.error404 .post_body,
body#page404 .post_body,
body.under-404 .post_body {
  text-align: center;
  font-size: 1.6rem;
  color: var(--text-color, #333);
  margin-bottom: 4rem;
}

.error404 .post_body p,
body#page404 .post_body p,
body.under-404 .post_body p {
  margin-bottom: 3rem;
}

.error404 .post_body a,
body#page404 .post_body a,
body.under-404 .post_body a {
  display: inline-block;
  background: var(--primary-color, #009faf);
  color: #fff;
  padding: 0.7em 2em;
  border-radius: 2em;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.error404 .post_body a:hover,
body#page404 .post_body a:hover,
body.under-404 .post_body a:hover {
  background: var(--primary-color-dark, #007a7f);
}

/* UTAGEフォームのスタイル指定 */
.mm_form {
width: 100%;
padding: 2rem 1rem;
background: #fefefe;
border: 1px solid #73a9c5;
font-size: 16px;
}

.mm_form select {
	font-size: 16px;
}

.mm_form input[type=text], .mm_form input[type=email] {
width: 100%;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 10px;
padding-right: 10px;
font-size: 18px;
margin-top: 3px;
box-sizing: border-box;
border: 1px solid #999;
}

.mm_form .form-group {
margin-bottom: 16px;
}

.mm_form .badge.badge-danger {
color: red;
}

.mm_form button[type=submit] {
margin-top: 32px;
padding: 1rem 5rem;
color: white;
background: var(--primary);
border: 0;
font-size: 24px;
font-weight: bold;
}

.mm_form button[type=submit]:hover {
opacity: 0.7;
}

.mm_form .submit-wrapper {
display: flex;
width: 100%;
justify-content: center;
}
.mm_form select {
    padding: 8px 16px 8px 9px;
}

/* サイドバー */
.hum_nav {
	margin-top: 120px !important;
}
.hum_nav ul li {
	cursor: pointer;
}
.hum_nav ul li a {
	transition: opacity 0.3s ease-out;
}
.hum_nav ul li a:hover {
	opacity: 0.7;
}

#header .nav_content .hum_nav {
	height: unset;
	position: relative;
	margin-top: 32px;
	padding-bottom: 150px;
	left: 0;
	top: 0;
}

.contact-container {
	width: 80%;
	margin: 0 auto;
	margin-top: 90px;
	display: none;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
	.hum_nav {
		margin-top: 0px !important;
	}
	.contact-container {
		display: block;
	}
}

/* ヘッダー */
header {
	position: relative;
}
.h_mailmagazine {
	max-width: 223px;
}
.h_fixed {
  top: -100%;
	animation: h_fixed_in 0.6s ease-in-out forwards;
}
#header .menu_button {
	position: absolute;
}

@keyframes h_fixed_in {
  0% {
    top: -100%;
  }
  100% {
    top: 0;
  }
}

/* スポット解決ページ */
.lawyer .consulprice .btn_orange a span {
    padding: 20px 120px 25px 90px !important;
}

@media only screen and (max-width: 767px) {
    .lawyer .consulprice .btn_orange a span {
        padding: 8px 40px 13px 30px !important;
	}		
}	

/* トップページ */
.bnrbox {
	flex-wrap: wrap;
	justify-content: center !important;
	gap: 48px 64px !important;
}

.bnrbox a {
	width: 45%;
}

.bnrbox a img {
	box-shadow: rgba(149, 157, 165, 0.4) 0px 8px 24px;
	border-radius: 25px;
	overflow: hidden;
}

@media (max-width: 480px) {
	.bnrbox a {
		width: 100%;
	}
}

@media screen and (min-width: 2500px) {
	.home .see .see_head ul {
	    gap: 80px 5vw !important;
	}
}

/* 外岡潤 */
@media (max-width: 480px) {
	.home .writer .write_box .ttlbox {
		gap: unset !important;
	}
}

/* バナー */

.banner_shadow {
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

/* メルマガ */
#newsletter .p_lead .txt {
	z-index: 100;
	position: relative;
}

/* cf7 style */
.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background: var(--bg-white);
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-form .form-title {
	text-align: center;
	color: var(--primary);
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 30px;
	border-bottom: 3px solid var(--accent);
	padding-bottom: 10px;
}

.contact-form label {
	display: block;
	margin-bottom: 20px;
	font-weight: 500;
	color: var(--text-dark);
}

.contact-form p {
	margin: 0 !important;
}

.contact-form .label-text {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
}

.contact-form .red {
	color: var(--red);
	font-weight: bold;
	margin-left: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	padding: 12px;
	border: 2px solid var(--gray4);
	border-radius: 6px;
	font-size: 14px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background-color: var(--bg-white);
}

.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form input[type="tel"]::placeholder,
.contact-form input[type="date"]::placeholder,
.contact-form textarea::placeholder {
	font-size: 14px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="date"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.contact-form .time-select-group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.contact-form .time-select-group select {
	width: auto;
	min-width: 80px;
}

.contact-form .time-select-group span {
	font-size: 14px;
	color: var(--text-light);
}

.contact-form .note {
	background-color: #fef3c7;
	border-left: 4px solid var(--accent);
	padding: 12px;
	margin: 20px 0;
	font-size: 12px;
	color: #92400e;
	line-height: 1.5;
}

.contact-form .consultation-note {
	background-color: #ecfdf5;
	border-left: 4px solid var(--success);
	padding: 12px;
	margin: 8px 0 12px 0;
	font-size: 13px;
	color: #065f46;
	line-height: 1.5;
}

.contact-form .captcha-group {
	background-color: var(--bg-light);
	padding: 16px;
	border-radius: 6px;
	border: 1px solid var(--border);
}

.contact-form .captcha-display {
	font-family: monospace;
	font-size: 18px;
	font-weight: bold;
	color: var(--primary);
	background-color: var(--bg-white);
	padding: 8px 12px;
	border-radius: 4px;
	display: inline-block;
	margin: 8px 0;
	letter-spacing: 2px;
}

.contact-form [type='submit'] {
	width: 100%;
	padding: 16px;
	background: var(--primary);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 30px;
}

.contact-form [type='submit']:hover {
	opacity: 0.8;
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.contact-form [type='submit']:active {
	transform: translateY(0);
}

@media (max-width: 768px) {
	.contact-form {
		padding: 20px;
		margin: 10px;
	}

	.contact-form .time-select-group {
		flex-direction: column;
		align-items: flex-start;
	}

	.contact-form .time-select-group select {
		width: 100%;
	}
}


/* 顧問契約ページ */
.consultation-notice {
	background-color: #f8e6e0;
	border: 2px solid #d4965a;
	border-radius: 12px;
	padding: 20px;
	margin: 20px auto;
	max-width: 600px;
	font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
	line-height: 1.7;
	color: #333;
}

.consultation-notice h2 {
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 15px 0;
	color: #333;
	text-align: center;
}

.consultation-notice p {
	font-size: 14px;
	margin: 0 0 15px 0;
	color: #333;
}

.consultation-notice p:last-child {
	margin-bottom: 0;
}

/* 20分相談 */
.consultation_bloc .quotetxt.soudan-image {
	margin-bottom: 30px;
}
.consultation_bloc .quotetxt.soudan-image::before {
	content: unset;
}
.consultation_bloc .quotetxt.soudan-image::after {
	content: unset !important;
}
.consultation_bloc .quotetxt.soudan-image p {
	font-size: 32px;
	text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.consultation-notice {
		margin: 10px;
		padding: 15px;
	}

	.consultation-notice h2 {
		font-size: 16px;
	}

	.consultation-notice p {
		font-size: 13px;
	}
	.consultation_bloc .quotetxt.soudan-image p {
		font-size: 20px;
	}
}

/* 記事上部のイントロボックス */
.intro-section {
	background-color: #fff;
	border-radius: 10px;
	padding: 15px;
	margin-top: 40px;
	margin-bottom: 20px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.intro-section.pink-section {
	background-color: #ffeaea;
}
.intro-section.green-section {
	background-color: #e6f3e6;
}
.intro-section .intro-section-title {
	font-size: 1.1em;
	margin-top: 0;
	margin-bottom: 10px;
	color: #333;
	font-weight: bold;
}
.intro-section ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0;
	margin-bottom: 0 !important;
}
.intro-section li {
	margin-bottom: 8px;
	padding-left: 20px;
	position: relative;
}

/* スマホ画面下部追従バナー */
.sp-fixed-buttons {
  display: none;
}

@media screen and (max-width: 768px) {
  .bottom-banner {
	display: none;
  }
  .sp-fixed-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .sp-fixed-btn {
    transition: transform 0.3s ease;
  }
  
  .sp-fixed-btn--contact {
      width: 58%;
  }
  
  .sp-fixed-btn--tel {
      width: 41%;
  }

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

  /* 下スクロール時（小さくする） */
  .sp-fixed-buttons.is-scrolled-down {
    transform: scale(0.9);
    transform-origin: bottom center;
  }

  /* 上スクロール時（通常サイズ） */
  .sp-fixed-buttons.is-scrolled-up {
    transform: scale(1);
  }
}


