@charset "utf-8";

html {
	position: relative;
	background:url(./img/header_bg-r.png) repeat-x center top;
	font-size: 0.86rem;
}

body {
	margin:0;
	padding:0;
	color: #333;
	background:url(./img/header_bg.png) no-repeat center top;
	background-size: auto;
	background-repeat: no-repeat;
	line-height: 1.8;
	font-family: sans-serif;
	font-size: 1em;
}


aside *, figure *, section * ,
aside, figure, section, div:not(.bg-circle):not(.gotop) {
	transition: 0.1s ease-in-out;
}

main {
	font-size: 1.06em;
}

h1,h2,h3 {
	color: #2e2e2e;
	font-weight: bolder;
	font-size: 1.5rem;
}

blockquote:not(.nosign) p::before {
    content: '\201C';
}
blockquote:not(.nosign) p::after {
    content: '\201D';
}
cite {
    font-style: italic;
	font-family: monospace;
}
blockquote + figcaption::before {
	content: "—";
}
blockquote + figcaption p {
	display: inline-block;
}

.t_acolorbig {
	color: #6ead2c;
	font-size: 1.4em;
}
.t_leftline {
	border-left: 2px solid #6ead2c;
	padding-left: 0.8rem;
}
.t_dot::before {
	display: inline-block;
    content: "";
    width: 0.25em;
    height: 0.25em;
    margin-top: 0;
    margin-right: 0.5em;
    border: 0.3em solid #6ead2c;
    border-radius: 100%;
}
.hsub {
	display: inline-block;
	margin: 0;
	border-bottom: 1px solid #6ead2c; 
	padding: 0 0 0 1em;
	font-weight: bolder;
	color: #555;
}

a {
	color:#5fa527;
}
a:hover {
	text-decoration:dotted;
}
strong {
	color:#585757;
}
iframe {
	border: 0;
}

#home .imgtext .body::after ,
.cf::after {
	content: "";
	display: block;
	clear: both;
}

.content {
	padding: 1px 0;
	background-color: #fff;
}
.content:last-child {
	padding-bottom: 3rem;
}
.content.sub {
	padding-top: 3rem;
	padding-bottom: 3rem;
	background-color: #e8f2d8;
}

.content .appeal {
	width: 60%;
	margin: 0 auto 2rem;
}

.content .colorappeal {
	padding: 1rem 4rem;
	border-radius: 10px;
	box-sizing: border-box;
	background: #e5efed;
}
.content .colorappeal .title {
	color: #287a56;
}

.content .flex {
	display: flex;
}
.content .flex > * {
	flex: 1;
}

.content .x2col {
	display: flex;
}
.content .x2col > * {
	width: 50%;
	flex: 1;
}
.content .x2col .wide {
	width: 60%;
}
.content .x2col .narrow {
	width: 40%;
	flex: none;
}

.content.sub .content_padding {
	background: transparent;
	border-radius: 0;
}

#home .content.sub section ,
#gaiyou .content.sub .history ,
#bosyu .content.sub .comment {
	background: #fff;
	margin: 2rem 0;
	padding: 2rem;
	border-radius: 1rem;
}

#footer .fbg_resize ,
.content_resize {
	margin: 0 auto;
	width: 90%;
	max-width: 1200px;
}
#header .header_padding {
	padding: 1.6em 3rem;
}
#footer .fbg_padding ,
.content_padding {
	padding: 1px 2rem;
}
.content_padding_left {
	padding: 1px 0 1px 2rem;
}
.content_padding_right {
	padding: 1px 2rem 1px;
}

#header .header_padding {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
#header .logo {
	margin: 0;
	letter-spacing: 0.1em;
	line-height: 1.2;
	white-space: nowrap;
	font-size: 1.6em;
}
#header .logo a {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: normal;
	color: #fff;
	text-decoration: none;
}
#header .logo small {
	margin: 0 0.25em 0 0;
	letter-spacing: 0.02em;
	font-size: 0.74em;
}
#header .logo img {
	width: 4.25em;
	height: auto;
	vertical-align: bottom;
}
#header .logo ,
.menu_nav ul li a {
	text-shadow: 0 0 3px #518221;
}

