@charset "utf-8";

/*
Theme Name: Koshinosou 2026
Theme URI: 
Author: Toyama Dennousya.
Author URI: https://www.dennousya.com
Description: This is my Toyama Dennousya theme.
Version: 202601
License: 
License URI:
*/

/* MyFont */
@font-face {
	font-family: "myfont1";
	src: url("myfont/KosugiMaru-Regular.ttf");
	font-weight: normal;
}
@font-face {
	font-family: "DancingFont";
	src: url("myfont/DancingScript-VariableFont_wght.ttf");
	font-weight: normal;
}
@font-face {
	font-family: 'M PLUS Rounded 1c';
	src: url("myfont/MPLUSRounded1c-Regular.ttf");
	font-weight: normal;
}


/* --------------------------------------------------------
	Outher
-------------------------------------------------------- */

body {
	font-family: "myfont1";
}
body.noscroll {
	overflow: hidden;
}

header#header {
	width: calc(100% - 10px);
	margin: 0 auto;
	border-bottom: 3px solid #482;
	font-size: 140%;
}
div#breadcrumb {
	font-size: 120%;
}
#page-title {}
main#main {
	position: relative;
	overflow: hidden;
	font-size: 160%;
}
aside#contents-menu {
	font-size: 160%;
}

footer#footer {
	font-size: 130%;
}
footer#footer::before {
	content: "";
	display: block;
	width: calc(100% - 10px);
	margin: 0 auto;
	height: 3px;
	background-color: #482;
}

/* --------------------------------------------------------
	Header
-------------------------------------------------------- */
header#header {}
header#header > .inner {
	width: 98%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px 0 10px;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	align-items: center;
}
#sitebanner {
	width: 20%;
	max-width: 240px;
}
#sitebanner img {
	width: auto;
	height: auto;
	max-width: 100%;
}
nav#g-nav {
/*	overflow: hidden;*/
}
#g-nav-btn {
	width: 40px;
	height: 40px;
	margin-top: 10px;
	position: relative;
	cursor: pointer;
	float: right;
}
#g-nav-btn > span,
#g-nav-btn > span::before,
#g-nav-btn > span::after {
	width: 36px;
	height: 3px;
	background-color: #aacc55;
	position: absolute;
	transition-duration: 0.5s;
}
#g-nav-btn > span {
	top: 17px;
}
#g-nav-btn > span::before {
	content: "";
	top: -10px;
}
#g-nav-btn > span::after {
	content: "";
	top: 10px;
}
nav#g-nav > ul {
	height: 100%;
	display: flex;
	gap: 0px;
	justify-content: flex-end;
	align-items: center;
}
nav#g-nav > ul > li {
	position: relative;
}
nav#g-nav > ul > li:not(:first-child)::before {
	content: "";
	width: 2px;
	height: 1.5em;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-color: #591;
}
nav#g-nav > ul > li a {
	display: block;
	padding: 0 15px;
	text-align: center;
	font-family: myfont1;
	font-size: 120%;
	line-height: 1.4;
	color: #333;
	text-decoration: none;
}
nav#g-nav > ul > li a span {
/*	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;*/
	font-size: 70%;
	display: block;
}
nav#g-nav > ul > li a:hover,
nav#g-nav > ul > li a:active {
	color: #AAA;
}
@media only screen and (min-width: 1161px) {
  nav#g-nav {
	padding-top: 20px;
  }
}
@media only screen and (min-width: 901px) and (max-width: 1160px) {
  nav#g-nav {
	padding-top: 20px;
  }
  nav#g-nav > ul > li a {
	font-size: 100%;
	padding: 0 10px;
  }
  nav#g-nav > ul > li a span {
	display: none;
  }
}
@media only screen and (min-width: 901px) {
  header#header > .inner {
	position: relative;
  }
  #g-nav-btn {
	display: none;
  }
  nav#g-nav {
	padding-right: 165px;
  }
  #header-recruit {
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 10;
	overflow: hidden;
	display: flex;
	align-items: center;
  }
  #header-recruit a {
	display: block;
  }
}
@media only screen and (max-width: 900px) {
  header#header {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(255,255,255,0.95);
	clear: both;
	z-index: 5;

	height: 90px;
	overflow: hidden;
	transition-property: height;
	transition-duration: 1.0s;
  }
  header#header + * {
	margin-top: 93px; /* 90px(Banner) + 3px(border) */
  }
  header#header > .inner {
	width: 100%;
	padding: 10px 0;
	display: block;
  }
  #sitebanner {
	width: 96%;
	max-width: 96%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
  }
  #sitebanner > a {
	width: 180px;
	max-width: 180px;
  }
  #g-nav-btn {
	display: block;
  }
  nav#g-nav > ul {
	width: 100%;
	padding: 50px 0 80px;
	gap: 30px;
	flex-direction: column;
	justify-content: center;
  }
  nav#g-nav > ul > li:not(:first-child)::before {
	display: none;
  }
  nav#g-nav > ul > li > a {
	font-size: 160%;
	font-weight: 600;
	color: #000;
	display: inline-block;
  }
  nav#g-nav > ul > li > a > span {
	font-weight: 400;
  }

  /* Gナビオープン */
  header#header.open {
	width: 100%;
	z-index: 9999;/* コンテンツメニューより上位に表示 */
	height: 100vh;
	left: 0;
	overflow-y : auto;
  }
  header#header.open > .inner {}
  header#header.open #sitebanner {
	width: calc( (100% - 10px) * 0.96);
	max-width: calc( (100% - 10px) * 0.96);
  }

  header#header.open #g-nav-btn > span {
	background: transparent;
  }
  header#header.open #g-nav-btn > span::before {
	transform: rotate(45deg);
	top: 0px;
  }
  header#header.open #g-nav-btn > span::after {
	transform: rotate(-45deg);
	top: 0px;
  }
  #header-recruit {
	text-align: center;
  }
}

