

html, body,
h1, h2, h3, h4, h5, h6,
p, blockquote, address, pre, div, form, hr,
ul, ol, li, dl, dt, dd,
table, caption, tr, td, th,
ins, del,
a, sup, sub,
em, strong, dfn, code, samp, kbd, var, cite, abbr, acronym {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
	text-decoration: none;
}

body {
	margin: 0 auto;
	line-height: 1.5;
	color: #000;
	font-size: 100%;
	background: #f2f2f2;
}

.main {
	padding-top: 1em;
	padding-bottom: 1em;
}

.inner {
	margin: 0 auto;
	max-width: 55rem;
}

header {
	color: black;
	background: #FFD6AA;
}

header .outer {
	width: 100%;
	min-height: 300px;
	background: url(/header.jpg);
	background-position: left calc(100% - 5rem) bottom 0;
	background-repeat: no-repeat;
}

p, ul, ol, dl, pre, address {
	margin: 1em 30px;
	letter-spacing: 0.01em;
}

p.breadcrumbs {
	margin-left: 0;
}

p {
}

h1, h2, h3, h4, h5, h6 {
	margin: 0.5em 0; 
}


h1, h2, h3, h4 {
	font-weight: bold;
}

h1 {
	margin: 0;
	padding: 40px 0;
	font-size: 300%;
}

@media screen and (max-width: 600px) {
	h1 {
		font-size: 200%;
	}
	header .outer {
		background-position: right 0 bottom 0;
		background-size: contain;
	}
}
  

h1 span {
	background: rgba(255, 214, 170, 0.7);

}

/* https://jajaaan.co.jp/css/css-headline/ */
h2 {
	display: inline-block;
	position: relative;
	padding: 1rem 2rem calc(1rem + 10px);
	background: #fffbb0;
	margin-top: 4rem;
	font-size: 140%;
}

h2:before {
	position: absolute;
	top: -7px;
	left: -7px;
	width: 100%;
	height: 100%;
	content: '';
	border: 2px solid #828282;
  }
  
  

h3 {
	padding: 0 20px;
	border-bottom: 2px dotted #d8beb8;
	font-size: 135%;
	margin-top: 2rem;
}

h4 {
	padding: 0 25px;
	font-size: 110%;
}

h5, h6 {
	padding: 0 30px;
	font-size: 100%;
}

pre {
	padding: 0.5em 10px;
	background-color: #fff;
	white-space: pre;
}

address {
	text-align: right;
}

blockquote {
	margin: 1.5em 30px;
	border: 1px solid #700;
}

li {
	margin: 0.5em 10px;
}

li li, li p, li pre, li dt, li dd,
dd li, dd p, dd pre, dd dt, dd dd {
	font-size: 100%;
}

li ul, li ol, li dl, li p,
dd ul, dd ol, dd dl, dd p {
	margin: 0.1em 10px;
}

dt {
	margin: 0.6em 10px 0.1em 10px;
	background-color: #e8e8e8;
}

dd {
	margin: 0.1em 10px 0.6em 30px;
}

table {
	margin: 0 30px 0.5em 30px;
	border-collapse: collapse;
}
td, th {
	border: 1px solid #CCC;
	padding: 0.1em 5px;
}
th {
	background: #F3F3F3;
}

a:link, a:visited, a:active, a:hover, a:focus {
	border-bottom: 1px solid;
}

a:link {
	border-bottom-color: rgb(62, 84, 194);
	color: rgb(62, 84, 194);
}

a:visited {
	border-bottom-color: rgb(161, 62, 194);
	color: rgb(161, 62, 194);
}

a:active, a:hover {
	border-bottom-color: rgb(194, 62, 97);
	color: rgb(194, 62, 97);
}

em, strong {
	color: #d30e0e;
}

strong {
	font-weight: bold;
}

del, del * {
	color: #999;
	text-decoration: line-through;
}

ins {
	border-bottom: 1px dashed #999;
}

footer {
	background: #333;
	padding: 1em 0;
	color: white;
}

hr {
	margin: 20px 0;
}

ul.schedule > li,
ul.schedule > li > ul > li {
	font-weight: bold;
}

