@charset "UTF-8";

/* CSS Document */
:root {
  --font-family-en: "Roboto", sans-serif;
  --font-family-en-2: "Arial", sans-serif;
  --font-family-en-3: "Oswald", sans-serif;
  --font-family-M: "メイリオ", Meiryo, "ヒラギノ角ゴシック", "Hiragino Sans", sans-serif;
  --font-family-J: "Noto Sans JP", sans-serif;
  --red: #f80000;
  --orange: #ff8000;
  --blue: #39a1dd;
  --black: #000;
}

/***********************************************************************
ミディアムデバイス (タブレット) のスタイル
**********************************************************************/
@media (max-width: 1024px) {
.header {
	/* background: rgb(213, 238, 245); */
	background: linear-gradient(180deg, rgba(213, 238, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
	width: 100%;
	height: 80px;
	padding-top: 18px;
	position: relative;
}

h3 {
	background: url("../images/h3_access.png") no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 44px;
}
.contents {
	width: 400px;
	position: relative;
	padding-bottom: 40px;
}

#access_wrap {
	width: 400px;
	margin: 0 auto;
	position: relative;
}

/* GoogleMap・住所・駐車場
------------------------------------------------------------*/
#access_wrap .adress {
	width: 380px;
	height: 410px;
	padding-top: 274px;
	margin: 0 auto;
}

#access_wrap .google_map {
	width: 380px;
	height: 260px;
	position: absolute;
	top: 0px;
	left: 10px;
}
#access_wrap .google_map iframe {
	width: 380px;
	height: 260px;
}

.kojima_br {
	width: 330px;
	height: 50px;
	background: url("../images/kojima_logo_c.png") no-repeat center center;
	background-size: 100%;
	margin: 0px auto 10px;
}

#access_wrap .adress dl {
	display: flex;
	width: 100%;
	height: 30px;
	margin: 0 auto 10px;
}
#access_wrap .adress dl dt {
	border: 1px solid #333;
	font-size: 16px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
}
#access_wrap .adress dl dd {
	font-size: 16px;
	line-height: 30px;
	display: flex;
	align-items: center;
	padding-left: 10px;
}

.acc_read {
	width: 92%;
	line-height: 140%;
	margin: 20px auto 0px;
	text-align: left;
	font-size: 14px;
}

/* タブボタン
------------------------------------------------------------*/
#acc_btn {
	width: 380px;
	height: 50px;
	margin: 20px auto 0;
}
#acc_btn_left {
	float: left;
	width: 50%;
	height: 50px;
	line-height: 48px;
	font-size: 16px;
	border-top-left-radius: 25px;
	border-bottom-left-radius: 25px;
	text-align: center;
	color: #fff;
	background: #666;
}
#acc_btn_left:hover,
#acc_btn_right:hover {
	cursor: pointer;
}
#acc_btn_right {
	float: left;
	width: 50%;
	height: 50px;
	line-height: 48px;
	font-size: 14px;
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
	text-align: center;
	color: #fff;
	background: #666;
}
#acc_btn span {
	font-size: 18px;
	font-weight: 700;
}
#acc_btn_left.active,
#acc_btn_right.active {
	background: #01378c;
}
#car_access,
#bus_access {
	display: none;
}
#car_access.active,
#bus_access.active {
	display: block;
}

/* 車
------------------------------------------------------------*/
.car_navi {
	background: #eaeaea;
	width: 400px;
	padding: 10px;
	margin: 20px auto;
}
.car_navi li {
	width: 100%;
	height: 140px;
	background: url("../images/access_header.png") no-repeat center -10px #e3f9ff;
	background-size: 100%;
	text-align: left;
	font-size: 30px;
	font-weight: 700;
	position: relative;
}
.car_navi li span {
	font-size: 20px;
	font-weight: 500;
}