/* --------------------------------------------------------
	BreadCrumb
-------------------------------------------------------- */
div#breadcrumb {}
div#breadcrumb ul {
	width: 96%;
	max-width: 1140px;
	margin: 0px auto;
	padding: 10px 0;
	overflow: hidden;
}
div#breadcrumb ul > li {
	float: left;
	color: #777;
	line-height: 1.2;
	vertical-align: middle;
}
div#breadcrumb ul > li:not(:first-child)::before {
	content: ">";
	font-size: 75%;
	margin: 0 5px;
}


/* --------------------------------------------------------
	Page Title
-------------------------------------------------------- */
#page-title {}
#page-title h1 {
	width: 100%;
	margin: 10px auto 30px;
	padding: 10px 5px 10px;
	text-align: center;
	font-size: min(400%,6vw);
	font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	letter-spacing: 0;
	line-height: 1.0;
}
#page-title h1::after {
	content: "";
	display: block;
	width: 90%;
	height: 1px;
	margin: 5px auto;
	background-color: #AC5;
}
#page-title h1 > span {
	display: inline-block;
	padding: 1.0em 0 0 1.0em;
	text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff,
	 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff, 0 0 5px #fff;

	background-image: url(images/pagetitle-marker.png);
	background-repeat: no-repeat;
	background-size: 2.0em 2.0em;
	background-position: left center;
}
#page-title h1 > span > span {
	color: #360;
	font-size: 65%;
	font-weight: 600;
}


/* --------------------------------------------------------
	Main Contents
-------------------------------------------------------- */
main#main {}
main#main section {
	width: 90%;
	max-width: 1140px;
	margin: 0 auto;
}
main#main section.wide {
	width: 100%;
	max-width: 100%;
}
main#main section.wide .post_box {
	width: 90%;
	max-width: 1140px;
	margin: 0 auto 100px;
}
main#main h2,
main#main h3,
main#main h4,
main#main h5 {
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-weight: 400!important;
}
main#main h2 {
	font-size: 160%;
	letter-spacing: 0.125em;
	line-height: 1.3;
	border-bottom: 2px solid #AC5;
	margin-bottom: 30px;
}
main#main h2 > span {
	font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	font-size: 180%;
	color: #360;
	font-weight: 900;
	line-height: 0.9;
	vertical-align: bottom;
}
main#main h3 {
	position: relative;
	margin-bottom: 1.0em;
	padding-left: 1.2em;
	font-size: 140%;
	line-height: 1.4;
}
main#main h3::before {
	content: "";
	width: 0.8em;
	height: 0.8em;
	position: absolute;
	background-color: #ac5;
	left: 0.2em;
	top: 0.3em;
	border-radius: 50%;
}
main#main h4 {}
main#main h4 span {
	display: inline-block;
	color: #690;
	background: #FFF;
	border: 2px solid #690;
	border-radius: 5px;
	margin: 5px 20px 5px 5px;
	padding: 0 10px;
}
main#main h5 {
	margin: 20px auto;
	font-size: 100%;
	font-weight: 600;
	text-align: center;
}
main#main h5 span {
	padding: 10px 30px;
	display: inline-block;
	background-color: #FEB;
}


