@charset "utf-8";
/* 
Theme Name:株式会社SUNSUI
Theme URL:https://sunsui-corp.com/
Description:株式会社SUNSUI様用テンプレート
Auther:株式会社Courage
Auther URL:https://courage-pc.jp/
Version: 1.0
*/
@import url("css/base.css");
@import url("css/common.css");
@import url("css/animation.css");
/* -------------------------------------------
   施工実績
------------------------------------------- */
.works-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
    margin: 50px 0;}
.works-flex .work-item {
    width: calc((100% - 60px) / 3); 
    box-sizing: border-box; 
    border: 1px solid #eee;
    padding: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;}
.work-item {
    flex: none !important; }
.work-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;}
.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;}
.work-category {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #1a1a1a !important;
    color: #fff !important;
    font-size: 10px;
    padding: 5px 12px;
    font-weight: 300;
    letter-spacing: 0.15em;
    z-index: 10;
    display: block;}
.work-info {
    padding: 20px 10px 10px 10px;
    background: #fff;
    text-align: left;}
.work-date {
    display: flex;
    align-items: center;
    font-size: 10px;
    color: #bbb;
    letter-spacing: 0.2em;
    margin-bottom: 12px;}
.work-date::before {
    content: "";
    width: 4px;
    height: 4px;
    background: #ccc;
    margin-right: 8px;
    display: inline-block;}
.work-name {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.02em;}
.work-item:hover {
    border-color: #ddd;
    background-color: #fafafa;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);}
.work-item:hover .work-img img {
    transform: scale(1.1);}
.pagenavi{
	text-align: center;}
.wp-pagenavi {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
    clear: both;}
.wp-pagenavi a, 
.wp-pagenavi span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd !important;
    text-decoration: none !important;
	font-size: 1rem;
    color: #333 !important;
    transition: all 0.3s;
    padding: 0 !important;
    margin: 0 !important;}
.wp-pagenavi span.current,
.wp-pagenavi a:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;}
.wp-pagenavi span.pages {
    display: none;}
/*CATEGORY FILTER*/
.works-category-nav {
	margin: 0 auto 50px;
	max-width: 1000px;
	padding: 0 20px;}
.nav-label {
	font-size: 11px;
	letter-spacing: 0.2em;
	color: #888;
	margin-bottom: 15px;
	text-align: center;}
.works-category-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	list-style: none;
	padding: 0;}
.works-category-nav li {
	min-width: 120px;}
.works-category-nav li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 45px;
	text-decoration: none;
	font-size: 14px;
	font-weight: bold;
	color: #1a252f;
	background: #fff;
	border: 1px solid #d1d1d1;
	transition: all 0.3s ease;}
.works-category-nav li.current-cat a,
.works-category-nav li.current-menu-item a {
	background: #1a252f;
	color: #fff;
	border-color: #1a252f;}
.works-category-nav li a:hover,
.works-category-nav li a.active {
	background: #1a252f;
	color: #fff;
	border-color: #1a252f;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);}
/*ビフォーアフター画像*/
.image-comparison {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;}
.image-box {
    flex: 1;
    height: 400px;
    position: relative;
    overflow: hidden;
    background: #eee;}
.image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;}
.ba-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;}
.label {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    padding: 4px 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 14px;
    font-weight: bold;}
.label.highlight {
    background: #e60012;}
/*スタンダードページ*/
.main-image {
    width: 100% !important;
    height: 500px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 20px 0;}
#main-display {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;}
/* サブ画像グリッド */
.sub-images-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;}
/* 各サムネイルの枠 */
.thumb-item {
    width: calc((100% - (10px * 4)) / 5); 
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #ddd;
    box-sizing: border-box;}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
    display: block;}
.thumb-item img:hover {
    opacity: 0.7;}
/* スペック表の調整 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;}
.spec-table th {
    width: 30%;
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    text-align: left;}
.spec-table td {
    padding: 15px;
    border: 1px solid #ddd;}
/* --- レスポンシブ対応 --- */
@media (max-width: 960px) {
.work-item {
	width: calc((100% - 30px) / 2);}
}
@media (max-width: 900px) {
.works-flex .work-item {
	width: calc((100% - 30px) / 2);}
}
@media screen and (max-width: 768px) {
.main-image {
	height: 350px !important;}
#main-display {
	object-fit: cover !important;}
}
@media screen and (max-width: 600px) {
.works-category-nav li {
width: calc(50% - 6px);
min-width: auto;}
.works-flex .work-item {
	width: 100%;}
}
@media (max-width: 560px) {
.work-item {
	width: 100%;}
.works-flex {
	gap: 20px;}
}
/* -------------------------------------------
   施工実績（シングルぺージ）
------------------------------------------- */
/* サイドバー */
.sidebar{
	position: relative;
	padding:0px 25px 25px;
	width: 100%;
	z-index: 15;}
