/**
 * お問い合わせページ用スタイル
 * Contact Form 7・拡張機能の確認画面は管理画面で設定
 */

/* お問い合わせページ メイン */
.page-contact .site-main {
	padding-bottom: 60px;
}

.page-contact .page-inner,
.page-contact .page-header__inner {
	margin-left: auto;
	margin-right: auto;
}

.page-contact__section{
	padding: 50px 0px 0px;
}

.page-contact__section2{
	padding: 0 0 100px;
}

.page-contact__section .ps-detail__diff{
	margin: 0px auto 0px;
    padding: 32px 50px 50px;
	border: 2px solid var(--color-main-blue);
}

.page-contact__section .ps-detail__diff-ttl{
	background: var(--color-main-blue);
}

.page-contact__section .ps-compare__box-list{
	margin: 1.75rem auto 0;
}


.page-contact__section .wpcf7{
	margin: 0px auto 0px;
    padding: 30px 50px 30px;
    border: 2px solid var(--color-main-blue);
    box-shadow: 0 3px 15px rgb(0 115 225 / 20%);
}

/* 紹介コンテンツ */
.demo-experience-section2{
	padding: 0 0 20px;
}
.demo-container-wrapper {
    background: #f0f9fc;
    box-shadow: 0 3px 15px rgb(0 115 225 / 20%);
    padding: 60px 40px;
    margin-bottom: 50px;
}

.demo-experience-section2 .demo-container-wrapper{
	margin-bottom: 80px;
}

.demo-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* 左側テキストエリア */
.demo-content {
    width: 50%;
}

.demo-ttl {
    color: #007bc2;
    font-size: 1.125rem;
    margin: 0 auto 25px;
    font-weight: bold;
    text-align: center;
}

.demo-lead {
    margin-bottom: 10px;
}

.demo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.demo-list li {
    position: relative;
    padding-left: 1.2em;
    line-height: 1.8;
}

.demo-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.demo-description {
    line-height: 1.7;
    margin: 0;
}

.demo-btn .ps-detail__triple-btn{
	margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 17px 10px;
    box-sizing: border-box;
    max-width: 375px;
    font-size: 1.375rem;
}

/* 右側ビジュアルエリア */
.demo-visual {
    width: 50%;
    text-align: center;
}

.demo-image-wrap img {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.demo-badge {
    color: #00BFBF;
    padding: 5px 15px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    width: fit-content;
	margin-bottom: 4px;
	position: relative;
	line-height: 1.3;
	margin-bottom: 10px;
}

/* 左側の斜線（外側に尖らせる） */
.demo-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0px;      /* 外側に少し出す */
  width: 2px;
  height: 100%;
  background-color: #00BFBF; /* 親の背景（白など）と同じ色にする */
  transform: skewX(20deg); /* ここで角度をつけて斜めにする */
}

/* 右側の斜線（外側に尖らせる） */
.demo-badge::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0px;      /* 外側に少し出す */
  width: 2px;
  height: 100%;
  background-color: #00BFBF; /* 親の背景（白など）と同じ色にする */
  transform: skewX(-20deg); /* ここで角度をつけて斜めにする */
}

/* レスポンシブ対応（スマホ表示） */

@media screen and (max-width: 768px){
	.page-contact__section2{
		padding: 0 0 50px;
	}
	.page-contact__section .ps-detail__diff{
		padding: 32px 20px 30px;
	}
	.page-contact__section .wpcf7{
		padding: 20px;
		margin: 0 auto;
	}
	.demo-experience-section, .demo-experience-section2{
		padding: 0;
	}
	.demo-container {
        flex-direction: column;
    }
    .demo-content, .demo-visual {
        flex: none;
        width: 100%;
    }
    .demo-container-wrapper, .demo-experience-section2 .demo-container-wrapper{
        padding: 30px 20px;
		margin-bottom: 30px;
    }
}



/* 全体コンテナ */
.custom-form-container {
    max-width: 900px;
    margin: 20px auto;
    color: #333;
    line-height: 1.6;
}

/* セクション見出し */
.form-section-ttl {
    font-size: 18px;
    color: #333;
    border-bottom: 2px solid #005bac;
    padding-bottom: 8px;
    margin: 40px 0 15px;
}