/* --------------------------------------------------------
	Contents Menu
-------------------------------------------------------- */
aside#contents-menu {}
#contents-menu-btn {
	width: 60px;
	height: 120px;
	background-color: #777;
	cursor: pointer;

	position: fixed;
	left: 0px;
	bottom: 30px;
	z-index: 30;/* コンテンツメニュー本体より上位に表示させる */
}
#contents-menu-btn > p {
	display: block;
	text-align: center;
	position: relative;
	color: #fff;
	font-family: myfont1;
	font-size: 80%;
	line-height: 2.2;
}
#contents-menu-btn > p::before,
#contents-menu-btn > p::after {
	content: "";
	display: block;
	width: 2px;
	height: 66px;
	background: #fff;
	position: absolute;
	top: 35px;
	transition-duration: 0.5s;
}
#contents-menu-btn > p::before {
	left: 24px;
}
#contents-menu-btn > p::after {
	left: 34px;
}
#contents-menu-btn:hover,
#contents-menu-btn:active {
	background-color: #360!important;
}
aside#contents-menu.open #contents-menu-btn {
	background-color: #693;
}
aside#contents-menu.open #contents-menu-btn > p::before {
	left: 27.5px;
	transform: rotate(15deg);
}
aside#contents-menu.open #contents-menu-btn > p::after {
	left: 27.5px;
	transform: rotate(-15deg);

}


aside#contents-menu > .inner {
	width: auto;
	max-width: 100%;
	min-width: 21em;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	box-shadow: 0 0 0 #000;
	background-color: #fafff3;
/*	background: #fff;*/
	background-image: 
		url(images/aside-bg1.png),
		url(images/aside-bg2.png);
	background-repeat: no-repeat;
	background-position: left top, right bottom;

	overflow-y: auto;
	z-index: 20;/* Gナビより上位、コンテンツメニューボタンより下位に表示 */

	transform: translateX(-100%);
	transition-property: transform, box-shadow;
	transition-duration: 0.5s;
}
aside#contents-menu.open > .inner {
	box-shadow: 0 0 10px #000;
	transform: translateX(0);
}
h3#contents-menu-ttl {
	width: calc(100% - 20px);
	margin: 20px auto;
	text-align: center;
/*	filter: drop-shadow(0 0 2px #fff);*/
	border-bottom: 2px solid #482;
}
h3#contents-menu-ttl > span {
	display: inline-block;
	filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff) drop-shadow(0 0 2px #fff);

	font-family: myfont1;
	color: #000;
	font-size: 130%;
}
aside#contents-menu > .inner ul li a {
	display: block;
}
aside#contents-menu > .inner > ul {
	display: inline-block;
	text-align: left;
	padding-left: 75px;/* メニューボタン */
	padding-right: 10px;
	padding-bottom: 100px;
}
aside#contents-menu > .inner > ul > li {
	margin: 30px 0;
}
aside#contents-menu > .inner > ul > li > a {
	border-bottom: 3px solid #cda;
	padding: 0px 10px;
}
aside#contents-menu > .inner > ul > li > ul {
	display: inline-block;
	list-style-type: disc;
	padding-left: 3.0em;
	color: #280;
}
aside#contents-menu > .inner > ul > li > ul > li > a {
}
aside#contents-menu > .inner > ul li a {
	text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff, 0 0 2px #fff;
	color: #000;
	font-family: myfont1;
	text-decoration: none;
}
aside#contents-menu > .inner > ul li a:hover,
aside#contents-menu > .inner > ul li a:active {
	color: #480;
	text-decoration: underline;
}


/* --------------------------------------------------------
	Footer
-------------------------------------------------------- */
#page-top {
	position: fixed;
	right: 10px;
	bottom: 10px;
	display: none;
	z-index: 2;
}
#page-top > a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 80px;
	height: 80px;
	background-color: #AC5;
	text-align: center;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	font-size: 140%;
	line-height: 1.0;
	text-decoration: none;
	color: #333;
	position: relative;
	border: 2px solid #fff;
}
#page-top > a::after {
	content: "▲";
	font-size: 200%;
	display: block;
}
footer#footer {}
#page-top > a:hover,
#page-top > a:active {
	opacity: 0.5;
}

