/* 共通設定 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --color-primary: #1E3C78;
    --color-primary-hover: #cc0010;
    --color-secondary: #E63935;
    --color-text: #333333;
    --color-bg-light: #f8f9fa;
    --color-border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 500;
    color: #333333;
    line-height: 1.6;
    background-color: #fafafa;
    padding-bottom: 70px; /* スマホ固定フッター用 */
	overflow-x: hidden;
	width: 100%;
}

.mincho {
    font-family: "Noto Serif JP", serif;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.text-center {
    text-align: center;
}
.pc-bl {
	display: block;
}
.sp-bl {
    display: none !important;
}

/* ボタン */
.btn-red {
    display: inline-block;
    background-color: #E63935;
    color: #ffffff;
    padding: 18px 60px;
    border: none;
    border-radius: 4px;
    font-size: min(4.8vw, 1.3rem);
    font-weight: bold;
    text-decoration: none;
	text-align: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-red:hover {
    background-color: #cc2c29;
    transform: translateY(-2px);
}

.mv-btn-wrap {
    animation: mvFadeUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
    opacity: 0;
    width: 100%;
}

.mv-btn {
    font-size: 1.15rem;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5rem;
    padding: 12px 2rem;
    max-width: 300px;
    margin: 0 auto;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.mv-btn:hover {
    opacity: 0.8; 
    background-color: rgba(255, 255, 255, 0.1); 
    transform: translateY(-3px);
}

/* ヘッダー */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* MVや動画、他のコンテンツより手前に表示 */
    background-color: #ffffff; /* 下のコンテンツが透けないように背景色を指定 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* 浮遊感と境界線を出すためのうっすらとした影 */
}
.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 45px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .sub-text {
    font-size: 0.75rem;
    color: #666;
}

.logo-text .main-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2C529C;
    line-height: 1.2;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #555555;
    font-size: 0.85rem;
    font-weight: bold;
    transition: color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-sub {
    font-size: 0.4rem;
    color: #b5b5b5;
}

.nav-links a:hover, .nav-links a:hover .nav-sub {
    color: #cc2c29;
}
.header-wrap-right {
	display: flex;
	gap: 4rem;
	align-items: center;
}
.header-buttons {
    display: flex;
    gap: 10px;
	align-items: center;
}
.header-buttons .btn-red {
	padding: 5px 10px;
	font-size: 1rem;
	display: flex;
	align-items: center;
}
.header-buttons .icon-mail {
	width: 25px;
	height: 25px;
}
.icon-bktel {
	display: inline-block;
	width: 1.6rem;
	height: 1.6rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	border-radius: 3px;
    flex-shrink: 0; 
    margin-right: 6px;
	margin-top: 4px;
	background-image: url('../img/tel-y.jpg'); 
}
.header-buttons .tel {
	display: flex;
	align-items: center;
	white-space: nowrap;
}
.header-tel p {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1e3c78;
	font-size: 14px;
}
.icon-bktel-sp {
	display: none;
}
.tel {
	font-size: 2rem;
	color: #1e3c78;
	margin-top: -16px;
}
@media (max-width: 1000px) {
	.header-wrap-right {
		gap: 1rem;
	}
}
@media (max-width: 940px) {
	.header-buttons .icon-mail, .header-buttons .icon-tel, .header-buttons .icon-line {
		margin-right: 0;
		width: 25px;
		height: 25px;
	}
	.header-buttons .tel-btn, .header-buttons .web {
		height: 35px;
		box-shadow: none;
	}
	.header-buttons {
		gap: 5px;
	}
}
@media (max-width: 768px) {
	.header-buttons .btn-red {
		flex-direction: column;
	}
}

/* メインビジュアル */
.main-visual {
    position: relative; /* 動画、レイヤー、コンテンツの基準点 */
    padding: 80px 0 60px;
    text-align: center;
    color: #ffffff;
    overflow: hidden; 
	height: 110vh;
    min-height: 720px; 
    display: flex;
    align-items: center;
}

.main-visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 2; 
}

.mv-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 1;
}

.mv-content {
    position: relative;
    z-index: 3; 
    width: 100%;
    animation: mvFadeUp 2.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}

.mv-contentbox {
    border:5px solid #E63935;
    border-radius: 5px;
    padding: 1rem;
    width: 60%;
    margin: 0 auto 2rem;
}

.mv-title {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin-bottom: 5px;
}