.works-container {
    max-width: 900px;
    margin: 0 auto;}
.section-title {
    text-align: center;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
    margin-bottom: 50px;}
/* 各実績ブロック */
.work-item-sp {
	width: 100%;
    background:rgba(242,242,242,0.2);
    padding:30px;
    margin-bottom: 60px;}
.work-title {
    font-size: 2.2rem;
	line-height: 1.2;
    margin-top: 0;
    padding-left: 10px;
    border-left: 5px solid #003366;}
/* Before/After 画像エリア */
.image-comparison {
    display: flex;
    gap: 15px;
    margin: 25px 0;}
.image-box {
    flex: 1;
    position: relative;}
.image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;}
.label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 10px;
    font-size: 1.3rem;
    font-weight: bold;}
.label.highlight {
    background: #d9534f;}
/* スペック表 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;}
.spec-table th, .spec-table td {
    border: 1px solid #ddd;
    padding: 12px;}
.spec-table th {
    background-color: #f2f2f2;
    width: 25%;
    text-align: left;}
/* ページナビゲーション */
.post-navigation {
    max-width: 900px;
    margin: 60px auto 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;}
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;}
.nav-previous,
.nav-next,
.nav-archive {
    flex: 1;}
.nav-previous a,
.nav-next a,
.nav-archive a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;}
/* 前へ・次へのラベル (PREV/NEXT) */
.nav-label {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: bold;
    letter-spacing: 1px;}
/* 実績タイトル  */
.nav-item-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #003366;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;}
/* 一覧へ戻るボタンのデザイン */
.nav-archive {
    text-align: center;}
.nav-archive a {
    align-items: center;
    font-weight: bold;
    font-size: 1.4rem;
    color: #666;}
/* ドットのアイコン */
.nav-archive a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;}
.grid-icon {
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 2px;
    margin-bottom: 8px;
    line-height: 1;}
.grid-icon span {
    width: 4px;
    height: 4px;
    background-color: #999;
    display: block;}
.nav-next {
    text-align: right;}
.nav-previous a:hover .nav-item-title,
.nav-next a:hover .nav-item-title {
    color: #003366;}
/* --- レスポンシブ対応 --- */
@media (max-width: 600px) {
.image-comparison {
	flex-direction: column;}
.spec-table th {
	width: 35%;}
.nav-item-title {
	display: none;}
.nav-links {
	gap: 10px;}
.spec-table {
	display: block;
	width: 100%;}
.spec-table tbody {
	display: block;
	width: 100%;}
.spec-table tr {
	display: block;
	margin-bottom: 10px;
	border-bottom: 2px solid #eee;}
.spec-table th, 
.spec-table td {
	display: block;
	width: 100% !important;
	box-sizing: border-box;
	border: none;}
.spec-table th {
	background-color: #003366;
	color: #fff;
	padding: 8px 12px;
	font-size: 1.4rem;}
.spec-table td {
	padding: 12px;
	background-color: #fff;
	font-size: 1.6rem;
	line-height: 1.5;}
.spec-table tr:last-child {
	border-bottom: none;
	margin-bottom: 0;}
}
@media (max-width: 500px) {
.work-item-sp {
	padding: 30px 15px;}
.work-title {
	font-size: 1.8rem;}
.spec-table td {
	font-size: 1.4rem;}
}
/* -------------------------------------------
   ブログ
------------------------------------------- */
.blog-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 40px 20px;
	margin: 40px 0 50px;}
/* 各記事カードの設定 */
.blog-item {
	width: calc((100% - 60px) / 3);
	background-color: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-left: 5px solid #1a252f;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	box-sizing: border-box;}
/* ホバーの動き */
.blog-item:hover {
	background-color: #fff;
	border-left-color: #1c3e75;
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);}
.blog-item a {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;}
.blog-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-bottom: 1px solid #e0e0e0;
	background-color: #f0f0f0;}
.blog-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;}
.blog-content {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;}
.blog-date {
	font-size: 1.2rem;
	color: #888;
	margin-bottom: 8px;
	display: block;}
