@charset "utf-8";
@import url('print.css') print;

/* root
---------------------------------------------------------------------------*/
:root {
	--main-color: #737DBB;
	--main-color-sub: #5a6292;/*main-colorより暗い色*/
	--bg-color: #fae7e6;
	--bg-color2: #eee;
	--txt-color: #272d4d;
	--txt-color2: #000;
	--link-color: #2d57fd;
	--hover-color: #6584fd;

	--red: #e74c26;
	--gray: #888;
	--silver: rgba(0,0,0, .1);
	--white: #faf7f6;
}


/* all
---------------------------------------------------------------------------*/
body {
  font-size: 1.65em;
  line-height: 1.75;
  letter-spacing: 0.05em;
  font-family:"ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
  font-weight: 500;
  color: var(--txt-color);
  background: var(--white);
  position: relative;
  overflow-x: hidden;
	-webkit-text-size-adjust: none; }

@media screen and (max-width: 700px) {
  body {
    font-size: 1.5em; }
}

::selection {
    background: #FFFF66; }

/* a
---------------------------------------------------------------------------*/
a {
  color: var(--link-color);
	text-decoration: underline;
  transition: .5s ease; }
a:hover {
  color: var(--hover-color);
  cursor: pointer;
	text-decoration: none;
  transition: .5s ease; }

.bold{
  font-weight: bold;
}

p + p.time{
  margin-top: 80px !important;

}

.afterblock{
  background: var(--white);
  padding: 2.0em;
  border-radius: 4px; }
.afterblock p {
  line-height: 1.5; }


.kakomi {
  display: block;
	color: var(--txt-color2);
  padding: 1em 1.6em;
  background: var(--bg-color);
  text-align: center;
  font-weight: bold;
}
.kakomi.box {
	text-align: left;
	font-weight: normal;
}


/* h-tag
---------------------------------------------------------------------------*/
h1.mv img {
	user-select: none; }
h2, h3, h4, h5 {
  color: var(--main-color);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  user-select: none; }
h2 {font-size: 2.4rem;letter-spacing: 0.1em;}
h3 {font-size: 1.8rem;letter-spacing: 0.1em;}
h4 {font-size: 1.5rem;letter-spacing: 0.1em;}
h5 {font-size: 1.5rem;letter-spacing: 0.1em;}

h2 {
  position: relative;
  z-index: 2; }
h2::before {
  content: '';
  display: inline-block;
  width: 100%;
  height: 2px;
  background: var(--main-color);
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1; }
h2 i {
  font-style: normal;
  padding-right: 0.8em;
  background: var(--white);
  
   }

h3 {
  position: relative;
  padding-left: 0.8em; }
h3::before {
    content: '';
    width: 0.3em;
    height: 57%;
    display: inline-block;
    background: var(--main-color);
    border-radius: 0.1em 0.1em 0 0;
    margin-top: 0.1em;
    position: absolute;
    top: 0;
    left: 0; }
h3::after {
    content: '';
    width: 0.3em;
    height: 43%;
    display: inline-block;
    background: var(--main-color);
    border-radius: 0 0 0.1em 0.1em;
    margin-top: 0.1em;
    position: absolute;
    bottom: 0;
    left: 0; }

h4 {
	font-weight: bold;
	display: inline-block;
	padding: 0.4em 0.8em;
	border: solid 1px var(--main-color); }
/* wrap
---------------------------------------------------------------------------*/
.wrap {
  max-width: 1000px;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto; }

/* header
---------------------------------------------------------------------------*/
header {
  width: 100%;
  background: var(--main-color); }

/* gNav
---------------------------------------------------------------------------*/
#gNav a + ol {
  margin-top: 0; }
#gNav ol {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center; }
#gNav ol li a {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 500;
  padding-left: 24px;
  padding-right: 24px;
	text-decoration: none;
  user-select: none; }
#gNav ol li a:hover,
#home #gNav ol li.home a,
#greeting #gNav ol li.greeting a,
#loi #gNav ol li.loi a,
#program #gNav ol li.program a,
#sanka #gNav ol li.sanka a,
#manual #gNav ol li.manual a,
#chair #gNav ol li.chair a,
#endai #gNav ol li.endai a {
  background: var(--main-color-sub); }