.mv-subtitle {
    font-size: 1.25rem;
    font-weight: bold;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

@keyframes mvFadeUp {
    from {
        opacity: 0;
        transform: translateY(80px); /* 40px下からスタート */
    }
    to {
        opacity: 1;
        transform: translateY(0);    /* 元の位置へ戻る */
    }
}


/* メインビジュアル内のスライダー調整 */
.mv-thumbnails {
    margin: 0 auto;
    padding: 0 !important;
    overflow: hidden;
    color: var(--color-primary);
    border-top: 5px solid #1E3C78;
    border-bottom: 5px solid #1E3C78;
    background-color: #1E3C78;
    width: 100%;
}
.thumb-card {
    height: auto;
}
.thumb-card img {
    object-fit: cover;
    width: 100%;
    height: 310px;
    display: block;
}

.mv-thumbnails .swiper-wrapper {
    transition-timing-function: linear !important;
}
/* 青色メッセージ帯 */
.blue-bar {
    margin: 0;
    background-color: #1e3c78;
    color: #ffffff;
    text-align: center;
    padding: 5px 0 10px;
    font-size: min(4vw, 2rem);
    font-weight: bold;
}

/* 査定フォームセクション */
.section-form {
    background-color: #ffffff;
    padding: 6rem 0 .5rem;
}
.section-title {
    font-size: min(6.5vw, 1.8rem);
    font-weight: bold;
    color: #2C529C;
    text-align: center;
    margin-bottom: 30px;
}
.section-title .icon {
    font-size: min(9vw, 2rem);
}
.assessment-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: min(5vw, 40px);
}
.assessment-title .main-text {
  font-size: min(6.5vw, 1.6em);
  background: linear-gradient(transparent 80%, #fff600 80%);
}
.assessment-form {
    max-width: 1000px;
    margin: 0 auto min(12vw, 100px);
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    padding: min(4vw, 30px);
    border-radius: 8px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group .badge, .form-group .badge2  {
    color: #ffffff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 5px;
}

.form-group .badge {
    background-color: #E63935;
}

.form-group .badge2 {
	background-color: #71AD0C;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #ffffff;
}

.form-submit-wrap {
    text-align: center;
    margin-top: 30px;
}

.form-submit-wrap .btn-red {
    width: 100%;
    max-width: 400px;
	font-family: "Zen Maru Gothic", sans-serif !important;
}

.textbox {
	width: 100%;
    height: 200px;
	padding: 1rem;
	font-size: 1rem;
}

/* 電話バナー */
.tel-banner {
    max-width: 900px;
    margin: 0 auto;
    /*padding-bottom: 1rem;
    border: 3px solid #2C529C;
    border-radius: 8px;
    display: flex;
    overflow: hidden;*/
}

.tel-banner img {
	width: 100%;
}

.tel-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tel-label {
    font-size: 1.75rem;
    font-weight: bold;
    color: #fff;
    background-color: #2C529C;
    margin-bottom: 1rem;
    text-align: center;
    padding: 10px;
}

.tel-number {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #2C529C;
    text-decoration: none;
    line-height: 1.1;
    margin-bottom: 5px;
}

.tel-hours {
    text-align: center;
    font-size: 0.8rem;
    color: #666666;
}

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

/* お悩みセクション */
.section-problems {
    background-color: #F2F2F2;
    padding: 0 0 6rem;
    color: #ffffff;
	margin-top: 6rem;
}

.problems-h2 {
	position: relative;
    text-align: center;
    font-size: 2rem;
	padding: 2rem 0;
    margin-bottom: 4rem;
	background-color: #1e3c78;
}

.problems-h2::after {
    content: "";
    position: absolute;
    bottom: -15px; /* 三角形の高さ分、下に突き出させる */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 15px 0 15px; /* 三角のサイズ（上・右・下・左） */
    border-color: #1e3c78 transparent transparent transparent; /* 背景色と同じ色を指定 */
}

.problems-box {
    max-width: 1000px;
    margin: 0 auto 30px;
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
}

.problems-box ul {
    list-style: none;
    border: 1px solid #1e3c78;
    padding: 1rem;
    border-radius: 5px;
}

.problems-box li {
    font-size: 1.55rem;
    font-weight: bold;
    padding: 1.5rem 0 10px;
    border-bottom: 1px dashed #dddddd;
    display: flex;
    align-items: center; 
    gap: 12px;
}

.problems-avatar {
    position: absolute;
    width: 25%;
    right: -1%;
    bottom: 0;
}

.problems-box li:last-child {
    border-bottom: none;
}

.problems-box .chk {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../img/iconoir_check-square.png');
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0; 
}

.problems-lead {
    text-align: center;
    font-size: 1.55rem;
    font-weight: bold;
    margin: 4rem;
	color: #333333;
}

/* 流れセクション */
.section-flow {
    background-color: #2C529C;
    padding: 60px 0;
}

.flow-container-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.flow-box {
    flex: 1;
    min-width: 280px;
    background-color: #ffffff;
    padding: 20px 25px 40px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
}

.flow-title {
    font-size: 1.25rem;
    color: #2C529C;
    font-weight: bold;
    margin-bottom: 15px;
}

.flow-subtitle {
    color: #555555;
    font-size: 0.9rem;
}

.flow-desc {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.5;
    margin-bottom: 25px;
}

.flow-img {
    border-radius: 4px;
    margin-bottom: 1rem;
	width: 100%;
}

.flow-link {
    background-color: #2C529C;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.flow-link:hover {
    background-color: #1e3c78;
}

/* 口コミ */
.section-google-review {
	background-color: #fff;
    padding: 60px 0;
}
.voice-box {
	margin-bottom: 5rem;
}
.google-btn {
	margin-top: 1rem;
	background-color: #2C529C;
}

/* 出張エリア */
.section-area {
    background-color: #f2f2f2;
    padding: 60px 0;
}

.area-h2 {
    text-align: center;
    color: #2C529C;
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.area-h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #2C529C;
}

.area-card {
    background-color: #ffffff;
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.area-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #2C529C;
    margin-bottom: 10px;
}

.area-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
}

/* インフォメーション */
.section-info {
	background-color: #f2f2f2;
    padding-bottom: 60px;
}
.information-box {
	margin-bottom: 1rem;
}
.information-badge {
	background-color: #2C529C;
	color: #fff;
	font-size: 12px;
	padding: 1px 6px;
	border-radius: 3px;
	margin-left: 1rem;
}
.information-box {
    display: flex;
	justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}
.information-thumb {
    width: 120px;
    flex-shrink: 0;
}
.information-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}
.information-content {
    flex-grow: 1;
}

