@charset "utf-8";
/* CSS Document */

/* pu-toyama.ac.jp/kusuri/
-----------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP:400,500&display=swap');
/* ==============================================
    universal reset
============================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ==============================================
    html,body and base
============================================== */
html,body {
	height:100%;
}

/* general params
------------------*/
table {
	empty-cells: show;
	font-size: 100%;
}

img {
	border: none;
	height: auto;
	vertical-align: top;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
	font-size: 100%;
}

h1 img,h2 img,h3 img,h4 img,h5 img,h6 img {
}

ul,ol {
	letter-spacing: -.40em;
}
ul li,ol li {
	letter-spacing: normal;
}
/* acronyms and abbreviations styles 
-------------------------------------*/
acronym,abbr {
	cursor: help;
}
.SP_Flex_container{
    スマホ画面用のCSS
}

@media screen and (min-width:900px){
    .SP_Flex_container{
        PC画面用のCSS
    }
}

/* ==============================================
    clear
============================================== */
.cbox {
	zoom: 100%;
}
.cbox:after {
	content: "";
	clear: both;
	height: 0;
	display: block;
}
.clear {
	clear: both;
	height: 1px;
	font-size: 1px;
}
.clear hr {
	display: none;
}

hr.clear {
	zoom: 1;
	clear: both;
	height: 0;
	border: none;
	font-size: 0;
}
*:first-child+html hr.clear {/* for IE7 */
	border-top: 1px solid;
} 

/* ==============================================
    body
============================================== */
body {
	text-align: center;
	line-height: 1.2;
	color: #000000;
	-webkit-text-size-adjust: 100%;
	font-size: 16px;
}
@media screen and (max-width: 700px) {
	body {
		min-width: 300px;
		font-size: 14px;
	}
}
@media print {
	body {
		min-width: 950px;
	}
}
body,
input,
select,
textarea {
	font-family: Meiryo,Arial,Roboto,'Droid Sans','Yu Gothic','Lucida Grande','Hiragino Kaku Gothic ProN', sans-serif;
}
form input[type="submit"],
form input[type="reset"],
form input[type="button"] {
	-webkit-appearance: none;
}

/* ==============================================
    link
============================================== */
a {
	transition: all .4s;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

@media screen and (min-width: 701px) {
	a:hover,
	#pagetop img:hover {
		opacity: 0.7;
		filter: alpha(opacity=70);
		-ms-filter: "alpha( opacity=70 )";
	}
	a img.rollover:hover {
		opacity: 1;
		filter: alpha(opacity=100);
		-ms-filter: "alpha( opacity=100 )";
	}
}

/* ==============================================
    base
============================================== */
#container {
	position:relative;
	margin: 0 auto;
	overflow: hidden;
}

#container,
#main,
#copyright,
.inner {
	zoom: 1;
	margin: 0 auto;
	text-align: left;
}
#container:after,
#main:after,
#copyright:after,
.inner:after {
	content: "";
	clear: both;
	height: 0;
	display: block;
}
.inner {
	width: 1200px;
}

.sp {
	display: none;
}
.switch {}
.call {}
.call a {
	color: #000000;
}

img {
    max-width: 100%;
}

@media screen and (max-width: 1200px) {
	.inner {
		width: 100%;
	}
	#contents .inner {
		width: 96%;
	}

}


@media screen and (max-width: 700px) {

	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}



/* ==============================================
    header
============================================== */
header {
	margin: 0px;
	padding: 0 0 10px 0;
	background: #62a2d7 url("image/h_bg.jpg") no-repeat 50% 0;
	background-size: cover;
}

header #siteid {
	display: block;
	text-align: center;
}
@media screen and (max-width: 700px) {
	header #siteid {
		margin: 0 60px;
	}

}

/* ==============================================
    header nav
============================================== */
header nav {
	width: 100%;
	background: rgba(230,149,145,0.9);
	text-align: center;
}
header nav {
	overflow-x: auto;      /* 横スクロール有効化 */
	white-space: nowrap;   /* 折り返さず1行 */
}

header nav ul {
	list-style: none;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	padding: 0;
	margin: 0;
}

header nav li {
	display: flex;
	align-items: center;
	position: relative;
	flex: 0 0 auto;
	padding: 0 20px;        /* ← ここで左右にスペースを追加 */
}

header nav li::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translateX(-50%) translateY(-50%);
	background: url("image/nav_line.png") no-repeat center center;
	width: 30px;            /* 仕切り画像の幅に合わせる */
	height: 60px;
	z-index: 1;
}

header nav li:last-child::after {
	display: none;
}

header nav li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	color: #faf0e6;
	white-space: nowrap;
}

header nav li a:hover {
	opacity: 1;
	text-decoration: none;
	background: #d7c447;
}

@media screen and (max-width: 1400px) {

}

