@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
}

html {
	font-size: 62.5%;
	overflow-y: scroll;
	min-width: 390px;
}

/*---------------------------*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
table,
dl {
	margin-bottom: 1em;
}

li {
	margin-bottom: 0.5em;
}

li:last-child {
	margin-bottom: 0em;
}

ul {
	margin-left: 1.5em;
	list-style-position: outside;
}

ol {
	margin-left: 1.5em;
	list-style-position: outside;
}

li>ol {
	margin-top: 0.5em;
	font-size: 90%;
}

/*---------------------------*/

img,
embed,
video {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

figure {
	text-align: center;
}

figcaption {
	margin-top: 1em;
	text-align: center;
	font-size: 90%;
}
/*---------------------------*/

input,
textarea {
	font-family: inherit;
	vertical-align: middle;
}

form {
	display: inline;
}

/*---------------------------*/

table {
	font-family: inherit;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 90%;
}

th,
td {
	border: 1px solid rgba(0, 0, 0, 0.3);
	padding: 0.5em;
}

th {
	font-weight: normal;
	background-color: rgba(0, 70, 150, 0.1);
	text-align: center;
}

td {
	text-align: left;
}

th.left,
td.left {
	text-align: left;
}

th.right,
td.right {
	text-align: right;
}

th.center,
td.center {
	text-align: center;
}

thead th {
	background-color: rgba(0, 70, 150, 0.25);
}

th.sub,
td.sub {
	background-color: rgba(0, 0, 0, 0.1);
}

th>*:last-child,
td>*:last-child {
	margin-bottom: 0em;
}

tr>*:first-child {
	border-left: none;
}

tr>*:last-child {
	border-right: none;
}

/*---------------------------*/

a {
	text-decoration: underline;
	color: rgba(0, 70, 150, 1);
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-o-transition: all 0.2s;
	transition: all 0.2s;
}

a:hover {
	color: rgba(236, 0, 3, 1);
}

a:hover img {
	opacity: 0.75;
}

/*---------------------------*/

header,
nav,
aside,
footer {
	margin: 0 auto;
	display: block;
}

/*---------------------------*/

section > *:last-child,
article > *:last-child,
div > *:last-child {
	margin-bottom: 0em;
}

/*---------------------------*/

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	width: 100%;
	color: rgba(68, 68, 68, 1);
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	background-color: rgba(255, 255, 255, 1);
}

@media screen and (max-width: 960px) {
	body {
		font-size: 1.3rem;
	}
}

.wfix {
	max-width: 1400px;
	margin-inline: auto;
	width: 90%;
}

@media screen and (max-width: 960px) {
	.wfix {
		width: calc(100% - 30px);
	}
}

/*---------------------------*/

header * {
	margin: 0;
}

@media screen and (max-width: 960px) {
	header .wfix {
		width: 100%;
	}
}

header a:hover {
	opacity: 1;
}

#header_content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 1em;
	gap: 5vw;
}

#header_content >* {
	width: calc((100% - 5vw) / 2);
	max-width: 300px;
}

/*---------------------------*/

#visual {
	position: relative;
}

#visual_img {
	z-index: 0;
}

#cd {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.3em;
	position: absolute;
	z-index: 1;
	padding: 0.75em 2em;
	background-color: rgb(0, 0, 0);
	line-height: 1;
	border-radius: 6px;
	color: rgb(255, 255, 255);
	font-size: clamp(9px,1.5vw,16px);
	right: 6%;
	top: 49%;
	font-weight: normal;
}
#cd span:nth-of-type(1) ,
#cd span:nth-last-of-type(1) {
	margin-top: 0.1em;
}

#val {
	font-weight: bold;
	font-size: 180%;
	letter-spacing: -0.05em;
	font-family: Arial, Helvetica, sans-serif;
	display: inline-block;
	animation: cdBlink 2s infinite ease-in-out;
}

@keyframes cdBlink {
	35%, 85% {
		opacity: 1;
	}
	45%, 55% {
		opacity: 0.20;
	}
}