/* フッター */
footer {
    background-color: #9b9b9b;
    padding: 50px 0 80px;
    border-top: 1px solid #e0e0e0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-right {
    display: flex;
    gap: 2rem;
}
.footer-info {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.8;
}
.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}
.footer-nav a:hover {
    color: #333;
}
.footer-left .logo img {
    width: 200px;
	background-color: #fff;
	border-radius: 9px;
}
.footer-icon {
	width: 48px;
	height: 48px;
}
.footer-small {
	font-size: 12px;
}

/* 固定フッター */
.fixed-footer {
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    border-top: 1px solid #dddddd;
    padding: 2rem 1rem 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(120%);
    transition: transform 0.4s ease;
}
.fixed-footer.is-show {
    transform: translateY(0);
}
.fixed-footer-flex {
    display: flex;
    justify-content: center;
	gap: 16px;
}
.ff-btn {
    text-align: center;
    padding: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 4px;
    max-width: 220px;
    background-color: #E63935;
    display: flex;
	flex: 1;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
}
.web-btn:hover {
    background-color: #cc2c29;
    transform: translateY(-2px);
}
.tel-btn, .line {
	font-size: 1.2rem;
}
.tel-btn {
	background-color: #d3c801;
}
.tel-btn:hover {
	background-color: #aba205;
	transform: translateY(-2px);
}
.line {
    background-color: #06C755;
}
.line:hover {
	background-color: #15AE5D;
	transform: translateY(-2px);
}
.icon-mail, .icon-tel, .icon-line {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0; 
    margin-right: 5px;
}
.icon-mail {
    background-image: url('../img/mail.png'); 
}
.icon-tel {
    background-image: url('../img/tel.png');
}
.icon-line {
	background-image: url('../img/line2.png');
	width: 28px;
	height: 28px;
}
.fixed-footer-img {
    position: relative;
}
.fixed-footer-img img {
    width: 160px;
   position: absolute;
    top: -80px;
    right: 19%;
}
.fixed-footer-text {
    margin-top: 1rem;
    text-align: center;
    color: #fff;
    font-size: .8rem;
}

/* レスポンシブ (タブレット・スマホ) */
@media (max-width: 1875px) {
    .fixed-footer-img img {
        right: 13%;
    }
}
@media (max-width: 1565px) {
    .fixed-footer-img img {
        right: 4%;
    }
}
@media (max-width: 1365px) {
    .mv-contentbox {
        width: 80%;
    }
}
@media (max-width: 1024px) {
    .fixed-footer-img {
        display: none;
    }

}

@media (max-width: 991px) {
    .header-right {
        display: none; /* メニューが入り切らない場合は簡易的に非表示(ハンバーガー対応想定) */
    }
    .mv-contentbox {
        width: 90%;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px;
    }
    .sp-bl {
        display: block !important;
    }	
	.pc-bl {
		display: none;
	}
    .logo {
        flex-direction: row;
		align-items: flex-start;
    }
	.logo-img {
		height: 35px;
	}
    .logo-text .main-text {
        font-size: min(4vw, 18px);
    }
    .header-wrap {
        padding: 10px 1rem;
    }
    .icon-mail, .icon-tel, .icon-line {
        margin-right: 0;
    }
     .mv-contentbox {
        width: 100%;
    }
    .main-visual {
        min-height: 500px;
		height: 90vh;
    }
    .mv-title {
        font-size: 2.2rem;
    } 
    .mv-subtitle {
        font-size: 1rem;
    }    
    .mv-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }    
    .thumb-card img {
        height: 160px;
    }
    .tel-label {
        font-size: 1.5rem;
    }
    .tel-banner {
        flex-direction: column;
    }
    .section-form {
        padding: 3rem 0 .5rem;
    }	
	.section-problems {
		padding-bottom: 3rem;
		margin-top: 3rem;
	}
    .blue-bar {
        white-space: nowrap;
		padding: 2rem 0;
    }
    .problems-h2 {
        font-size: 6vw;
        margin-bottom: 2rem;
    }
    .problems-box {
        padding: 15px;
    }    
    .problems-box li {
        font-size: 3.7vw;
    }    
    .problems-avatar {
        width: 25%;
    }
    .problems-lead {
        font-size: 4.6vw;
        margin: 3rem 0;
        white-space: nowrap;
    }
	.voice-box {
	    margin-bottom: 3rem;
    }
	.fixed-footer {
        display: flex;
        flex-direction: column;
		padding: 1rem 0;
		gap: 10px;
    }
    .fixed-footer-flex {
        margin: 0 auto;
        gap: 10px;
    }
	.ff-btn {
		flex-direction: column;
		flex: initial;
	}
	.tel-btn, .web-btn, .line {
		font-size: 3vw;
	}
	.icon-mail, .icon-tel, .icon-line {
		width: 18px;
		height: 18px;
	}
	.fixed-footer-text {
		margin-top: 0;
		font-size: 2.8vw;
	}
}
@media (max-width: 600px) {
	.problems-avatar {
        width: 33%;
    }
}

