@charset "utf-8";

:root {
	/* カラー定義 */
	--color-white: #FFFFFF;
	--color-bg-light: #F1F1F1;
	--color-primary: #103582;
	--color-blue: #00a2e6;
	--color-black: #000000;

	/* 共通の左右padding (1920px時: 65px 〜 375px時: 25px) */
	--side-padding: clamp(25px, 2.589vw + 15.29px, 65px);
}
/* ==========================================================================
	LP共通汎用
   ========================================================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

figure {
	margin: 0;
	text-align: center;
}

img {
	width: 100%;
	height: auto;
	image-rendering: -webkit-optimize-contrast;
}

::selection {
	color: var(--color-white);
	background-color: var(--color-black);
}

.l-header {
    width: 100%;
    background: var(--color-white);
    position: relative;
}
.BreadcrumbList_wrap {
	background: var(--color-white);
	padding-bottom: 10px;
	position: relative;
    z-index: 2;
}
.footer-wrap {
    background: var(--color-white);
    position: relative;
    z-index: 2;
}
@media screen and (max-width: 1280px) {
    .l-header {
        z-index: 10;
    }
}
@media screen and (min-width: 767px), print and (min-width: 767px) {
	.c-breadcrumb__list.u-pc-width,
	.bnr_link_win11_wrap.u-pc-width {
		padding-inline: 30px;
	}
	.bnr_link_win11_wrap.u-pc-width {
		width: auto;
	}
}
@media screen and (max-width: 787px) {
		.bnr_link_win11_wrap {
		margin-bottom: 0 !important;
	}
}
.pc {
	display: block !important;
}
.sp {
	display: none !important;
}

.content-wrap {
	color: var(--color-black);
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.05em;
	position: relative;
	z-index: 1;
	overflow: hidden;
}
/* 2. 背景を表示するエリア自体を画面の最上部に固定 */
.content-wrap .page-bg {
    position: fixed; /* もしスクロールと一緒に上に流したい場合は absolute に変更してください */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 画面いっぱいに広げる */
    overflow: hidden;
    z-index: -1; /* コンテンツの後ろに配置 */
}

/* 3. 画像を枠いっぱいに綺麗にフィットさせる */
.content-wrap .page-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像のアスペクト比を保ったまま全画面を覆う */
    object-position: center top; /* 画像の上部を基準に固定 */
    position: relative;
    z-index: 1;
}

