body {
  position: relative;
  max-width: 120rem;
  margin: 2rem auto;
  padding: 0 1rem;
  background-color: #faeeff;
  opacity: 0.8;
  background-image: radial-gradient(#7c7889 0.5px, transparent 0.5px), radial-gradient(#7c7889 0.5px, #f2e5f7 0.5px);
  background-size: 30px 30px;
  background-position: 0 0,15px 15px;
  color: #555;
}

*:not(.ci) > div.imgCenter > img {
  border-radius: 58% 33% 38% 41% / 40% 48% 50% 56%;
} 
/*
  ページロード
=======================================================================*/
body.getup {
  opacity: 1;
  animation: getup .6s ease;
  animation-direction: reverse;
}

@keyframes getup {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

section {
	margin: 2rem 0;
	padding: 1rem 1rem 6rem 1rem;
	border-radius: 160% 406% 182% 236% / 44% 93% 9% 18%;
	background-color: rgb(255 208 242 / 10%);
	border-bottom: solid 1px #ff530063;
	border-top: solid 1px #ff530063;
}

aside section,
footer section {
  margin: 1rem;
  padding: 1rem;
  border: none;
  background: none;
}

a {
  color: #555;
}

.to-home {
    padding: 0 1rem 0 0;
    width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.to-home img {
  height: 12rem;
  width: auto;
}

.to-home p {
  margin: 0;
  padding: 0;
  font-size: 1.3rem;
}

.to-home p span {
  font-size: 1rem;
  color: #676767;
}

.to-home.bottom img {
  height: 10rem;
  width: auto;  
}

label[for="ui-toggle"] {
  display: none;  
}

.header .bk-b {
    display: flex;
    justify-content: space-between;
}

.header .bk-b > p {
  color: #31651c;
}

.header .sns-link {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-end;
}

.header .sns-link img {
	display: inline-block;
	height: 3.5rem;
	width: auto;
	padding: 0 0.25rem;
}

.header .sns-link > a {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
  margin: 0 0.5rem;
}

.header .sns-link > a span {
  font-size: 1rem;
}

/*
  ナビゲーション
=======================================================================*/

nav.top {
  height: 6rem;
  position: sticky;
	top: 0;
	left: 0;
	z-index: 1000;
}

nav.top ul {
  flex-wrap: nowrap;  
}

nav.top li {
  display: inline-block;
  text-align: center;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  text-shadow: 0 1px 1px rgba(49, 101, 224, 0);
  transform-origin: 0% 0%;
  transition: all .3s ease-in-out;
}

nav.top li:hover {
  border-bottom-width: 5px;
  color: #0909b1;
  text-shadow: 0 1px 1px rgba(130, 131, 132, 0.8);
}

nav.top > ul > li {
  margin: 0;
  padding: 0.5em 0 0.5em 0;
  border-bottom-color: #111697;
}

nav.top > ul ul > li {
  margin: 0;
  padding: 0.5em 0.5em;
  color: #111697;
}

nav.top > ul ul li:after { /* sub navi separator */
  content: "・";
  width: 1em;
  height: 1em;
  position: absolute;
  font-weight: bold;
  color: #a09f9f;
}

nav.top > ul ul li:last-child:after { /* sub navi separator */
  content: "";
}

nav.top li a {
  display: inline-block;
  width: 100%;
  color: inherit;
  white-space: nowrap;
  font-size: 1.42rem;
}

nav.top li span {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  font-size: 1.42rem;
}

/* about */
nav.top li.about > ul > li {
  border-bottom-color: #111697;  
}

nav.top li.about > ul > li a {
  display: inline-block;
  width: 8em;
  text-align: center;
}

nav.top li.service > ul > li:nth-of-type(1) {
  color: #5398f9;
  border-bottom-color: #5398f9;
}

nav.top li.service > ul > li:nth-of-type(2) {
  color: #228622;
  border-bottom-color: #228622;
}

nav.top li.service > ul > li:nth-of-type(3) {
  color: #a210b1;
  border-bottom-color: #a210b1;
}

nav.top li.service > ul > li:nth-of-type(4) {
  color: #f77518;
  border-bottom-color: #f77518;
}

nav.top li.service > ul > li:nth-of-type(5) {
  color: #cd0606;
  border-bottom-color: #cd0606;
}

nav.top li > span:hover {
  cursor: pointer;
}

nav.top > ul > li:first-child {
  width: 50%;
}

nav.top ul > li > ul {
  position: absolute;
  visibility: hidden;
  top: 42px;
  /*left: 0;*/
  height: 0;
  text-align: left;
  opacity: 0;
  font-size:0; /* 改行隙間回避 */
  transform-origin: 0% 0%;
  transition: all .5s ease-in-out;
}

nav.top ul > li:hover > ul {
  visibility: visible;
  height: auto;
  opacity: 1;  
}

[data-here="blog"] ul {
    left: calc(100% / 2 - 20%);
}

/* your here */
nav.top li.your-here {
  border-bottom: solid 5px rgba(210, 62, 120, 0.5) !important;
  color: #d23e78 !important;
}

/* */
nav.bottom {
  position: relative;
  background-color: transparent;
  display: none;
}

nav.bottom > ul > li:first-child {
  display: none;
}

nav.bottom > ul > li:nth-of-type(2) {
  width: 50%;  
}

nav.bottom > ul > li:nth-of-type(4) {
  width: 70%;
}

nav.bottom > ul > li > span {
  border-bottom: solid 1px #fff;
}

nav.bottom li.your-here a {
  color: inherit;
}

/* your here */
nav.bottom li.your-here a {
  color: rgb(208, 116, 116) !important;
}

/*
  コンテンツスライダー
=======================================================================*/
.slider {
  position: relative;
  margin: 0;
  padding: 0.5em 0 0 0;
  width: 100%;
  aspect-ratio: 1200 / 700;
}

.slider::after {
	content: "";
	display: block;
	position: absolute;
	bottom: -10rem;
	right: 0;
	width: 100%;
	height: 35%;
	background-image: url(/img/animals.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom right;
}

.slider .wrapper-video {
	position: relative;
	display: block;
	border-radius: 58% 33% 38% 41% / 40% 48% 50% 56%;
	width: inherit;
	aspect-ratio: 1200 / 700;
	overflow: hidden;
}
/*
.slider .wrapper-video img {
	width: inherit;
	height: inherit;
	display: inline-block;
}
*/
.slider video {
  max-width: 100%;/* はみ出ないように */
  transform: scale(1.4);
}

/*
  loop images
  https://www.devtwins.com/blog/css-cross-fading-images
........................................*/
.container {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 1200 / 700;
  border-bottom: solid 1px #895a47;
}

.pic {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.pic1 {
  animation: fade 5s infinite;
}
.pic2 {
  animation: fade 10s infinite;
}
.pic3 {
  animation: fade 15s infinite;
}
.pic4 {
  animation: fade 20s infinite;
}
.pic5 {
  animation: fade 25s infinite;
}
.pic6 {
  animation: fade 30s infinite;
}
.pic7 {
  animation: fade 35s infinite;
}
.pic8 {
  animation: fade 40s infinite;
}
.pic9 {
  animation: fade 45s infinite;
}
.pic10 {
  animation: fade 50s infinite;
}

#pic1 {
  animation-delay: 0s;
}
#pic2 {
  animation-delay: 5s;
}
#pic3 {
  animation-delay: 10s;
}
#pic4 {
  animation-delay: 15s;
}
#pic5 {
  animation-delay: 20s;
}
#pic6 {
  animation-delay: 25s;
}
#pic7 {
  animation-delay: 30s;
}
#pic8 {
  animation-delay: 35s;
}
#pic9 {
  animation-delay: 40s;
}
#pic10 {
  animation-delay: 45s;
}