/* ==========================================
   レスポンシブ (ハンバーガーメニューとレイアウト)
   ========================================== */

/* ハンバーガーボタンの初期状態（PCでは非表示） */
.hamburger-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
    z-index: 1001; /* メニューより手前に表示 */
}

/* ボタンの三本線のスタイル */
.hamburger-btn span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* 各線の位置調整 */
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 10px; }
.hamburger-btn span:nth-child(3) { top: 20px; }

/* ボタンがアクティブ（開いた状態）になったときの×印アニメーション */
.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: #333333;
}
.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0; /* 中央の線を消す */
}
.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background-color: #333333;
}


/*タブレット・スマホ用のスタイル分岐 (991px以下) 
@media (max-width: 991px) {
*/
	body {
        overflow-x: hidden;
    }
    .header-right {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #ffffff;
        padding: 60px 20px 110px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
		margin-top: 80.79px;
    }
    .header-right.is-open {
        right: 0;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 20px;
        margin-bottom: 30px;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }


/* スマホ用の個別調整 (768px以下) */
@media (max-width: 768px) {
    body {
        padding-bottom: 75px; /* スマホ固定フッター用 */
    }	
    .mv-title {
        font-size: 2.2rem;
    }  
    .mv-subtitle {
        font-size: 1rem;
    }    
    .tel-banner {
        flex-direction: column;
    }    
    .fixed-footer {
        display: flex;
        gap: 10px;
    }
}


/* ==========================================
   スクロールアニメーション（フェードイン）
   ========================================== */

.scroll-trigger {
    opacity: 0;
    transform: translateY(30px); 
    transition: opacity 0.8s ease, transform 0.8s ease; 
}

.scroll-trigger.is-animated {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   下層ページ
   ========================================== */

/* ページヘッダー */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), 
                url('../img/z39enn1pv.jpg') 50% 80%/cover no-repeat;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    margin-top: 90px;
}
.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}
.page-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 5px;
    opacity: 0.8;
}
.page-mv {
	display: block;
	width: 50%;
	height: auto;
	border-radius: 10px;
	margin: 2rem auto 4rem;
}
/* パンくずリスト */
.breadcrumbs {
    background-color: var(--color-bg-light);
    padding: 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--color-border);
}
.breadcrumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
.breadcrumbs li::after {
    content: ">";
    margin-left: 10px;
    color: #999;
}
.breadcrumbs li:last-child::after {
    content: "";
}
.breadcrumbs a {
    color: #666;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* メインコンテンツ */
.main-content {
    padding: 80px 0;
}

/* --------------------------------------------------
 * ご相談の流れ (VOC)
 * -------------------------------------------------- */

#flow {
	padding-bottom: 0;
}

/* 導入文 */
.flow-intro {
    text-align: center;
    margin-bottom: min(6vw, 50px);
}
.lead-text {
    line-height: 1.8;
    color: var(--color-text);
}

/* ステップカード */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 70px;
}
.step-card {
    display: flex;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* STEPバッジ */
.step-badge {
    background: var(--color-primary);
    color: #fff;
    width: 140px;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.step-badge span {
    font-size: 2.2rem;
    line-height: 1;
    margin-top: 4px;
}

/* STEP本文 */
.step-body {
    padding: 25px 30px;
    flex-grow: 1;
}
.step-title {
    font-size: 1.3rem;
    color: var(--color-text);
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-bg-light);
}
.step-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}
.step-action {
    margin-top: 18px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ボタン共通 */
.btn {
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    color: #fff;
    text-align: center;
    transition: background-color 0.2s, opacity 0.2s;
}
.btn-primary {
    background-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
}
.btn-secondary {
    background-color: var(--color-secondary);
    color: #fff;
}
.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* 書類一覧セクション */
.doc-section {
    background: #2C529C;
    padding: 40px 40px min(10vw, 100px);
}
.doc-section .section-title {
    text-align: center;
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #fff;
}
.doc-section .section-lead {
    text-align: center;
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 30px;
}

/* テーブルデザイン */
.table-wrapper {
    overflow-x: auto;
}
.doc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.doc-table th, 
.doc-table td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}
.doc-table thead th {
    background-color: var(--color-secondary);
    color: #fff;
    font-weight: bold;
}
.doc-table tbody th {
    text-align: left;
    background-color: #f1f5f9;
    font-weight: normal;
    width: 40%;
}
.doc-table .check {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.1rem;
}
.note-mark {
    font-size: 0.8rem;
    color: var(--color-primary);
}

