@charset "UTF-8";
/* CSS Document */

/*******
  header
*******/
.header{
	height: 500px;
	background-repeat: repeat;
	background-position: top center,center;
	background-size: 1550px 679px;
	padding: 0px 0 0px 0;
}
@media screen and (max-width:786px){
	.header{
		height: auto;
		/*
		background:  url("sp_mainbg.jpg");
		background-repeat: no-repeat;
		background-position: top center;
		background-size: 100% auto;*/
	}
}
@media screen and (max-width:786px){
	.header{
		height: auto;

	}
}
@media screen and (max-width:375px){
	.header{

	}
}


@media screen and (max-width:375px){
	.header{
		
	}
}

.header h1{
	text-align: center;	
}

.header h1 .h1box{
	width: 710px;
	margin: auto;
	position: relative;
	max-width: calc(100% - 0px);
}
@media screen and (max-width:600px){
	.header h1 .h1box{
		width:calc(100% - 20px);
		position: relative;
		padding-top: 4%;
	}
}

.header h1 .h1box .h1_1{
	animation-name:anime1;
    animation-duration: 2s;
	animation-delay: 0.5s;
	animation-fill-mode:forwards;
	position: relative;
	 opacity: 0;
	width: 550px;
	max-width: calc(100% - 0px);
	margin: auto;
	
	top:25px;
	
}
@media screen and (max-width:786px){
	.header h1 .h1box .h1_1{
		width: 50%;
	}
}



@media screen and (max-width:600px){
	.header h1 .h1box .h1_1{
		max-width: calc(50% - 0px);
		top: 0%;
	}
}

@media screen and (max-width:350px){
	.header h1 .h1box .h1_1{

	}
}




@keyframes anime1{
    0%{
		right: 50px;
        opacity: 0;
    }
    100%{
		right: 0px;
        opacity: 1;
    }
}

.header h1 .h1box .h1_1 img{
	max-width: 100%;
}
.header h1 .h1box .h1_2{
	animation-name:anime1_2;
    animation-duration: 0.7s;
	animation-delay: 1.7s;
	animation-fill-mode:forwards;
	position: relative;
	 opacity: 0;
	width: 710px;
	max-width: calc(100% - 0px);
}
@keyframes anime1_2{
    0%{
		
        opacity: 0;
		transform: scale(1.1) ;
    }
    100%{
		transform: scale(1) ;
        opacity: 1;
    }
}

.header h1 .h1box .h1_2 img{
	max-width: 100%;
}




.header .h1box img{
	position: relative;
	top: 0;
	left: 0px;
}




.header .lead{
	width: 620px;
	margin: auto;

	box-sizing: border-box;

	max-width: calc(100% - 20px);

    padding-top: 30px;
    padding-bottom: 150px;
	padding-left: 0px;
	box-sizing: border-box;
}
@media screen and (max-width:786px){
	.header .lead{
		padding-bottom: 13%;
	}
}



@media screen and (max-width:786px){
	.header .lead .ty2{

	}
}
@media screen and (max-width:600px){
	.header .lead{
		padding-top: 0%;
		padding-bottom: 12%;
	}
	.header .lead br{

	}
}

@media screen and (max-width:350px){
	.header .lead{
		padding-bottom: 9%;
	}
	.header .lead br{

	}
}






.header .lead .ty1{
	color: #ff8219;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
	text-align: center;
	width: 390px;
	display: block;
	margin-left: 200px;
	margin-bottom: 10px;
}
@media screen and (max-width:786px){
	.header .lead .ty1{
		width: 200px;
		margin-left: 36%;
	}
}
@media screen and (max-width:600px){
	.header .lead .ty1{
		margin-left: 40%;
	}
}
@media screen and (max-width:450px){
	.header .lead .ty1{
		width: 150px;
	}
}
@media screen and (max-width:350px){
	.header .lead .ty1{
		width: 100px;
		margin-bottom: 5px;
	}
}




.header .lead .ty1 img{
	max-width: 100%;
}
.header .lead .ty2{
	color: #d5b200;
	font-size: 15px;
	line-height: 1.8em;
	text-align: left;
	font-weight: bold;	
	margin-left: 200px;
}
@media screen and (max-width:786px){
	.header .lead .ty2{
		text-align: left;
		margin-left: 36%;
		font-size: 1.5vw;
	}
}