/* 4. 擬似要素の共通設定（画像の上に絶対配置で被せる） */
.content-wrap .page-bg::before,
.content-wrap .page-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 5. 白半透明フィルター（画像の上：z-index: 2） */
.content-wrap .page-bg::after {
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

/* 6. グラデーション（一番手前：z-index: 3） */
.content-wrap .page-bg::before {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 3;
}
.content-wrap .page-bg-bottom {
	position: absolute;
	width: 100vw;
	height: 100vh;
	background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	bottom: 0;
	left: 0;
	z-index: -1;
}
@media screen and (max-width: 767px) {
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
	.content-wrap .page-bg img {
		display: none;
	}
}

/* ==========================================================================
	レイアウト・セクション
   ========================================================================== */
.l-section {
	width: 100%;
	padding-left: var(--side-padding);
	padding-right: var(--side-padding);
	margin-left: auto;
	margin-right: auto;
}

.l-container {
	max-width: 1480px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}
/* kv */
.p-kv { max-width: 1165px; }
.kv-inner {
	color: var(--color-white);
	background: var(--color-black);
	padding: 10px 
        clamp(30px, 0.32vw + 28.8px, 35px) 
        clamp(10px, 0.65vw + 7.6px, 20px);
}
.kv-inner:not(:has(.kv-logo)) {
    margin-top: 20px;
	padding: 20px 
        clamp(30px, 0.32vw + 28.8px, 35px) 
        clamp(10px, 0.65vw + 7.6px, 20px);
}
.kv-logo {
    width: clamp(140px, 3.56vw + 126.65px, 195px);
	position: relative;
}
.ttl-h2 {
	padding-left: 18px;
}
.ttl-h2 + .txt-main {
	margin-top: 5px;
	padding-left: 18px;
	text-align: left;
}
.txt-main {
	text-align: center;
}
@media screen and (max-width: 767px) {
	.p-kv {
		padding-inline: 0;
	}
	.kv-inner:not(:has(.kv-logo)) {
		padding-top: 10px;
	}
	.kv-logo {
		left: -10px;
	}
	.ttl-h2 {
		padding-left: 0;
	}
	.ttl-h2 + .txt-main {
		padding-left: 0;
	}
}
/* products */
.p-products { 
	max-width: 1165px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: clamp(20px, 0.65vw + 17.6px, 30px);
	margin-top: clamp(60px, 4.53vw + 43px, 130px);
}
.product-item {
	background: var(--color-white);
	padding: clamp(15px, 0.32vw + 13.8px, 20px)  10px clamp(20px, 0.65vw + 17.6px, 30px);
	display: flex;
    flex-direction: column;
    align-items: center;
}
.product-inner-flex {
	display: flex;
	gap: 10px;
	margin: clamp(15px, 0.32vw + 13.8px, 20px) auto 0;
}
.model-image {
    width: 45%;
}
.model-spec {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.model-price {
	margin-top: 15px;
}
.btn-link {
	width: 100%;
	max-width: 298px;
    display: inline-flex;
    align-items: center;
	justify-content: center;
    position: relative;
    z-index: 1;
	padding: clamp(16px, 0.26vw + 15px, 20px);
	margin-top: clamp(15px, 0.97vw + 11.4px, 30px);
    background-color: var(--color-primary);
    color: var(--color-white);
	text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: color 0.3s ease;
    cursor: pointer;
}
.btn-link::after {
	content: "";
    position: absolute;
    right: 24px;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--color-white);  /* 矢印の色：白 */
    border-right: 2px solid var(--color-white); /* 矢印の色：白 */
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
}
.btn-link::before {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #4a74c4;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right; 
    transition: transform 0.4s cubic-bezier(0.5, 0, 0.75, 0);
}
@media (hover: hover) {
    .btn-link:hover::before {
        transform: scaleX(1);

        /* --- 【重要】ここを追加 --- */
        /* ホバー時は「左」から伸びてくるように起点を上書き */
        transform-origin: left; 
        /* アニメーションの速度（伸びるとき） */
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
}
@media screen and (max-width: 1000px) {
	.p-products {
		grid-template-columns: 1fr;
		max-width: 480px;
	}
}
/* benefits */
.p-benefits { 
	max-width: 930px;
	margin-top: clamp(50px, 5.18vw + 30.6px, 130px);
	padding-inline: clamp(20px, 2.91vw + 9.1px, 65px);
}
.p-benefits .benefits-inner {
	background: var(--color-white);
	padding: 
        clamp(15px, 1.62vw + 8.9px, 40px) 
        clamp(20px, 5.44vw - -0.4px, 104px) 
        clamp(10px, 0.97vw + 6.4px, 25px);
	display: flex;
	flex-direction: column;
	align-items: center;
}
.wallpaper {
	border: 1px solid var(--color-black);
	margin-top: clamp(10px, 1.94vw + 2.7px, 40px);
}
.features-note {
	margin-top: clamp(10px, 0.97vw + 6.4px, 25px);
}
/* about */
.p-about { 
	max-width: 1610px;
	margin-top: clamp(50px, 4.53vw + 33px, 120px);
	padding-bottom: clamp(40px, 3.88vw + 25.4px, 100px);
	overflow: hidden;
}
.logo-about {
	max-width: 100%;
	margin-inline: auto;
}
.txt-about {
	text-align: center;
	margin-top: clamp(25px, 0.97vw + 21.4px, 40px);
}
.ss-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(8px, 0.58vw + 5.8px, 17px);
	margin-top: clamp(40px, 2.91vw + 29.1px, 85px);
}
.ss-wrap .ss {
	width: clamp(152px, 8.41vw + 120.4px, 282px);
	display: block;
}
.page-copy {
	color: var(--color-white);
	text-align: center;
	margin-top: clamp(45px, 3.88vw + 30.44px, 105px);
}
.btn-block {
	width: clamp(304px, 9.06vw + 270.02px, 444px);
	margin: clamp(40px, 2.91vw + 29.1px, 85px) auto 0;
}
.btn-block .btn-link {
	font-size: clamp(11.5px, 0.42vw + 9.92px, 18px);
	line-height: 1.4;
	max-width: inherit;
	margin: 0;
}
@media screen and (max-width: 767px) {
	.p-about {
		padding-inline: 0;
	}
	.txt-about {
		padding-left: var(--side-padding);
		padding-right: var(--side-padding);
		text-align: left;
	}
	.ss-wrap {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 10px;
		justify-content: normal;
	}

	.ss-wrap .ss {
		flex-shrink: 0;
	}
	.btn-block .btn-link::after {
		right: 16px;
	}
}

/* ==========================================================================
	テキスト・タイポグラフィ（ウェイト指定追加）
   ========================================================================== */

/* 1920px: 30px / 375px: 19px */
.ttl-h2 {
	font-size: clamp(19px, 0.712vw + 16.33px, 30px);
	font-weight: 700; /* Bold */
	line-height: 1.3;
}

/* 1920px: 19px / 375px: 13px */
.txt-main {
	font-size: clamp(13px, 0.388vw + 11.54px, 19px);
	font-weight: 400; /* Regular */
	line-height: 1.7;
	letter-spacing: 0.03em;
}

/* 1920px: 16px / 375px: 12px */
.model-name {
	font-size: clamp(12px, 0.259vw + 11.03px, 16px);
	font-weight: 700; /* Bold */
	line-height: 1.5;
	text-align: center;
}

/* 1920px: 15px / 375px: 12px */
.model-spec {
	font-size: clamp(12px, 0.065vw + 11.86px, 13px);
	font-weight: 400; /* Regular */
	line-height: 1.4;
}

/* 1920px: 25px / 375px: 16px */
.model-price {
	font-size: clamp(16px, 0.583vw + 13.81px, 25px);
	font-weight: 700; /* Bold */
	line-height: 1;
}

/* 1920px: 14px / 375px: 12px */
.tax {
	font-size: clamp(12px, 0.129vw + 11.52px, 14px);
}

/* 1920px: 17px / 375px: 11px */
.btn-link {
	font-size: clamp(11px, 0.388vw + 9.54px, 17px);
	font-weight: 500; /* Medium */
	line-height: 1;
}

/* 1920px: 17px / 375px: 11px */
.features {
	font-size: clamp(11px, 0.388vw + 9.54px, 17px);
	font-weight: 700; /* Bold */
}

.features-name {
	font-size: clamp(17px, 0.841vw + 13.84px, 30px);
	font-weight: 700; /* Bold */
}
/* 1920px: 18px / 375px: 11px */
.features-note {
	font-size: clamp(11px, 0.453vw + 9.3px, 18px);
	font-weight: 400; /* Regular */
}

/* 1920px: 19px / 375px: 12px */
.txt-about {
	color: var(--color-white);
	font-size: clamp(12px, 0.453vw + 10.3px, 19px);
	font-weight: 500; /* midium */
	line-height: 1.8;
	
}

/* 1920px: 15px / 375px: 10px */
.page-copy {
	font-size: clamp(10px, 0.324vw + 8.79px, 15px);
	font-weight: 400; /* Regular */
}


/* ==========================================================================
	モーダル
   ========================================================================== */

/* モーダル全体の枠 */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

/* 黒い背景部分 */
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* 中央のコンテナ */
.modal-container {
    position: relative;
    max-width: 80%;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10001;
}

/* モーダルが開いたときのアニメーション用クラス */
.modal.is-open .modal-overlay {
    opacity: 1;
}
.modal.is-open .modal-container {
    opacity: 1;
    transform: scale(1);
}

/* 画像スタイル */
.modal-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    user-select: none;
    display: block;
    opacity: 0; /* 最初は透明にしておく */
}

/* ★復活：画像切り替え時のフェードイン効果 */
.modal-content.fade-in {
    animation: imgFadeIn 0.35s ease forwards;
}

@keyframes imgFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* 閉じるボタン (画像のすぐ右上) */
.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    z-index: 1010;
}
.modal-close:hover { color: #ccc; }

/* 左右ボタン共通 */
.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-prev:hover, .modal-next:hover { background: rgba(255, 255, 255, 0.2); }

/* 矢印（ボーダー） */
.modal-prev::after, .modal-next::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
.modal-prev::after { transform: rotate(-135deg); margin-left: 4px; }
.modal-next::after { transform: rotate(45deg); margin-right: 4px; }

.modal-prev { left: -65px; }
.modal-next { right: -65px; }

/* 元の画像一覧への指定 */
.ss-wrap .ss img {
    cursor: pointer;
    transition: opacity 0.2s;
}
.ss-wrap .ss img:hover { opacity: 0.8; }

/* スマホ対応 */
@media (max-width: 767px) {
    .modal-container { max-width: 90%; }
	.modal-prev, .modal-next { zoom: 0.75;}
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
    .modal-close { top: -35px; font-size: 32px; font-weight: 400;}
}