.doc-notes {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.6;
}

/* --------------------------------------------------
 * お客様の声 (VOC)
 * -------------------------------------------------- */

/* 導入文の補足 */
.voice-intro {
    text-align: center;
    margin-bottom: 45px;
}
.sub-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 70px auto;
}

.voice-card {
    display: flex;
    gap: 1rem;
    background: #ffffff;
    overflow: hidden;
}

.voice-content {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.voice-thumb {
    width: 360px;
    height: 300px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.voice-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.voice-header {
    background: #f8f9fa;
    padding: 20px 25px 15px;
    border-bottom: 1px solid var(--color-border);
}

.voice-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.voice-meta .location {
    background: #eef2f6;
    color: #666;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.voice-meta .user-name {
    font-weight: bold;
    color: var(--color-text);
}

.voice-meta .car-model {
    color: #fff;
    background: #2C529C;
    padding: 3px 10px;
    border-radius: 4px;
}

.voice-title {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
}

.voice-body {
    padding: 20px 25px 25px;
}

.voice-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
    position: relative;
}

/* --------------------------------------------------
 * ページネーション (Pagination)
 * -------------------------------------------------- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: inline-block;
}

/* リンク・ボタンの共通スタイル */
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 6px;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

/* ホバー時 */
a.page-link:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* カレント（現在のページ） */
.page-item.active .page-link {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    cursor: default;
}

/* 「前へ」「次へ」ボタン */
.page-link.prev,
.page-link.next {
    padding: 0 16px;
}

/* 非活性状態 (1ページ目の「前へ」など) */
.page-item.disabled .page-link {
    background-color: #f1f5f9;
    border-color: var(--color-border);
    color: #aaa;
    cursor: not-allowed;
    box-shadow: none;
}

/* 省略記号 (…) */
.page-item.dots span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 42px;
    color: #888;
    font-weight: bold;
}

/* --------------------------------------------------
 * 買取実績 投稿詳細 (Single Result)
 * -------------------------------------------------- */

.result-article {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 60px;
}

/* 記事ヘッダー */
.article-header {
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-date {
    font-size: 0.9rem;
    color: #888;
}

.category-tag {
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.entry-title {
    font-size: 1.6rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.4;
}

/* 概要（画像 ＋ スペック表） */
.result-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

/* 左：画像 */
.result-image {
    width: 50%;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右：スペック表・価格 */
.result-spec {
    width: 50%;
    display: flex;
    flex-direction: column;
}

/* 買取金額バッジ */
.price-box {
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 18, 0.2);
}

.price-label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.9;
}

.price-value {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.2;
    margin-top: 4px;
}

.price-value .unit {
    font-size: 1rem;
    font-weight: normal;
    margin-left: 4px;
}

/* スペックテーブル */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--color-border);
}

.spec-table th {
    width: 35%;
    background-color: #f8f9fa;
    color: #555;
    text-align: left;
    font-weight: bold;
}

.spec-table td {
    color: var(--color-text);
    font-weight: 500;
}

.works-price-red {
	color: #cc2c29;
	text-align: right;
	white-space: nowrap;
	padding-bottom: 1rem;
	margin-top: -1rem;
}

/* 査定ポイント（本文） */
.result-detail {
    border-top: 1px solid var(--color-border);
    padding-top: 35px;
    margin-bottom: 40px;
}

.detail-heading {
    font-size: 1.3rem;
    color: var(--color-secondary);
    border-left: 5px solid var(--color-primary);
    padding-left: 12px;
    margin: 0 0 20px 0;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.entry-content h3 {
    font-size: 1.15rem;
    color: var(--color-text);
    margin: 25px 0 12px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-border);
}

.entry-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 8px;
}

/* 前後の記事ナビゲーション */
.post-navigation {
    border-top: 1px solid var(--color-border);
    padding-top: 25px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}
.nav-links .ff-btn {
	color: #fff;
	padding: 0.5rem;
}
.nav-list {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 4px;
}

/* --------------------------------------------------
 * 買取実績 一覧 (Archive Results Grid)
 * -------------------------------------------------- */