/*
@media screen and (max-width: 500px) {
	#cd {
		top: initial;
		right: initial;
		width: fit-content;
		left: 3%;
		bottom: 0;
		margin-inline: auto;
	}
}
*/

#nav {
	width: 100%;
	top: 0;
	left: 0;
	border-top: 10px solid rgb(31, 113, 161);
	position: absolute;
	z-index: 1;
}

#nav ul {
	list-style-type: none;
	margin: -10px auto 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: fit-content;
	gap: 1px;
	border-radius: 0 0 6px 6px;
	background-color: rgba(31, 113, 161, 0.5);
}

#nav ul li {
	margin: 0;
}

#nav ul a {
	display: block;
	padding: 1em 3em;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: rgb(31, 113, 161);
	font-size: 1.25em;
}

#nav ul li:first-of-type a {
	border-radius: 0 0 0 6px;
}

#nav ul li:last-of-type a {
	border-radius: 0 0 6px 0;
}

#nav ul a:hover {
	background-color: rgba(31, 113, 161, 0.5);
}

#links ul {
	list-style-type: none;
	margin: 0;
}

#links {
	width: 100%;
	margin-inline: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-block: 1em;
}

#links_anchor {
	max-width: 500px;
}

#links_sns {
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
}

#links_sns li {
	max-width: 80px;
}

#links a {
	display: block;
}

@media screen and (max-width: 999px) {
	#header_content {
		padding: 10px;
	}
	#visual {
		display: flex;
		flex-direction: column-reverse;
	}
	#nav {
		border-top: 0;
		position: relative;
	}
	#nav ul {
		width: 100%;
		margin-top: 0;
	}
	#nav ul li {
		width: 100%;
	}
	#nav ul li a {
		padding: 0.75em;
		border-radius: 0 !important;
		font-size: 100%;
	}
	.news_type {
		display: none;
	}
	#links {
		padding-inline: 10px;
		margin-block: 0 2em;
		flex-direction: column-reverse;
	}
	#links_sns li {
		max-width: 50px;
	}
	#links_anchor {
		max-width: 260px;
	}
}

/*--------------*/

main {
	position: relative;
	padding-bottom: 10em;
}

section {
	padding-bottom: 4em;
	margin-top: 2em;
}

section + section {
	border-top: 1px solid rgba(0,0,0,0.25);
	padding-top: 4em;
	margin-top: 4em;
}

main h2 {
	background-color: rgba(31, 113, 161, 1.0);
	color: #fff;
	padding: 0.75em 1em;
	font-size: 150%;
	line-height: 1.3;
	font-weight: normal;
	border-radius: 6px;
	position: relative;
}

main h2::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	height: 1.5em;
	width: 8px;
	background-color: rgb(255, 255, 255);
}

main h2::after {
	content: "R155 Toyota Minami BP Information";
	display: block;
	position: absolute;
	top: 50%;
	right: 2em;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 1.00);
	font-family: 'Times New Roman', Times, serif;
	font-size: 50%;
	letter-spacing: 0.15em;
}

main h3 {
	background-color: rgb(214, 214, 214);
	padding: 0.75em 1em;
	font-size: 120%;
	line-height: 1.3;
	font-weight: normal;
	border-radius: 4px;
	position: relative;
}

main h3::before {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	height: 1.5em;
	width: 8px;
	background-color: rgba(31, 113, 161, 1.0);
}

.headline + .body {
	margin-top: 2em;
}

.block + .block {
	margin-top: 2em;
}

.row + .outline_article ,
* + .row ,
.outline_article + .outline_article {
	margin-top: 4em;
}

.row {
	display: flex;
	justify-content: space-between;
	gap: 3em;
}

.row > *:has(:nth-child(2)) {
	width: calc((100% - 3em) / 2);
}

.row > * + .outline_article {
	margin-top: 0;
}

