
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap');

/* =============================================================================
	HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
	Base
   ========================================================================== */

html { font-size: 100%; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 100%; line-height: 1.45; }

*, *:before, *:after {
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

/* =============================================================================
	Variables
   ========================================================================== */
:root {
	/* Dimensions */
	--viewheight: 100vh;

	/* Colors */
	--toyo-text-color: #1F1F1F;
	--toyo-red: #FF0000;
	--toyo-exdark-gray: #28282B;
	--toyo-orange: #FFA500;
	--toyo-yellow: #FED621;
	--toyo-cream: #FFF7D0;

}
@media print, screen and (min-width: 1200px) {	/* PC was 768px */
	:root {
		/* Dimensions */
		--toyo-wall-width: 1165px;
		--toyo-mid-wall-width: 966px;

		/* Font */
		font-size: 100%;	/* 16px */
	}
}
@media print, screen and (min-width: 768px) and (max-width: 1199px) {	/* Tablet */
	:root {
		/* Dimensions */
		--toyo-wall-width: 88.461%;
		--toyo-mid-wall-width: 88.461%;
	}
}
@media screen and (max-width: 767px) {	/* SP */
	:root {
		/* Dimensions */
		--toyo-wall-width: 88.461%;
		--toyo-mid-wall-width: 88.461%;
	}
}



/* =============================================================================
	Links
   ========================================================================== */

a { color: var(--toyo-red); }
a:visited { /*color: #551a8b; Aki c/o */ }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
@media (any-hover: hover) { 
	a:hover {
	}
}

/* =============================================================================
	Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #999999; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; line-height: 1.2; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
	Lists
   ========================================================================== */

ul, ol { margin: 5px 0; padding: 0; }
dd { margin: 0 0 0 40px; }


/* =============================================================================
	Structure
   ========================================================================== */

body {
	font-family: 'Noto Sans JP', sans-serif;;
	background-color: white;
	color:var(--ita-text-color);
}
p, address {
	margin-top: 5px;
	margin-bottom: 10px;
}
address {
	font-style: normal;
}
section {
	clear: both;
	position: relative;
}
h2, h3, h4, h5 {
	margin: 0;
}
h2, h3, h4 {
	color:black;
}
iframe {
	display: block;
	overflow: hidden;
	border: 0;
}
.nomargin {
	margin: 0;
}
a:hover img,	/* MTL Mat changed from .transbtn:hover to this. Perfect automatic opacity */
span.current .transbtn {
	opacity: 0.75;
	filter: alpha(opacity=75);
}
.righttop {	/* Force to position right top most of the parent element, which has position: relative */
	 position: absolute;
	 right: 0;
	 top: 0;
}
.rightbottom {
	 position: absolute;
	 right: 0;
	 bottom: 0;
}
img.withintext {
	vertical-align: middle;
}

img.imgonlynotinblock {	/* to avoid gap under this */
	display: block;
}
#header, #wrapper, #footer {
	clear: both;
	width: 100%;
	margin: 0 auto;
}
.imgonly img {
	width: 100%;
	height: auto;
}
section .wall {
	width: var(--toyo-mid-wall-width);
	margin: 0 auto;
}
a.linkbtn {
	display: block;
	text-decoration: none;
	color: white;
	width: 130px;
	font-weight: 600;
	text-align: center;
	line-height: 34px;
	border: solid 1px var(--toyo-red);
	border-radius: 23px;
	background: var(--toyo-red);
	padding-bottom: 2px;
	margin: 0 auto;
}
@media (hover: hover) {
	a:hover {
		color: var(--toyo-red) !important;
	}
	a.linkbtn.contact:hover {
		background: white;
		border: solid 1px;
	}
}
ul.nostyle {
	list-style: none;
	margin: 0;
}
.en {
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}


/* =============================================================================
	Contents (common among all pages)
   ========================================================================== */
#content img.alignleft {
	display: block;
	float: left;
	margin-right: 2em;
}
#content img.alignright {
	display: block;
	float: right;
	margin-left: 2em;
}
#content ul {
	list-style-type: none;
}
section h2 {
	text-align: center;
}
section h2 :is(.en, .ja) {
	line-height: 1;
}
section h2 .en {
	font-weight: normal;
}
section h2 .ja {
	display: block;
	color: var(--toyo-red);
	font-size: 1.0625rem;	/* 17px */
	font-weight: 600;
}