.houmen {
	width: 100%;
	height: 74px;
	line-height: 54px;
	font-weight: 500;
	font-size: 30px;
	color: #fff;
	text-align: center;
}
.houmen_from {
	width: 55%;
	height: 40px;
	line-height: 40px;
	text-align: right;
	padding-right: 0px;
	font-size: 24px;
	color: #3764aa;
	position: absolute;
	top: 80px;
	left: 0px;
}
span.houmen_f {
	margin-left: 56%;
}

.access_btn {
	width: 380px;
	height: 53px;
	margin: 20px auto;
	background: url("../images/access_btn.png") no-repeat center top;
	background-size: 100%;
	text-indent: -9999px;
}
.access_btn:hover {
	opacity: 0.7;
	transition: 0.3s all;
}
.access_btn a {
	display: block;
	line-height: 53px;
}

/* バス
------------------------------------------------------------*/
.acc_bus {
	width: 100%;
}
.acc_bus li {
	background: #eaeaea;
	padding: 10px;
	margin-top: 20px;
}

/* バス経路案内 */
.acc_bus .bus_route {
	background: #E3F9FF;
	width: 100%;
	margin-bottom: 10px;
}
.acc_bus .bus_route .tit {
	background: #3764AA;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding: 8px 12px;
}
.acc_bus .bus_route ul {
	width: calc(100% - 32px);
	margin: 0 16px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.acc_bus .bus_route ul li {
	background: none;
	width: calc(50% - 8px);
	height: fit-content;
	padding: 0;
	margin-top: 16px;
	position: relative;
}
.acc_bus .bus_route ul li:last-child {
	margin-bottom: 16px;
}
.acc_bus .bus_route ul li::before {
	content: "";
	background: #3764AA;
	clip-path: polygon(0 0,100% 50%,0 100%);
	width: 7px;
	height: 18px;
	margin: auto;
	position: absolute;
	top: 55px;
	left: -11px;
}
.acc_bus .bus_route ul li:first-child::before {
	content: none;
}
.acc_bus .bus_route ul li p {
	font-size: 16px;
	font-weight: bold;
	margin-top: 4px;
	padding-left: 1em;
	text-indent: -1em;
}
.acc_bus .bus_route ul li img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
}

/* 時刻表 */
.acc_bus li table {
	width: 100%;
}
.acc_bus li table th {
	background: #00368c;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 0;
	text-align: center;
}
.acc_bus li table td {
	padding: 4px 0;
	background: #fff;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
}
.acc_bus li table td span {
	font-size: 12px;
	font-weight: 400;
	vertical-align: 1px;
}
.acc_bus li:first-child table th {
	width: 50%;
}
.acc_bus li:first-child table th:nth-child(2) {
	background: #51018c;
}

.acc_bus li:nth-child(n + 2) table tr.bg_c td,
.acc_bus li:first-child table tr.bg_c td:nth-child(1) {
	background: #e3f9ff;
}
.acc_bus li:first-child table tr.bg_c td:nth-child(2) {
	background: #eae3ff;
}

td.bg_c_no {
	background: #fff !important;
}

.bus_from {
	width: 320px;
	height: 90px;
	font-size: 30px;
	background: url("../images/acc_bus_ico2.png") no-repeat left 6px;
	background-size: 100%;
	padding-left: 50px;
	margin: 0 auto 10px;
	position: relative;
	padding-top: 2px;
}
.bus_from span {
	font-size: 16px;
}

.acc_bus li:nth-child(3) .bus_from {
	padding-top: 6px;
	font-size: 26px;
}
.acc_bus li:nth-child(3) .bus_from span {
	font-size: 16px;
}

.bus_from p {
	color: #fff;
	font-size: 22px !important;
	position: absolute;
	width: 100%;
	height: 40px;
	position: absolute;
	left: 0;
	bottom: 0;
	line-height: 40px;
	text-align: center;
}
.bus_from p span {
	font-size: 36px !important;
	margin: 0 4px;
	font-weight: 700;
	font-family: var(--font-family-en-2);
	vertical-align: -4px !important;
}
}