/* グリッドレイアウト（PCは2列） */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* 実績カード本体 */
.result-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.result-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* アイキャッチ画像 ＋ カテゴリーバッジ */
.result-card-thumb {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.result-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-card:hover .result-card-thumb img {
    transform: scale(1.04);
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-secondary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* カード内容エリア */
.result-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.result-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.result-card-title {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--color-text);
    line-height: 1.4;
    margin: 0 0 12px 0;
}

/* 車両スペック情報 */
.result-card-specs {
    display: flex;
    gap: 15px;
    font-size: 0.82rem;
    color: #555;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 0 0 15px 0;
}

.result-card-specs div {
    display: flex;
    gap: 6px;
}

.result-card-specs dt {
    color: #888;
}

.result-card-specs dd {
    margin: 0;
    font-weight: 500;
}

/* 買取価格部分 */
.result-card-price {
    margin-top: auto;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-card-price .label {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.result-card-price .value {
    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1;
}

.result-card-price .unit {
    font-size: 0.85rem;
    font-weight: normal;
    margin-left: 2px;
}

/* --------------------------------------------------
 * 当店の魅力 (Feature Page)
 * -------------------------------------------------- */

/* --------------------------------------------------
 * 1. スマイルカーズのお約束
 * -------------------------------------------------- */
.promise-section {
    margin-bottom: 80px;
}

.promise-box {
    background: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(230, 0, 18, 0.08);
    position: relative;
	display: flex;
	gap: 2rem;
}
.promise-box .page-mv {
	width: 40%;
	object-fit: contain;
	margin: 0 auto;
}
.promise-header {
    text-align: center;
    margin-bottom: 25px;
}

.promise-badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.promise-header h2 {
    font-size: 1.6rem;
    color: var(--color-text);
    margin: 0;
}

.promise-content {
    background: #fdf8f8;
    padding: 25px min(3vw, 30px);
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
}

.promise-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 15px;
}

.promise-lead strong {
    color: var(--color-primary);
    background: linear-gradient(transparent 60%, #ffcccc 60%);
}

.promise-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.promise-text:last-child {
    margin-bottom: 0;
}

.promise-note {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 6px;
}


/* --------------------------------------------------
 * 2. 5つの理由 (画像重ねデザイン)
 * -------------------------------------------------- */
.reasons-section {
    margin: 7rem auto 80px;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: min(8vw, 50px);
}

.section-main-title {
    font-size: min(1.8rem, 6vw);
    color: var(--color-text);
    margin: 0;
}

/* 5つの理由 リスト */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* 1アイテム（画像 ＋ 重ねテキストカード） */
.feature-item {
    display: flex;
    align-items: center;
    position: relative;
}

/* 左：画像領域 */
.feature-image {
    width: 60%;
    height: 440px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: var(--color-secondary);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: min(5.6vw, 1.85rem);
    font-weight: bold;
    letter-spacing: 1px;
}
.feature-badge-right {
    right: -10px;
    left: auto;
}

.feature-badge span {
    font-size: min(6vw, 2rem);
    color: #ffcc00;
    margin-left: 4px;
}

/* 右：重ねテキストカード (画像と被せる) */
.feature-card {
    width: 50%;
    background: #fff;
    color: #333;
    border-radius: 8px;
    margin-left: -50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.feature-title {
    font-size: 1.4rem;
	background: var(--color-primary);
    color: #fff;
    padding: 12px 16px;
	border-radius: 8px 8px 0 0;
    font-weight: bold;
}
.feature-textbox {
	padding: 25px 30px;
}
.feature-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
    margin: 0 0 12px 0;
}
.feature-text:last-child {
    margin-bottom: 0;
}
/* 偶数番目 (reverse): 右画像・左カードの逆配置 */
.feature-item.reverse {
    flex-direction: row-reverse;
}
.feature-item.reverse .feature-card {
    margin-left: 0;
    margin-right: -50px;
}

/* --------------------------------------------------
 * よくあるご質問 (FAQ Page)
 * -------------------------------------------------- */
.faq-lead {
    text-align: center;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: min(6vw, 50px);
}
.faq-category {
    margin-bottom: 50px;
}
.faq-category-title {
    font-size: 1.4rem;
    color: #1a2b4c;
    border-bottom: 2px solid #1a2b4c;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.faq-question {
    display: flex;
    align-items: center;
	text-align: left;
    padding: 18px 20px;
    cursor: pointer;
    background: #fdfdfd;
    user-select: none;
    list-style: none;
    position: relative;
    transition: background-color 0.2s;
}
/* Safari用矢印非表示 */
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question:hover {
    background: #f8f9fa;
}
.q-badge {
    background: var(--color-primary, #e60012);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
}
.q-text {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--color-text, #333);
    flex-grow: 1;
    padding-right: 30px;
}
.toggle-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #777;
    transition: transform 0.3s ease;
}
.toggle-icon::before {
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
}
.toggle-icon::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
}
.faq-item[open] .toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-item[open] .toggle-icon::before {
    background-color: var(--color-primary, #e60012);
}
.faq-answer {
    display: flex;
    align-items: flex-start;
	text-align: left;
    padding: 20px;
    background: #fafafa;
    border-top: 1px dashed #e0e0e0;
}
.a-badge {
    background: var(--color-secondary);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 2px;
}
.a-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    flex-grow: 1;
}
.a-text p {
    margin: 0 0 10px 0;
}
.a-text p:last-child {
    margin-bottom: 0;
}
.doc-list {
    margin: 10px 0 15px 0;
    padding-left: 20px;
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px 15px 15px 15px;
}
.doc-list li {
    margin-bottom: 5px;
    color: #333;
}
.doc-list li:last-child {
    margin-bottom: 0;
}
.faq-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}


/* --------------------------------------------------
 * 会社概要・代表挨拶 (Company Page)
 * -------------------------------------------------- */
/* 1. 代表挨拶 */
.greeting-section {
    margin-bottom: min(20vw, 100px);
}
.greeting-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #2c529c;
}
.greeting-photo-wrap {
    width: 280px;
    flex-shrink: 0;
    text-align: center;
}
.greeting-photo {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 12px;
}
.greeting-caption {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}
.greeting-caption strong {
    font-size: 1.1rem;
    color: var(--color-text, #333);
}
/* 右側：本文エリア */
.greeting-text-wrap {
    flex-grow: 1;
}
.greeting-lead {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1a2b4c;
    line-height: 1.7;
    margin-bottom: 20px;
}
.greeting-text-wrap p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}
/* お悩みチェックリスト */
.greeting-checklist {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary, #e60012);
    padding: 15px 20px 15px 35px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}