.blog-title {
	font-weight: bold;
	margin: 0 0 10px 0;
	color: #1a252f;}
.blog-excerpt {
	font-size: 1.3rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;}
.post-img-wrapper {
    position: static;
    opacity: 1;
    visibility: visible;
    display: block;}
.post-cat-tag {
    position: static;
    display: inline-block; 
    opacity: 1 !important;
    visibility: visible !important;
    background: #1a1a1a;
    color: #fff;
    padding: 5px 12px;
    font-size: 10px;
    margin-bottom: 10px;}
/* READ MOREを右下に固定 */
.blog-more {
	margin-top: auto;
	text-align: right;
	font-size: 12px;
	font-weight: bold;
	color: #1c3e75;
	text-transform: uppercase;
	letter-spacing: 0.1em;}
/* 装飾：右矢印 */
.blog-more::after {
	content: ' →';
	font-size: 1.4rem;
	transition: transform 0.3s;
	display: inline-block;}
.blog-item:hover .blog-more::after {
	transform: translateX(5px);}
/*ブログ（シングルぺージ）*/
.sub-low-visual {
    position: relative;
    background-color: #fff;
    padding: 120px 0 60px 0; 
    overflow: hidden;
    margin-top: 0;}
header.fixed + .sub-low-visual, 
body.pushed-down .sub-low-visual {
    margin-top: 80px;}
.sub-low-visual .inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    border-left: 4px solid #333;
    padding-left: 30px; 
	z-index: 2;}
.sub-low-visual h2.black {
    font-size: 38px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin: 0;
	position: relative;
	z-index: 3;}
.sub-low-visual::after {
    content: "BLOG";
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 160px;
    font-weight: 900;
    color: #f9f9f9; 
    z-index: 1;
    pointer-events: none;}
.post-title {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;}
.post-content {
    line-height: 1.8;
    letter-spacing: 1px;
    color: #333;}
.post-content h3 {
    border-left: 4px solid #333;
    padding: 8px 16px;
    margin: 30px 0 15px;
    background: #f4f4f4;}
.post-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;}
/* 記事本文内のリスト */
.post-content ul {
    list-style: none;
    margin: 30px 0;
    background: #f9f9f9;
    padding: 20px 20px 20px 25px;
    border-left: 5px solid #333;}
.post-content ul li {
    position: relative;
    padding-left: 20px;
    line-height: 32px;
    margin-bottom: 10px;}
.post-content ul li:last-child {
    margin-bottom: 0;}
.post-content ul li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #333;
    font-size: 1.2rem;}
/* カラム内の画像を同じ高さで揃える */
.wp-block-column .wp-block-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;}
.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #333;}
.blog-prev, 
.blog-next, 
.blog-back-to-list {
    flex: 1;
    max-width: 140px;}
.blog-next {
    text-align: right;}
.blog-back-to-list {
    text-align: center;}
/* ボタン共通設定 */
.blog-prev a,
.blog-next a,
.blog-btn-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 42px;
    border: 1px solid #333;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;}
/* 前へ (左矢印) */
.blog-prev a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-left: 2px solid #333;
    transform: rotate(-45deg);
    margin-right: 8px;
    transition: transform 0.3s ease;}