footer#footer > address {
	width: 96%;
	max-width: 1140px;
	margin: 20px auto;
	font-size: 120%;

	display: flex;
	align-items: center;
	justify-content: space-around;
	position: relative;
}
footer#footer > address::after {
	content: "";
	width: 2px;
	height: 90%;
	display: block;
	position: absolute;
	left: calc(50% - 1px);
	top: 5%;
	background: #DDD;
}

/* 施設情報 */
#corporate-name {
/*	border-right: 2px solid #aacc55;*/

	font-family: myfont1;
}
#corporation {
	line-height: 1.0;
	font-size: 130%;
	color: #777;
}
#facility {
	font-size: 260%;
	color: #370;
	text-align: center;
}
#corporate-info {
	display: inline-block;
	margin: 1.0em 0;
	text-align: left;
}
#post-code {}
#address {
	font-size: 120%;
}
#tel, #fax {
	padding-left: 1.0em;
	line-height: 1.3;
}
@media only screen and (max-width: 820px) {
  footer#footer > address {
	flex-direction: row;
	gap: 0;
  }
  footer#footer > address::after {
	display: none;
  }
}
@media only screen and (max-width: 820px) {
  footer#footer > address {
	flex-direction: column;
  }
  #corporate-name {
	border-bottom: 2px solid #AC5;
  }
}

/* コピーライト */
#copyrights {
	background-color: #482;
	color: #fff;
	line-height: 1.0;
	padding: 7px 0 5px;
	text-align: center;
}
@media only screen and (max-width: 820px) {
  #copyrights {
	padding-left: 10px;
	padding-right: 100px;
  }
}


/* --------------------------------------------------------
	お知らせ
-------------------------------------------------------- */
dl#news-list {
	overflow: hidden;
	font-size: 105%;
}
dl#news-list dt {
	width: 6.0em;
	display: inline-block;
	padding-top: 5px;
	border-bottom: 1px solid #BD9;
	float: left;
	text-align: center;
	line-height: 1.1;
}
dl#news-list dd {
	oveflow: hidden;
	margin-bottom: 15px;
	padding-left: 6.75em;
}
dl#news-list dd a {
	text-decoration: none;
	color: #059;
}
dl#news-list dd a:hover,
dl#news-list dd a:active {
/*	color: #F50;*/
	color: #777;
	text-decoration: underline;
}
span.sticky {/* 固定記事 */
	margin-top: 2px;
	margin-left: 10px;
	padding: 3px 5px 1px;
	border-radius: 5px;
	border: 2px solid #280;
	display: inline-block;

	font-size: 65%;
	font-weight: 600;
	line-height: 1.2;
	vertical-align: top;
	color: #260;
}
span.new-kiji {
	display: inline-block;
	color: #f00;
	font-weight: 600;
	line-height: 1.4;
	vertical-align: top;
	margin-left: 5px;
}
@media only screen and (max-width: 820px) {
  dl#news-list dt {
	width: auto;
	float: none;
	margin-bottom: 5px;
  }
  dl#news-list dd {
	padding-left: 1.0em;
  }
  dl#news-list > dt:nth-of-type(n+4),
  dl#news-list > dd:nth-of-type(n+4) {
	display: none;
  }
}


/* --------------------------------------------------------
	セカンドページデザイン
-------------------------------------------------------- */