@keyframes fade {
  0% {
    opacity: 1;
transform: scale(1);
  }
  5% {
    opacity: 1;
transform: scale(1);
  }
  25% {
    opacity: 0;
transform: scale(1.2);
  }
  80% {
    opacity: 0;
transform: scale(1.2);
  }
  100% {
    opacity: 1;
transform: scale(1);
  }
}

/*
  コンテンツ
=======================================================================*/
article {
  padding: 2rem;
}

.info-date,
.blog-date {
	font-size: 1.3rem;
	display: inline-block;
	margin: 0.5rem 1rem 0.5rem 0;
	color: #777;
}

.info-link,
.blog-link {
	display: inline-block;
	margin-left: 1rem;
	color: #b34dbd;
}

/*
  下部
=======================================================================*/
footer {
	padding: 1rem;
	background-color: #e4d6ea;
  border-radius: 2rem;
}

footer .about {
	text-align: center;
  border-left: solid 1px #c9add6;
}

footer .about img.logo {
  height: 10rem;
  width: auto;
}

footer .about p a {
  color: #b34dbd;
}

footer .inquiry h3 {
	font-size: 1.7rem;
	color: #479528;
}

footer .inquiry > p > a {
  color: #b34dbd;
}

footer .inquiry > a {
	background-color: #e079ea;
	padding: 1rem 2rem;
	border-radius: 10px;
	color: #fff;
}

