:root {
    --sub-green: #5FBF43;
    --sub-orange: #F04202;
    --sub-gray: #E8E8E8;
    --sub-darkgray: #C3C3C3;
    --sub-pink: #FFF2ED;
}

/* WordPress投稿配置 */
.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignright{
	float: right;
	margin-left: 1.5em;
}
.alignleft{
	float: left;
	margin-right: 1.5em;
}
.grecaptcha-badge { visibility: hidden; }

/* 画像切り替え */
.image-sp { display:none; }
    
/* --- 子ページ --- */
.section-title-cp {
	color: var(--sub-orange);
	margin-bottom: 40px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
}
.section-title-cp.green {
	color: var(--sub-green);
    border-top: 1px solid var(--sub-green);
    border-bottom: 1px solid var(--sub-green);
}

.section-title-cp.orange {
	color: var(--sub-orange);
    border-top: 1px solid var(--sub-orange);
    border-bottom: 1px solid var(--sub-orange);
}
.section-title-ul {
    font-family: "Noto Sans JP", sans-serif;
	color: var(--sub-green);
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    
    background-position: center bottom;
    background-image: linear-gradient(transparent 60%, var(--sub-orange) 60%);
    background-repeat: no-repeat;
    background-size: 50px 0.5rem;
}

/* --- 投稿ページ --- */
.single-section {
	padding: 50px 0 80px;
}
.single-section .single-date {
    font-weight: bold;
    font-size: 16px;
}
.single-section .single-title {
    font-size: 20px;
    font-weight: bold;
}
.single-section .single-content {
	margin-top: 20px;
}
.single-section a:hover{
	text-decoration: underline;
}
.view-btn {
	display: inline-block;
	position: relative;
	margin-top: 40px;
    /* margin-bottom: 60px; */
    width: 100%;
    max-width: 300px;
}

.view-btn a{
    background: var(--sub-green);
    color: white;
    height: 50px;
    width: 100%;
    border-radius: 50px;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s;
    font-size: 16px;
}
.view-btn.orange a{
	background: var(--sub-orange);
}
.view-btn.green a{
	background: var(--sub-green);
}
.view-btn a:hover{
	text-decoration: none;
}
.view-btn::after {
	font-size: 28px;
	position: absolute;
	font-family: "Font Awesome 6 Free";
	content: "\f144";
	font-weight: 900;
	color: var(--white);
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}
.view-btn-wrapper {
	margin-top: 30px;
	text-align: center;
}
.diagram {
    display: flex;
    justify-content: center;
    gap: 40px;
	margin: 0 auto 60px;
}
.diagram.last-image {
	margin-bottom: 0;
}
/* --- 当センターについてページ --- */
.center-section {
    padding: 50px 0 80px;
    text-align: center;
}
.achieve-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-beige);
}
.achieve-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.achieve-box {
    border: 1px solid var(--accent-orange);
    width: 180px;
    padding: 20px 0;
    background: var(--white);
    
    display: grid;
    gap: 0;
    grid-template-rows: auto auto;
    line-height: 1.0;
}
.achieve-box .item-header {
	grid-row: 1;
}
.achieve-box .item-footer {
	grid-row: 2;
}
.achieve-label {
    color: var(--accent-orange);
    font-weight: bold;
    margin-bottom: 20px;
}
.achieve-number {
    font-size: 36px;
    font-weight: bold;
}
.achieve-unit {
    font-size: 18px;
    font-weight: normal;
}
.achieve-biko {
	margin-top: 10px;
}

.qanda-section {
    padding: 80px 0;
}
.qanda-section .qa-box {
	background: var(--sub-pink);
    max-width: 1080px;
    margin: 0 auto 20px;
	padding : 20px 40px;
}
.qanda-section .qa-box:last-child {
    margin-bottom: 0;
}
.qanda-section .qa-q {
	font-size: 18px;
	font-weight: bold;
	border-bottom: 1px solid var(--text-dark);
	padding: 20px 0;
}
.qanda-section .qa-q span{
	font-size: 22px;
	color: var(--sub-orange);
	margin-right: 10px;
}
.qanda-section .qa-a {
	font-size: 16px;
	padding: 20px 0;
}
.map-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-beige);
}
.map-section iframe {
	max-width: 800px;
}