/* 共通
----------------------------- */
/* コンテンツBox */
.columns-box {
	margin: 0 auto 50px;
	padding: 0 15px;
}
/* 吹き出し */
.ballon {
	display: inline-block;
	position: relative;
	border: 2px solid #59C;
	border-radius: 50%;
	margin: 30px 0 20px;
	padding: 1.0em;
	background: #fff;
}
.ballon::before,
.ballon::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-width: 15px 30px;
	border-style: solid;
	border-color: transparent;
	bottom: -27px;
	right: -7px;
}
.ballon::before {
	transform: rotate(45deg);
	border-left-color: #59C;
	z-index: -1;
}
.ballon::after {
	transform: rotate(45deg) translateX(-4px);
	border-left-color: #FFF;
}
/* 矢印 */
dl.bow_tr {
	margin-bottom: 1.0em;
}
dl.bow_tr dt {
	display: inline-block;
	padding: 0 10px;
	line-height: 1.8;
	background-image: linear-gradient(to top, transparent 0, #FE5 0.4em, #FE5 0.6em, transparent 1.0em);
	background-size: 100% 1.8em;
}
dl.bow_tr dd {
	padding-left: 65px;
	padding-top: 1.0em;
	background-image: url(images/bow_tr.png);
	background-repeat: no-repeat;
	background-position: 15px top;
}
/* アクセスマップ */
.access-map {
	text-align: center;
}
.access-map iframe {
	width: 80%;
	border: 1px solid #AAA;
	box-shadow: 0 0 5px #795;
}
@media only screen and (max-width: 640px){
 .access-map iframe {
	width: 94%;
 }
}

/* ニュース
----------------------------- */
#archives {}
#archives dl {
	padding: 15px;
	border-bottom: 3px solid #EEE;
}
#archives dl dt {}
#archives dl dd {
	padding-left: 2.0em;
}
.navigation {
	margin-top: 50px;
}
.navigation .current {
	background: #490;
}
.navigation .nav-links > * {
	font-family: "DancingFont";
	text-decoration: none;
}
.navigation .nav-links > .prev,
.navigation .nav-links > .next {}
.navigation a:hover {
	background: #8D4;
	color: #FFF;
}
.navigation .nav-links > a.prev:hover,
.navigation .nav-links > a.next:hover {
	color: #AAA;
}
@media only screen and (min-width: 840px){
 .navigation .nav-links > * {
	width: 40px;
	height: 40px;
	line-height: 40px;
	padding: 0;
	display: inline-block;
	border-radius: 50%;
	white-space: nowrap;
	font-size: 28px;
 }
 .navigation .nav-links > .prev,
 .navigation .nav-links > .next {
	width: auto;
	font-size: 110%;
	margin: 10px;
 }
}
.postinfo {/* 投稿日時 */
	text-align: right;
}
.news-contents {
	padding: 20px;
}
.news-contents > * {
	margin-bottom: 1.0em;
}
.news-contents p {
	line-height: 1.5;
}
.news-contents img {
	width: auto;
	height: auto;
	max-width: 98%;
	margin: 5px 1% 15px;
}
.news-contents img.custom-emoji-class {
	width: 1.0em;
}
.news-contents p img.alignleft,
.news-contents p img.alignright {
	max-width: 48%;
}



/* 緑寿会の心
----------------------------- */
div#policy_kokoro {}
div#policy_kokoro .flex-box-md > div {}
@media only screen and (min-width: 821px){
  div#policy_kokoro .flex-box-md > div:nth-child(1) {
	width: 60%;
  }
  div#policy_kokoro .flex-box-md > div:nth-child(2) {
	width: 40%;
  }
}
main#main h2#policy_kokoro_ttl {
	text-align: center;
	border-bottom: 0;
	margin-bottom: 0;
}
main#main h2#policy_kokoro_ttl > img {
	background: #fff;
}
div#policy_kokoro_main {
	border: 2px solid #F90;
	padding: 80px 50px 20px;
	margin-top: -60px;
}
div#policy_kokoro_main dl {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 2.0em;
}
div#policy_kokoro_main dl > dt {
	width: 2.2em;
	height: 2.2em;
	background: #360;
	border-radius: 50%;
	color: #fff;
	font-size: 180%;

	display: flex;
	text-align: center;
	align-items: center;
}
div#policy_kokoro_main dl > dt > span {
	width: 100%;
}
div#policy_kokoro_main dl > dd {
	width: calc(100% - 2.2em - 30px);
	font-family: myfont1;
	font-size: 110%;
}
@media only screen and (max-width: 820px){
  div#policy_kokoro_main {
	padding: 80px 20px 20px;
  }
  div#policy_kokoro_main dl {
	flex-direction: column;
  }
  div#policy_kokoro_main dl > dd {
	width: 100%;
	text-align: center;
  }
}