.menu_nav {
	margin:0;
	float: right;
}
.menu_nav ul {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu_nav ul li {
	margin: 0.5em 0 0.5em 0.25em;
	padding: 0;
}
.menu_nav ul li a {
	position: relative;
	padding: 0.5em 1em;
	border-radius: 5px;
	font-size: 1.05em;
	font-weight: normal;
	color:#fff;
	text-decoration: none;
	text-transform: none;
	text-align: center;
}
#home .menu_nav ul li.home a::before ,
#bosyu .menu_nav ul li.bosyu a::before ,
#nouka .menu_nav ul li.nouka a::before ,
#nanakuni .menu_nav ul li.nanakuni a::before ,
#gakudou .menu_nav ul li.gakudou a::before ,
#gaiyou .menu_nav ul li.gaiyou a::before ,
#contact .menu_nav ul li.contact a::before ,
.menu_nav ul li.active a::before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top: 12px solid #fff;
}
#home .menu_nav ul li.home a ,
#bosyu .menu_nav ul li.bosyu a ,
#nouka .menu_nav ul li.nouka a ,
#nanakuni .menu_nav ul li.nanakuni a ,
#gakudou .menu_nav ul li.gakudou a ,
#gaiyou .menu_nav ul li.gaiyou a ,
#contact .menu_nav ul li.contact a ,
.menu_nav ul li.active a ,
.menu_nav ul li a:hover {
	text-decoration:none;
	color:#6ead2c;
	background: #fff;
	font-weight: bolder;
	text-shadow: none;
}
.menu_nav ul li a:hover {
	font-weight: normal;
}

#mainv {
	position: relative;
	height: 22vw;
	max-height: 320px;
	transition: none;
	margin-bottom: -5vw;
	background: #fff;
	overflow: hidden;
}
body:not(#home) #mainv {
	background: #fcfced;
}
#mainv img {
	height: 100%;
	max-width: none;
	max-height: none;
/*	object-fit: contain;/**/
	vertical-align: top;
	object-position: 50% 50%;
    object-position: left;
	box-shadow: 0 0 100vw rgba(255,255,255, 1);
}
#gaiyou #mainv .figcaption {
    position: absolute;
    bottom: 12%;
    left: 3px;
    line-height: 1;
    color: #fff;
    font-size: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.25em 0.25em;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
#mainv .lead {
	display: none;
	position: absolute;
	top: 2rem;
	right: 2rem;
	font-size: 1.6rem;
	text-align: right;
/*
	color: #fff;
	text-shadow: 0 0 0.1em rgba(0,0,0,1);
/**/
	color: white;
	-webkit-text-stroke: 1px #aaa;
	font-weight: bolder;
}
#mainv header {
	position: absolute;
	top: 1.6rem;
	right: 3rem;
	text-align: right;
}
#mainv header .hsub {
	padding: 0;
}
#mainv header h1 {
	margin: 0;
	color: #666;
	font-size: 2.4rem;
	font-family: '見出ゴMB31 JIS2004','Zen Kaku Gothic New';
}
#mainv header .hsub,
#mainv header h1 {
	font-family: "Yomogi";
}

.bg-circle {
    overflow: hidden;
    position: relative;
	z-index: 1;
    width: 100%;
    height: 5vw;
}
.bg-circle::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
	width: 500vw;
	height: 500vw;
	border-radius: 500vw;
    background: #fff;
}
.bg-circle header {
	margin: 1.2rem 0;
	text-align: center;
}
body:not(#home) .bg-circle {
	padding-bottom: 2rem;
}
body:not(#home) .bg-circle header {
	display: none;
}

#contact article ,
#nouka article {
	position: relative;
}
#contact .bg-circle.sub ,
#nouka .bg-circle.sub ,
#home .bg-circle.sub {
	position: absolute;
	bottom: 0;
	height: 15rem;
    background-color: #e8f2d8;
}
#contact .bg-circle.sub::before ,
#nouka .bg-circle.sub::before ,
#home .bg-circle.sub::before {
	top: auto;
	bottom: 3rem;
	transform: translateX(-50%);
    background-color: #fff;
}
#contact article .content_resize ,
#nouka article .content_resize ,
#home #gaiyou .content_resize {
	position: relative;
	z-index: 2;
}

.circlelink a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 10rem;
	height: 10rem;
	margin: 4rem auto;
	border-radius: 30rem;
	background-color: #5fa527;
	color: #fff;
	line-height: 1.4;
	text-decoration: none;
	transition: 0.3s ease-in-out;
}
.circlelink a:hover {
	background-color: #fff;
	color: #5fa527;
	border: 2px solid #5fa527;
	box-sizing: border-box;
}