footer .inquiry > a:hover {
	background-color: #fff;
	color: #e079ea;
}

footer address {
  color: #479528;
  font-size: 1.3rem;
}

#toTop {
  display: block;
  position: fixed;
  bottom: 0;
  right: 0;
  height: 50px;
  width: 50px;
  padding: 10px;
  background-color: rgba(128, 125, 125, 0.25);
  cursor: pointer;
  border-radius: 50%;
}

.svg-to-top {
  width: 30px;
  height: 35px;
}

/* ==== pagination ==============================*/
.dittoPageNate {
  text-align: center;
  margin: 1em 0;
  font-size: 0rem;
}

.dittoPageNate .ditto_page {
  display: inline-block;
  margin: 0rem 0rem;  
}

.dittoPageNate .ditto_next_link,
.dittoPageNate .ditto_previous_link {
	text-align: center;
	transition: all 1s ease; 
}

.dittoPageNate .ditto_page {
	transition: all 1s ease;
	font-size: 1.8rem;
	padding: 0 0.6rem;
}

.dittoPageNate .ditto_page:hover {
  transform: scale(1.3);
}

.dittoPageNate .ditto_currentpage {
	border-radius: 5px;
	padding: 0.25rem;
	background-color: #a210b1;
	color: #fff;
	font-size: 2.5rem;
}

/*
  ブロック入力用
=======================================================================*/
.imgCenter > img {
  width: 100%;
  height: auto;
}

/*
  display size 1024 under
=======================================================================*/
@media screen and (max-width: 1024px) {

.header {
  justify-content: center;
}

.header .bk-b {
  flex-wrap: wrap;
  justify-content: center;
}

/*
  ナビゲーション
=======================================================================*/
nav[data-snippet|="ui-panel"] {
  transform: translate(100%, -100%);
  transition: all .2s ease-in-out;
}

label.menu-open {
  display: block;
  position: fixed;
  top: 1em;
  right: 1em;
  width: 5rem;
  height: 6rem;
  z-index: 1;
  text-align: center;
  cursor: pointer;
}

[data-status|="ui-toggle"]:checked ~ [data-snippet|="ui-panel"] label.menu-close {
  display: block;
  position: fixed;
  top: 1rem;
  right: calc(100vw - 88%);
  width: 5rem;
  height: 6rem;
  z-index: 2; 
  text-align: center;
  cursor: pointer;
}

[data-status|="ui-toggle"]:checked ~ [data-snippet|="ui-panel"] {
  transform: translate(10%,0);
}

label.menu-open i,
label.menu-close i {
  font-size: 1.2rem;
  color: #4a4a4a;
}

label.menu-open img,
label.menu-close img {
  display: block;
  margin: auto;
  width: 4rem;
  height: 3.5rem;
}

nav.top {
  display: none;
}

nav.bottom {
  display: block;
  position: fixed;
  background-color: #d9c9e0;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

nav.bottom > ul {
  padding: 1em 2em 0 1em;
  overflow-y: auto;
}

nav.bottom li {
  margin: 0.5em 1rem;
}

nav.bottom > ul > li:nth-of-type(2) {
  width: 60%;
}

nav.bottom ul span {
  color: #fff;  
}

nav.bottom ul a {
  font-size: inherit;
  color: #272727;
}

nav.bottom > ul > li:first-child {
  display: block;
  padding-bottom: 0.5em;
}

nav.bottom > ul > li > span {
  border-bottom: solid 1px #adadad;
}

.slider::after {
	bottom: -5rem;
  height: 40%;
}

footer .about {
  padding-top: 3rem;
  border:none;
}

footer .inquiry {
  text-align: center;
}

footer address {
  padding-top: 1rem;
  font-size: 1.1rem;
  text-align: center;
}
.info-date,
.blog-date {
  display: block;
  width: max-content;
}

/*
  ブロック入力用
=======================================================================*/
.dp20, .dp25, .dp33, .dp50, .dp100 {
	width: 100% !important;
	height: auto;
	padding: 0.25rem;
}

}