@media screen and (max-width: 960px) {
  #gNav ol {
    flex-direction: column; }
  #gNav ol li + li {
    margin-left: 0;
    padding-left: 0;
    border-left: 0; }
  #gNav ol li:first-child {
    border: none;
    padding-left: 0; }
  #gNav ol li:last-child {
    border: none;
    padding-right: 0; }

  /* hamburger */
  #gNav {
    display: block;
    position: relative; }
  #gNav ol {
    width: 100%;
  	height: 100%;
    background: var(--white);
    margin: 0;
    padding: 60px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
  	position: fixed;
    top: 0;
    right: -312px; }
  #gNav ol li a {
    color:var(--main-color);
    font-size: 2.0rem; }
  .open	#gNav ol {
    overflow-y: auto;
  	visibility: visible;
  	opacity: 1;
    border: none;
    right: 0;
    z-index: 9998;
    transition: .5s ease; }
  .open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .6);
    z-index: 9997; }
  
  /* hamburger(trigger) */
  .trigger {
  	position: fixed;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    padding: 4px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--main-color);
    justify-content: center; }
  .trigger:hover {
    cursor: pointer; }
  .trigger .bar {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--white);
    margin-bottom: 5px;
    transition: all .7s ease; }
  .trigger.active .top {
    transform: translateY(7px) rotateZ(45deg); }
  .trigger.active .bottom {
    transform: translateY(-7px) rotateZ(-45deg); }
  .trigger.active .middle {
    width: 0; }
#gNav ol li a:hover,
#home #gNav ol li.home a,
#greeting #gNav ol li.greeting a,
#program #gNav ol li.program a,
#sanka #gNav ol li.sanka a,
#manual #gNav ol li.manual a,
#chair #gNav ol li.chair a,
#endai #gNav ol li.endai a {
	  background: transparent }
}

@media screen and (max-width: 640px) {
  .trigger {
  	width: 56px;
    height: 56px;
	}
}

/* footer
---------------------------------------------------------------------------*/
footer {
  margin-top: 80px;
  padding-top: 40px;
  padding-bottom: 40px;
  background: var(--bg-color2);
  background-position: left center;
  background-size: cover; }
footer address {
  font-style: normal;
  margin-bottom: 40px; }
footer address p {
  line-height: 1.6; }

footer ul {
  display: flex; }
footer ul li + li {
  margin-left: 80px; }

footer small,
footer small a {
  color: var(--gray);
  user-select: none;
	text-decoration: none; }

@media screen and (max-width: 700px) {
  footer ul {
    display: block; }
  footer ul li + li {
    margin-top: 60px;
    margin-left: 0; }
}
@media screen and (max-width: 320px) {
}

/* main visual
---------------------------------------------------------------------------*/


/* contents, container
---------------------------------------------------------------------------*/
header + .wrap {
  padding-top: 60px; }
.contents p {
  text-align: justify;
  line-height: 2; }
.contents p.txtR {
  text-align: right; }
/*.contents ul,
.contents ol {
  list-style: none; }*/

.contents li {
  line-height: 1.8;}
.contents li + li {
  margin-top: 0.8em; }
.contents ul {
  list-style: circle;
  margin-left: 1em; }

.contents ol:not([class]) {
	list-style: none;
	margin-left: 1.8em;
}
.contents ol:not([class]) li p,
.contents ul:not([class]) li div {
	margin-top: 0.4em;
}
.contents ol:not([class]) li::before {
	margin-left: -1.8em;
}
.contents ol:not([class]) li:nth-of-type(1)::before {content: '(１)';}
.contents ol:not([class]) li:nth-of-type(2)::before {content: '(２)';}
.contents ol:not([class]) li:nth-of-type(3)::before {content: '(３)';}
.contents ol:not([class]) li:nth-of-type(4)::before {content: '(４)';}
.contents ol:not([class]) li:nth-of-type(5)::before {content: '(５)';}
.contents ol:not([class]) li:nth-of-type(6)::before {content: '(６)';}
.contents ol:not([class]) li:nth-of-type(7)::before {content: '(７)';}
.contents ol:not([class]) li:nth-of-type(8)::before {content: '(８)';}
.contents ol:not([class]) li:nth-of-type(9)::before {content: '(９)';}
.contents ol:not([class]) li:nth-of-type(10)::before {content: '(１０)';}

.two-container {
  display: flex; }

.four-container ul {
  display: flex; }
.four-container ul li {
  width: calc((100% - 120px) / 4); }

@media screen and (max-width: 960px) {
  .two-container {
    display: block; }
  .four-container ul {
    flex-wrap: wrap; }
  .four-container ul li {
    width: calc((100% - 40px) / 2); }
}
@media screen and (max-width: 700px) {
  .four-container ul li {
    width: 100%; }
}

.news dl dt,
.news dl dd {
  line-height: 1.2; }
.news dl dt {
  width: 120px;
  float: left;
  clear: both; }