/* 越野荘の基本理念
----------------------------- */
#policy-principle {}
div.flex-box.policy-flex {
	gap: 30px;
	margin: 10px 0;
	padding: 0 10px;
}
div.flex-box.policy-flex > div {
	padding: 20px;
	border-radius: 10px;
	background: #fff;
/*	box-shadow: 0 0 5px #999;*/
	box-shadow: 0 0 5px #462;
}
div.flex-box.policy-flex h3 {
	padding-left: 0;
	text-align: center;
	color: #F80;
}
div.flex-box.policy-flex h3::before {
	display: none;
}
table#event-table {
	width: auto;
	margin: 0 auto;
}
table#event-table tr th {
	background-color: #DEC;
	text-align: center;
}
table#event-table a {
	color: #490;
}
table#event-table a:hover,
table#event-table a:active {
	color: #9C5;
}
@media only screen and (max-width: 640px){
 table#event-table {}
 table#event-table thead {
	display: none;
 }
 table#event-table tbody,
 table#event-table tbody th,
 table#event-table tbody td {
	display: block;
	border: none;
 }
 table#event-table tbody tr {
	display: flex;
	flex-direction: column;
	margin-bottom: 50px;
 }
 table#event-table tbody tr > *:nth-child(1) {
	order: 2;
 }
 table#event-table tbody tr > *:nth-child(2) {
	order: 1;
 }
 table#event-table tbody tr > *:nth-child(3) {
	order: 3;
 }
 table#event-table tbody tr > *:nth-child(1)::before,
 table#event-table tbody tr > *:nth-child(3)::before {
	display: inline-block;
	margin-top: 30px;
	margin-bottom: 15px;
	padding: 2px 10px 1px;
	border: 2px solid #480;
	color: #777;
	border-radius: 50px;
	font-size: min(5vw,100%);
 }
 table#event-table tbody tr > *:nth-child(1)::before {
	content: "特養ホーム・ショートステイ";
 }
 table#event-table tbody tr > *:nth-child(3)::before {
	content: "デイサービスセンター";
 }
}


/* サービス概要ほか
----------------------------- */
span.tagb {/* Blue */
	display: inline-block;
	margin-left: 2.0em;
	background: linear-gradient(to bottom, #DEF, #ACF);
	font-size: 75%;
	padding: 4px 10px 3px;
	line-height: 1.1;
	border-radius: 5px;
	white-space: nowrap;
}

/* ギャラリー（カルーセルスライダー）※ 写真サイズは貼り付け前に要調整
----------------------------- */
.swiper-gallery {}
.swiper-gallery .swiper-wrapper {
	padding-top: 20px;
}
.swiper-gallery .swiper-slide {
	width: auto;
	max-width: 600px;
}
.swiper-gallery .swiper-slide img {
	border: 1px solid #AAA;
	padding: 3px;
}
.swiper-gallery .swiper-pagination {
	position: relative;
	margin-top: 15px;
}
.swiper-gallery .swiper-pagination-bullet {
	width: 20px;
	height: 5px;
	border-radius: 0;
}
.swiper-gallery .swiper-pagination-bullet-active {
	background: #280;
}
.swiper-gallery .swiper-button-next,
.swiper-gallery .swiper-button-prev {
	color: #fff; /* ボタンの色 */
	background-color: rgba(0, 0, 0, 0.8); /* 背景色 */
	width: 50px;
	height: 150px;
	border-radius: 5px;
}
.swiper-gallery .swiper-button-next:hover,
.swiper-gallery .swiper-button-prev:hover {
	background-color: rgba(255,255,255,0.8);
	color: #490;
	box-shadow: 0 0 5px #777;
}
@media only screen and (min-width: 801px){
 .swiper-gallery .swiper-button-next,
 .swiper-gallery .swiper-button-prev {
	padding: 50px 0px;
	height: 150px;
 }
}
@media only screen and (min-width: 481px) and (max-width: 800px){
 .swiper-gallery .swiper-button-next,
 .swiper-gallery .swiper-button-prev {
	padding: 30px 10px;
	height: 100px;
 }	width: 20px;

}
@media only screen and (max-width: 480px){
 .swiper-gallery .swiper-pagination {}
 .swiper-gallery .swiper-button-next,
 .swiper-gallery .swiper-button-prev {
	padding: 5px;
	width: 30px;
	height: 30px;
	background-color: rgba(30, 100, 10, 0.8); /* 背景色 */
/*	top: 25px!important;
	bottom: initial;*/
 }
}

/* ポップアップ
----------------------------- */
#popup-window {
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	z-index: 9999;
	overflow: hidden;
}
#popup-window-bg {
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
#close-popup-window {
	width: 40px;
	height: 40px;
	position: absolute;
	right: 5px;
	top: 5px;
	background: #FFF;
	box-shadow: 0 0 5px #999;
	cursor: pointer;
	z-index: 2;/* 表示内容より上位に配置 */
}
#close-popup-window::before,
#close-popup-window::after {
	content: "";
	display: block;
	width: 30px;
	height: 2px;
	position: absolute;
	top: 18px;
	left: 5px;
	background: #000;
}
#close-popup-window::before {
	transform: rotate(45deg);
}
#close-popup-window::after {
	transform: rotate(-45deg);
}
#popup-content {
	width: auto;
	max-width: calc(100% - 40px);
	height: auto;
	max-height: calc(100vh - 40px);
	margin-right: -100vw;
	padding: 10px;
	background: #FFF;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);

	overflow-x: hidden;
	overflow-y: auto;
}
#popup-content h3 {
	font-size: 240%;
	margin-bottom: 20px;
	padding: 5px 10px;
	line-height: 1.1;
	border-bottom: 2px solid #9C6;
}
#popup-content img {
	border: 1px solid #AAA;
	padding: 5px;
}
/* 越野荘の沿革
----------------------------- */
table#history {}
table#history table {
	width: auto;
	margin: 0;
}
.colon::after {
	content: ":";
}
table#history td {
	line-height: 1.8;
}
table#history span.tag,
table#history span.tag2,
table#history span.tag3 {
	display: inline-block;
	padding: 0 5px;
	border-radius: 5px;
	line-height: 1.4;
	margin: 0 5px 0.2em 10px;
	font-size: 75%;
	vertical-align: middle;
}
table#history span.tag {
	border: 1px solid #490;
	background: linear-gradient(to bottom, #EEC, #AD6);
}
table#history span.tag2 {
	border: 1px solid #F50;
	background: linear-gradient(to bottom, #FEC, #FC7);
}
table#history span.tag3 {
	border: 1px solid #990;
	background: linear-gradient(to bottom, #FFF9DD, #EEE555);
}
table#history dl.over_flow {}
table#history dl.over_flow dd {
	overflow: hidden;
}
table#history tr:hover {
	background: #E5FFD5;
}