/* header */
#masthead {
	width: 100%;
	background: white;
	position: fixed;
	top: 0;
	z-index: 1;
}
#headmenu {
	width: var(--toyo-wall-width);
	margin: 0 auto;
}
#page_title {
}
#page_title h1 {
	height: auto;
}

/* Menu */
#headmenu ul li a {
	font-weight: 600;
}


/* Mainvisual */
#mainvisual {
	position: relative;
}
#mainvisual .imgonly {
}
#mainvisual .mv_text {
	position: absolute;
	color: white;
	padding-left: calc((100% - var(--toyo-wall-width)) / 2);
}
#mainvisual .mv_text strong {
}
#mainvisual .mv_information {
	width: var(--toyo-wall-width);
	background: #F8F8F8;
	border: solid 1px #C2AF9A;
	position: absolute;
}
#mainvisual .mv_information .ttl {
}
#mainvisual .mv_information .text {
}
#mainvisual .mv_information .text .date {
}
#mainvisual .mv_information .text .title {
	color: inherit;
	text-decoration: none;
}
#mainvisual .mv_information .text .title::after {
	content: "";
	display: inline-block;
	background: url(./images/icon_arrow.svg)no-repeat center / cover;
	width: 18px;
	height: 18px;
	margin-left: 58px;
	margin-top: -5px;
	vertical-align: middle;
}


/* Message */
#message {
}
#message p {
	line-height: 2;
	padding-bottom: 15px;
}
#message p.right {
	text-align: right;
	padding-top: 30px;
}


/* Offset */
#offset {
	color: white;
	background: var(--toyo-exdark-gray);
}
:is(#offset, #environmental) h2 {
	text-align: left;
}
:is(#offset, #environmental) h2 .ja {
/*	text-indent: 1em; */
}
#offset h2 .en{
	color: white;
}
#offset ul > li {
}
#offset ul > li:not(:last-child) {
	border-bottom: solid 1px white;
}
#offset ul > li h3, #environmental ul > li h3 {
	color: white;
	font-size: 1.25rem;	/* 20px */
}
#offset ul > li p, #environmental ul > li p, #environmental ul > li a,
#owned ul > li p{
	font-size: 0.9375rem;	/* 15px */
	line-height: 1.866;
}
#offset .imgonly {
}


/* Environmental */
#environmental {
}
#environmental ul {
}
#environmental ul > li {
}
#environmental ul > li:nth-child(3)::before {
	content: "";
	display: block;
	width: var(--toyo-mid-wall-width);
	height: 1px;
	background-color: #000000;
}
#environmental ul > li h3 {
	color: inherit;
	text-align: center;
	padding: 20px 0 15px;
}
#environmental ul > li p, #owned ul > li p {
	line-height: 2;
	margin-bottom: 0;
}


/* Owned */
#owned {
	background: url(./images/bg_owned.png);
}
#owned p.message {
	line-height: 2;
	text-align: center;
}
#owned ul:not(#wrap3) {
	border-bottom: solid 1px;
}
#owned ul > li h3 {
	font-size: 1.125rem;	/* 18px */
	text-indent: -1.5em;
	padding-left: 1.5em;
}
#owned ul > li h3::before {
	content: "";
	display: inline-block;
	width: 17px;
	height: 17px;
	background: url(./images/icon_dot.svg)no-repeat center / cover;
	margin-right: 10px;
}


/* Company */
#company {
}
#company dl {
	margin: 0;
}
#company dt {
	color: var(--toyo-red);
	font-weight: 500;
}
#company dd{
	line-height: 2;
}
.gmap {
	width: 100%;
	margin-top: 50px;
}
.gmap iframe {
	width: 100%;
	height: 100%;
}
#company p.ttl {
	margin-top: 30px;
}
#company p:not(.ttl) {
	font-size: 0.9375rem;	/* 15px */
	line-height: 2;
}

/* News */
#content section#news {
	padding-top: 0;
}
#news ul {
	border-top: solid 1px;
	margin: 0;
}
#news ul > li {
	border-bottom: solid 1px;
	padding: 30px 0 15px;
}
#news ul > li .date {
	font-size: 0.9375rem;	/* 15px */
}
#news ul > li h3 {
	font-size: 1.125rem;	/* 18px */
	padding: 13px 0 7px;
}
#news ul > li p {
	line-height: 2;
}
#news ul > li a {
	display: inline-block;
}


/* =============================================================================
	Footer
   ========================================================================== */
