@charset "UTF-8";
/* =========================================================
   長沢こうすけ 公式サイト  main.css
   スマホファースト → 768px以上でPC（両サイド固定・中央スクロール）
   ========================================================= */

:root{
	--navy:#0b2545;
	--blue:#1d6fb8;
	--blue-d:#155a97;
	--text:#333333;
	--bg:#ffffff;
	--bg-blue:#eef4fa;
	--bg-blue2:#e8f1f9;
	--line:#d7e3ef;
	--footer-bg:#2b3138;
	--footer-text:#c9ced4;

	--left-w:360px;
	--right-w:128px;
	--center-max:456px;   /* 中央スクロール列の内容幅（細め） */
	--maxw:1200px;   /* PC: レイアウト全体の最大幅（これ以上は中央寄せ） */
	--radius:8px;

	--font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
	margin:0;font-family:var(--font);color:var(--text);
	background:var(--bg);line-height:1.8;font-size:16px;
	font-weight:400;letter-spacing:.01em;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,p{margin:0}
button{font-family:inherit;cursor:pointer}
address{font-style:normal}

/* ===== 汎用ボタン ===== */
.btn{
	display:inline-flex;align-items:center;justify-content:center;
	gap:.4em;padding:14px 22px;border-radius:6px;font-weight:700;
	font-size:15px;line-height:1.4;text-align:center;transition:.2s;border:2px solid transparent;
}
.btn--primary{background:var(--blue);color:#fff}
.btn--primary:hover{background:var(--blue-d)}
.btn--outline{background:#fff;color:var(--blue);border-color:var(--blue)}
.btn--outline:hover{background:var(--bg-blue)}
.btn--outline-light{background:transparent;color:#fff;border-color:#fff}
.btn--outline-light:hover{background:rgba(255,255,255,.12)}
.btn--block{display:flex;width:100%}
.btn--sm{padding:8px 16px;font-size:13px;border-radius:5px}

/* =========================================================
   ヘッダー（SP固定バー）
   ========================================================= */
.site-bar{
	position:sticky;top:0;z-index:60;background:#fff;
	border-bottom:1px solid var(--line);
}
.site-bar__inner{
	display:flex;align-items:center;justify-content:space-between;
	height:56px;padding:0 16px;
}
.site-bar__logo{font-weight:700;color:var(--navy);font-size:16px}
.site-bar__logo span{font-weight:700}
.hamburger{
	display:flex;flex-direction:column;align-items:center;gap:3px;
	background:var(--blue);border:0;border-radius:6px;color:#fff;
	width:44px;height:44px;justify-content:center;
}
.hamburger__bars{display:block;width:20px}
.hamburger__bars i{display:block;height:2px;background:#fff;margin:3px 0;border-radius:2px}
.hamburger__label{font-size:8px;font-style:normal;line-height:1;letter-spacing:.05em}

/* ===== ドロワー ===== */
.drawer{
	position:fixed;top:0;right:0;z-index:80;height:100dvh;width:min(86vw,340px);
	background:#fff;transform:translateX(100%);transition:transform .3s ease;
	padding:16px 20px 32px;overflow-y:auto;box-shadow:-8px 0 24px rgba(0,0,0,.12);
}
.drawer.is-open{transform:translateX(0)}
.drawer__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.drawer__logo{font-weight:700;color:var(--navy);font-size:15px}
.drawer__close{display:flex;flex-direction:column;align-items:center;background:var(--blue);color:#fff;border:0;border-radius:6px;width:44px;height:44px;justify-content:center;line-height:1}
.drawer__close span{font-size:20px}
.drawer__close em{font-size:8px;font-style:normal}
.drawer__list{border-top:1px solid var(--line)}
.drawer__list li{border-bottom:1px solid var(--line)}
.drawer__list a{display:flex;align-items:center;gap:8px;padding:16px 4px;color:var(--navy);font-weight:700}
.drawer__list a::before{content:"›";color:var(--blue);font-weight:700}
.drawer__snsbox{margin:20px 0;background:var(--blue);border-radius:8px;padding:14px 16px;color:#fff;text-align:center}
.drawer__cta{width:100%}
.drawer-overlay{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.4);border:0}
.drawer-overlay:not([hidden]){display:block}

/* SNSアイコン列 */
.sns-icons{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:10px}
.sns-icons a{display:block;width:40px;height:40px}
.sns-icons svg{width:100%;height:100%;display:block}
.snsbox__title{font-weight:700;font-size:15px}

/* =========================================================
   レイアウト土台
   ========================================================= */
.layout{position:relative}
.side--right{display:none}

/* =========================================================
   ヒーロー（FV）
   ========================================================= */
.hero{background:#eaf3fb;padding:0 0 22px;position:relative}
/* SP：Figma忠実な合成画像を表示（PCでは非表示） */
.hero__sp img{display:block;width:100%;height:auto}
/* PC用のテキストコーディングFV本体はSPでは非表示 */
.hero__body{display:none;text-align:center;padding:22px 20px 6px}
.hero__badge{font-size:12.5px;font-weight:700;color:var(--navy);margin-bottom:12px;line-height:1.5}
.hero__catch{display:block;margin:0 auto 14px;width:min(74%,300px);height:auto}
.hero__sub{font-size:14px;font-weight:500;color:var(--navy);line-height:1.8;margin-bottom:6px}
.hero__person{margin:0 auto}
.hero__person img{display:block;margin:0 auto;width:min(72%,290px);height:auto}
.hero__name{font-size:38px;font-weight:900;color:var(--blue);letter-spacing:.05em;line-height:1.1;margin-top:0}
.hero__snsbox{margin:14px 16px 0;background:var(--blue);border-radius:8px;padding:14px 16px;color:#fff;text-align:center}
.hero__cta{display:flex;width:calc(100% - 32px);margin:12px 16px 0}

/* =========================================================
   セクション共通
   ========================================================= */
.section{padding:40px 18px}
.sec-head{text-align:center;margin-bottom:22px}
.sec-head__title{font-size:26px;font-weight:700;color:var(--navy);letter-spacing:.05em}
.sec-head__lead-strong{margin-top:16px;font-weight:700;color:var(--navy);font-size:16px}
.sec-head__lead{margin-top:14px;font-size:14px;line-height:1.9}

/* ===== 政策 ===== */
.section--policy{background:var(--bg-blue)}
.policy-card{
	background:#fff;border:1px solid var(--blue);border-radius:var(--radius);
	padding:18px 16px;margin-bottom:22px;
}
.policy-card__tag{color:var(--blue);font-weight:700;font-size:13px;margin-bottom:2px}
.policy-card__title{display:flex;align-items:center;gap:10px;color:var(--navy);font-size:20px;font-weight:700;margin-bottom:14px}
.policy-card__no{color:var(--blue);font-size:26px;font-weight:700;letter-spacing:.06em}
.policy-card__photo{margin-bottom:14px}
.policy-card__photo img,.policy-card__photo .ph-slot{border-radius:4px;width:100%}
.policy-card__photo .ph-img{object-position:center top}
.policy-card__body{font-size:14px;line-height:1.85}
.policy-card__act{margin-top:16px;background:#dbe8f3;border-radius:6px;padding:14px}
.act__title{color:var(--blue);font-weight:700;font-size:14px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px dashed var(--blue)}
.act__body{font-size:13px;line-height:1.8;color:#4a4a4a}

/* ===== プロフィール ===== */
.section--profile{background:#fbf7f7}
.profile{max-width:520px;margin:0 auto}
.profile__heading{text-align:center;font-size:24px;font-weight:700;color:var(--navy);margin-bottom:20px}
.profile__photo{width:187px;height:187px;margin:0 auto 18px;border-radius:50%;overflow:hidden;background:#cfe0ee}
.profile__photo img{width:100%;height:100%;object-fit:cover}
.profile__furigana{text-align:center;font-size:12px;font-weight:700;color:var(--navy)}
.profile__name{text-align:center;font-size:24px;font-weight:700;color:var(--navy);letter-spacing:.06em;margin-bottom:16px}
.profile__lead{font-size:15px;line-height:1.85;margin-bottom:22px}
.profile__box{border:2px solid var(--blue);border-radius:6px;padding:16px 18px;margin-bottom:18px}
.profile__box-title{font-size:15px;font-weight:700;color:var(--navy);padding-bottom:10px;margin-bottom:12px;border-bottom:1px dashed var(--blue)}
.profile__box-body{font-size:14px;line-height:1.8}
.profile__box-body .pl{margin-bottom:12px}
.profile__box-body .pl:last-child{margin-bottom:0}
.profile__box-body strong{font-weight:700;color:var(--navy)}

/* ===== エピソード / お悩み アコーディオン ===== */
.section--episode{background:var(--bg-blue)}
.acc{background:#fff;border-radius:var(--radius);margin-bottom:18px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.acc__toggle{
	display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;
	padding:16px 16px;text-align:left;
}
.acc__no{color:var(--blue);font-weight:700;font-size:24px;letter-spacing:.06em;flex:none}
.acc__title{color:var(--navy);font-weight:700;font-size:16px;line-height:1.4;flex:1}
.acc__label{color:var(--blue);margin-right:4px}
.acc__chev{flex:none;width:14px;height:14px;border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:rotate(45deg);transition:transform .25s;margin-top:-4px}
.acc.is-open .acc__chev{transform:rotate(-135deg);margin-top:4px}
.acc__panel{padding:0 16px 16px}
.acc__photo{margin-bottom:12px}
.acc__photo img,.acc__photo .ph-slot{border-radius:4px;width:100%}
.acc__teaser{font-size:14px;line-height:1.85;margin-bottom:4px}
.acc--episode .acc__teaser{font-weight:400}
/* 本文：閉じている時は冒頭数行プレビュー、開くと全文 */
.acc__full{overflow:hidden;transition:max-height .35s ease;max-height:7.4em;position:relative}
.acc__full p{font-size:14px;line-height:1.85;margin-bottom:14px}
.acc__full p:last-child{margin-bottom:0}
.acc__full .acc__lead-in{display:inline-block;color:var(--navy);margin-top:2px}
.acc__todo{color:#8a94a0}
.acc__full::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.4em;background:linear-gradient(rgba(255,255,255,0),#fff);pointer-events:none;transition:opacity .2s}
.acc.is-open .acc__full::after{opacity:0}
/* エピソード：閉じている時は本文も写真も完全に閉じる（タイトルのみ） */
.acc--episode .acc__full{max-height:0;margin-top:0}
.acc--episode .acc__full::after{display:none}
.acc--episode.is-open .acc__full{padding-top:14px}
.acc--work .acc__toggle{padding-bottom:8px}
.acc--work .acc__panel{padding-top:0}
/* 続きを読む / 閉じる ボタン */
.acc__btn{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 0 auto;background:var(--blue);color:#fff;border:0;border-radius:20px;padding:8px 20px;font-size:13px;font-weight:700}
.acc__btn:hover{background:var(--blue-d)}
.acc__btn-close{display:none}
.acc.is-open .acc__btn-open{display:none}
.acc.is-open .acc__btn-close{display:inline}
.acc__more-dots{}
.acc.is-open .acc__more-dots{display:none}

/* ===== これまでとこれから（実績） ===== */
.section--works{background:#fbf7f7}
.works-head{text-align:center;margin-bottom:24px}
.works-head__title{font-size:24px;font-weight:700;color:var(--navy);line-height:1.4}
.works-head__sub{margin-top:14px;color:var(--blue);font-weight:700;font-size:16px}
.works-head__lead{margin-top:12px;font-size:14px;line-height:1.9}
.digest{border:2px solid var(--blue);border-radius:6px;padding:18px;margin-bottom:30px;background:#fff}
.digest__title{font-size:15px;font-weight:700;color:var(--navy);padding-bottom:10px;margin-bottom:14px;border-bottom:1px dashed var(--blue)}
.digest__list li{font-size:14px;line-height:1.7;margin-bottom:14px}
.digest__list li:last-child{margin-bottom:0}
.digest__list span{font-size:13px}
.works-sub{text-align:center;font-size:18px;font-weight:700;color:var(--blue);margin-bottom:20px;position:relative;padding-bottom:14px}
.works-sub::after{content:"";position:absolute;left:50%;bottom:0;width:56px;height:2px;background:var(--blue);transform:translateX(-50%)}

/* ===== 紺CTAバンド ===== */
.cta-band{background:var(--navy);color:#fff;text-align:center;padding:36px 20px}
.cta-band__title{font-size:24px;font-weight:700;letter-spacing:.04em}
.cta-band__note{font-size:13px;margin-top:8px;margin-bottom:20px;opacity:.9}
.cta-band__lead{font-size:14px;line-height:1.9;margin:14px 0 22px}
.cta-band__foot{font-size:12px;margin-top:14px;opacity:.8;line-height:1.7}
.cta-band--large .cta-band__title{font-size:22px}
.cta-band .btn--block+.btn--block{margin-top:12px}

/* ===== SNS ===== */
.ig-feed{margin:8px 0 24px}
.ig-feed__placeholder{background:#8f8f8f;color:#ff6a6a;text-align:center;border-radius:6px;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-weight:700;line-height:1.6}
.ig-feed__hint{color:#fff;font-size:12px;font-weight:400;opacity:.85}
.sns__lead{font-size:14px;line-height:1.85;margin-bottom:8px}
.sns-list__item{display:flex;align-items:center;gap:12px;padding:16px 2px;border-bottom:1px solid var(--line)}
.sns-list__icon{flex:none;width:40px;height:40px}
.sns-list__icon svg{width:100%;height:100%}
.sns-list__body{flex:1;min-width:0}
.sns-list__name{display:block;font-weight:700;color:var(--navy);font-size:15px}
.sns-list__handle{font-weight:400;color:#7b8794;font-size:12px}
.sns-list__desc{display:block;font-size:12.5px;color:#5a6470;margin-top:2px}
.sns-list__btn{flex:none}

/* =========================================================
   フッター
   ========================================================= */
.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:32px 20px 28px}
.site-footer__office{font-weight:700;color:#fff;font-size:15px;margin-bottom:12px}
.site-footer__addr{font-size:13px;line-height:1.9;margin-bottom:22px}
.site-footer__addr a{color:var(--footer-text);text-decoration:underline}
.site-footer__sns-title{font-size:13px;font-weight:700;color:#fff;margin-bottom:12px}
.site-footer .sns-icons{justify-content:flex-start;gap:12px;margin-top:0}
.site-footer__copy{margin-top:26px;font-size:11px;opacity:.7}

/* =========================================================
   追従CTA・TOPボタン（SP）
   ========================================================= */
.sticky-cta{
	position:fixed;left:0;right:0;bottom:0;z-index:55;display:flex;gap:10px;
	background:#fff;padding:10px 14px;box-shadow:0 -2px 12px rgba(0,0,0,.12);
}
.sticky-cta .btn{flex:1;padding:14px 8px}
.to-top{
	position:fixed;right:14px;bottom:78px;z-index:54;width:54px;height:54px;border-radius:50%;
	background:var(--blue);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;
	line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:opacity .3s;
}
.to-top.is-visible{opacity:1;pointer-events:auto}
.to-top svg{width:26px;height:26px;display:block;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* 実画像：枠のアスペクト比に合わせてトリミング表示（歪み防止） */
.ph-img{width:100%;height:auto;object-fit:cover;display:block}
/* プレースホルダ画像枠 */
.ph-slot{display:flex;align-items:center;justify-content:center;width:100%;background:repeating-linear-gradient(45deg,#e3e9f0,#e3e9f0 10px,#dce4ee 10px,#dce4ee 20px);border-radius:4px;color:#8794a3;text-align:center}
.ph-slot__label{font-size:12px;font-weight:700;line-height:1.5;padding:8px}
.ph-slot__label small{font-weight:400;font-size:10px;opacity:.8}

/* =========================================================
   PC（768px以上）— 両サイド固定・中央スクロール
   ========================================================= */
@media (min-width:768px){
	.site-bar{display:none}          /* PCは上部バー不要（左パネルにHP名） */
	.hamburger,.sticky-cta{display:none}
	.drawer,.drawer-overlay{display:none}

	/* 左FVの内容幅は一定にキャップ（ワイドでも大きくなりすぎない）。外側はテクスチャ余白 */
	:root{
		--left-w:clamp(380px, calc((100vh - 300px) * 0.66), 460px);
		--maxw:1160px;
		--gutter:max(0px, calc((100% - var(--maxw)) / 2));  /* 外側の余白 */
	}

	/* 左パネル：テクスチャ背景を全幅に拡張（外側の余白も埋める）。中身は中央、ボタンは両端いっぱい */
	.side--left{
		position:fixed;top:0;left:0;
		width:calc(var(--left-w) + var(--gutter));height:100vh;overflow-y:auto;
		display:flex;flex-direction:column;   /* 中身は左寄せ・パネル全幅 */
		z-index:20;border-right:1px solid var(--line);
		background:
			url(../img/fv-texture.svg) center top / 100% auto no-repeat,
			linear-gradient(160deg,#d6e6f5 0%,#e7f1fb 45%,#f4f9fd 100%);
	}
	.side--right{
		display:block;position:fixed;top:0;right:0;
		width:calc(var(--right-w) + var(--gutter));height:100vh;
		z-index:20;background:#fff;border-left:1px solid var(--line);
	}
	.side--center{
		margin-left:calc(var(--left-w) + var(--gutter));
		margin-right:calc(var(--right-w) + var(--gutter));
		background:#fff;
	}
	.section,.cta-band,.site-footer,.section--profile,.section--works{
		padding-left:0;padding-right:0;
	}
	.side--center>*{padding-left:44px;padding-right:44px}
	.side--center .cta-band{padding-left:44px;padding-right:44px}
	.section>*, .cta-band>*{max-width:var(--center-max);margin-left:auto;margin-right:auto}
	.sec-head,.works-head{max-width:var(--center-max);margin-left:auto;margin-right:auto}

	/* 左パネル：HP名は白背景バー */
	.side--left::before{
		content:"長沢こうすけ 公式HP";display:block;font-weight:700;color:var(--navy);
		font-size:15px;padding:16px 22px;background:#fff;border-bottom:1px solid var(--line);
	}
	/* FV本体：PCもFigma忠実の重ねレイアウト（左寄せ・人物は右）。SP合成画像は隠す */
	.hero__sp{display:none}
	.hero{flex:1 1 auto;min-height:0;background:none;display:flex;flex-direction:column;padding:0}
	/* FV本体：パネルの高さいっぱいに詰める（見出し上・人物右・名前は最下部で重なる） */
	/* 中身は左寄せ・各要素は画面幅に応じてスケール（vw / パネル%） */
	.hero__body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;position:relative;overflow:hidden;text-align:left;padding:18px 26px 8px}
	.hero__badge{position:relative;z-index:2;text-align:left;font-size:clamp(12px,1.05vw,17px);margin-bottom:4px}
	.hero__catch{position:relative;z-index:2;margin:6px 0 0;width:64%;max-width:none}
	.hero__sub{position:relative;z-index:2;text-align:left;font-size:clamp(12px,0.92vw,15px);max-width:52%;margin-top:14px}
	/* 人物：下端アンカーで大きく＝名前に重なり隙間なし。幅に応じてスケール */
	.hero__person{position:absolute;top:auto;bottom:6px;right:-14px;width:56%;max-width:none;margin:0;z-index:1}
	/* 切り出しの硬い切れ目（左右の肩・胸下）を輪郭フェードでぼかす（上＝頭は残す） */
	.hero__person img{
		width:100%;height:auto;display:block;margin:0;
		-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%),linear-gradient(0deg,transparent 0,#000 15%);
		-webkit-mask-composite:source-in;
		mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%),linear-gradient(0deg,transparent 0,#000 15%);
		mask-composite:intersect;
	}
	/* 名前：最下部に大きく（1行・中央揃え）、幅に応じてスケール */
	.hero__name{margin-top:auto;position:relative;z-index:2;text-align:center;font-size:clamp(40px,4.4vw,78px);line-height:1.05;letter-spacing:.03em;white-space:nowrap}
	/* SNS box ＋ 党員申込 を1行で最下部に固定 */
	.hero__foot{display:flex;align-items:stretch;gap:8px;padding:12px 24px 16px}
	.side--left .hero__snsbox{flex:1.5;margin:0;border-radius:8px;padding:11px 12px}
	.side--left .hero__snsbox .snsbox__title{font-size:12px}
	.side--left .hero__snsbox .sns-icons{gap:9px;margin-top:8px}
	.side--left .hero__snsbox .sns-icons a{width:32px;height:32px}
	.side--left .hero__cta{flex:1;margin:0;width:auto;border-radius:8px;padding:12px 8px;font-size:14px;white-space:nowrap}

	/* 右パネル：ドットナビ */
	.side--right .dotnav{display:flex;flex-direction:column;align-items:flex-start;gap:22px;padding-top:40px;padding-left:14px}
	.dotnav__item{
		width:82px;height:82px;border-radius:50%;background:var(--bg-blue2);color:var(--navy);
		display:flex;align-items:center;justify-content:center;text-align:center;
		font-size:11px;font-weight:700;line-height:1.2;white-space:nowrap;transition:.2s;padding:4px;
	}
	.dotnav__item:hover{background:var(--blue);color:#fff}
	.dotnav__item.is-active{background:var(--blue);color:#fff}

	.to-top{right:calc(var(--right-w) + var(--gutter) + 16px);bottom:24px}

	/* 政策カードなど中央幅内で見やすく */
	.policy-card,.acc,.digest,.profile{max-width:var(--center-max);margin-left:auto;margin-right:auto}
	.policy-card{margin-bottom:22px}
}

/* アクセシビリティ：視覚的に隠す */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