figure {
	margin: 1em 1.5em;
}
figcaption {
	text-align: center;
	font-size: 0.86em;
}

img {
	max-width: 100%;
	height: auto;
}
.imgs img {
	max-width: 240px;
	height: auto;
}

table {
	margin: 1.6em 0;
	text-align: left;
	border-collapse: collapse;
	border-spacing: 0;
}
table th ,
table td {
	padding: 0.5em 0.75em;
	border: solid 1px #999;
}
table th {
	background: #e9faf9;
}

.btntopage {
	margin: 2.2em 1em;
	position: relative;
	text-align: center;
}
.btntopage small {
	display: none;
	position: absolute;
	top: -2em;
	left: 0;
	width: 100%;
	margin: 0;
	font-size: 1em;
	color: #5fa527;
	text-align: center;
	transition: 0.3s ease-in-out;
}
.btntopage:hover small {
	display: inline-block;
}
.btntopage a {
    background: #afd663;
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 250px;
    padding: 10px 25px;
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
	font-size: 1.2em;
	font-weight: normal;
}
.btntopage a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 2rem;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease-in-out;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btntopage a:hover {
	font-weight: bold;
	background: #5fa527;
}
.btntopage a:hover:after {
  right: 1.4rem;
}

.btnlink a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 230px;
    padding: 10px 0px 10px 25px;
    font-family: "Noto Sans Japanese";
    line-height: 1.8;
    text-decoration: none;
    color: #333;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.btnlink a::before,
.btnlink a::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
}
.btnlink a::before {
  width: 0.5rem;
  height: 0.5rem;
  left: 1.1rem;
  border-top: solid 2px #333;
  border-right: solid 2px #333;
  z-index: 2;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s ease-in-out;
}
.btnlink a::after {
  left: 0;
  background: #eee;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 4rem;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
}
.btnlink a span {
  position: relative;
  transition: all 0.3s ease-in-out;
  z-index: 3;
}
.btnlink a:hover span {
  color: #fff;
}
.btnlink a:hover::before {
  left: 2.5rem;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
}
.btnlink a:hover:after {
  right: 0;
  width: 100%;
  background: #333;
}

.btn .disabled a ,
.btn.disabled a {
	pointer-events: none;
	background: #999;
	color: #eee;
}
.btn.btnmargin {
	margin: 4em 0;
}

dl {
	margin: 0 0 2em;
}
dl dt {
	display: inline-block;
	position: relative;
	margin: 1em 0 0.25em;
	font-weight: bolder;
}
dl dt:first-child {
	margin-top: 0;
}
dl dd {
	margin: 0;
}

dl.tbig dt {
	font-size: 1.3em;
}

dl.markers dt {
	display: inline-block;
	position: relative;
	margin: 1.4em 0 0.5em;
	border-bottom: 3px solid #eee;
	font-weight: bolder;
}
dl.markers dd {
	margin: 0;
}

dl.outline {
	margin: 0 0 2em;
}
dl.outline dt {
	margin: 1.4em 0 0.25em;
	font-weight: bolder;
}

dl.inline dt {
	clear: left;
	float: left;
	font-weight: bolder;
	margin: 0 1.2em 0 0;
	color: #666;
}
dl.inline dd {
	margin: 0;
}