#ft_nav_top {
	clear: both;
	margin-top: 22px;
	text-align: right;
}
#ft_nav_top a {
	display: inline-block;
	line-height: 0;
	vertical-align: bottom;
}
#footer {
	color: white;
	background: var(--toyo-exdark-gray);
	text-align: center;
	padding: 50px 0;
}
#footerlogo {
	position: relative;
	float: left;
	left: 0;
	top: 0;
	width: 232px;
}
#footermenu {
	position: relative;
	float: right;
	width: 681px;
}
#footermenu ul {
	list-style: none;
	height: 2em;
	margin: 0;
}
#footermenu ul li {
	border-left: #52403b solid 1px;
	float: left;
	line-height: 2em;
}
#footermenu ul li:first-child {
	border-left: none;
}
#footermenu ul li span.current,
#footermenu ul li a {
	display: inline-block;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
/* #footermenu ul li span.current, */	/* Add this line to show a mouseover image for the current page */
#footermenu ul li a:hover {
}
#ft_logo {
	width: 188px;
	margin: 0 auto;
}
#ft_add {
	font-size: 0.875rem;	/* 14px */
	line-height: 2;
	padding: 25px 0 18px;
}
#copyright {
	clear: both;
	text-align: center;
	font-size: 0.75rem;	/* 12px */
}
#copyright p {
	margin-bottom: 0;
}

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* =Responsive
----------------------------------------------- */
/* Special breakpoint for Admin-bar */
@media screen and (min-width: 783px) {
}

/* Special breakpoint for Admin-bar */
@media screen and (max-width: 782px) {
}

/* General breakpoint for PC */
@media print, screen and (min-width: 768px) {
	.sponly {
		display: none !important;
	}


	/* Structure */
	section h2 {
		padding-bottom: 45px;
	}
	section h2 .en {
		font-size: 3.25rem;	/* 52px */
	}
	section h2 .ja {
		padding-top: 10px;
	}
	#wrapper {
		margin-top: 90px;
	}


	/* header */
	#page_title h1 {
		width: 220px;
		margin: 25px 0 0;
	}

	/* footer */
	#footer {
		padding: 50px 0;
	}

	/* Menu */
	#headmenu {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		padding-bottom: 13px;
	}
	#headmenu ul {
		display: flex !important;
		justify-content: flex-end;
		align-items: center;
		gap: 0 45px;
		padding-top: 32px;
		margin-right: 0;
		margin-left: auto;
	}
	#headmenu ul > li:not(:last-child) {
/*		margin-right: 45px; */
	}
	#headmenu ul > li a {
		color: inherit;
		font-size: 0.875rem;	/* 14px */
		font-weight: 600;
		text-decoration: none;
	}
	#headmenu ul > li:last-child a {
		color: white;
	}


	/* Mainvisual */
	#mainvisual {
	}
	#mainvisual .imgonly {
		width: 100%;	/* 2023.8 Aki was calc(100% - 150px) */
/*		padding-right: calc((100% - var(--toyo-wall-width)) / 2); */
	}
	#mainvisual .mv_text {
		width: 58%;	/* was 54.9% 1366px閲覧時に1文字改行されるのを防ぐため */
		top: 35.1%;
		font-weight: 500;
	}
	#mainvisual .mv_text strong {
		font-size: 2.125rem;	/* 34px */
	}
	#mainvisual .mv_information {
		display: flex;
		line-height: 50px;
		border-radius: 50px;
		bottom: 61px;
		margin-left: calc((100% - var(--toyo-wall-width)) / 2);
	}
	#mainvisual .mv_information .ttl {
		color: white;
		background: var(--toyo-red);
		width: 188px;
		text-align: center;
		font-weight: 600;
		border-radius: 50px 0 0 50px;
	}
	#mainvisual .mv_information .text {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		line-height: 1.5;
		padding-left: 50px;
	}
	#mainvisual .mv_information .text .date {
		padding-right: 1.5em;
	}

	/* Common */
	#content {
		background: url(./images/bg_toyoprinting.svg)no-repeat bottom 51px right -15px;
	}
	#content section {
		padding: 105px 0;
	}
	section a.linkbtn {
		width: 494px;
		font-size: 1.25rem;	/* 20px */
		line-height: 56px;
		border-radius: 27px;
		margin-top: 80px;
	}

	/* Message */
	#message {
		padding: 100px 0 67px;
	}

	/* Offset */
	#offset {
	}
	#offset h2 {
		padding-bottom: 25px;
	}
	#offset h2, #offset ul {
		padding-left: calc((100% - var(--toyo-mid-wall-width)) / 2);
	}
	#offset ul {
		width: 47.19%;
		float: left;
	}
	#offset ul > li {
	}
	#offset ul > li h3 {
		padding-top: 20px;
	}
	#offset ul > li p{
		padding: 10px 0 14px;
	}
	#offset .imgonly {
		width: calc(100% - (47.19% + 120px));
		max-width: 538px;