.news dl dd {
  margin-left: 120px; }
.news dl a {
  display: block;
	text-decoration: none; }
.news dl a.no-link {
  cursor: default;
  color: var(--txt-color); }

/* sub-page
---------------------------------------------------------------------------*/
/*.sub-page h2 {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 60px; }
.sub-page h2 img {
  width: auto;
  height: 70px; }

@media screen and (max-width: 700px) {
  .sub-page h2 img {
    height: 60px; }
}*/

/* 写真
---------------------------------------------------------------------------*/
.photoblock {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.photoblock + h3,
.photoblock + .photoblock {
  margin-top: 4em;
}


.photoblock.picR {
	flex-direction: row-reverse;
}
.photoblock.picL {
	flex-direction: reverse;
}

.photoblock .item:nth-of-type(1) {
	width:200px;
}
.photoblock .item:nth-of-type(2) {
	width: -webkit-calc(100% - 240px) ;
	width: calc(100% - 240px) ;
}


@media only screen and (max-width: 700px) {

.photoblock.picR {
	flex-direction: column;
}
.photoblock.picL {
	flex-direction: column;
}

.photoblock .item:nth-of-type(1) {
	width:40%;
  margin: auto;
}
.photoblock .item:nth-of-type(2) {
	width:100%;;
}

}

@media only screen and (max-width: 375px) {

.photoblock .item:nth-of-type(1) {
	width:100%;
  margin: auto;
}

}

/* toTop
---------------------------------------------------------------------------*/
#toTop a {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: var(--white);
  background: var(--main-color);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center; }
#toTop a::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: rotate(315deg);
  margin-left: -1px;
  margin-top: 3px; }
#toTop a:hover {
  background: var(--main-color-sub); }

/* table
---------------------------------------------------------------------------*/
section table {
  width: 100%; }
section table th,
section table td {
  padding: 1em;
  line-height: 1.6; }
section table th {
  letter-spacing: 0.2em;
  background-color: var(--bg-color2);
  border-bottom: solid 1px var(--silver); }
section table td {
  border-bottom: solid 1px var(--silver); }
section table td span {
  font-size: 1.2rem;
  display: block;
  margin-top: 0.4em; }
section table th:first-of-type {
  border-top: solid 1px var(--silver); }
section table td:first-of-type {
  border-top: solid 1px var(--silver); }

@media screen and (max-width: 700px) {
  section table th,
  section table td {
    display: block;
    width: 100%; }
  section table th,
  section table tr:not(:last-child) td {
    border-bottom: none; }
  section table tr:last-child td {
    border-bottom: solid 1px #cccccc; }
}

/* style
---------------------------------------------------------------------------*/
.fc-#ccbaad {color: #c01920;}
/* .bg1 {background: ;}
.bg2 {background: ;} */

.txtC {text-align: center;}
.txtR {text-align: right;}
.txtL {text-align: left;}

.fontS, small {font-size: 1rem;}
.fontM {font-size: 1.5em;}
.fontL {font-size: 2rem;}
.fontLL {font-size: 2.6rem;}

/* form
---------------------------------------------------------------------------*/
form {
  border: dotted 1px rgba(0,0,0, .2);
  padding: 80px 160px; }
form table {
  width: 100%; }
form table th,
form table td {
  text-align: left;
  vertical-align: top;
  padding: 1.6em 1em; }
form table th {
  width: 320px;
  position: relative; }
form table th:not(.any-item)::before {
  content: '必 須';
  width: 42px;
  height: 20px;
  border-radius: 0.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 100;
  font-family: 'Noto Sans JP', sans-serif;
  background: #f03e00;
  position: absolute;
  right: 20px;
  top: 24px; }
form table th span {
  display: block;
  margin-top: 1.2em;
  color: #f03e00;
  line-height: 1.8;
  font-size: 1.2rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400; }

form input,
form textarea,
form select {
  width: 100%;
  border: solid 1px rgba(0,0,0,.16);
  padding: 0.8em 1em;
  border-radius: 0.1em; }
form textarea {
  min-height: 160px; }
form .sizeL {max-width: 600px;}
form .sizeM {max-width: 300px;}
form .sizeS {max-width: 200px;}

form .select-wrap ul {
  display: flex;
  flex-wrap: wrap; }
form .select-wrap ul li {
  position: relative; }
form .select-wrap ul li + li {
  margin-left: 3em; }

.btnA a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 600px;
	margin: auto;
  height: 64px;
  border-radius: 4px;
  background: var(--main-color);
  box-shadow: 0 0.4em 0 0 var(--main-color-sub);
  padding: 0.64em 2em 0.4em;
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.3s;
  user-select: none; }