/* 次へ (右矢印) */
.blog-next a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s ease;}
/* ホバー時の反転と矢印の色変え */
.blog-prev a:hover,
.blog-next a:hover,
.blog-btn-list:hover {
    background-color: #333;
    color: #fff;}
.blog-prev a:hover::before {
    border-color: #fff;
    transform: rotate(-45deg) translateX(-2px);}
.blog-next a:hover::after {
    border-color: #fff;
    transform: rotate(45deg) translateX(2px);}
/* レスポンシブ */
@media (max-width: 960px) {
  .blog-item { width: calc((100% - 20px) / 2); }
}
@media (max-width: 768px) {
.sub-low-visual {
	padding: 50px 0 40px 0;}
.sub-low-visual {
	padding: 100px 0 40px 0;}
.sub-low-visual .inner {
	border-left: 3px solid #333;
	padding-left: 20px;
	margin-left: 20px;}
.sub-low-visual h2.black {
	font-size: 2.6rem;}
.sub-low-visual::after {
	font-size: 8rem;
	right: -10px;
	bottom: -10px;}
.post-title {
	font-size: 2rem;
	margin-bottom: 15px;}
}
@media (max-width: 600px) {
.wp-block-column .wp-block-image img {
	height: auto;}
.blog-prev a,
.blog-next a,
.blog-btn-list {
	font-size: 1rem;
	height: 38px;}
.blog-prev a::before,
.blog-next a::after {
	width: 5px;
	height: 5px;
	border-width: 1px;}
}
@media (max-width: 560px) {
.blog-item { width: 100%; }
.blog-prev a,
.blog-next a,
.blog-btn-list {
	font-size: 1.2rem;
	padding: 8px 5px;}
}
/* -------------------------------------------
   採用情報
------------------------------------------- */
.recruit_area{
	width: 900px;
	margin: 0 auto;}
.section-lead{
	text-align:center;}
.recruit-stats {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	gap: 20px;
	margin: 50px auto;
	background: #1a252f;
	padding: 40px 20px;
	color: #fff;}
.stat-item {
	text-align: center;}
.stat-label {
	display: block;
	font-size: 1.4rem;
	margin-bottom: 10px;}
.stat-number {
	font-size: 3.6rem;
	line-height: 42px;
	font-weight: bold;
	color: #f39c12;}
.stat-number small {
	font-size: 1.4rem;
	margin-left: 5px;}
/* 募集要項テーブル */
/* ボタン */
.recruit-nav-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	margin: 40px 0;}
.btn-nav-item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 54px;
	background: #004ca0;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: bold;
	text-align: center;
	transition: 0.3s;}
.btn-nav-item:hover {
	opacity: 0.8;
	transform: translateY(-2px);}
.recruit-item-block {
	scroll-margin-top: 100px;}
.recruit-item-block{
	margin-bottom: 60px;
	scroll-margin-top: 100px;}
h3.job-title{
	font-size: 1.8rem;
    margin-bottom: 15px;
    border-left: 5px solid #004ca0;
    padding-left: 15px;}
.recruit-table {
	width: 900px;
	border-collapse: collapse;
	margin:0 auto 50px;}
.recruit-table th, .recruit-table td {
	padding: 20px;
	border-bottom: 1px solid #dfdfdf;
	text-align: left;}
.recruit-table th {
	width: 25%;
	background-color: #f8f9fa;
	font-weight: bold;
	color: #333;}
.recruit-form-section {
	background-color: #f8f9fa;
	padding: 80px 0;}
.form-intro {
	text-align: center;
	margin-bottom: 40px;
	color: #666;}
.recruit-form {
	max-width: 700px;
	margin: 0 auto;
	background: #fff;
	padding: 40px;
	border-top: 5px solid #1a252f;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);}
.form-group {
	margin-bottom: 25px;}
.form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 8px;
	font-size: 1.5rem;}
.form-group label span.must {
	background: #e74c3c;
	color: #fff;
	font-size: 1rem;
	padding: 2px 6px;
	border-radius: 2px;
	margin-left: 10px;
	vertical-align: middle;}
.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1.6rem; 
	box-sizing: border-box;}
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1.6rem;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px;
	padding-right: 20px;}
.form-group select::-ms-expand {
	display: none;}
.privacy-check {
    text-align: center;
    margin: 30px 0;}
.privacy-check .wpcf7-list-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    white-space: nowrap !important;
    margin: 0 !important;}
.privacy-check input[type="checkbox"] {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;}
.privacy-check .wpcf7-list-item-label {
    display: inline-block !important;
    line-height: 20px !important;
    height: 20px !important;
    vertical-align: top !important;
    margin: 0 !important;
    padding: 0 !important;}
.privacy-check input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 10px 0 0 !important;
    vertical-align: top !important;
    position: static !important;}
.privacy-check input[type="checkbox"] {
    position: relative !important;
    top: -1px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;}
.privacy-check .wpcf7-list-item-label {
    line-height: 1 !important;}