/*		overflow: hidden; Aki c/o */
		margin-right: auto;
		margin-left: calc(47.19% + 120px);
	}
	#offset a.linkbtn {
		clear: both;
	}

	/* Environmental */
	#environmental {
		padding: 105px 0;
	}
	#environmental ul, #owned ul {
		display: flex;
		flex-wrap: wrap; /* 2023.9 Aki added */
		gap: 0 33px;
	}
	#environmental ul > li {
/*		min-width: calc(33.33% - 22px);
*		max-width: calc(50% - 16px); 2023.9 Aki c/o */
		width: calc(50% - 17px);
	}
	#environmental ul > li:nth-child(3)::before {
		margin: 73px 0 50px;
	}
	#environmental ul > li h3 {
	}
	#environmental ul > li p {
	}


	/* Owned */
	#owned {
	}
	#owned p.message {
		padding-bottom: 35px;
	}
	#owned ul {
		padding-bottom: 37px;
	}
	#owned ul > li {
		width: calc((100% - 66px) / 3);
	}
	#owned ul > li h3 {
		padding-bottom: 15px;
	}
	#owned ul > li {
		padding-top: 15px;
	}


	/* Company */
	#company {
	}
	#company dt, #company dd {
		padding: 30px 0 25px;
	}
	#company dl {
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	#company dl::after, #company dl:first-of-type::before {
		content: "";
		display: block;
		width: 100%;
		height: 1px;
		background: linear-gradient(to right, black 0 177px, white 177px 187px, black 187px);
		position: absolute;
		bottom: 0;
	}
	#company dl:first-of-type::before {
		bottom: auto;
		top: 0;
	}
	#company dt {
		width: 177px;
	}
	#company dd{
		width: calc(100% - 10px);
	}
	.gmap {
		height: 400px;
	}


	/* News */



}

/* General breakpoint for Tablet */
@media screen and (max-width: 890px) and (min-width: 768px) {
	#wrapper {
		margin-top: 160px;
	}
	#mainvisual .mv_information {
		bottom: 10px;
	}
	#headmenu ul {
		gap: 0 30px;
	}
	#mainvisual .mv_information .text .title::after {
		margin-left: 10px;
	}

}





/* General breakpoint for SP */
@media screen and (max-width: 767px) {
	a.current img /* , .transbtn:hover, a:hover img */ {
		opacity: 1;
		filter: none;
	}
	.pconly {
		display: none !important;
	}


	/* Structure */
	section h2 {
		padding-bottom: 45px;
	}
	section h2 .en {
		font-size: 2.625rem;	/* 42px */
	}
	section h2 .ja {
		padding-top: 5px;
	}
	#content section {
		padding: 80px 0;
	}
	section a.linkbtn {
		width: 290px;
		font-size: 1.25rem;	/* 20px */
		line-height: 48px;
		margin-top: 50px;
	}
	#wrapper {
		margin-top: 72px;
	}


	/* header */
	#masthead {
		width: 100%;
	}
	#page_title {
		padding-left: 5.769%;
	}
	#page_title h1 {
		width: 162px;
		margin: 0;	/* 2023.7 KAZ */
		padding-top: 20px;	/* 2023.7 KAZ */
		line-height: 0;	/* 2023.7 KAZ */
	}


	/* footer */


	/* Menu */
	#menu_open_btn,
	#menu_close_btn {
		position: absolute;
		top: 25px;
		right: 5.769%;
		width: 43px;
		height: 27px;
		background-color: #ffffff;
	}
	#menu_open_btn img, #menu_close_btn img {
		width: 100%;
		height: auto;
	}
	#menu_open_btn a {
		display: block;
	}
/*	#menu_overlay, */
	#menu_close_btn,
	#headmenu ul{
		display: none;
	}