ul.stylenone {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
ul.stylenone li {
	margin-left: 0;
	padding-left: 0;
}

ul.doclinks {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
ul.doclinks li {
	margin: 0 1.4em 1em 0;
	text-align: center;
}
ul.doclinks li .icn {
	display: block;
}

.itemList1 {
	display: flex;
	align-content: flex-start;
	justify-content: left;
	flex-wrap: wrap;
	gap: 3px;
}
.itemList1.flex-jc-right {
	justify-content: right;
}
.itemList1.flex-jc-center {
	justify-content: center;
}
.itemList1 > * {
	display: block;
	flex: 1;
	overflow: hidden;
	width: 32%;
	min-width: 120px;
	max-width: 360px;
	box-sizing: border-box;
	margin: 0;
	color: inherit;
	text-decoration: none;
}
.itemList1 figure {
	margin: 0;
}
.itemList1 > * img {
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	object-fit: cover;
	transition: 0.3s ease-in-out;
	vertical-align: bottom;
}

.f-carousel > span ,
.f-carousel > a {
	display: block;
	overflow: hidden;
	width: 180px;
	height: 120px;
	transition: 0.3s ease-in-out;
}
.f-carousel > span img ,
.f-carousel > a img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

ol li label {
	display:block;
	margin:0;
	padding:16px 0 0 0;
}
ol li input.text {
	width:480px;
	border:1px solid #c0c0c0;
	margin:0;
	padding:5px 2px;
	height:16px;
	background-color:#fff;
}
ol li textarea {
	width:480px;
	border:1px solid #c0c0c0;
	margin:0;
	padding:2px;
	background-color:#fff;
}
ol li .send {
	margin:16px 0 0 0;
}

.searchform {
	padding:12px 0 24px 20px;
	float:left;
}
#formsearch {
	margin:0;
	padding:0;
	width:auto;
	height:30px;
}
#formsearch span {
	display:block;
	margin:0;
	padding:0;
	float:left;
}
#formsearch input.editbox_search {
	margin:0;
	padding:7px 10px;
	float:left;
	width:168px;
	font-size:12px;
	line-height:16px;
	color:#a9a9a9;
	background:none;
	outline:none;
	border:none;
}
#formsearch input.btn_search {
	margin:0;
	padding:0;
	border:none;
	float:left;
}

.imgtext h2 {
	margin: 1.2em 0;
}
.imgtext .body {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	margin: 1.5em 0 0;
}
.imgtext .body .img {
	width: calc( 170px - 2em );
	margin: 0 2em 1em 0;
	overflow: hidden;
}
.imgtext .body .img img {
	display: inline-block;
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.imgtext .body .text {
	flex: 1;
}
.imgtext .body .text p {
	margin-top: 0;
}
.imgtext .body .link a {
	font-weight: bolder;
}


.infotitle {
	position: relative;
	margin: 0 !important;
	background:#f4f2f5;
	font-size: 1.2em;
	font-weight: bolder;
}
.infotitle .maru {
	position: absolute;
	z-index: 1;
	top: -0.5em;
	left: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
	width: 3em;
	height: 3em;;
	border-radius: 3em;
	color:#fff;
	background: #8abd46;
	line-height: 1;
	font-family: sans-serif;
	font-weight: normal;
}
.infotitle .catch {
	display: block;
	float: left;
	margin: 0 0.5em 0 0;
	padding: 0.15em 0.8em 0.15em 4.25em;
	border-radius: 5px 0 0 5px;
	background: #5fa527 url(./img/ttl-catch.png) no-repeat left center;
	color:#fff;
	font-family: serif;
}
.infotitle .ttlpadding {
	padding: 0.3em 0.5em 0.2em;
}
.infotitle .ttl {
	margin: 0;
	font-size: 0.86em;
	font-weight: normal;
}

.bigcirclebord {
	display: flex;
}
.bigcirclebord .guide ,
.bigcirclebord .body {
	flex: 1;
	box-sizing: border-box;
	border-radius: 2rem 0 0 2rem;
}
.bigcirclebord .body {
	position: relative;
	width: 50%;
	padding: 0 5rem 0 10rem;
}
.bigcirclebord .title .catch {
	position: absolute;
	top: 0;
	left: 2rem;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 2.5em;
	height: 2.5em;
	border-radius: 30em;
	background: #5fa527;
	color: #fff;
	line-height: 1;
	font-size: 2em;
}
.bigcirclebord .title .catch small {
	display: block;
	margin: 0 0 0.5em;
	font-size: 1rem;
}
.bigcirclebord .title .ttlpadding {
	margin: 1rem 0 0;
}
.bigcirclebord .title .ttlpadding * {
	margin: 0;
}
.bigcirclebord .guide {
	z-index: 1;
	margin: 2rem 0 0 0;
	padding: 1rem;
	background: #e8f2d8;
}

#footer .fbg {
	border-top:3px solid #959595;
	border-bottom:1px solid #242424;
	background:#f4f2f5;
}
#footer .fbg_padding {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}
#footer .fbg .links {
	margin: 1em 1em 1em 0;
}
#footer .fbg .links img {
	vertical-align: bottom;
}
#footer .fbg .contact_info dt {
	float: left;
	width: 6em;
	margin: 0;
	padding: 0;
}
#footer .fbg .contact_info dd {
	margin: 0 0 0 6em;
}