/* 支援情報ページ */
.info-section {
	padding: 50px 0 80px;
}

.info-block {
	background: #F7FDE0;
	padding: 20px 40px 40px;
	margin-top: 40px;
}
.info-block h3 {
	color: var(--sub-green);
	margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    font-family: "Noto Sans JP", sans-serif;
}
.info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px 30px;
    margin: 0 auto;
}
.info-card {
    padding: 0 10px;
    display: grid;
    gap: 0px;
    /* grid-template-rows: 1fr 1fr 1fr; */
    grid-template-rows: 1fr auto auto;
}
.info-card .item-header {
	grid-row: 1 / 3;
}
.info-card .item-footer {
	grid-row: 3 / 3;
}
.info-card img {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}
.info-card .card-btn {
	background: var(--sub-green);
}
.info-card-title {
	font-size: 16px;
	font-weight: bold;
}
.info-card-text {
	font-size: 13px;
	margin-top: 5px;
}
.info-card-text span {
	font-size: 11px;
}
/* --- スタッフ紹介ページ --- */
.staff-section {
	padding: 50px 0 80px;
}
.staff-section .staff-list {
	margin-bottom: 60px;
}
.staff-section .staff-item {
    display: flex;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text-dark);
}
.staff-name {
    font-size: 16px;
    font-weight: bold;
    min-width: 250px;
    border-top: 3px solid var(--sub-green);
    color: var(--sub-green);
    padding: 20px 0;
}
.staff-title {
    font-size: 16px;
    font-weight: normal;
    width: 100%;
    border-top: 3px solid var(--sub-darkgray);
    padding: 20px 0;
}
.staff-section .sub-title {
	text-align: center;
}
/* --- 動画集ページ --- */
.case-section {
	padding: 50px 0 80px;
}
.case-section .sub-title {
	text-align: left;
	font-weight: bold;
	font-size: 18px;
	margin : 0;
	margin-bottom: 5px;
}
.case-section iframe {
	aspect-ratio: 16 / 9;
}
.case-video {
	text-align:center;
	margin: auto;
	padding-bottom: 20px;
}
.case-video iframe {
	width: 50%;
}
.case-video-list {
	display: flex;
	gap: 2%;
}
.case-video-list iframe {
	width: 32%;
}
.swiper-container {
	position: relative;
	/* margin-bottom: 40px; */
	margin-bottom: 60px;
}
.swiper-button-next,
.swiper-button-prev {
    --swiper-navigation-color: var(--text-dark);
    opacity: 0.7;
    margin: 0 -40px;
}
.swiper-scrollbar {
	bottom: -20px !important;
	left: 50% !important;
	transform: translateX(-50%);
	height: 10px !important;
}
/* --- 第三者承継 --- */
.thirdparty-section {
	padding: 50px 0 80px;
}
.tabs {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
}
.tabs:before {
    position: absolute;
    bottom: 0;
    left: 0px;
    right: 0px;
    border-bottom: 1px solid var(--text-dark);
    content: '';
}
.tab {
    position: relative;
	color: var(--white);
	background: var(--sub-orange);
    padding: 5px 70px;
    font-size: 20px;
    font-weight: bold;
	margin-bottom: 10px;
	cursor: pointer;
}
.tab.active {
	color: var(--text-dark);
	background: var(--white);
	border: 1px solid var(--text-dark);
	padding-bottom: 15px;
	margin-bottom: 0;
	cursor: auto;
}
.tab.active:before {
    position: absolute;
    bottom: -1px;
    left: 0px;
    right: 0px;
	border-top: 1px solid var(--white);
    content: '';
}
.tabcontent {
    display: none;
}
.tabcontent.show {
    display: block;
}



