@media (orientation: portrait){

	.landscape{
		display: none !important;
	}

	#wrap{
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	#cover{
		position: relative;
		height: 100vh;
		/*margin-top: 4vh;*/
	}
	#coverText01{
		width: 100%;
		height: 6em;
		position: absolute;
		top: 0;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		align-content: center;
		background-color: rgba(255,255,255,0.5);
	}
	#coverText02{
		width: 100%;
		position: relative;
		bottom: 9em;
		height: 9em;
		line-height: 1;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		/*align-content: center;*/
		background-color: rgba(255,255,255,0.5);
	}
	#coverText03{
		width: 100%;
		position: relative;
		text-align: right;
		bottom: 4em;
	}
	#coverText01 span{
		display: block;
	}
	#cover h1{
		font-size: 7vw;
		margin-top: 0.3em;
	}
	#cover h2{
		font-size: 6vw;
		line-height: 1.2;
	}
	#cover h3{
		font-size: 4vw;
		text-align: center;
	}
	#cover .coverImg{
		/*width: 100%;
		height: auto;*/
		width: auto;
		height: 100vh;
		overflow: hidden;
		position: relative;
		display: flex;
		justify-content: center;
	}
	#cover .coverImg img{
		position: absolute;
		top: 0;
		width: auto;
		height: 100%;
	}

	#teck .index, #contact .index{
		width: 45%;
		padding: 0.5em;
		position: absolute;
		top: 10vw;
		display: flex;
		align-items: center;
		font-family: 'Noto Serif JP', serif;
		letter-spacing: 0;
		font-size: 1.5rem;
		writing-mode: vertical-rl;/* 縦書き */
		-ms-writing-mode: tb-rl;
		white-space: nowrap;
		text-align: start;
	}
	#teck .index.rightText{
		width: 100%;
		right: 5vw;
		align-items: normal;
	}
	#teck .index.leftText{
		width: auto;
		align-items: normal;
		top: 0;
		font-size: 5.5vw;
	}
	#teck .index.topText{
		width: auto;
		align-items: normal;
		writing-mode: unset;
		top: 0;
		right: 0;
		font-size: 1.6rem;
		padding: 0.3em 0.5em;
	}
	#contact .index.rightText{
		width: 100%;
		top: 2vw;
		right: 6vw;
		align-items: normal;
		padding: 0 9vw 0 0;
		font-size: 1.1rem;
	}
	#contact .index.leftText{
		width: auto;
		top: 2vw;
		left: 4vw;
		align-items: normal;
		padding: 0 0 0 9vw;
		font-size: 1.1rem;
	}


	.headLine{
		padding: 1em 0.5em;
	}
	.headLine h2{
		font-size: 7vw;
	}
	#teck .index.leftText h2{
		font-size: 5.5vw;
	}

	.textArea{
		position: relative;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		padding-bottom: 2em;
	}
	#teck .textArea{
		padding-bottom: 0;
	}
	#teck .textArea.bgWhite{
		padding: 1em;
	}
	#teck table{
		background-color: #ccc;
	}
	#teck th{
		vertical-align: top;
		padding: 0.2em 0.5em;
	}
	#teck td{
		padding: 0.2em 0.5em 0 0.5em;
		vertical-align: middle;
		width: 24%;
	}
	#teck h4{
		position: relative;
	}
	#teck h4 .num{
		font-size: 20vw;
		color: #ddd;
	}
	#teck h4 .tex{
		position: absolute;
		top: calc(50% - 0.5em);
		left: 1em;
	}

	#price table{
		background-color: #fff;
	}
	#price table img, #cart table img{
		width: 50%;
		height: auto;
	}

	.textArea h3{
		font-size: 1.1em;
	}
	.textArea img{
		width: 100%;
		height: auto;
	}

	.half{
		width: 45%;
		margin-bottom: 2em;
	}
	.half h3{
		font-size: 0.8em;
		color: #fff;
		text-align: center;
		font-weight: normal;
	}

	blockquote {
		position: relative;
		background: #CDE7EE;
		padding: 2em;
		margin: 0 0.5rem 4em 0.5rem;
	}
	#teck blockquote{
		margin-bottom: 0;
	}
	#constraints ul{
		margin: 0;
		padding: 0 1em;
	}
	#agency ul{
		margin-top: 0;
	}
	#constraints{
		color: #fff;
		font-size: 4vw;
		background-image: url(./../images/teck/3.webp);
		background-size: cover;
		min-height: 40vw;
	}
	#constraints .inner{
		padding: 2em 1em;
		background-color: rgba(0,0,0,0.5);
	}
	blockquote:before {
		position: absolute;
		top: -24px;
		color: #3CAAB1;
		box-sizing: border-box;
		font-family: 'FontAwesome';
		content: '\f10d';
		line-height: 1;
		padding-top: 12px;
		text-align: left;
		font-size: 40px;
	}
	blockquote:after {
		position: absolute;
		right: 1em;
		bottom: -25px;
		color: #3CAAB1;
		box-sizing: border-box;
		font-family: 'FontAwesome';
		content: '\f10e';
		line-height: 1;
		padding-bottom: 10px;
		text-align: left;
		font-size: 40px;
		z-index: 1;
	}

	.all{
		width: 90%;
		margin-bottom: 2em;
	}

	.livesChange{
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.livesChange h3{
		font-size: 1.4em;
		color: #fff;
		font-weight: normal;
	}

	.movie{
		position: relative;
		width: 100%;
		padding-top: 56.25%;
	}
	.movie iframe{
		position: absolute;
		top: 0;
		right: 0;
		width: 100% !important;
		height: 100% !important;
	}




	#footer{
		position: relative;
		display: flex;
		justify-content: center;
		padding: 2em;
	}


	/* トップ以外で使用 */
	.headLine00{
		margin: 14vw 0 0 0.5rem;
	}
	.headLine00 h1{
		font-size: 1.6rem;
	}

	#productsTable td, #productsTable th{
		position: relative;
		width: 20%;
		padding: 50px 5px;
		text-align: center;
	}
	#tr01 th, #tr01 td{
		padding: 30px 5px;
	}
	.productsPhoto{
		display: block;
		position: absolute;
		bottom: 105px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 2;
	}
	.productsPhoto img{
		width: 100%;
		height: auto;
		object-fit: cover;
	}
	.productsName{
		font-size: 1.5em;
		font-weight: bold;
	}
}
@media (orientation: landscape){

	.portrait{
		display: none !important;
	}

	#wrap{
		position: relative;

	}

	#cover{
		position: relative;
		width: 100%;
		height: 100%;
	}
	#coverText01{
		width: 100%;
		position: absolute;
		top: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		background-color: rgba(255,255,255,0.5);
	}
	#coverText02{
		width: 100%;
		position: absolute;
		bottom: 0em;
		display: flex;
		align-items: center;
		flex-direction: column;
		background-color: rgba(255,255,255,0.5);
	}
	#coverText03{
		width: 100%;
		position: relative;
		text-align: right;
		bottom: 2em;
	}
	#cover h1{
		font-size: 2.6vw;
	}
	#cover h2{
		font-size: 3.5vw;
		display: block;
	}
	#cover h3{
		font-size: 2vw;
		text-align: center;
	}
	#cover .coverImg{
		height: 100vh;
		overflow: hidden;
		position: relative;
		display: flex;
		justify-content: center;
	}
	#cover .coverImg img{
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		transform: stale(1.3);
		opacity: 0;
	}

	#teck .index, #contact .index{
		width: 45%;
		padding: 0.5em;
		position: absolute;
		top: 2vw;
		display: flex;
		align-items: center;
		font-family: 'Noto Serif JP', serif;
		letter-spacing: 0;
		font-size: 4rem;
		writing-mode: vertical-rl;/* 縦書き */
		-ms-writing-mode: tb-rl;
		white-space: nowrap;
		text-align: start;
	}
	#teck .index.rightText{
		width: 100%;
		right: 5vw;
		align-items: normal;
	}
	#teck .index.leftText{
		width: auto;
		align-items: normal;
		top: 0;
		font-size: 3.5em;
	}
	#teck .index.topText{
		width: auto;
		align-items: normal;
		writing-mode: unset;
		top: 0;
		right: 0;
		font-size: 5em;
		padding: 0.3em 0.5em;
	}
	#contact .index.rightText{
		width: 100%;
		top: 50px;
		right: 130px;
		align-items: normal;
		padding: 0;
		font-size: 2.8rem;
	}
	#contact .index.leftText{
		width: auto;
		top: 50px;
		left: 130px;
		align-items: normal;
		padding: 0;
		font-size: 2.8rem;
	}


	.headLine h2{
		font-size: 3em;
	}
	h2.left{
		max-width: 960px;
		margin: 0 auto;
	}
	.headLine{
		padding: 3em 0;
		box-sizing: border-box;
	}
	.textArea{
		position: relative;
		max-width: 960px;
		margin: 0 auto;
		box-sizing: border-box;
		margin-bottom: 4em;
	}
	#teck .textArea{
		margin-bottom: 0;
	}
	#teck .textArea{
		padding-bottom: 0;
	}
	#teck .textArea.bgWhite{
		padding: 1em;
	}
	#teck table{
		background-color: #ccc;
		width: 80%;
		margin: 0 auto;
	}
	#teck #cart table{
		max-width: 750px;
		margin: 0;
	}
	#teck th{
		vertical-align: top;
		padding: 0.2em 0.5em;
	}
	#teck td{
		padding: 0.2em 0.5em 0 0.5em;
		text-align: center;
		vertical-align: middle;
		width: 24%;
	}

	#price table, #price th, #price td{
		background-color: #fff;
	}
	#price table img{
		width: auto;
		height: auto;
	}
	#cart table img{
		width: 20%;
		height: auto;
	}

	#teck h4{
		position: relative;
	}
	#teck h4 .num{
		font-size: 4em;
		color: #ddd;
	}
	#teck h4 .tex{
		position: absolute;
		top: calc(50% - 0.7em);
		left: 1em;
		font-size: 1.5em;
	}


	.textArea img{
		width: 100%;
		height: auto;
	}
	.product img{
		width: auto;
		height: auto;
	}
	.two{
		display: flex;
		justify-content: space-around;
	}
	.two img{
		width: 45%;
		height: auto;
	}
	.two p{
		width: 45%;
	}
	.headLine h3, .textArea h3{
		font-size: 2rem;
	}

	.half{
		width: 28%;
		margin-bottom: 2em;
	}
	.half h3{
		font-size: 1em;
		color: #fff;
		text-align: center;
		font-weight: normal;
	}

	blockquote {
		position: relative;
		background: #CDE7EE;
		padding: 2em;
		max-width: 960px;
		margin: 0 auto 4em auto;
		box-sizing: border-box;
	}
	#teck blockquote{
		margin-bottom: 0;
	}
	#teck ul{
		margin: 0;
	}
	blockquote:before {
		position: absolute;
		top: -24px;
		color: #3CAAB1;
		box-sizing: border-box;
		font-family: 'FontAwesome';
		content: '\f10d';
		line-height: 1;
		padding-top: 12px;
		text-align: left;
		font-size: 40px;
	}
	blockquote:after {
		position: absolute;
		right: 1em;
		bottom: -25px;
		color: #3CAAB1;
		box-sizing: border-box;
		font-family: 'FontAwesome';
		content: '\f10e';
		line-height: 1;
		padding-bottom: 10px;
		text-align: left;
		font-size: 40px;
		z-index: 1;
	}
	.all{
		max-width: 960px;
		margin: 0 auto 4em auto;
		box-sizing: border-box;
	}
	.livesChange{
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 2em;
	}
	.livesChange h3{
		font-size: 1.6em;
		color: #fff;
		font-weight: normal;
	}

	.movie{
		position: relative;
		width: 50%;
		padding-top: 28%;
	}
	.movie iframe{
		position: absolute;
		top: 0;
		right: 0;
		width: 100% !important;
		height: 100% !important;
	}


	#formBlock{
		max-width: 640px;
	}


	#footer{
		position: relative;
		display: flex;
		justify-content: center;
		padding: 2em;
		/*margin-top: 2rem;*/
	}

	/* トップ以外で使用 */
	.headLine00{
		padding-top: 6vw;
		margin-bottom: 0;
		/*padding-bottom: 6vw;*/
	}
	.headLine00 h1{
		font-size: 3rem;
	}

	#productsTable td, #productsTable th{
		position: relative;
		width: 20%;
		padding: 50px 10px;
		text-align: center;
	}
	#tr01 th, #tr01 td{
		padding: 70px 10px;
	}
	.productsPhoto{
		display: block;
		position: absolute;
		bottom: 110px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 2;
	}
	.productsPhoto img{
		width: auto;
		height: 100%;
		object-fit: cover;
	}
	.productsName{
		font-size: 1.5em;
		font-weight: bold;
	}
}