#footer .copy {
	margin: 0;
	border-top:1px solid #3f3f3f;
	color:#aaa;
	background:#323232;
	text-align: center;
}
#footer .copy p {
	margin: 0;
	padding: 0.25em 2em;
	font-size: 0.86em;
}

#footer .gotop {
	position: fixed;
	z-index: 1000;
	bottom: 3em;
	right: 2em;
}
#footer .gotop a {
	display: block;
	width: 56px;
	height: 0;
	margin: 0;
	padding: 57px 0 0;
	background: url(./img/gotop.png) no-repeat center top;
	background-size: 56px;
	box-shadow: 0 0 3px #999;
	border-radius: 5px;
	overflow: hidden;
}
#footer .gotop a:hover {
	background-position: center bottom;
	box-shadow: 0 0 3px #a9e671;
}

.content.sub#ennou_watashi {
	padding: 6em 0 5em;
	background-image: url(./img/symbol-big.png);
	background-repeat: no-repeat;
	background-position: right 2em;
	background-size: 380px;
}
#watashi .comment .userpic {
	float: left;
}
#watashi .comment .userpic {
	border:1px solid #dedede;
	margin:0 1.5em 1.5em 0;
	padding:1px;
}
#watashi .comment .userpic img {
	vertical-align: bottom;
}
#watashi .comment .body {
	clear: both;
}
#watashi .comment .body ul ,
#watashi .comment .body p {
	margin: 0.8em 0;
}

#action .imgwrap {
	text-align: center;
}
#action .imgwrap img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
#action #naiyou ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
#action #naiyou ul li {
	margin-right: 2.2em;
}

.history ol ,
.history ul {
margin: 0;
padding: 0;
}
.history ol li ,
.history ul li {
margin: 0 0 0 2em;
padding: 0;
}

.history ol.list_style_none ,
.history ul.list_style_none {
list-style: none;
}
.history ol.list_style_none li ,
.history ul.list_style_none li {
margin: 0;
}

.history {
border-collapse: collapse
}
.history .year {
position: relative;
margin: 3rem 0;
border-top: 3px dotted #cdcdcd;
padding: 1em 0 0;
}
.history .year_title {
position: absolute;
top: -1.16rem;
left: 0;
text-align: left;
}
.history .year_title span {
display: inline-block;
width: 6rem;
margin: 0;
padding: 0;
background: #fff;
color: #5fa527;
font-size: 1.4rem;
font-weight: bolder;
}
.history .year_body {
width: 100%;
margin: 1.5em 0 0;
}
.history .year_body:after {
content: "."; 
display: block; 
height: 0; 
font-size:0;  
clear: both; 
visibility:hidden;
}
.history .month {
	position: relative;
	width: 100%;
	border-collapse: separate;
	margin: 1em 0;
}
.history .month_title {
position: absolute;
top: 0;
left: 0;
display: table-cell;
}
.history .month_title span {
display: inline-block;
position: relative;
width: 5rem;
padding: 0.05em 0;
color: #5fa527;
text-align: right;
font-weight: bolder;
}
.history .month_title span small {
font-size: 1em;
}
.history .month_body {
display: block;
padding: 0 0 0 6rem;
}
.history .month_body .image {
display: table-cell;
width: 30%;
}

#nouka section {
/*	width: calc( 50% - 1.8em );/**/
	margin: 2em 0;
}
#nouka section header {
	display: inline-block;
}
#nouka section h1 {
	position: relative;
	margin: 0;
	border-bottom: 2px dotted #5fa527;
	font-size: 1.2em;
}

#nouka section .text {
}
#nouka section .text dl {
	margin: 0.5em 0;
}
#nouka section .photo {
	float: right;
	width: 55%;
}

#nouka .d-flex {
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	flex-wrap: wrap;
	transition: .3s ease-in-out;
	gap: 1rem;
}
#nouka .d-flex > section {
	width: 480px;
	transition: .3s ease-in-out;
}
#nouka .circlelink {
	margin: 6rem 0;
}
#nouka .circlelink a span {
	font-size: 2rem;
	font-weight: bolder;
}