@media screen and (max-width: 768px) {
	header {

		
	}
	header nav {
		position: fixed;
		top: 0px;
		right: -270px;
		width: 250px;
		height: 100vh;
		box-shadow: 0 0 20px rgba(0,0,0,0.3);
		background: #6699ff;
		padding-top: 70px;
		padding-bottom: 20px;
		transition-duration: .6s;
		z-index: 2;
		opacity: 0;
	}
	header nav.active {
		display: block;
		position: fixed;
		width: 250px;
		height: 100vh;
		opacity: 1;
		transform: translateX(-270px);
	}
	header nav.in {
		
	}
	
	
	header nav ul {
		display: block;
	}
	header nav li {
		display: block;
		text-align: left;
		width: 100%;
	}
	header nav li::after {
		display: none;
	}
	header nav li a {
		display:block;
		text-align: left;
		padding: 10px 20px;
	}
}

@media screen and (max-width: 700px) {

}

/* ==============================================
	menuBtn
============================================== */
#menuBtn {
	display: none;
	position: fixed;
	top: 5px;
	right: 5px;
	width: 46px;
	height: 40px;
	text-indent: -10000px;
	overflow: hidden;
	cursor: pointer;
	z-index: 10;
	border: 1px solid #006bb7;
	background: #fff;
	border-radius: 6px;
}
#menuBtn span,
#menuBtn:before,
#menuBtn:after {
	display: block;
	position: absolute;
	width: 24px;
	height: 3px;
	margin-left: -9px;
	background: #006bb7;
	top: 18px;
	left: 20px;
	transition: all .4s;
	opacity: 1;
}
#menuBtn span {
	margin-top: -1px;
	transition: opacity 150ms 50ms;
}

#menuBtn:before,
#menuBtn:after {
	content: "";
}
#menuBtn:before {
	transform: translate(0, -8px);
}
#menuBtn:after {
	transform: translate(0, 6px);
}

#menuBtn.active span {
	opacity: 0;
}
#menuBtn.active:before  {
	transform: rotate(45deg);
}
#menuBtn.active:after  {
	transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	#menuBtn {
		display: block;
	}
	}

/* ==============================================
    contents
============================================== */
#contents {
	margin-bottom: 50px;
}

.flexbox {
	display: flex;
	justify-content: space-between;
}
ul.flexbox {
	list-style: none;
}

@media screen and (max-width: 700px) {
	.flexbox {
		display: block;
	}
}


/* Youtube レスポンシブ用 */
.movie_wrap {
	position: relative;
	padding-top: 56.25%;
	height: 0;
	overflow: hidden;
}
.movie_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 700px) {
	table.scroll {
		overflow: auto;
		white-space: nowrap;
		display: block;
		width: auto;
	}
	table.scroll tbody {
		width: 100%;
	}
	table.scroll::-webkit-scrollbar {
		height: 5px;
	}
	table.scroll::-webkit-scrollbar-track {
		background: #f1f1f1;
	}
	table.scroll::-webkit-scrollbar-thumb {
		background: #bcbcbc;
	}
}



/* ==============================================
    pagetop
============================================== */
#pagetop {
    position: fixed;
    bottom: 40px;
    right: 30px;
    display: none;
	z-index: 1;
}
#pagetop img {
	cursor: pointer;
}

@media screen and (max-width: 700px) {
	#pagetop {
		bottom: 0px;
		right: 0px;
	}
}

/* ==============================================
    footer
============================================== */
footer {

}
footer nav {
	background: #1a66ff;
}


footer nav ul {
	list-style: none;
	display: flex;
	justify-content: space-between;
}
footer nav li {
	display: flex;
	align-items: center;
	position: relative;
	flex: 0 0 auto;
	padding: 0 20px;        /* ← ここで左右にスペースを追加 */
}
footer nav li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 30px 0;
	color: #fff;
}
footer nav li a:hover {
	opacity: 1;
	text-decoration: none;
	background: #d7c447;
}

footer .f_info {
	background: #f0f0f0;
	color: #505050;
	text-align: center;
	padding: 40px 0 20px 0;
}
footer .f_info strong {
	display: block;
	margin: 10px 0 20px;
	font-size: 1.125em;
}
footer .f_info strong a {
	color: #505050;
}
footer .f_info strong a:hover {
	text-decoration: none;
}
footer .f_info address {
	font-style: normal;
	line-height: 1.8;
	margin-bottom: 30px;
}

footer .f_info .f_link {
	font-size: 0.875em;
}
footer .f_info .f_link a {
	color: #505050;
}

#copyright {
	background: #000000;
	padding: 7px;
	font-size: 0.813em;
	color: #fff;
	text-align:center;
}


@media screen and (max-width: 1400px) {
	footer nav li {
		font-size: 0.857em;
	}
	footer .f_info address {
		font-size: 0.929em;
	}
}

@media screen and (max-width: 700px) {
	footer nav ul {
		flex-wrap: wrap;
	}
	footer nav li {
		width: 50%;
		border-bottom: 1px solid #fff;
	}
	footer nav li:last-child {
		width: 100%;
		border-bottom: none;
	}
	footer nav li a {
		padding: 5px 0;
		min-height: 40px;
	}
}