@media screen and (max-width:600px){
	.header .lead .ty2{
		margin-left: 40%;
	}
}





.header .inner{
	width: 1100px;
	margin: auto;
	background: url("main_img.jpg")no-repeat top right;
	background-size: 837px 500px;
	padding: 120px 0 70px 0;
	position: relative;
}
.header .inner h1 img{
	background:rgba(0,0,0,0);
}
@media screen and (max-width:786px){
	.header .inner{
		width: auto;
		padding: 0px 0 0px 0;
		background: url()no-repeat top right;
	}
	.header .inner h1 img{
		width: 100%;
	}
	.header .inner h1{

	}
}

.content_wr{
	padding-bottom: 50px;
}

@media screen and (max-width:600px){
	.content_wr{
		padding-bottom: 30px;

	}
}
.anime2{
	opacity: 0;
	animation-name:anime2;
    animation-duration: 1.4s;
	animation-delay: 1s;
	animation-fill-mode:forwards;
	position: relative;
}
@keyframes anime2{
    0%{
		right: 50px;
        opacity: 0;
    }
    100%{
		right: 0px;
        opacity: 1;
    }
}


.topbtn_inner {
    position: relative;
    height: calc(100% - 550px);
}

.topback_btn_ty1{
	top: 20px;
}
/* 「ページ上部へ戻る」：PCは追従（上に追従するアマギフバナー＝top20px＋高さ約152pxの下に並べる） */
@media screen and (min-width:769px){
	.topback_btn_ty1{
		top: 192px;
	}
}

.top_ttl1{
	color: #000000;
	font-size: 15px;
	background-color: #e2e2e2;
	padding: 10px 20px;
	font-weight: bold;
	margin-bottom: 5px;
}


/*******
  KV 2026（マンション再考の論）
*******/
.top_bar{
	border-bottom: 1px solid #c9c9c9;
}

.header.top .top_inner{
	height: 800px;
	box-sizing: border-box;
	background: url("mainbg.webp") center 122px no-repeat;
	background-size: 1294px auto;
}