#gakudou #outline .narrow:first-child {
	box-sizing: border-box;
	padding-right: 2rem;
}
#gakudou #outline .wide + .narrow {
	box-sizing: border-box;
	padding-left: 2rem;
}
#gakudou .map {
	border: 0;
	margin: 1em auto;
	display: block;
	width: 100%;
	height: 20rem;
}
#gakudou .kukakumap a {
	color: inherit;
	text-decoration: none;
}
#gakudou .kukakumap figure {
	margin: 0;
}
#gakudou .bigcirclebord {
	margin-top: 6rem;
	margin-bottom: 6rem;
	align-items: flex-start;
}

#myCarousel3 {
	--f-carousel-slide-width: calc(100% / 6);
	--f-carousel-spacing: 3px;
}
#myCarousel3 .f-carousel__slide {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	color: inherit;
	text-decoration: none;
}
#myCarousel3 .f-carousel__slide img {
	width: auto;
	min-width: 80px;
	height: 8rem;
}
.f-carousel__slide figure {
	margin: 0;
}
.f-carousel__slide figcaption {
	font-size: 1rem;
}

.f-carousel__dots {
	bottom: 0;
}
.is-horizontal .f-carousel__nav .f-button.is-prev,
.is-horizontal .fancybox__nav .f-button.is-prev {
left: 0;
}
.is-horizontal .f-carousel__nav .f-button.is-next,
.is-horizontal .fancybox__nav .f-button.is-next {
right: 0;
}

.f-carousel.is-horizontal {
	margin: 2rem 0;
	padding: 1rem 3rem 2.5rem;
	border-radius: 1rem;
	background-color: #f3f3f3; 
}

#bosyu .balloon3 {
    transform: rotate(-10deg);
	margin: 0 0.5em 0 0;
	top: -0.5em;
}

.balloon3 {
    position: relative;
    display: inline-block;
    padding: 0.7em 0.8em 0.5em;
    border-radius: 50%;
    text-align: center;
    color: #ffffff;
    font-size: 0.64em;
    background-color: #f9b347;
    font-weight: bold;
    text-align: center;
	line-height: 1;
}
.balloon3::before {
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	right: 2px;
	bottom: 2px;
	border-left: 0.5em solid #f9b347;
	border-top: 0.25em solid transparent;
	border-bottom: 0.25em solid transparent;
	transform: rotate(45deg);
}


@media (max-width: 1199.98px) {
	html {
		background: none;
	}
	body {
		background-size: contain;
	}

	#header .header_padding {
		padding: 1.6rem 2rem;
	}
	#header .logo a {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}	
	#header .logo a small {
		font-size: 0.5em;
		letter-spacing: 0.05em;
	}
	.menu_nav ul li a {
		padding: 0.25rem 0.8rem;
	}
	#home .menu_nav ul li.home a::before ,
	#bosyu .menu_nav ul li.bosyu a::before ,
	#nouka .menu_nav ul li.nouka a::before ,
	#nanakuni .menu_nav ul li.nanakuni a::before ,
	#gakudou .menu_nav ul li.gakudou a::before ,
	#gaiyou .menu_nav ul li.gaiyou a::before ,
	#contact .menu_nav ul li.contact a::before ,
	.menu_nav ul li.active a::before {
		top: calc( 100% - 4px );
	}
	#footer .fbg_resize ,
	.content_resize {
		width: 100%;
	}

	.f-carousel.is-horizontal {
		margin: 2rem 1rem;
	}
}

@media (max-width: 991.98px) {

	#header .header_padding {
		flex-direction: column;
	}
	.menu_nav {
		margin-top: 1rem;
	}
	.menu_nav ul {
		justify-content: center;
		align-content:flex-start;
		flex-wrap: wrap;
	}
	body:not(#home) #mainv header h1 {
		font-size: 2rem;
	}
	#footer .fbg_padding ,
	.content_padding {
		padding: 1px 1rem;
	}
	#home .content.sub section ,
	#gaiyou .content.sub .history ,
	#bosyu .content.sub .comment {
		padding: 2rem 1rem;
	}
	#footer {
		font-size: 0.96em;
	}

	.content .colorappeal ,
	.content .appeal {
		width: 80%;
	}

	.bigcirclebord {
		flex-direction: column;
	}
	.bigcirclebord .body {
		width: 100%;
	}
	.bigcirclebord .guide  {
		width: calc( 100% - 10rem );
		margin: 0 0 0 10rem;
	}
}