/* 無効状態のスタイル */
.recruit-form .btn-submit:disabled,
.recruit-form .btn-submit[disabled] {
    background-color: #ccc !important;
    border-color: #ccc !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6;}
.recruit-form .btn-submit:disabled:hover {
    background-color: #ccc !important;
    opacity: 0.6 !important;}
.form-submit {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    clear: both !important;}
.form-submit span.wpcf7-form-control-wrap {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;}
.recruit-form .btn-submit {
    display: inline-block !important;
    float: none !important;
    position: static !important; 
    margin: 0 auto !important;}
.recruit-form .btn-submit:disabled,
.recruit-form .btn-submit[disabled] {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
    vertical-align: top !important;}
.wpcf7-spinner {
    display: none !important;}
/* 送信成功時のメッセージ（青色） */
.wpcf7-response-output {
    margin: 20px 0 !important;
    padding: 15px !important;
    border: 2px solid #004ca0 !important;
    background-color: #eef3f9;
    text-align: center;
    font-weight: bold;
    color: #004ca0;}
/* 入力エラーがある時のメッセージ（赤色） */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size:1.4rem;
    font-weight: bold;
    margin-top: 5px;
    display: block;}
/* スマホ対応 */
@media screen and (max-width: 1050px) {
.recruit_area,
.recruit-table {
	width: 100%;}
}
@media screen and (max-width: 850px) {
.recruit-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0 15px;
    padding: 20px 0 40px !important;
    margin: 0 !important;
    width: 100% !important;}
.recruit-item-block {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    scroll-snap-align: center;
    margin-bottom: 0 !important;
    box-sizing: border-box;
    padding: 25px 20px !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;}
.recruit-table {
    width: 100% !important;
    table-layout: fixed;
    word-wrap: break-word;
    border-collapse: collapse;}
.recruit-nav-buttons {
	display: flex !important;
	flex-wrap: wrap;}
.recruit-nav-buttons > * {
	flex: 0 0 calc(50% - 8px) !important; 
	max-width: calc(50% - 8px);
	word-break: break-all;
	min-width: 0 !important; 
	box-sizing: border-box;}
  .btn-nav-item {
	flex-shrink: 0;
	width: 180px;}
}
@media screen and (max-width: 768px) {
.recruit-table th, .recruit-table td {
	display: block;
	width: 100%;}
.recruit-table th {
	background: #dfdfdf;
	padding: 10px 20px;}
}
@media screen and (max-width: 560px) {
.recruit-form {
	padding: 20px;}
.btn-submit {
	width: 100%;
	padding: 18px 0;}
}
/* -------------------------------------------
   お問い合わせ
------------------------------------------- */
.contact-section {
    background-color: #f9f9f9;
    padding: 80px 0;}
/* 導入文 */
.contact-intro {
    text-align: center;
    margin-bottom: 40px;}
.contact-lead {
	width: 800px;
	margin: 30px auto;
    line-height: 1.8;
    color: #444;}
/* 電話ボックス全体 */
.contact-tel-card {
    max-width: 450px;
    margin: 0 auto 50px;
    background: #1a252f;
    position: relative;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 10px 10px 0px rgba(26, 37, 47, 0.1);}
.tel-top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: #004ca0;}
.tel-label {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;}
.tel-number-contact {
    font-size: 6rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    line-height: 1.2;
    display: inline-block;
    margin-bottom: 10px;
    font-family: 'Arial Black', sans-serif;
    letter-spacing: -1px;}
.tel-time {
    color: #adb5bd;
    font-size: 1.3rem;
    border-top: 1px solid #33414e;
    padding-top: 10px;
    display: block;}
/* ラベル */
.tel-label-contact {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    text-transform: uppercase;}
.tel-number-contact {
    font-size: 4.8rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    display: inline-block;
    margin-bottom: 15px;
    font-family: 'Arial Black', sans-serif;
    transition: all 0.3s;}
.tel-number-contact:hover {
    color: #004ca0;
    transform: translateX(10px);}
/* 受付時間 */
.tel-time {
    color: #adb5bd;
    font-size: 1.4rem;
    border-top: 1px solid #33414e;
    padding-top: 15px;
    display: inline-block;}
/* スマホ対応 */
@media screen and (max-width: 890px) {
.contact-lead {
	width: 100%;}
}
@media screen and (max-width: 640px) {
.contact-lead {
	text-align: left;
	font-size: 1.5rem; }
.contact-tel-card {
	padding: 30px 20px; }
.tel-number-contact {
	font-size: 3.2rem; }
.tel-top-line {
	width: 5px; }
}
@media screen and (max-width: 500px) {
.contact-tel-card {
	max-width: 100%;
	padding: 25px 20px;}
.tel-number-contact {
	font-size: 3.2rem;}
}
/* フォームのコンテナ */
.wpcf7-form-control-wrap {
    flex: 1;
    min-width: 0;}
.contact-form-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-top: 6px solid #1a252f;}
/* 各入力項目 */
.form-item {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;}
/* ラベルの設定 */
.form-item label {
    width: 200px;
    font-weight: bold;
    color: #333;
    font-size: 1.5rem;}
/* 必須ラベル */
.form-item label span.must {
    background: #B22222;
    color: #fff;
    font-size: 1rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;}
/* 入力フィールド */
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    padding: 10px 15px;
	line-height: 1.5;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fdfdfd;
    transition: all 0.3s;}