/***********************************************************************
ラージデバイス (デスクトップ) のスタイル
**********************************************************************/
@media (min-width: 1025px) {
.contents {
	width: 94.8%;
	padding-bottom: 40px;
}

.header {
	width: 100%;
	height: 110px;
	background: rgb(213, 238, 245);
	background: linear-gradient(180deg, rgba(213, 238, 245, 1) 0%, rgba(255, 255, 255, 1) 100%);
	position: relative;
}

h3 {
	width: 100%;
	height: 110px;
	background: url("../images/h3_access.png") no-repeat center center;
	background-size: 308px 57px;
}
#access_wrap {
	width: 1700px;
	margin: 0 auto;
}
#access_wrap .adress {
	width: 638px;
	height: 380px;
	float: left;
}
#access_wrap .google_map {
	width: 1062px;
	height: 380px;
	float: left;
}
#access_wrap .google_map iframe {
	width: 1062px;
	height: 380px;
}
.kojima_br {
	width: 475px;
	height: 58px;
	background: url("../images/kojima_logo_c.png") no-repeat center center;
	background-size: 100%;
	margin: 100px auto 20px;
}
#access_wrap .adress dl {
	display: flex;
	width: 475px;
	height: 40px;
	margin: 0 auto 10px;
}
#access_wrap .adress dl dt {
	width: 80px;
	border: 1px solid #333;
	text-align: center;
	line-height: 38px;
	font-size: 20px;
}
#access_wrap .adress dl dd {
	padding-left: 20px;
	line-height: 38px;
	font-size: 20px;
}
#acc_btn {
	width: 1470px;
	height: 60px;
	margin: 40px auto 0;
}
#acc_btn_left {
	float: left;
	width: 50%;
	height: 60px;
	line-height: 58px;
	font-size: 24px;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	background: url("../images/access_arrow.png") no-repeat 540px center #666;
	background-size: 24px 21px;
	text-align: center;
	color: #fff;
}
#acc_btn_left:hover,
#acc_btn_right:hover {
	cursor: pointer;
}
#acc_btn_left.active:hover,
#acc_btn_right.active:hover {
	pointer-events: none;
}
#acc_btn_right {
	float: left;
	width: 50%;
	height: 60px;
	line-height: 58px;
	font-size: 22px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	background: url("../images/access_arrow.png") no-repeat 570px center #666;
	background-size: 24px 21px;
	text-align: center;
	color: #fff;
}
#acc_btn span {
	font-size: 26px;
	font-weight: 700;
}
#acc_btn_left.active,
#acc_btn_right.active {
	background: #01378c;
}
#car_access,
#bus_access {
	display: none;
}
#car_access.active,
#bus_access.active {
	display: block;
}

.car_navi {
	background: #eaeaea;
	width: 1700px;
	padding: 30px;
	margin: 20px auto;
	display: flex;
	gap: 26px;
}
.car_navi li {
	width: 528px;
	height: 240px;
	background: url("../images/access_header.png") no-repeat center top #e3f9ff;
	background-size: 100%;
	text-align: center;
	font-size: 44px;
	font-weight: 700;
}
.car_navi li span {
	font-size: 30px;
	font-weight: 500;
}
.houmen {
	width: 100%;
	height: 100px;
	line-height: 100px;
	font-weight: 500;
	font-size: 36px;
	color: #fff;
	text-align: center;
}
.houmen_from {
	width: 100%;
	height: 60px;
	line-height: 60px;
	text-align: center;
	font-size: 26px;
	color: #3764aa;
}

.access_btn {
	width: 482px;
	height: 66px;
	margin: 20px auto;
	background: url("../images/access_btn.png") no-repeat center top;
	background-size: 100%;
	text-indent: -9999px;
}
.access_btn:hover {
	opacity: 0.7;
	transition: 0.3s all;
}
.access_btn a {
	display: block;
	line-height: 66px;
}
.acc_read {
	width: 100%;
	/* height: 32px;
line-height: 32px; */
	line-height: 1.5em;
	margin: 20px auto 0px;
	display: flex;
	justify-content: center;
}
.acc_read p {
	text-align: left;
}