@media screen and (max-width: 999px) {
	section ,
	section + section {
		padding-bottom: 0;
		border-top: 1px solid rgba(0,0,0,0.20);
		padding-top: 2em;
	}
	main h2 {
		font-size: 115%;
		border-radius: 4px;
	}
	main h3 {
		font-size: 100%;
		border-radius: 3px;
	}
	main h2::before ,
	main h3::before {
		width: 5px;
		height: 65%;
	}
	.headline + .body {
		margin-top: 1em;
	}
	.row {
		display: block;
	}
	.row > * {
		width: 100% !important;
	}
	.row > * + * ,
	.row > * + .outline_article {
		margin-top: 4em;
	}
}

iframe[src*="youtube.com"] {
	width: 100%;
	aspect-ratio: 1.77;
}

/*---------------------------*/

article + .row,
.row + article {
	margin-top: 3em;
}

p > img + img {
	margin-top: 2em;
}

p:has(> img) ,
.row ,
.row_2 ,
.row_3 ,
.row_4 {
	margin-top: 2em;
}

@media screen and (min-width: 1000px) {
	.row ,
	.row_2 ,
	.row_3 ,
	.row_4 {
		display: flex;
		justify-content: space-between;
		margin-bottom: 3em;
	}
	.row ,
	.row_2 {
		gap: 2em 3em;
	}
	.row_3 ,
	.row_4 {
		gap: 2em 2em;
	}
	.row_2 ,
	.row_3 ,
	.row_4 {
		flex-wrap: wrap;
	}
	.row > * {
		flex-grow: 1;
	}
	.row_2 > * ,
	.row_3 > * ,
	.row_4 > * {
		margin-block: 0 !important;
	}
	.row_2 > * {
		width: calc((100% - 3em) / 2);
	}
	.row_3 > * {
		width: calc((100% - 4em) / 3);
	}
	.row_4 > * {
		width: calc((100% - 6em) / 4);
	}
}


/*--------------*/

#news .row > *:has(#newsLoader) {
	width: 70%;
}

#newsLoader .news:nth-of-type(odd) {
	background-color: rgb(239, 248, 255);
}

.news_var {
	width: 100%;
}

.news_type {
	width: auto;
	min-width: 6em;
	padding: 0.5em 1em;
	white-space: nowrap;
	text-align: center;
	background-color: #848484;
	color: #fff;
	font-size: 70%;
	line-height: 1.2;
	border-radius: 2em;
	display: inline-block;
	min-width: 9em;
}

.news_type.work {
	background-color: #ec7a1c;
}

.news_type.info {
	background-color: #406bce;
}

.news_type.topics {
	background-color: #d370a8;
}

.news_type.press {
	background-color: #78cb34;
}

.news_type.tmbp {
	background-color: #1f71a1;
	display: none;
}

.news_date {
	font-size: 80%;
	font-weight: bold;
	display: block;
	margin-bottom: 0.5em;
}

.news_detail {
	position: relative;
}

.news_detail > * {
	margin: 0;
}

.news_label {
	width: auto;
	min-width: 6em;
	padding: 0.5em 1em;
	white-space: nowrap;
	text-align: center;
	background-color: #848484;
	color: #fff;
	font-size: 70%;
	line-height: 1.2;
	border-radius: 2em;
	display: inline-block;
	min-width: 9em;
}

.news_label.work {
	background-color: #ec7a1c;
}

.news_label.info {
	background-color: #406bce;
}

.news_label.topics {
	background-color: #d370a8;
}

.news_label.press {
	background-color: #78cb34;
}

.news_label.tmbp {
	background-color: #1f71a1;
	display: none;
}

.news_detail:has(.news_label) {
	padding-left: 7em;
}

.news_detail > .news_label {
	position: absolute;
	left: 0;
	top: 0;
}

.newTitile {
	color: rgb(204, 16, 19);
	font-weight: bold;
	margin-left: 1em;
}

#news .news a {
	text-decoration: none;
}