@media screen and (min-width:787px){
	/* 背景イラストは疑似要素に敷き、左右端をマスクでフェード */
	.header.top .top_inner{
		background: none;
		overflow: hidden;
	}
	.header.top .top_inner::before{
		content: "";
		position: absolute;
		top: 122px;
		left: 50%;
		width: 1294px;
		height: 679px;
		transform: translateX(-50%);
		background: url("mainbg.webp") 0 0 no-repeat;
		background-size: 100% auto;
		pointer-events: none;
	}
	.header.top .top_inner .inner1{
		z-index: 1;
	}
	/* ギフトカード吹き出し：「点」の右（文字に重ねない） */
	.header.top .top_inner .amazonicon{
		top: 95px;
		right: auto;
		left: 672px;
		width: 165px;
	}
}
@media screen and (min-width:787px) and (max-width:959px){
	.header.top .top_inner .amazonicon{
		left: auto;
		right: 0;
		width: 115px;
	}
}
@media screen and (min-width:1100px){
	.header.top .top_inner .amazonicon{
		top: 75px;
		left: 718px;
		width: 215px;
	}
}
@media screen and (min-width:1301px){
	.header.top .top_inner::before{
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
		mask-image: linear-gradient(to right, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
	}
}

.header h1 .h1box .h1_1{
	width: 600px;
	top: 17px;
}
.header h1 .h1box .h1_1 img{
	width: 100%;
	height: auto;
}
@media screen and (min-width:787px) and (max-width:959px){
	.header h1 .h1box .h1_1{
		width: 560px;
	}
}
@media screen and (min-width:1100px){
	.header h1 .h1box .h1_1{
		width: 680px;
	}
}

.header .lead{
	width: auto;
	max-width: none;
	margin: -35px 0 0 290px;
	padding: 0;
}
.header .lead .ty2{
	color: #222222;

	line-height: 1.65;
	letter-spacing: 0.03em;
	font-weight: bold;
	text-align: left;
	margin-left: 0;
	/* 白の縁取り（背景イラストと重なっても読めるように） */
	text-shadow:
		 2px  0    0 #fff, -2px  0    0 #fff,
		 0    2px  0 #fff,  0   -2px  0 #fff,
		 1.5px  1.5px 0 #fff, -1.5px  1.5px 0 #fff,
		 1.5px -1.5px 0 #fff, -1.5px -1.5px 0 #fff,
		 0 0 3px #fff;
}
/* ▼リード：ボックスをセンタリング＋文字も中央揃え、見え方の調整で右に少し寄せる（黄色のダイヤに被るのはOK） */
@media screen and (min-width:787px){
	.header .lead{
		width: fit-content;
		margin: -35px auto 0;
		position: relative;
		left: 40px; /* 右寄せ量。さらに寄せる時はここを増やす */
	}
	.header .lead .ty2{
		text-align: center;
	}
}
/* ▲リード ここまで */

@media screen and (max-width:786px){
	.header.top .top_inner{
		height: auto;
		padding: 0 0 55vw 0;
		background: url("mainbg.webp") center bottom no-repeat;
		background-size: 150% auto;
	}
	/* H1は左寄せにして、右側を吹き出し用に空ける */
	.header h1 .h1box .h1_1{
		width: 74%;
		max-width: 680px;
		margin: 0 0 0 3%;
		top: 0;
		padding-top: 20px;
	}
	.header .lead{
		width: fit-content;
		max-width: calc(100% - 32px);
		margin: 0 auto;
		padding: 16px 0 0 0;
	}
	.header .lead .ty2{
		font-size: 13px;
		margin-left: 0;
	}
	/* ギフトカード吹き出し：H1（「点」）の右横 */
	.header.top .top_inner .amazonicon_wr{
		right: 2%;
		top: calc(20px + 12vw);
		width: 21%;
		max-width: 160px;
		z-index: 1;
	}
	.header.top .top_inner .amazonicon{
		top: 0;
		width: 100%;
	}
}
@media screen and (max-width:600px){
	.header h1 .h1box .h1_1{
		width: 71%;
		max-width: 71%;
		margin-left: 0;
	}
	.header.top .top_inner .amazonicon_wr{
		right: 2%;
		top: calc(24px + 12vw);
		width: 26%;
	}
	.header .lead .ty2{
		font-size: clamp(10px, 3.4vw, 13px);
	}
}

@media (prefers-reduced-motion: reduce){
	.header h1 .h1box .h1_1,
	.header .anime2,
	.header.top .top_inner .amazonicon{
		animation: none;
		opacity: 1;
	}
}

/*******
  総論 2026 本文画像（width/height属性付きimgの縦伸び防止）
*******/
.content_wr .content .img_center img,
.content_wr .content .img_right img{
	height: auto;
}
/* プロフィール：写真を本文の左に回り込ませ、下に所属・名前・経歴（semiconductor_business0928 と同じ体裁） */
.content_wr .content .img_left.prof{
	width: 250px;
}
.content_wr .content .img_left.prof img{
	width: 100%;
	height: auto;
}
@media screen and (max-width:768px){
	.content_wr .content .img_left.prof{
		margin: 5px 20px 20px 20px;
		width: 150px;
	}
	.content_wr .content .img_left.prof .cap{
		margin-left: 0;
	}
}

/*******
  メインビジュアル下の配色を temp（各社記事）に合わせる
*******/
.top_ttl1{
	background-color: #f4f4f4;
	font-size: 16px;
	line-height: 1em;
	padding: 14px;
	margin-bottom: 15px;
}
@media screen and (max-width:600px){
	.top_ttl1{
		font-size: 14px;
	}
}
.content_wr .content h2{
	color: #b62028;
	border-left: 7px solid #ffe100;
}
.content_wr .content .img_center .cap span{
	color: #917653; /* 図版タイトル：PDFの色に合わせる */
}
.topback_btn_ty1{
	background-color: #b62028;
}
.contact_area_v2 .flex .ty1{
	background-color: #eaeaea;
}
.campaign_notice a{
	color: #b62028;
}

/* ページ下のContents（インクルード）：4記事なのでPC・タブレットは2列に */
@media screen and (min-width:769px){
	.contact_area_v2 .flex a{
		width: calc(50% - 40px);
	}
}

/* 総論のアマギフ紹介バナーは掲示のみ（リンクなし）なので、マウスオンでも表示を変えない */
.rnav_wr .banner01:hover{
	opacity: 1;
}

/* 右カラムのバナー：右カラムが300pxより狭くなる画面幅（787〜約1000px）でもはみ出さないよう、カラム幅に合わせて縮める */
.rnav_wr .banner01 img{
	max-width: 100%;
}