/* バス
------------------------------------------------------------*/
.acc_bus {
	width: 100%;
}
.acc_bus li {
	background: #eaeaea;
	display: grid;
	/* grid-template-rows: 174px 1fr; */
	grid-auto-rows: minmax(174px, auto);
	grid-template-columns: 640px 1fr;
	padding: 30px;
	margin-top: 20px;
}

.acc_bus li .bus_from {
	grid-row: 1 / 2;
	grid-column: 1 / 2;
}

/* バス経路案内 */
.acc_bus .bus_route {
	background: #E3F9FF;
	grid-row: 2 / 2;
	grid-column: 1 / 2;
	width: 640px;
	margin-top: 30px;
}
.acc_bus .bus_route .tit {
	background: #3764AA;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding: 8px 12px;
}
.acc_bus .bus_route .route-wrap {
	width: fit-content;
	margin: 0 auto;
	padding: 0 19px;
}
.acc_bus .bus_route ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: fit-content;
}
.acc_bus .bus_route ul li {
	background: none;
	display: flex;
	flex-direction: column;
	width: 190px;
	height: fit-content;
	padding: 0;
	margin-top: 16px;
	margin-right: 16px;
	position: relative;
}
.acc_bus .bus_route ul li:nth-last-child(2),
.acc_bus .bus_route ul li:last-child {
	margin-bottom: 16px;
}
.acc_bus .bus_route ul li:nth-child(3n) {
	margin-right: 0;
}
.acc_bus .bus_route ul li::before {
	content: "";
	background: #3764AA;
	clip-path: polygon(0 0,100% 50%,0 100%);
	width: 7px;
	height: 18px;
	margin: auto;
	position: absolute;
	top: 55px;
	left: -11px;
}
.acc_bus .bus_route ul li:first-child::before {
	content: none;
}
.acc_bus .bus_route ul li p {
	font-size: 16px;
	font-weight: bold;
	margin-top: 4px;
	padding-left: 1em;
	text-indent: -1em;
}
.acc_bus .bus_route ul li img {
	display: block;
	width: 190px;
	height: 120px;
	object-fit: cover;
}

/* 時刻表 */
.acc_bus li table {
	width: 970px;
	margin: 0 0 0 auto;
	grid-row: 1 / 2;
	grid-column: 2 / 2;
	grid-column-end: span 2;
  grid-row-end: span 2;
}
.acc_bus li table th {
	background: #00368c;
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	padding: 10px 0;
	text-align: center;
}
.acc_bus li table td {
	padding: 4px 0;
	background: #fff;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
}
.acc_bus li table td span {
	font-size: 20px;
	font-weight: 400;
	vertical-align: 1px;
}
.acc_bus li:first-child table th {
	width: 50%;
}
.acc_bus li:first-child table th:nth-child(2) {
	background: #51018c;
}
.acc_bus li:nth-child(n + 2) table tr.bg_c td,
.acc_bus li:first-child table tr.bg_c td:nth-child(1) {
	background: #e3f9ff;
}
.acc_bus li:first-child table tr.bg_c td:nth-child(2) {
	background: #eae3ff;
}

td.bg_c_no {
	background: #fff !important;
}

.bus_from {
	width: 500px;
	height: 174px;
	font-size: 47px;
	background: url("../images/acc_bus_ico.png") no-repeat left top;
	background-size: 100%;
	margin-left: 85px;
	margin-right: 85px;
	padding-left: 80px;
	position: relative;
}
.bus_from span {
	font-size: 34px;
}

.acc_bus li:nth-child(3) .bus_from {
	font-size: 40px;
}
.acc_bus li:nth-child(3) .bus_from span {
	font-size: 30px;
}

.bus_from p {
	color: #fff;
	font-size: 40px !important;
	position: absolute;
	width: 500px;
	height: 94px;
	position: absolute;
	left: 0;
	bottom: 0;
	line-height: 94px;
	text-align: center;
}
.bus_from p span {
	font-size: 70px !important;
	margin: 0 4px;
	font-weight: 700;
	font-family: var(--font-family-en-2);
	vertical-align: -4px !important;
}
}