@media (max-width: 767.98px) {
	body {
		background-size: 800px;
	}

	#header .header_padding {
		padding: 1.4rem 1rem;
	}
	body:not(#home) #mainv {
		height: 32vw;
	}
	body:not(#home) #mainv header h1 {
		font-size: 1.6rem;
	}
	#footer .fbg_padding {
		flex-direction: column;
	}
	#footer .fbg .links {
		margin: 1rem 1rem;
	}

	.content .colorappeal {
		padding: 1rem 2rem;
	}

	.content .x2col {
		flex-direction: column;
	}
	.content .x2col > * {
		width: 100% !important;
	}

	ul.doclinks li .icn {
		max-width: 120px;
	}

	.itemList1.flex-jc-left ,
	.itemList1.flex-jc-right {
		justify-content: left;
	}

	.itemList1 > * {
		width: 24%;
	}

	#myCarousel3 {
		--f-carousel-slide-width: calc(100% / 4);
	}

}

@media (max-width: 575.98px) {
	html {
		background:url(./img/header_bg-b.png) repeat-y center top;
		background-size: 800px;
	}

	#header .header_padding {
		padding: 1.4rem 0.25rem;
	}
	#mainv .lead {
		font-size: 1.2rem;
	}
	body:not(#home) #mainv header {
		right: 1rem;
		text-shadow: 0 0 0.25rem #fff;
	}
	body:not(#home) #mainv header h1 {
		font-size: 1.4rem;
	}

	h1,h2,h3 {
		font-size: 1.2rem;
	}

	.content .colorappeal {
		width: calc( 100% - 2rem );
	}

	.itemList1 > * {
		width: 32%;
	}	

	.imgtext .body {
		display: block;
	}
	.imgtext .body .img {
		float: right;
		width: 30%;
		margin: 0 0 0.5rem 0.8rem;
	}

	.bigcirclebord .body {
		width: 100%;
		padding: 0 1rem;
	}
	.bigcirclebord .guide  {
		width: calc( 100% - 1rem );
		margin: 0 0 0 1rem;
	}
	.bigcirclebord .title {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
	}
	.bigcirclebord .title .catch {
		position: relative;
		top: 0;
		left: 0;
		margin: 0 1rem 0 0;
	}
	.bigcirclebord .title .ttlpadding {
		margin: 0;
	}

	.infotitle .maru {
		font-size: 0.86rem;
	}
	.infotitle .catch {
		float: none;
		margin-right: 0;
		font-size: 0.86rem;
	}

	#nouka section {
		width: 100%;
		margin: 2rem 0;
	}

	#myCarousel3 {
		--f-carousel-slide-width: calc(100% / 3);
	}
}

@media (max-width: 380px) {

	#footer .fbg .contact_info dt {
		float: none;
	}
	#footer .fbg .contact_info dd {
		margin-left: 0.5rem;
	}
	#mainv .lead {
		right: 1rem;
		font-size: 0.86rem;
	}
	body:not(#home) #mainv header {
		top: 0.5rem;
		right: 1rem;
	}
	body:not(#home) #mainv header .t_dot {
		font-size: 0.86rem;
	}
	body:not(#home) #mainv header h1 {
		font-size: 1rem;
	}

	.infotitle .maru {
		font-size: 0.8em;
	}
	.infotitle .catch {
		float: none;
		margin-right: 0;
		margin-bottom: 0.2rem;
		font-size: 0.8em;
	}

	.itemList1 > * {
		width: 49%;
	}	

	.imgtext .body .img {
		float: none;
		width: 60%;
		margin: 0 auto 0.8rem;
		text-align: center;
	}

	#nouka section .photo {
		float: none;
		min-width: 120px;
	}
	#nouka section .text {
		margin: 0;
	}
	#nouka section .text h1 {
		border: 0;
	}
	
	#myCarousel3 {
		--f-carousel-slide-width: calc(100% / 2);
	}
	.f-carousel.is-horizontal {
		margin: 2rem 0;
		padding: 1rem 1.5rem;
		border-radius: 0;
	}
	.is-horizontal .f-carousel__nav .f-button.is-prev,
	.is-horizontal .fancybox__nav .f-button.is-prev {
		left: -0.8rem;
	}
	.is-horizontal .f-carousel__nav .f-button.is-next,
	.is-horizontal .fancybox__nav .f-button.is-next {
		right: -0.8rem;
	}
}

@media (max-width: 280px) {

	.menu_nav ul li a {
		display: block;
		padding:0.25rem 0.25rem;
	}

	.itemList1 > * {
		width: 99%;
	}
}