/*	#menu_overlay {
 *		background-color: rgba(40,40,43,0.95);
 *		position: fixed;
 *		width: 100%;
 *		height: 100vh;
 *		top: 520px;	/$ was 140px $/
 *		left: 0;
 *		z-index: 1;	/$ was -1 $/
 *	}
 */	/* 2023.7 KAZ: c/o */
	#headmenu {
		background-color: white;
		width: 100%;
		height: 72px;	/* 2023.7 KAZ */
		padding: 0;
	}
	#menu_close_btn {
		position: absolute;
		z-index: 10;
		width: 39px;
		height: 24px;
		background: transparent;
	}
	#menu_close_btn a {
		display: block;
	}
	#headmenu ul {
		background-color: rgba(40,40,43,0.95);
		position: absolute;	/* Aki added */
		width: 100%;	/* Aki added */
		height: var(--viewheight);	/* 2023.7 KAZ: added */
		top: 0;	/* Aki added */
		left: 0;	/* Aki added */
		padding: 50px 8.294% 0;	/* top was 99px */
		margin-top: 0;
		z-index: 1;	/* Aki added */
	}
	#headmenu ul li {
		position: relative;
		margin-right: 0;
	}
	#headmenu ul li:first-child img {
		width: 220px;
		height: auto;
	}
	#headmenu ul li {
		border-bottom: solid 1px white;
	}
	#headmenu ul li.noborder {
		border-bottom: 0;
	}
	#headmenu ul li:first-child {
		padding-bottom: 9px;
	}
	#headmenu ul li:last-child {
		margin-top: 15px;
	}
	#headmenu ul li a {
		display: block;
		font-size: 1.125rem;	/* 18px */
		text-decoration: none;
		color: white;
		padding: 20px 0;
	}
	#headmenu ul li a.linkbtn {
		width: 92.43%;
		line-height: 40px;
		padding: 0;
	}


	/* Mainvisual */
	#mainvisual {
		padding-top: 20px;
	}
	#mainvisual .mv_text {
		font-size: 0.9375rem;	/* 15px */
		top: 54.01%;
		padding-right: calc((100% - var(--toyo-wall-width)) / 2);
	}
	#mainvisual .mv_text strong {
		font-size: 1.875rem;	/* 30px */
	}
	#mainvisual .mv_information {
		border-radius: 10px;
		bottom: 60px;
		left: 50%;
		transform: translatex(-50%);
		padding: 17px 0 17px 20px;
	}
	#mainvisual .mv_information .ttl {
		color: var(--toyo-red);
		font-weight: 500;
	}
	#mainvisual .mv_information .text {
	}
	#mainvisual .mv_information .text .date {
		display: block;
	}
	#mainvisual .mv_information .text .title::after {
		margin-left: 10px;
	}

	/* Message */


	/* Offset */
	#content section#offset {
		padding-left: calc((100% - var(--toyo-wall-width)) / 2);
		padding-right: calc((100% - var(--toyo-wall-width)) / 2);
	}
	#offset ul > li:last-child {
		border-bottom: solid 1px white;
	}
	#offset ul > li:not(:first-child) h3 {
		padding-top: 25px;
	}
	#offset ul > li p {
		padding: 5px 0 14px;
	}
	#offset .imgonly {
		padding-top: 50px;
	}

	/* Environmental */
	#environmental ul > li:not(:last-child) {
		margin-bottom: 70px;
	}
	#environmental ul > li:nth-child(3)::before {
		width: 100%;
		margin-bottom: 70px;
	}

	/* Owned */
	#owned p.message {
		padding-bottom: 10px;
	}
	#owned ul {
		padding: 45px 0;
	}
	#owned ul > li:not(:last-child) {
		padding-bottom: 45px;
	}
	#owned ul > li h3 {
		padding-bottom: 20px;
	}
	#owned ul > li .imgonly {
		padding-top: 13px;
	}


	/* Company */
	#company dl {
		border-top: solid 1px;
		padding: 27px 0;
	}
	#company dl:last-of-type {
		border-bottom: solid 1px;
	}
	#company dd {
		margin-left: 0;
	}
	.gmap {
		width: calc(100% + (100% - var(--toyo-mid-wall-width)));
		height: 288px;
		margin-left: calc((100% - var(--toyo-mid-wall-width)) / 2 * -1);
	}


	/* News */




}


/* =============================================================================
   Print styles.
   Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
/*  a, a:visited { color: #444 !important; text-decoration: underline; } */	/* JAN-2019 KAZ: c/o */
    thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
    tr, img { page-break-inside: avoid; }
    img { max-width: 100% !important; }
    @page { margin: 0.5cm; }
    h2, h3 { page-break-after: avoid; }
}