/* テーブル構造 */
.form-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0eaf3;
    table-layout: fixed;
	margin-top: 30px;
}

.form-table th, .form-table td {
    padding: 20px;
    border: 1px solid #e0eaf3;
    background-color: #fff;
    vertical-align: middle;
	box-sizing: border-box;
}

.form-table th {
    width: 35%;
    background: var(--color-bg-hero-sp);
    text-align: left;
    font-size: 14px;
    font-weight: bold;
}

/* 必須タグ */
.required-tag {
    background: #3498DB;
    color: #fff;
    font-size: 12px;
    padding: 2px 9px 4px;
    border-radius: 2px;
    margin-left: 5px;
    font-weight: normal;
}

/* 入力フィールド */
.custom-form-container input[type="text"],
.custom-form-container input[type="email"],
.custom-form-container input[type="tel"],
.custom-form-container select,
.custom-form-container textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f3f3f3;
    border-radius: 2px;
    box-sizing: border-box;
}

.name-fields label {
    display: inline-block;
    width: 100%;
}

.form-note {
    font-size: 11px;
    color: #777;
    margin: 5px 0 0;
}

.form-table p{
	margin: 0;
	font-weight: 400;
}

.wpcf7-list-item{
	line-height: 3;
}

.contact-ttl{
	margin-top: 50px;
}

.flex-inline input[type="text"]{
	width: 50%;
    margin-right: 10px;
}

/* アコーディオン(details) */
.accordion-wrapper-custom {
    margin-top: 10px;
}

.accordion-intro {
    font-size: 14px;
    margin-bottom: 10px;
	padding: 20px;
}

.form-table .page-guidance__detail-body{
	background: #fff;
}

.form-table .page-guidance__detail-body-inner{
	padding-top: 0;
}

.form-table .page-guidance__detail-toggle:hover {
    transform: translateY(2px);
}

.form-table .page-guidance__detail-ttl{
	color: var(--color-main-blue);
	font-weight: 700;
}

.contact-voice-img{
	text-align: center;
    margin: 10px auto 0;
}

.voice-contents{
	padding: 10px 20px 0;
	margin-top: 0;
}

.voice-contents li{
    font-size: 13px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
    list-style-type: none;    /* 標準の点を消す */
    position: relative;       /* 位置調整の基準にする */
    padding-left: 1.5em;      /* 点の分だけ左に余白を作る */
}

.voice-contents li::before {
    content: "・";            /* 点を表示 */
    position: absolute;       /* 自由に動かせるようにする */
    left: 0;                  /* 左端からの距離 */
    top: 2px;                   /* 上からの距離（微調整可能） */
}

.voice-contents li p{
	font-size: 14px;
}

.page-guidance__detail-close:hover {
    transform: translateY(2px);
}

/* プライバシーポリシー */
.privacy-policy-section {
    background: #f9f9f9;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid #e0eaf3;
}

.privacy-ttl {
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
	font-weight: 700;
}

.scroll-box {
    height: 150px;
    overflow-y: scroll;
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 13px;
}

.policy-content__text-pl2 li{
	list-style: none;
}

.policy-content__text{
	margin: 5px 0;
    font-size: 14px;
    line-height: 2;
}

.strong-text p{
	margin: 5px 0!important;
    font-size: 14px!important;
    line-height: 1.75;
}

.policy-content__element2 p{
	margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

.agreement-check {
    text-align: center;
    margin-top: 15px;
}

.agreement-check p{
	font-weight: 400;
    font-size: 14px;
}

/* 送信エリア */
.anti-spam-note {
    text-align: center;
    font-size: 12px;
    margin: 20px 0;
}

.check-note{
	text-align: center;
	font-size: 14px;
    margin: 10px 0 20px;
}

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

.wpcf7-submit {
    width: 300px;
    max-width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #086abd 0%, #2995af 50%, #086abd 100%) !important;
    color: #fff !important;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.wpcf7-submit:hover {
    opacity: 0.8;
}

/* チェック状態に関わらず、ボタンの親要素を強制表示 */
/* インラインの display:none を徹底的に無効化する */
.submit-area [style*="display:none"],
.submit-area [style*="display: none"] {
    display: block !important;
}

/* もしボタン自体が消えている場合も考慮 */
input[type="submit"] {
    display: inline-block !important;
}

/* セキュリティ情報 */
.security-info-wrapper{
	padding: 30px 0 100px;
}
.security-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.security-logo { 
	width: 115px; 
}

.security-text {
    font-size: 12px;
    text-align: left;
    color: #666;
}

.wpcf7-spinner{
	display: none;
}


/* 確認画面のテーブル内での入力表示調整 */
.page-confirm__section{
	margin-top: 50px;
	margin-bottom: 100px;
}

.confirm-screen .form-table td {
    background-color: #fff;
    font-weight: bold;
}

/* ボタンの横並び配置 */
.flex-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
	flex-direction: column;
}

