<?php header('Content-Type: text/css; charset=utf-8'); ?>/* for e1 server */
@charset 'UTF-8';
/* =============================================================================
//	index.css : タケフ管材Webサイト トップページ
// ============================================================================= */

#iContentBody {
	padding-top: 1px;
}

h1 {
	display: none;
}

#iMainText {
	font-size: 100%;
	width: max-content;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1em;
	margin-bottom: 1em;
}

/* イメージ小(スマホ用) */
#iSmallImage {
	position: relative;
}

#iSmallImage img {
	width: 100%;
}

/* イメージ大(タブレット/PC用) */
#iLargeImage {
	display: none;
}

/* サンレール */
#SUNRAIL {
	margin-top: 2em;
}

#iTextBlock {
	margin-bottom: 1em;
}

#iTextBlock h2 {
	font-size: 24px;
	padding-left: 4px;
	border-left: 12px solid var(--colorpal-tkz-header-bdr);
}

#iTextBlock h2 span {
	display: none;
}

#iTextBlock p {
	font-size: 16px;
	margin-top: 0.8em;
}

#iTextBlock p a.cLinkToLP {
	display: inline-block;
}

#iTextBlock ol {
	font-size: 16px;
	margin-top: 0.8em;
}

#iTextBlock li {
	list-style: decimal;
	margin-left: 1em;	
	margin-bottom: 0.5em;
}

/* サンレール動画 */
#iVideos {
	margin-bottom: 2em;
	width: 100%;
}

#iVideos div.cVideoBox {
	margin-bottom: 1px;
}

#iVideos div.cVideoFrame {
	font-size: 0;
}

#iVideos div.cVideoFrame iframe {
	border: none;
	width: 100%;
	height: 160px;
}

#iVideos div.cTextFrame {
	padding-top: 8px;
	padding-bottom: 8px;
	border-left: 1px solid #666666;
	border-right: 1px solid #666666;
	border-bottom: 1px solid #666666;
	background-color: #F0F0F0;
}

#iVideos p {
	margin-left: 4px;
	margin-right: 4px;
}

#iVideos p.cVideoTitle {
	font-size: 14px;
	line-height: 14px;
	font-weight: bold;
	margin-top: 0;
}

#iVideos p.cVideoTitle span {
	font-weight: normal;
	margin-left: 1em;
}

#iVideos p.cYoutubeLink {
	font-size: 12px;
	line-height: 14px;
	text-align: right;
	margin-top: 0.5em;
}

#iVideos p.cYoutubeLink a {
	color: #0000EE;
	text-decoration: none;
	font-family: 'Helvetica Neue', Verdana, sans-serif;
}


/* -------------------------------------------------------------
//	スマホ用 Width ≧ 320 px (320 〜 359 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 320px) {

#iMainText p {
	font-size: 110%;
}

#iVideos div.cVideoFrame iframe {
	height: 192px;
}

}


/* -------------------------------------------------------------
//	スマホ用 Width ≧ 360 px (360 〜 413 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 360px) {

#iMainText p {
	font-size: 116%;
}

#iVideos div.cVideoFrame iframe {
	height: 224px;
}

#iTextBlock h2 span {
	display: inline;
}

}


/* -------------------------------------------------------------
//	スマホ用 Width ≧ 414 px (414 〜 479 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 414px) {

#iMainText p {
	font-size: 135%;
	line-height: 175%;
}

#iTextBlock h2 {
	font-size: 26px;
}

#iTextBlock p,
#iTextBlock ol {
	font-size: 18px;
}

#iVideos div.cVideoFrame iframe {
	height: 260px;
}

}


/* -------------------------------------------------------------
//	スマホ用 Width ≧ 480 px (480 〜 639 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 480px) {

#iMainText p {
	font-size: 150%;
}

#iVideos div.cVideoFrame iframe {
	height: 350px;
}

}


/* -------------------------------------------------------------
//	タブレット用 Width ≧ 640 px (640 〜 767 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 640px) {

#iMainText {
	position: absolute;
	width: auto;
	top:	0; /* 30px; */
	left: 50px;
	margin: 0;
}

#iMainText p {
	font-size: 130%;
	line-height: 180%;
}

#iSmallImage {
	display: none;
}

#iSmallImage img {
	display: none;
}

#iLargeImage {
	display: block;
	margin-top: 120px;
}

#iLargeImage img {
	width: 100%;
}

}


/* -------------------------------------------------------------
//	タブレット用 Width ≧ 768 px (768 〜 799 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 768px) {

#iMainText {
	left: 70px;
}

#iMainText p {
	font-size: 135%;
}

#iLargeImage {
	margin-top: 135px;
}

#iTextBlock ol {
	margin-left: 1em;
}

#iVideos div.cVideoFrame iframe {
	height: 330px;
}

}


/* -------------------------------------------------------------
//	タブレット用 Width ≧ 800 px (800 〜 899 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 800px) {

#iVideos div.cVideoFrame iframe {
	height: 380px;
}

}


/* -------------------------------------------------------------
//	タブレット用 Width ≧ 900 px (900 〜 1023 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 900px) {

#iMainText {
	margin-top: 10px;
}


#iVideos {
	width: 480px;
	float: left;
}

#iVideos div.cVideoFrame iframe {
	height: 270px;
}

#iTextBlock {
	margin-left: 500px;
	width: calc(100% - 500px);
	min-height: 320px
}

#iTextBlock ol {
	margin-left: 0;
}

}


/* -------------------------------------------------------------
//	タブレット・ＰＣ用 Width ≧ 1024 px (1024 〜 1179 px)
// ------------------------------------------------------------- */
@media print, screen and (min-width: 1024px) {

#iMainText {
	margin-top: 20px;
}

#iMainText p {
	font-size: 160%;
}

#iLargeImage {
	margin-top: 150px;
}

#iTextBlock h2 {
	font-size: 32px;
	margin-bottom: 0.8em;
}

#iTextBlock ol {
	margin-left: 1em;
}

}


/* -------------------------------------------------------------
//	タブレット・ＰＣ用 Width ≧ 1180 px
// ------------------------------------------------------------- */
@media print, screen and (min-width: 1180px) {

#iMainText p {
	font-size: 165%;
}

#iTextBlock {
	margin-left: 520px;
}

#iTextBlock p,
#iTextBlock ol {
	font-size: 20px;
}

}


/* =============================================================================
//	印刷対応（A4縦）
// ============================================================================= */
@media print {

#iTextBlock {
	margin-left: 520px;
}

#iTextBlock h2 {
	font-size: 22px;
}

#iTextBlock h2 {
	font-size: 32px;
	margin-bottom: 0.8em;
}

#iTextBlock p,
#iTextBlock ol {
	font-size: 20px;
}

#iTextBlock ol {
	margin-left: 0;
}

#iVideos {
	width: 480px;
	float: left;
}

#iVideos div.cVideoFrame {
	height: 270px;
	/*border: 1px solid #000;*/
	background-image: url(../img/videoimage.png);
	background-repeat: no-repeat;
	background-size: cover;
}

#iVideos div.cVideoFrame iframe {
	display: none;
}

}