.greeting-checklist li {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: bold;
}
.greeting-checklist li:last-child {
    margin-bottom: 0;
}
/* 2. 会社概要テーブル */
#company {
		padding-bottom: 0;
}
.company-info-section .section-title-wrap, .company-info-section .section-main-title {
	color: #fff;
}
.company-info-section {
	background-color: #2C529C;
    padding: 80px 15px 60px;
}
.company-table {
	max-width: 1200px;
    margin: 0 auto 60px;
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.company-table th,
.company-table td {
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    line-height: 1.6;
}
.company-table th {
    width: 25%;
    background: #f4f6f9;
    color: #1a2b4c;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}
.company-table td {
    color: #333;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}
.phone-link {
    color: var(--color-primary, #e60012);
    font-weight: bold;
    text-decoration: none;
}
/* 3. エリア案内ボックス */
.area-info-box {
    background: #eef3f9;
    border: 1px solid #d0dce8;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    margin-bottom: 60px;
}
.area-info-box h3 {
    font-size: 1.1rem;
    color: #1a2b4c;
    margin: 0 0 10px 0;
}
.area-info-box p {
    font-size: min(1.2rem, 4.6vw);
    color: var(--color-primary, #e60012);
    margin: 0 0 5px 0;
}
.area-note {
    font-size: 0.85rem !important;
    color: #666 !important;
}


/* --------------------------------------------------
 * LINE友だち追加 誘導ブロック
 * -------------------------------------------------- */
.line-cta-box {
    margin-top: 60px;
    margin-bottom: 60px;
}
.line-cta-inner {
	max-width: 1000px;
	margin: 0 auto;
    background: #f4fbf7; /* 優しい淡いグリーン背景 */
    border: 2px solid #06C755;
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.1);
}
.line-cta-header {
    margin-bottom: 15px;
	font-size: min(4.8vw, 1.3rem);
}
.line-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
	gap: 1rem;
	margin-top: 1rem;
}
.line-btn {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.line-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
.line-btn img {
    width: 100%;
    display: block;
}
.line-btn-note {
    color: #777777;
    margin-top: 8px;
    margin-bottom: 0;
}


/* --------------------------------------------------
 * レスポンシブ対応 (スマホ)
 * -------------------------------------------------- */
@media (max-width: 768px) {
    .line-cta-inner {
        padding: 25px 18px;
    }

    .line-title {
        font-size: 1.15rem;
    }

    .line-lead {
        font-size: 0.88rem;
        text-align: left;
    }

    .line-merit-list {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }

    .line-merit-list li {
        font-size: 0.83rem;
        justify-content: center;
    }

    .line-btn img {
        height: 46px; /* スマホでは押しやすい絶妙なサイズ感に */
    }
}
   

/* --------------------------------------------------
 * レスポンシブ対応 (タブレット・スマホ)
 * -------------------------------------------------- */
@media (max-width: 992px) {
    
}

/* レスポンシブ対応 (スマホ表示) */
@media (max-width: 768px) {
	.page-mv {
		width: 100%;
		margin: 0 auto 2rem;
	}
	.container {
        padding: 0 6%;
    }
	#contact .container {
		padding: 0 3%;
	}
	.header-wrap {
		padding: 10px;
	}
    .main-content {
        padding: 60px 0 0;
    }
	.area-info-box {
		margin-bottom: 0;
	}
    .step-card {
        flex-direction: column;
    }
    .step-badge {
        width: 100%;
        min-width: auto;
        padding: 10px 0;
        flex-direction: row;
        gap: 8px;
    }
    .step-badge span {
        font-size: 1.5rem;
        margin-top: 0;
    }
    .step-body {
        padding: 20px;
    }
    .doc-section {
        padding: 20px 15px;
    }
    .doc-table th, 
    .doc-table td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    .voice-card, .voice-header {
        flex-direction: column; /* スマホでは縦並びに切り替え */
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    .voice-thumb {
        width: 100%;
    }
    .voice-title {
        font-size: 1.1rem;
    }
    .pagination {
        gap: 5px;
    }
    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
    .page-link.prev,
    .page-link.next {
        padding: 0 12px;
    }
    .result-article {
        padding: 20px 15px;
    }
    .entry-title {
        font-size: 1.3rem;
    }
    .result-summary {
        flex-direction: column;
        gap: 20px;
    }
    .result-image,
    .result-spec {
        width: 100%;
    }
    .result-image {
        height: 220px;
    }
    .price-value {
        font-size: 1.8rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 12px;
    }
    .results-grid {
        grid-template-columns: 1fr; /* スマホでは1列表示 */
        gap: 20px;
    }
    .result-card-thumb {
        height: 180px;
    }
    .result-card-title {
        font-size: 1rem;
    }
    .feature-item,
    .feature-item.reverse {
        flex-direction: column; /* スマホでは縦並びに分解 */
        align-items: stretch;
    }
    .feature-image {
        width: 100%;
        height: 250px;
    }
    .feature-card,
    .feature-item.reverse .feature-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: -30px; /* スマホでは画像を少し上に潜り込ませる */
    }
	.feature-textbox {
		padding: 20px 25px;
	}
   .feature-badge-right {
        right: auto;
        left: -10px;
    }
    .promise-box {
        padding: 25px min(3vw, 18px);
		flex-direction: column;
    }
	.promise-box .page-mv {
		width: 100%;
	}
    .promise-header h2 {
        font-size: 1.3rem;
    }
    .feature-title {
        font-size: 1.2rem;
    }
    .faq-question {
        padding: 15px;
    }
    .q-badge, .a-badge {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
        margin-right: 10px;
    }
    .q-text {
        font-size: 0.95rem;
        padding-right: 20px;
    }
    .faq-answer {
        padding: 15px;
    }
    .a-text {
        font-size: 0.9rem;
    }
     .greeting-container {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
    }
    .greeting-photo-wrap {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }
	.company-info-section {
		padding: 60px 6%;
	}
	.company-table {
		margin-bottom: 0;
	}
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th {
        background: #eef3f9;
        padding: 10px 15px;
        border-bottom: none;
    }
    .company-table td {
        padding: 12px 15px 18px 15px;
    }
	
}

/* --------------------------------------------------
 * 2カラム レイアウト (2 Column Layout)
 * -------------------------------------------------- */
.content-layout {
    display: flex;
    gap: 35px; /* メインとサイドバーの間隔 */
    align-items: flex-start;
}

.main-col {
    flex: 1;
    min-width: 0; /* Flexboxの横幅崩れ防止 */
}

.sidebar {
    width: 300px;
    min-width: 300px;
}

/* --------------------------------------------------
 * サイドバー ウィジェット (Sidebar Widget)
 * -------------------------------------------------- */
.widget {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* ウィジェット見出し */
.widget-title {
    font-size: 1.1rem;
    color: var(--color-text);
    padding-bottom: 10px;
    margin: 0 0 15px 0;
    border-bottom: 2px solid var(--color-primary);
    position: relative;
    font-weight: bold;
}

/* カテゴリー・メーカーリスト */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-list li {
    border-bottom: 1px dashed var(--color-border);
	padding: 0.5rem 0;
}
.widget-list li:last-child {
    border-bottom: none;
}
.widget-list a {
    padding: 10px 5px;
    color: #444;
    text-decoration: none;
    transition: all 0.2s ease;
}
.widget-list a:hover {
    color: var(--color-primary);
    padding-left: 10px; /* ホバー時に少し右へスライド */
}
/* 投稿件数バッジ */
.widget-list .count {
    font-size: 0.82rem;
    color: #888;
}

@media (max-width: 992px) {
    .content-layout {
        flex-direction: column; /* タブレット・スマホ時は縦並び */
    }

    .sidebar {
        width: 100%;
        min-width: auto;
    }
}

/* お知らせ詳細スタイル */
.news-detail {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.news-detail-header {
    display: none;
}
.news-detail-date {
    color: #666;
    font-size: 0.9rem;
}
.news-detail-title {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #333;
}
.news-detail-thumb {
    margin-bottom: 30px;
}
.news-detail-thumb img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}
.news-detail-body {
    line-height: 1.8;
    color: #444;
    font-size: 1rem;
}
.news-detail-body p {
    margin-bottom: 1.5em;
}
/* 前後ナビゲーション */
.post-navigation {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.post-navigation .btn-secondary {
	background-color: unset;
}
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-previous a,
.nav-next a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}
.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
}

.sidebar-cta-box {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}