.back-btn {
    width: 300px;
    height: 60px;
    background: #aaa !important;
    color: #fff !important;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
}

.confirm-screen .wpcf7-submit {
    width: 300px;
}

/* 確認画面ではアコーディオンや注釈を非表示にする（必要に応じて） */
.confirm-screen .accordion-wrapper-custom,
.confirm-screen .privacy-policy-section {
    display: none;
}

.thanks-container{
	text-align: center;
}
.contact-text{
	line-height: 1.8;
}

.thank-to-top-btn{
	font-weight: 700;
}
/* スマホ対応 */
@media screen and (max-width: 600px) {
    .form-table th, .form-table td {
        display: block;
        width: 100%;
    }
    .form-table th {
        background-color: #f0f7ff;
    }
    .name-fields label {
        width: 100%;
        margin-bottom: 10px;
    }
	.contact-ttl {
        margin-top: 20px;
    }
	.page-confirm__section{
		margin: 0px auto 50px;
	}
	.security-info-wrapper{
		padding: 20px 0 40px;
	}
}
@media screen and (max-width: 768px) {
	.thanks-container{
		text-align: left;
	}
	.contact-text{
		text-align: left;
	}
	.thanks-container .fp-feature__more{
		margin: 40px auto 0;
	}
}

/* footer-contact専用の上書き設定 */
.site-footer--contact{
	background: var(--color-bg-light2);
    padding: 60px 20px 30px;
}

.site-footer--contact .site-footer__lead {
    background-color: transparent;
    color: #333;
    padding: 0px 0px 20px;
}

.site-footer--contact .site-footer__lead-inner{
	align-items: flex-start;
	justify-content: flex-start;
    gap: 80px;
}

.contact-footer__tel{
	text-align: center;
}

.contact-footer-catch{
	font-weight: 600;
    font-size: 1.25rem;
	margin: 0 auto 20px;
}

.contact-footer__tel .site-footer__tel-btn{
	text-align: center;
	background: var(--color-main-blue);
    color: #fff;
}

.site-footer--contact .site-footer__lead-desc {
    font-size: 14px;
    color: #666;
	margin-top: 15px;
}


/* ナビゲーションエリア（下段） */
.site-footer--contact .site-footer__nav {
    border-top: none; /* 上の線が不要な場合 */
    padding: 0;
}

.site-footer--contact .site-footer__nav-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* ロゴとバッジの底辺を合わせる */
	margin-bottom: 0;
	gap: 0;
}

.site-footer--contact .site-footer__nav-brand{
	width: 50%;
}
/* サブリンクの横並び */
.site-footer--contact .site-footer__brand-links {
    display: flex;
    gap: 15px;
    font-size: 12px;
}
.site-footer--contact .site-footer__badges{
	width: 50%;
}

/* コピーライトエリアの境界線 */
.site-footer--contact .site-footer__copy-area {
    padding: 20px 0 0;
}

@media screen and (max-width: 768px) {
	.site-footer--contact .site-footer__lead{
		padding: 0px 0px 20px;
		align-items: center;
	}
	.site-footer--contact .site-footer__lead-inner{
		gap: 0px;
		align-content: center;
	}
	.site-footer--contact .site-footer__lead-text{
		margin: auto;
	}
	.site-footer--contact .site-footer__nav-top{
		align-items: center;
		gap: 0px;
	}
	.site-footer--contact .site-footer__brand-links{
		gap: 0px;
		flex-direction: column;
	}
	.site-footer--contact .site-footer__badges{
		width: 100%;
		justify-content: center;
	}
	.site-footer--contact .site-footer__nav-brand{
		width: 100%;
	}
}

/* 隠しフィールド用のクラス */
.hidden {
    display: none !important;
}