/* scroll table */
.tbl-scroll {
    /* overflow-x: auto; */
    display: block;
}
.tbl-scroll table {
	border-collapse: collapse ;
	width: 100%;
}
.tbl-scroll th, .tbl-scroll td {
	border: 1px solid var(--text-dark);
	/* white-space: nowrap; */
	padding: 20px;
}
.tbl-scroll th.tbl-title {
	height: 100px;
	border-top: none;
}
.tbl-scroll th.tbl-title.cover {
	background-color: var(--bg-beige);
	/* width: 35%; */
}
.tbl-scroll th.tbl-name {
	text-align:left;
	padding-right: 100px;
}
.tbl-scroll th.tbl-name.free {
	padding-right: 20px;
}
.tbl-scroll td {
	vertical-align: top;
}
.tbl-scroll td.answer {
	text-align:center;
	font-size: 60px;
	padding: 10px;
}
.tbl-scroll th:first-child {
	border-left: none;
}
.tbl-scroll th:last-child, .tbl-scroll td:last-child {
	border-right: none;
}


/* --- 親族内承継 --- */
.relatives-section {
	padding: 50px 0 80px;
}
.relatives-section p {
    color: var(--text-dark);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1em;
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 2;
}
.relatives-section p.dark {
	background: var(--sub-gray);
	padding: 30px 20px;
	font-size: 0.9em;
    max-width: 1120px;
}

/* --- 人材バンク --- */
.resources-section {
	padding: 50px 0 80px;
}

.tbl-resources table {
	width: 100%;
	border-spacing: 0 20px;
}
.tbl-resources th, .tbl-resources td {
	padding: 0 20px;
}
.tbl-resources th {
	background-color: var(--bg-beige);
	min-width: 150px;
	font-size: 18px;
}
.tbl-resources span {
	font-size: 14px;
}

/* --- 問い合わせページ --- */
.form-section {
	padding: 50px 0 80px;
}
.form-section .form-item p{
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-family: "Noto Sans JP", sans-serif;
    text-decoration: none;
    color: var(--text-dark);
}
.form-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 auto;
    max-width: 700px;
	margin-bottom: 60px;
}
.form-cards .card-btn {
	background: var(--sub-orange);
}
.form-cards .card-item {
    padding: 40px;
    text-align: center;
    border: 1px solid var(--sub-green);
}
.form-cards .card-item img{
	height: 78px;
	margin-bottom: 20px;
    clear: both;
}
.form-cards .card-info {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: "Noto Sans JP", sans-serif;
    margin: 10px 0;
}
.form-cards .card-number {
	color: var(--sub-orange);
	font-size: 36px;
	font-weight: bold;
	font-family: "Roboto", sans-serif;	
}
.form-section .form-item.multi-line p{
   align-items: flex-start;
}
.form-tag {
    color: white;
    font-size: 12px;
    padding: 3px 0;
    width: 60px;
    text-align: center;
    margin-right: 30px;
    font-weight: bold;
    flex-shrink: 0;
}
.form-tag.orange { background: var(--sub-orange); }
.form-tag.dark { background: var(--sub-darkgray); }

.form-name {
    margin-right: 40px;
    font-size: 16px;
    font-weight: bold;
    width: 200px;
}
.form-title {
    font-size: 16px;
    font-weight: normal;
    width: 100%;
}

.form-section input, .form-section select, .form-section textarea {
	padding : 10px 5px;
    border-radius: 5px;
    border: 1px solid var(--sub-darkgray);
    font-size: 16px;
    width: 98%;
}
.form-section .submit-btn-wrapper {
	margin-top: 60px;
	text-align: center;
}
.form-section input[type="submit"] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	border:none;
	
    height: 50px;
    width: 100%;
    margin: auto;
    background: var(--sub-green);
    color: white;
    border-radius: 50px;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
    gap: 10px;
    transition: opacity 0.3s;
    cursor: pointer;
}
.form-section input[type="submit"]:hover { opacity: 0.9; }

.submit-btn {
	display: inline-block;
	position: relative;
    width: 100%;
    max-width: 300px;
}
.submit-btn::after {
	font-size: 28px;
	position: absolute;
	font-family: "Font Awesome 6 Free";
	content: "\f144";
	font-weight: 900;
	color: var(--white);
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}
span.wpcf7-spinner {
	display: none;
}