#news .news {
	padding: 0.75em;
	border-radius: 0.25em;
	display: flex;
	align-items: center;
	gap: 1.5em;
}
@media screen and (max-width: 999px) {
	.news_detail:has(.news_label) {
		padding-left: 0;
		position: initial;
	}
	.news_detail > .news_label {
		left: inherit;
		right: 0;
		font-size: 60%;
	}
}

#news .body article:has(img[src*="btn_tsuji"]) {
	margin-inline: auto;
	max-width: 700px;
}

#news .body article ul:has(img[src*="btn_tsuji"]) {
	margin: 0;
	list-style-type: none;
}

/*--------------*/

#outline figure {
	padding: 1em;
}

#outline figure:has(img[src*="outline_1"]) {
	width: 65%;
	flex-grow: 1;
}
#outline figure:has(img[src*="outline_2"]) {
	width: calc(35% - 3em);
}

#outline th {
	white-space: nowrap;
	width: 25%;
}

figure > figcaption:first-child {
	margin-block: 0 1em;
}

#outline figure > figcaption:first-child {
	font-size: 120%;
	font-weight: bold;
}

#outline figure:has(img[src*="outline_3"]) ,
#outline figure:has(img[src*="outline_4"]) {
	max-width: 450px;
	margin-inline: auto;
}

/*--------------*/

#effect figure {
	padding: 1em;
}

/*---------------------------*/

aside {
	padding: 2em 0em;
}

/*---------------------------*/

#up {
	position: fixed;
	right: 1em;
	bottom: 1em;
	display: inline-block;
	z-index: 10;
}

#up a {
	opacity: 0.25;
	width: 3em;
	padding: 4px;
	display: inline-block;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.5);
}

#up a:hover {
	box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.5);
	opacity: 1;
}

/*---------------------------*/

footer {
	background-color: #3e87b2;
	color: rgb(255, 255, 255);
}

footer #author {
	padding-block: 4em;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer #author_name {
	max-width: 400px;
	margin-bottom: 0;
}

footer #author_detail {
	text-align: right;
}

footer a {
	color: inherit;
}

footer a:hover {
	opacity: 0.5;
}

footer .label {
	display: inline;
	padding: 0;
	font-size: 70%;
	font-weight: normal;
	line-height: inherit;
	color: inherit;
	text-align: inherit;
	white-space: inherit;
	vertical-align: inherit;
	border-radius: inherit;
}

.tel,
.fax,
.zip,
.address {
	display: inline-block;
}

.zip {
	font-size: 90%;
}

#author_address {
	margin-bottom: 0;
}

#author_telfax .tel .number {
	font-size: 200%;
}

footer .number {
	display: inline-block;
}
#copyright {
	background-color: rgba(0, 0, 0, 0.1);
	text-align: center;
	padding: 3em 0em;
	font-size: 70%;
	letter-spacing: 0.25em;
	color: rgba(255, 255, 255, 0.70);
}


@media screen and (max-width: 999px) {
	footer #author {
		padding-block: 4em;
		display: block;
		align-items: center;
	}
	footer #author_name {
		max-width: 280px;
		margin-inline: auto;
		margin-bottom: 1em;
	}
	footer #author_detail {
		text-align: center;
	}
	#author_telfax .tel .number {
		font-size: 150%;
	}
}

/*---------------------------*/

main h3:has(>.label) {
	display: flex;
	align-items: center;
	gap: 0.5em;
	flex-wrap: wrap;
}

h3 .label {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
	line-height: 1;
}

h3 .read {
	flex-grow: 1;
}

.tsujilog_article h3 .no {
	font-size: 130%;
}

h3 .label time {
	font-size: 65%;
	padding: 0.5em 0.75em;
	background-color: rgb(30,30,30);
	color: rgb(255,255,255);
	margin-inline: 0.5em;
	border-radius: 3px;
}

.tsujilog_article + .tsujilog_article {
	margin-top: 4em;
}

/*---------------------------*/