/* 各事業のサービス
----------------------------- */
@media only screen and (min-width: 641px){
 .post_box table.tbl_service thead th,
 .post_box table.tbl_service tbody th {
	background: #CEB;
	text-align: center;
	border-bottom-color: #FFF;
	vertical-align: middle;
 }
}
@media only screen and (max-width: 640px){
 .post_box table.tbl_service thead {
	display: none;
 }
 .post_box table.tbl_service,
 .post_box table.tbl_service tbody,
 .post_box table.tbl_service tr,
 .post_box table.tbl_service tr th,
 .post_box table.tbl_service tr td {
	display: block;
	border: none;
	text-align: left;
	padding-top:0;
	padding-bottom: 0;
 }
 .post_box table.tbl_service tr {
	padding-top: 0.5em;
	padding-bottom: 1.5em;
 }
 .post_box table.tbl_service tr > *:first-child {
	background: #CEA;
	margin-bottom: 5px;
	padding: 3px 10px;
	display: inline-block;
 }
 .post_box table.tbl_service tr > *:not(:first-child) {
	padding-left: 2.0em;
 }
}

@media only screen and (min-width: 800px){
 .post_box .tbl_service2 {
	overflow: hidden;
 }
 .post_box .tbl_service2 table {
	float: left;
	margin: 0;
 }
 .post_box .tbl_service2 table:first-child {
	width: calc(49% - 5em);
	margin-left: 1%;
 }
 .post_box .tbl_service2 table:not(:first-child) {
	width: calc(49% + 5em);
	margin-right: 1%;
 }
 .post_box .tbl_service2 table thead th,
 .post_box .tbl_service2 table tbody th {
	background: #CEB;
	text-align: center;
	border-bottom-color: #FFF;
	vertical-align: middle;
 }
 .post_box .tbl_service2 > table:first-child thead tr > *:first-child,
 .post_box .tbl_service2 > table:first-child tbody tr > *:first-child {
	display: none;
 }
}
@media only screen and (max-width: 799px){
 .post_box .tbl_service2 table thead tr > *:first-child {
	display: none;
 }
 .post_box .tbl_service2 table thead tr > th {
	padding: 10px!important;
	border-bottom: 1px solid #CCC;
	font-size: 160%;
	color: #999;
 }
 .post_box .tbl_service2 table thead tr > th::before {
	content: "■";
	color: #FC0;
	margin-right: 10px;
 }
 .post_box .tbl_service2 table,
 .post_box .tbl_service2 table thead,
 .post_box .tbl_service2 table tbody,
 .post_box .tbl_service2 table tr,
 .post_box .tbl_service2 table tr th,
 .post_box .tbl_service2 table tr td {
	display: block;
	border: none;
	text-align: left;
	padding-top:0;
	padding-bottom: 0;
 }
 .post_box .tbl_service2 table {
	margin-bottom: 50px;
 }
 .post_box .tbl_service2 table tr {
	padding-top: 0.5em;
	padding-bottom: 1.5em;
 }
 .post_box .tbl_service2 table tr > *:first-child {
	background: #CEA;
	margin-bottom: 5px;
	padding: 3px 10px;
	display: inline-block;
 }
 .post_box .tbl_service2 table tr > *:not(:first-child) {
	padding-left: 2.0em;
 }
}