/* =========================================
   レスポンシブ設定 (Media Queries)
   ========================================= */
@media (max-width: 1000px) {
   .case-section .sub-title { font-size: 14px; }
}
@media (max-width: 840px) {
    .info-cards { grid-template-columns: 1fr 1fr; }
    .info-card img { float: left; margin-bottom: 15px; }
}
/* スマホサイズ (max-width: 768px) */
@media (max-width: 768px) {
	/* 最初の高さ */
	.single-section,
	.center-section,
	.info-section,
	.staff-section,
	.case-section,
	.thirdparty-section,
	.relatives-section,
	.resources-section,
	.form-section{
		padding-top: 30px;
	}

	
    /* 画像切り替え */
    .image-pc { display:none; }
    .image-sp { display:block; }
    
    /* 支援情報 */
    .info-block {
		padding: 20px;
		margin-top: 30px;
	}
	.info-block h3 {
		margin-bottom: 20px;
	}
	
    .info-section .card-btn,
    .form-cards .card-btn {
        padding-right: 30px;
        padding-left: 30px;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        /* height: auto;
        min-height: 70px;
        font-size: 14px; */
    }
    
    /* スタッフ紹介 */
    /* .staff-section .staff-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0;
    }
    .staff-name {
    	width: 100%;
    	padding: 15px 0 6px;
	} */
	.staff-name { min-width: 200px;}
	/* --- 動画集ページ --- */
	.case-video iframe {
		width: 100%;
	}
	.case-video-list {
		flex-direction: column;
        align-items: flex-start;
        gap: 10px;
	}
	.case-video-list iframe {
		width: 100%;
		margin-bottom: 20px;
	}
	/* .case-video-list iframe:last-child {
		margin-bottom: 0;
	} */
	/*
	.swiper-slide iframe {
		width: 100%;
	}
	.swiper-container { overflow: hidden; }
	.swiper-wrapper {
		flex-direction: column;
		row-gap: 20px;
	}
	.swiper-button-prev,
	.swiper-button-next {
		display: none;
		opacity: 0;
	}
	*/
	
	
	.tabs { gap: 20px; }
	.tab { padding: 5px 20px; }
	/* scroll table */
	.tbl-scroll th.tbl-name { padding-right: 20px; }
	.tbl-scroll td.answer { font-size: 20px; }
	.tbl-scroll th { padding:10px; font-size: 12px; }
    /* 問い合わせ */
    .form-section .form-item p{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0;
    }
    .form-cards .card-btn { font-size: 14px; }
	.form-cards .card-item img{ height: 48px; }
    .form-cards .card-number { font-size: 26px; }
    .form-tag, .form-name { margin-right: 0; }
    .form-section input, .form-section textarea { width: 96%; }
    .submit-btn::after, 
    .view-btn::after { font-size: 20px; }
}

@media (max-width: 660px) {
    /* */    
	.achieve-grid { align-items: normal; gap: 10px; }
	.achieve-box { padding: 10px 0; }
    .achieve-label{ font-size: 14px; margin-bottom: 10px;}
    .achieve-number { font-size: 22px; }
    .achieve-unit,
    .achieve-biko { font-size: 12px; }
}
@media (max-width: 560px) {
    .form-cards { gap: 10px; }
    .form-cards .card-item { padding: 20px 10px 10px; }
    .info-cards { grid-template-columns: 1fr; gap: 30px; }
	.info-card { grid-template-rows: 1fr; }
	.tbl-resources th, .tbl-resources td{ display: block; padding: 10px; }
	/* .tbl-resources th { min-width: 50px; font-size: 16px; } */
}
@media (max-width: 450px) {
    .form-cards .card-number { font-size: 18px; }
    .achieve-label{ font-size: 12px; }
    .achieve-number { font-size: 18px; }
    .achieve-unit,
    .achieve-biko { font-size: 10px; }
    .achieve-biko { margin-top: 5px; }
}
@media (max-width: 350px) {
    /* スタッフ紹介 */
    .staff-section .staff-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0;
    }
    .staff-name {
    	width: 100%;
    	padding: 15px 0 6px;
	}
}