ul.schedule > li > ul {
	font-weight: normal;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

footer {
	  margin-top: auto;
}

img {
	max-width: 100%;
	height: auto;
}

.menu {
	background: rgb(218, 160, 97);
	margin-bottom: 1em;
}

.menu menu {
	list-style-type: none;
	display: flex;
	gap: 1em;
	margin: 0;
	padding: 0;
}

.menu menu a {
	color: black;
	border: none;
	font-weight: bold;
}

.menu menu li a {
	display: inline-block;
	padding: 0.5em 0.1em;
}

.menu menu li a:hover {
	background: rgb(123, 87, 49);	
}

details {
	margin: 1em 0.5em;
}

/* https://pa-tu.work/t/6960 */
.message {
	position: relative;
	margin: 2rem;
	padding: 0.5rem;
	box-shadow: 0 0 0 0.5rem #dfcfab;
	background-color: #dfcfab;
	border-left: 10px dotted white;
}

.message p {
	color: #333;
}

.message-title {
	font-weight: bold;
}

@media only screen and (min-width: 800px) {
	#menu-button {
		display: none;
	}
}

@media only screen and (max-width: 799px) {
	#menu-button {
		color: black;
		font-weight: bold;
	}

	.menu menu {
		display: block;
	}

	.menu menu.hidden {
		display: none;
	}
}

@media only screen and (min-width: 800px) {
	.rooms {
		display: flex;
		width: 48rem;
	}

	.room {
		width: 24rem;
	}
}

.field-name {
	display: inline-block;
	background: #bbb;
	margin: 2px 5px;
	border-radius: 5px;
}

input:not([type]), input[type=text], textarea {
	padding: 0.15em 0.1em;
	font-size: 110%;
}

#search-form input[name=query] {
	border: 1px gray solid;
	border-radius: 20px;
	padding: 10px 20px;
}

@media only screen and (max-width: 799px) {
	#application-submit-form input[type=text], #application-submit-form textarea {
		max-width: 200px;
	}
}

#search-form input[type=submit] {
	appearance: none;
	border: none;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	width: 2em;
	height: 2em;
	background: #6fa1ff;
	color: #FFF;
	text-decoration: none;
	text-align: center;
	margin: 10px 0;
	cursor: pointer;
	font-size: 110%;
}

a.toppage-button {
	appearance: none;
	border: none;
	border-radius: 10px;
	background: grey;
	color: #FFF;
	text-decoration: none;
	text-align: center;
	padding: 10px;
	font-size: 110%;
}

#news summary {
	overflow: auto;
	display: block;
	list-style: none;
	cursor: pointer;
}

#news summary::-webkit-details-marker {
  display:none;
}

#news summary > * {
	float: left;
}

#news summary .news-date {
	display: inline-block;
	width: 8em;
}

p:has(#news-list-button) {
	margin-top: 2em;
}

#gallery {
	overflow: auto;
}

#galleryBody {
	margin: 0 auto;
	width: 100%;
	overflow: hidden;
}

#gotoPrevious, #gotoNext, #currentPhoto {
	height: calc(300px + 3rem);
	float: left;
}

#currentPhoto {
	overflow: hidden;
}

#currentPhotoInner {
	display: flex;
	flex-direction: row;
	width: 100%;
	position: relative;
	top: 0;
	left: 0;
}

#currentPhotoInner > div {
	width: 100%;
	flex-shrink: 0;
}

#currentPhotoInner > div > * {
	width: 100%;
}

#gotoPrevious, #gotoNext {
	width: 30px;
    display: flex;
    align-items: center;
	cursor: pointer;
}

#search {
	overflow: auto;
}

#search > * {
	float: left;
}


/* https://saruwakakun.com/html-css/reference/speech-bubble */
.balloon {
	width: 100%;
	margin: 3em 0px;
	overflow: hidden;
}

.balloon .faceicon {
	float: left;
	margin-right: -90px;
	width: 80px;
}

.balloon .faceicon img{
	width: 100%;
	height: auto;
	border-radius: 50%;
}

.balloon .chatting {
	width: 100%;
}

.says {
	display: inline-block;
	position: relative; 
	margin: 5px 0 0 105px;
	padding: 17px 13px;
	border-radius: 12px;
	background: #e0cfaf;
}

.says:after {
	content: "";
	display: inline-block;
	position: absolute;
	top: 18px; 
	left: -24px;
	border: 12px solid transparent;
	border-right: 12px solid #e0cfaf;
}

.says p {
	margin: 0;
	padding: 0;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