/* サイトマップ
----------------------------- */
ul.sitemap {
	font-size: 120%;
}
ul.sitemap li {
	list-style-type: none!important;
	line-height: 3.0;
	padding-left: 40px;
	position: relative;
}
ul.sitemap li::before,
ul.sitemap li::after {
	content: "";
	display: inline-block;
	position: absolute;
	background-repeat: no-repeat;
}
ul.sitemap li::before {
	width: 6px;
	height: 100%;
	top: 0;
	left: 0;
	background-image: linear-gradient(to right, transparent 2px, #BCA 2px, #BCA 4px, transparent 4px);
}
ul.sitemap li::after {
	width: 30px;
	height: 6px;
	background-image:
		linear-gradient(to bottom, transparent 2px, #BCA 2px, #BCA 4px, transparent 4px),
		radial-gradient(circle at 27px 3px, #BCA 3px, transparent 3px);
	top: 1.5em;
	left: 2px;
	transform: translateY(-50%);
}
ul.sitemap > li:first-child {
	margin-left: 0;
	padding-left: 0;
}
ul.sitemap > li:nth-child(2)::before,
ul.sitemap li:first-child::before {
	background-image:
		linear-gradient(to right, transparent 2px, #BCA 2px, #BCA 4px, transparent 4px),
		radial-gradient(circle at 3px 3px, #BCA 3px, transparent 3px);
}
ul.sitemap > li:first-child::before,
ul.sitemap > li:first-child::after {
	display: none;
}
ul.sitemap li:last-of-type::before {
	background-size: 100% 1.5em;
}
ul.sitemap > li > ul li {}


/* ご意見・お問い合わせ
----------------------------- */
table#contact {
	width: auto;
	margin: 0 auto;
}
table#contact thead {}
table#contact thead th {
	background: #DF9;
	text-align: center;
}
table#contact tr > *:nth-child(5) {
	white-space: nowrap;
}
table#contact tbody tr:hover {
	background: #FFF5DD;
}
@media only screen and (max-width: 640px){
  table#contact tbody tr {}
  table#contact tbody tr > *::before {
	color: #390;
  }
  table#contact tbody tr > *:nth-child(2)::before {
	content: "TEL: ";
  }
  table#contact tbody tr > *:nth-child(3)::before {
	content: "FAX: ";
  }
  table#contact tbody tr > *:nth-child(4)::before {
	content: "担当: ";
  }
  table#contact tbody tr > *:nth-child(5)::before {
	content: "受付日: ";
  }
}

dl.inquiry {
	margin: 30px 0;
	padding: 30px 10px;
	position: relative;
}
dl.inquiry::before {
	content: "";
	width: calc(100% - 100px);
	height: 5px;
	display: block;
	position: absolute;
	top: -15px;
	left: 50px;
	background: #DED;
}
dl.inquiry:hover {
	background: #EFC;
}
dl.inquiry dd {
	padding-left: 2.0em;
}
dl.inquiry label:hover {
	color: #999;
}
dl.inquiry input[type="text"],
dl.inquiry input[type="tel"],
dl.inquiry input[type="email"],
dl.inquiry textarea {
	width: calc(100% - 20px);
	padding: 5px;
	font-size: 110%;
}
dl.inquiry textarea {
	height: 9.0em;
	line-height: 1.5;
}
dl.inquiry .short {/* trl/fax */
	width: 12em;
	max-width: 100%;
}
input[type="submit"] {
	margin: 5px auto;
	padding: 5px 10px 3px;
	border: 1px solid #CCC;
	background: linear-gradient(to bottom, #DEB, #9D5);
	box-shadow: 2px 2px 3px #777;
	cursor: pointer;
}
input[type="submit"]:hover {
	border-color: #888;
	background: linear-gradient(to bottom, #CEA, #8C4);
	box-shadow: 0px 0px 3px #999;
}