.btnB a {

  width: 500px;
  border-radius: 4px;
  background: var(--main-color);
  box-shadow: 0 0.2em 0 0 var(--main-color-sub);
  padding: 0.64em 2em 0.4em;
  color: var(--white);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition-duration: 0.3s;
  user-select: none; }


.btnB a:hover,
.btnA a:hover {
  	opacity:0.75;
   }

form button {
  width: 100%;
  height: 50px;
  color: var(--main-color);
  margin: auto; }
form table + button,
form table + ul.btn-wrap {
  margin-top: 40px; }

form .btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center; }
form .btn-wrap li + li {
  margin-left: 24px; }
form .btn-wrap li.fix button {
  color: rgba(0,0,0,.8);
  background: rgba(0,0,0,.1);
  border: solid 1px rgba(0,0,0,.2); }
form .btn-wrap li.fix button:hover {
  background: rgba(0,0,0,.15); }





/* spacing
---------------------------------------------------------------------------*/
section + section {
  margin-top: 60px; }

.photoblock + h4,


p + h2, p + h3, p + h4, p + h5, p + p.btnA,
ul + h2, ul + h3, ul + h4, ul + h5,
ol + h2, ol + h3, ol + h4, ol + h5,
dl + h2, dl + h3, dl + h4, dl + h5,
table + h2, table + h3, table + h4, table + h5,
figure + h2, figure + h3, figure + h4, figure + h5,
a + h2, a + h3, a + h4, a + h5,
button + h2, button + h3, button + h4, button + h5,
iframe + h2, iframe + h3, iframe + h4, iframe + h5 {
  margin-top: 4em; }

h2 + h3, h2 + h4, h2 + h5,
h3 + h2, h3 + h4, h3 + h5,
h4 + h2, h4 + h3, h4 + h5,
h2 + div, h2 + p, h2 + ul, h2 + ol, h2 + dl, h2 + table, h2 + figure, h2 + a, h2 + button, h2 + iframe,
p[class^="btn"] + p {
  margin-top: 2em; }

h3 + div, h3 + p, h3 + ul, h3 + ol, h3 + dl, h3 + table, h3 + figure, h3 + a, h3 + button, h3 + iframe, h3 + form,
h4 + div, h4 + p, h4 + ul, h4 + ol, h4 + dl, h4 + table, h4 + figure, h4 + a, h4 + button, h4 + iframe,
h5 + div, h5 + p, h5 + ul, h5 + ol, h5 + dl, h5 + table, h5 + figure, h5 + a, h5 + button, h5 + iframe,
div + h2, div + h3, div + h4, div + h5,
div + div, div + p, div + ul, div + ol, div + dl, div + table, div + figure, div + a, div + button, div + iframe,
p + div, p + p, p + ul, p + ol, p + dl, p + table, p + figure, p + a, p + button, p + iframe,
ul + div, ul + p, ul + ul, ul + ol, ul + dl, ul + table, ul + figure, ul + a, ul + button, ul + iframe,
ol + div, ol + p, ol + ul, ol + ol, ol + dl, ol + table, ol + figure, ol + a, ol + button, ol + iframe,
dl + div, dl + p, dl + ul, dl + ol, dl + dl, dl + table, dl + figure, dl + a, dl + button, dl + iframe,
table + div, table + p, table + ul, table + ol, table + dl, table + table, table + figure, table + a, table + button, table + iframe,
figure + div, figure + p, figure + ul, figure + ol, figure + dl, figure + table, figure + figure, figure + a, figure + button, figure + iframe,
a + div, a + p, a + ul, a + ol, a + dl, a + table, a + figure, a + a, a + button, a + iframe,
button + div, button + p, button + ul, button + ol, button + dl, button + table, button + figure, button + a, button + button, button + iframe,
iframe + div, iframe + p, iframe + ul, iframe + ol, iframe + dl, iframe + table, iframe + figure, iframe + a, iframe + button, iframe + iframe {
  margin-top: 1em; }

/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.tbOnly,
.spOnly {
  display: none; }

@media screen and (max-width: 960px) {
  .pcOnly {
    display: none; }
  .tbOnly {
    display: block; }
}
@media screen and (max-width: 700px) {
  .tbOnly {
    display: none; }
  .spOnly {
    display: block; }
}

/* IEのみ */
@media all and (-ms-high-contrast: none) {
.news dl {
  border: solid 1px rgba(0,0,0, .08); }
.activity ul li {
  border: solid 1px rgba(0,0,0, .08); }
}