/* 郵便番号 */
.form-item [name="your-zip"] {
    flex: none !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;}
/* 電話番号 */
.form-item [name="your-tel"] {
    flex: none !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;}
.form-item .wpcf7-form-control-wrap {
    flex: 1;}
/* フォーカス時の色 */
.form-item input:focus,
.form-item textarea:focus {
    outline: none;
    border-color: #1a252f;
    background: #fff;
    box-shadow: 0 0 8px rgba(26,37,47,0.1);}
.form-item input[type="checkbox"] {
    flex: none;
    min-width: 0;
    width: 18px;
    height: 18px;
    padding: 0;
    margin-right: 8px;
	vertical-align: middle;}
.checkbox-area {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    width: 100%;}
.standard-check {
    display: flex;
    align-items: center;
    flex: 0 0 33.33%;
    min-width: 0;
    padding: 5px 0;
    font-size: 1.4rem;
    cursor: pointer;
    white-space: nowrap;}
.standard-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-right: 8px;
    flex-shrink: 0;
    accent-color: #1a252f;
    cursor: pointer;}
/* 個人情報保護方針 */
.privacy-wrap {
    max-width: 800px;
    margin: 0 auto 20px;}
.privacy-label {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a252f;
    text-align: left;}
.policy-box {
    height: 200px;
    overflow-y: scroll;
    background: #fdfdfd;
    border: 1px solid #ddd;
    padding: 20px;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #666;
    text-align: left;
    margin-bottom: 15px;}
.policy-box h4 {
	font-size: 1.6rem;
    color: #333;
    margin: 20px 0 10px;
    border-left: 3px solid #1a252f;
    padding-left: 10px;}
.policy-box h4.bold {
	font-size: 1.6rem;
    color: #333;
    margin: 20px 0 5px;
    border-left: 0;
    padding-left: 0;}
.policy-box p {
    margin-bottom: 16px;}
.policy-box ul li{
	list-style:disc;
	margin-left: 30px;}
.info_address{
    margin: 0 0 10px 10px;}
.privacy-agreement {
    text-align: center;
    padding: 10px 0;}
.agree-check {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;}
.policy-box::-webkit-scrollbar {
    width: 8px;}
.policy-box::-webkit-scrollbar-track {
    background: #f1f1f1;}
.policy-box::-webkit-scrollbar-thumb {
    background: #ccc;}
.policy-box::-webkit-scrollbar-thumb:hover {
    background: #1a252f;}
.privacy-agreement {
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;}
/* 同意チェックボックス */
.agree-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;}
.agree-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #1a252f;
    cursor: pointer;}
.privacy-agreement input[type="checkbox"] {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    flex: none !important;
    margin: 0 10px 0 0 !important;
    appearance: checkbox !important;
    -webkit-appearance: checkbox !important;}
.privacy-agreement label.agree-check {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: fit-content;
    margin: 0 auto !important;}
.privacy-agreement label.agree-check {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.5 !important;
    cursor: pointer;
    vertical-align: middle !important;}
.privacy-agreement input[type="checkbox"] {
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: 1px !important;}
.privacy-agreement .wpcf7-list-item-label {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;}
.privacy-check a {
    color: #0000ee !important;
    text-decoration: underline !important;
    display: inline !important;}
.privacy-check a:hover {
    color: #5555ff !important;
    text-decoration: none !important;}
/* 送信ボタン全体の配置 */
.form-submit {
    text-align: center;}
/* 通常のボタン */
.form-submit .contact-btn {
    max-width: 300px;
    position: static !important;
    display: inline-block !important;
    background-color: #B22222 !important;
    color: #fff !important;
    padding: 20px 80px !important;
    font-size: 1.8rem !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 0 #801818 !important;
    transition: all 0.3s ease;}
.form-submit .contact-btn:disabled {
    background-color: #ccc !important;
    box-shadow: 0 4px 0 #999 !important;
    cursor: not-allowed !important;
    opacity: 0.7;}
/* ホバー時 */
.form-submit .contact-btn:not(:disabled):hover {
    background-color: #1a252f !important; 
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;}
/* スマホ対応 */
@media screen and (max-width: 900px) {
.standard-check {
	flex: 0 0 50%;}
}
@media screen and (max-width: 720px) {
.form-item {
	display: block !important;
	margin-bottom: 30px !important;}
.form-item label {
	display: block !important;
	width: 100% !important;
	margin-bottom: 10px !important;}
.form-item .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;}
.form-item input,
.form-item textarea {
	width: 100% !important;
	box-sizing: border-box !important;}
.form-item [name="your-zip"],
.form-item [name="your-tel"] {
	width: 100% !important;
	max-width: 100% !important;}
.checkbox-area .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;}
.checkbox-area .wpcf7-list-item {
	display: inline-flex !important;
	align-items: center;
	margin-right: 15px !important;
	margin-bottom: 15px !important;
	width: auto !important;}
.checkbox-area .wpcf7-list-item-label {
	display: inline-block !important;
	margin-left: 5px !important;
	white-space: nowrap;}
.checkbox-area input[type="checkbox"] {
	position: relative !important;
	top: 2px;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	min-width: 18px !important;}
}
@media screen and (max-width: 600px) {
.contact-form-wrap {
	padding: 50px 20px;}
.standard-check {
	flex: 0 0 100%;
	font-size: 1.5rem;
	border-bottom: 1px solid #eee;}
}
/* -------------------------------------------
   404ページ
------------------------------------------- */
.error-wrap {
    padding: 180px 0;
    background: #fdfdfd;
    min-height: 80vh;
    display: flex;
    align-items: center;}
.error-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;}
.error-visual {
    position: relative;
    padding-right: 40px;}
.error-number {
    font-family: "serif", "Times New Roman";
    font-size: 180px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    letter-spacing: -1px;
    position: relative;}
.vertical-text {
    position: absolute;
    top: 10px;
    right: 0;
    writing-mode: vertical-rl;
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: #004ca0;
    font-weight: 600;}
/* 情報エリア */
.error-info {
    max-width: 450px;}
.error-heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 25px;
    font-family: "Noto Serif JP", serif;}
.error-text {
    font-size: 1.5rem;
    color: #777;
    line-height: 2;
    margin-bottom: 40px;}
.btn-fancy {
    display: inline-block;
    padding: 18px 50px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    letter-spacing: 3px;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);}
.btn-fancy:hover {
    background: #004ca0;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(196, 164, 124, 0.3);}
.btn-link {
    display: inline-block;
    margin-left: 30px;
    font-size: 1.4rem;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
    transition: 0.3s;}
.btn-link:hover {
    color: #004ca0;
    border-color: #004ca0;}
/* スマホ調整 */
@media (max-width: 900px) {
.error-flex {
	flex-direction: column;
	gap: 40px;
	text-align: center; }
.error-number {
	font-size: 12rem; }
.error-visual {
    padding-right: 0;}
.vertical-text { 
	position: static;
	writing-mode: horizontal-tb;
	margin-top: 10px; }
.btn-link {
	margin-left: 0;
	margin-top: 25px;
	display: block; }
}
/* パンくずリスト */
.breadcrumbs {
	position: relative;
    z-index: 998;
    padding: 15px 20px;
    background-color: #f8f8f8;
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;}
.breadcrumbs a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;}
.breadcrumbs a:hover {
    color: #000;
    text-decoration: underline;}
.breadcrumbs span {
    margin: 0 8px;
    color: #ccc;}
.breadcrumbs .current-item {
    font-weight: bold;
    color: #000;}
/* スマホ表示 */
@media (max-width: 768px) {
.breadcrumbs {
	padding: 10px 15px;
	font-size: 0.9rem;
	white-space: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;}
}
/* reCAPTCHA */
.grecaptcha-badge { 
    z-index: 20 !important;}
/* 横スクロール(特定だけ) */
.flow-container .scroll-hint-icon {
    top: 110px !important;}