@charset "utf-8";
/*
theme Name: 中村歯科クリニック
Author: hpo
Description: 歯科医院テーマ
version： 1.0.0
*/

body {
  margin: 0;
  padding: 0;
  font: normal normal 16px/1.8 Verdana, Arial, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #121212;
  box-sizing: border-box;
  background: transparent; */
  max-width: 100vw;
}
body.stop {
  overflow: hidden;
}
body::after {
  background: rgba(0,0,0,.5);
  /*z-index: 1;*/
  content: "";
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  left: 0px;
  display: none;
}
.transparent {
  overflow: hidden;
  filter: blur(2px);
}
.transparent::after {
  display: block;
}
abbr {
  text-decoration: none;
}
mark {
  background: linear-gradient(to bottom, transparent 70%, hsla(39, 100%, 50%, 0.7) 70%);
  background: transparent;
  color: coral;
}
dt {
  font-weight: bold;
}
dl ul {
  padding: 0 0 0 20px;
}
/*
mark {
  background: linear-gradient(to bottom, transparent 70%, hsla(39, 100%, 50%, 0.7) 70%);
  position: relative;
  background: transparent;
  z-index: 1;
}
mark::after {
  position: absolute;
  bottom: 0;
  width: 100%;
  content: "";
  left: 0;
  height: 5px;
  z-index: -1;
  background: linear-gradient(to right, transparent, orange 5%, orange 95%, transparent);
}
*/
a {
  color: olivedrab;
}
/*
a:visited {
  color: cornflowerblue;
  text-decoration: none;
}
*/
i::before {
  content: "「";
}
i::after {
  content: "」";
}
.data-label::before {
  content: attr(data-before);
}
.data-label::after {
  content: attr(data-after);
}
#site-name a,
#site-name a:visited {
  color: #333;
}
.more a,
.button a {
  text-decoration: none;
  color: inherit;
  /*
  display: block;
  height: 100%;
  width: 100%;
  */
}
.more a,
.button a,
.links a {
  display: block;
  width: 100%;
  height: 100%;
}
.button {
  display: block;
  text-decoration: none;
  width: 70%;
  /*background: #ED9E76;
  background: #FDD835;*/
  background: #f9a825;
  /*background: #FF4E64;*/
  color: white;
  text-align: center;
  margin: auto;
  padding: 7px;
  max-width: 200px;
  box-shadow: 1px 1px 1px white;
  text-shadow: 0 0 1px black, 1px 1px 10px grey, 0 0 30px grey;
  margin-top: 15px;
  height: 2rem;
  line-height: 2rem;
  background: linear-gradient(to bottom, #FABB55, #FABB55 50%, #f9a825 51%, #f9a825);
  font-weight: bold;
  font-family: serif;
}
a.button:hover {
  filter: drop-shadow(0px 0px 10px white);
}
.note {
  font-size: .8rem;
  color: #666;
}
ul.note {
  padding-left: 20px;
  list-style-type: none;
}
ul.note li::before {
  content: "※";
  margin-right: 10px;
}
.link {
  text-align: right;
  margin: 0;
}
.link a {
  text-decoration: none;
}
.link::before {
  font-family: "FontAwesome";
  padding-right: 5px;
  content: "\f138";
  font-size: 1.4rem;
  color: olivedrab;
  vertical-align: -2px;
}
.links a::after {
  /*
  font-family: "FontAwesome";
  padding-left: 10px;
  content: "\f105";
  */
}
.lead,
.description,
.caption {
}
.symbol {
  text-decoration: none;
}
.symbol::before {
  font-family: 'FontAwesome';
  font-style: normal;
  margin-right: 5px;
}
.telephone::before {
  content: "\f098";
}
#header-wrap {
  position: relative;
  z-index: 10;
}
#header-wrap::before {
  background: rgba(255,255,255,.85);
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#header-wrap::after {
  background: url(image/bg-header.png) center repeat;
  background-size: contain;
  filter: grayscale(100);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
#top {
  text-align: right;
  font-size: .7rem;
  padding: 5px;
  background: lightgrey;
  background: #ececec;
  background: rgba(0,0,0,0.07);
}
#top h1 {
  font: inherit;
  margin: 0;
}
#header-inner {
  z-index: 1;
  display: flex;
  justify-content: space-between;
  height: 70px;
}
.logo {
  width: 65px;
  position: relative;
}
.logo img {
  width: 70px;
  width: 55px;
  margin-left: 10px;
  position: absolute;
  bottom: 9px;
  filter: drop-shadow(1px 1px 1px silver);
  filter: drop-shadow(1px 2px 0 gray);
}
#site-name {
  text-align: center;
  text-shadow: -1px -1px 0 white;
}
#site-name a {
  text-decoration: none;
  margin: 10px 0 0;
  display: block;
  font-size: 1.2rem;
  font-family: 'Sawarabi Mincho', 'Noto Sans Japanese', '游明朝', 'ＭＳ 明朝', 'メイリオ';
  color: #333;
}
#site-name span {
  margin-top: -7px;
  display: block;
  font-size: .8rem;
  font-family: 'Playball', 'Marck Script', 'Kaushan Script', 'Nothing You Could Do', 'Courgette', serif, cursive;
  letter-spacing: 1px;
}
#navigation {
  z-index: 1;
  background: transparent;
}
#navigation .icon {
  font-size: 0.5rem;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  z-index: 100;
  padding: 5px;
  background: olivedrab;
  background: #FF4E64;
  color: white;
  border-radius: 5px;
  margin: 10px 10px 10px 5px;
}
#navigation .icon::before {
  content: "\f095";
  font-family: 'FontAwesome';
  cursor: pointer;
  font-size: 1.5rem;
  display: block;
}
#navigation .icon::before {
  content: "\f0c9";
}
#navigation .close::before {
  content: "\f00d";
}
.global-navigation {
  margin: 0;
  z-index: 10;
  display: none;
  /*transition: all 1s 0s ease;*/
  overflow-y: scroll;
}
.global-navigation a {
  color: olivedrab;
  text-decoration: none;
}
.active {
  max-height: 100vh;
  overflow-y: scroll;
  display: block;
}
.global-navigation nav {
  background: rgba(255,255,255,1);
  color: #333;
  padding: 10px 10px 20px;
}
.close {
  background: white;
  text-align: center;
  padding-bottom: 15px;
  font-size: .9rem;
  cursor: pointer;
}
.close::before {
  font-family: "FontAwesome";
  content: "\f00d";
  margin-right: 5px;
}
.pc {
  display: none;
}
.mobile {
  display: block;
}
.br:before {
  content: "\A";
  white-space: pre;
}
h1,
h2 {
  font-family: 'Noto Sans Japanese', serif, '游明朝', 'ＭＳ 明朝', 'メイリオ', serif;
  font-weight: 100;
  text-align: center;
}
img {
  width: 100%;
  display: block;
}
/* COMMON END */
.main-visual {
  font-family: '游明朝', 'ＭＳ 明朝', 'メイリオ', serif;
  overflow: hidden;
  position: relative;
  max-height: 450px;
}
.main-visual .mv {
  /*display: flex;
  flex-wrap: nowrap;
  justify-content: center;*/
  max-height: 100vh;
  height: 40vw;
  min-height: 200px;
}
.main-visual img {
  /*filter: brightness(.8);*/
  filter: brightness(1.2);
  /*-webkit-filter: brightness(.7);*/
  /*width: calc(100% / 3);
  height: 250px;
  border-right: 1px solid white;*/
  object-fit: cover;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
.main-visual img:hover {
  /*filter: brightness(1.2);*/
}
.main-visual picture {
  /*filter: brightness(.8);*/
  filter: brightness(1.2);
  /*-webkit-filter: brightness(.7);*/
  /*width: calc(100% / 3);
  height: 250px;
  border-right: 1px solid white;*/
  object-fit: cover;
  width: 190%;
  position: absolute;
  top: 0;
  left: -40%;
  bottom: 0;
  right: 0;
  margin: auto;
}
.main-visual picture img {
  width: 100%;
}
.main-visual picture:last-child img {
  border-right: none;
}
.catchcopy {
  color: white;
  text-shadow: 0px 0px 10px black, 1px 1px 3px black, 0px 0px 50px black;
  margin: 0;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  z-index: 1;
  font-size: 1.1rem;
  font-family: 'Noto Sans Japanese';
  font-weight: bold;
}
.catchcopy strong {
  /*background: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 60%, orange 60%, orange 90%, rgba(0,0,0,0) 90%, rgba(0,0,0,0) 100%);*/
  color: #ffe000;
  text-shadow: 0px 0px 2px #f9a825, 1px 1px 1px black, 0px 0px 10px black, 0 0 50px black;
}
.pankuzu,
.history {
  font-size: .8em;
  color: #333;
  padding: 10px 0 10px 15px;
  margin: 0 auto;
  min-height: 40px;
  border-bottom: 1px solid #ddd;
  background: #F3EBE7;
  box-sizing: border-box;
  text-shadow: none;
}
.pankuzu ul,
.history ul {
  display: flex;
  flex-wrap: wrap;
  max-width: 1050px;
  margin: 0 auto;
  list-style-type: none;
  padding-left: 0;
}
.pankuzu li + li::before {
  content: '\f105';
  font-family: 'FontAwesome';
  margin: 0 5px 0 10px;
}
.pankuzu a,
.pankuzu a:visited, 
.history a,
.history a:visited {
  color: #333;
}
.history {
  border-bottom: none;
  background: none;
  /*padding-top: 0;*/
  /*border-top: 1px solid #ddd;*/
}
.history li + li::before {
  content: '/';
  margin: 0 5px 0 10px;
}
.history h1 {
  margin: 0 auto;
  max-width: 1050px;
  text-align: left;
}
main p {
  padding: 0 20px;
  margin: 0;
}
#body {
  background: white;
  color: #333;
}
#body section {
}
.home .image-banner {
  background: url(image/top/bg-banner.jpg) center repeat;
  background-size: contain;
  position: relative;
  z-index: 1;
}
.image-banner::before {
  background: rgba(255,255,255,.3);
}
.image-banner img {
  max-width: 1000px;
  background: white;
  margin: 0 auto;
  width: 100%;
}
.image-banner img:hover {
  opacity: .8; 
}
.alpha::before {
  background: rgba(255, 255, 255, .5);
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#child-dentistry,
#about,
#service,
#policy,
#news,
#blog {
  padding: 30px 10px;
  position: relative;
  z-index: 1;
}
[id$="-outer"],
.home .history {
  position: relative;
  z-index: 1;
}
[id$="-outer"]::before,
[id$="-outer"]::after,
.home .history::before,
.home .history::after {
  background: white;
  background-size: cover;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
[id$="-outer"]::before,
.home .history::before {
  background: rgba(255,255,255,.5);
  z-index: -1;
}
#about-outer::after {
  background: url(image/top/bg-about.jpg) center repeat;
  background-size: contain;
}
#policy-outer::after {
  background: url(image/top/bg-policy.jpg) center repeat;
  background-size: cover;
}
#policy-outer::before {
  background: rgba(255,255,255,.3);
}
#child-dentistry-outer::after {
  background: url(image/top/bg-kids.jpg) center repeat;
  background-size: cover; 
  filter: grayscale(100);
}
#child-dentistry-outer::before {
  background: rgba(255,255,255,.8);
}
#information-outer::after,
.home .history::after {
  background: url(image/top/bg-information.jpg) center repeat;
  background-size: cover;
}
#information-outer::before,
.home .history::before {
  background: rgba(255,255,255,.7);
}
/*#about-outer {
  position: relative;
  z-index: 1;
}
#about-outer::after,
#about-outer::before {
  background: url(b060702331e729e48a503dbf7c4dc430_s.jpg) center repeat;
  background-size: contain;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
#about-outer::before {
  background: rgba(255,255,255,.5);
  z-index: -1;
}*/
#information.
.home .history {
  position: relative;
  z-index: 1;
}
#blog {
  padding-top: 0;
}
#body section:not(.reservation):not(.job-offer):not(.table) p + p {
  padding-top: 30px;
}
#child-dentistry h1,
#about h1,
#service h1,
#policy h1,
.archive main h1,
.single article header h1 {
  color: tomato;
  /*color: #FF4E64;*/
  font-weight: bold;
  margin: 0 auto 40px;
}
#child-dentistry h1::after,
#about h1::after,
#service h1::after,
#policy h1::after,
.archive main h1::after,
.single article header h1::after {
  content: none;
  display: block;
  /*border-bottom: 5px solid tomato;*/
  margin: 20px auto 30px;
  width: 100px;
  height: 1px;
  background: tomato;
  /*background: linear-gradient(-45deg, transparent, tomato 10%, tomato 90%, transparent);*/
  background: linear-gradient(to right, transparent, tomato 10%, tomato 90%, transparent);
}
#child-dentistry h1 span,
#about h1 span,
#service h1 span,
#policy h1 span,
.archive main h1 span,
.single article header h1 span {
  position: relative;
  display: block;
  z-index: 1;
}
#child-dentistry h1 span::before,
#child-dentistry h1 span::after,
#about h1 span::before,
#about h1 span::after,
#service h1 span::before,
#service h1 span::after,
#policy h1 span::before,
#policy h1 span::after,
.archive main h1 span::before,
.archive main h1 span::after,
.single article header h1 span::before,
.single article header h1 span::after {
  content: "";
  width: 80px;
  height: 80px;
  display: block;
  position: absolute;
  top: calc(50% - 10px);
  left: calc(50% - 25px);
  transform: translate(-50%, -50%);
  background: hsla(30, 100%, 70%, .5);
  border-radius: 50%;
  z-index: -2;
}
#child-dentistry h1 span::after,
#about h1 span::after,
#service h1 span::after,
#policy h1 span::after,
.archive main h1 span::after,
.single article header h1 span::after {
  width: 70px;
  height: 70px;
  top: calc(50% + 10px);
  left: calc(50% + 25px);
  background: lightgray;
  z-index: -1;
}
.reservation,
.job-offer,
#job-offer {
  background: #704B38;
  background: linear-gradient(to bottom, #704B38, #704B38 70%, #3a271d);
  padding: 10px 10px 20px;
  margin: 0;
}
.reservation h1,
.job-offer h1,
#job-offer h1 {
  margin: 0 auto;
  color: white;
}
.reservation p,
.job-offer p,
#job-offer p {
  color: #EEDEDC;
  font-size: .9rem;
}
#job-offer section,
#about section {
  background: white;
}
#job-offer h2,
#about h2 {
  margin: 0;
  text-align: left;
  padding-left: 20px;
}
#job-offer p,
#about .banner p {
  color: brown;
  font-size: .7rem;
  width: 60%;
  text-shadow: 1px 1px 2px white, 0px 0px 30px white;
}
#job-offer .banner,
#about .banner {
  box-shadow: 1px 1px 1px white;
  position: relative;
  height: 140px;
  overflow: hidden;
  max-width: 400px;
  margin: 15px auto 0;
}
#about .banner {
  border: 1px solid darkgray;
}
#job-offer .banner:first-of-type,
#about .banner:first-of-type {
  margin-top: 10px;
}
#job-offer a,
#about a {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}
#job-offer a::after,
#about a::after {
  position: absolute;
  content: "";
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 1px solid white;
  top: 5px;
  left: 5px;
  box-shadow: 0 0 10px rgba(255,255,255,.3), 0 0 10px rgba(255,255,255,.3), 0 0 10px rgba(255,255,255,.3), 0 0 10px rgba(255,255,255,.3);
}
#job-offer .title,
#about .title {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
}
#job-offer .bg,
#about .bg {
  position: relative;
  width: auto;
  height: 100%;
  float: right;
  max-width: 50%;
}
#job-offer .bg::after,
#about .bg::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: linear-gradient(to left, transparent 0%, rgba(255,255,255,.5) 80%, rgba(255,255,255,1) 100%);
}
#job-offer img,
#about img {
  height: 100%;
  width: auto;
}
#service {
  background: lavender;
  color: darkslategrey;
  background: url(image/top/bg-service.png) repeat;
}
#menu {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 30px;
}
#service section {
  width: 45%;
  margin: 0 auto;
  background: transparent;
}
#service section:last-child {
  margin-bottom: 0;
  border: none;
  margin-right: auto;
}
#service .title {
  display: flex;
  flex-flow: column-reverse;
  margin-bottom: 10px;
  background: transparent;
}
#service .title:hover {
  filter: brightness(.8);
  -webkit-filter: brightness(.8);
}
#service h2 {
  color: #454545;
  margin: 0;
  font-family: "Noto Sans Japanese", "Yu Gothic", serif;
  font-weight: normal;
  padding: 0;
  font-size: 14px;
  text-align: left;
  line-height: 1.5;
  margin-top: 5px;
}
#service h2::after {
  font-family: "FontAwesome";
  content: "\f105";
  margin-left: 10px;
  color: #f9a825;
}
#service .thumbnail {
  overflow: hidden;
  position: relative;
  height: 90px;
  box-shadow: 1px 1px 1px grey;
}
#service .thumbnail img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
#service .thumbnail img.vertical-fit {
  width: 115%;
}
#service section p {
  display: none;
}
#service a {
  color: inherit;
  text-decoration: none;
}
/*
#policy-outer {
  position: relative;
  z-index: 1;
}
#policy-outer::after,
#policy-outer::before {
  background: url(ed6214f7b43378dfae8cfff052604a24_s.jpg) center repeat;
  background-size: cover;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
#policy-outer::before {
  background: rgba(255,255,255,.3);
  z-index: -1;
}
*/
#policy,
#child-dentistry {
  counter-reset: number;
}
#policy section {
  margin: 0 auto 30px;
  max-width: 500px;
  display: flex;
  flex-flow: wrap-reverse;
  position: relative;
}
#policy section:last-child {
  margin-bottom: 0;
}
#policy .title {
  display: flex;
  flex-flow: wrap-reverse;
}
#policy h2 {
  margin: 15px 10px 10px;
  line-height: 1.5;
  font-size: 1.3rem;
  text-align: left;
  font-weight: bold;
  color: #454545;
  text-shadow: 1px 1px 1px white;
}
#policy .thumbnail,
#child-dentistry .thumbnail,
.locallink-kids .thumbnail {
  margin: 0 auto;
  width: 90%;
  box-shadow: 1px 1px 1px grey;
  box-shadow: 1px 1px 0px white, 10px 10px 0 #d2cd8c;
  position: relative;
  overflow: hidden;
  height: 200px;
  height: calc(((100vw - 40px) * .9) * 2 / 3);
  max-height: 300px;
}
#child-dentistry .thumbnail::before {
  counter-increment: number;
  content: counter(number);
  position: absolute;
  background: orange;
  color: white;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  text-shadow: 1px 1px 1px grey;
  z-index: 1;
}
/*
#policy .thumbnail::before {
  background: url(teeth-icon-1.png) no-repeat;
  width: 60px;
  height: 60px;
  line-height: 60px;
  left: 50%;
  transform: translateX(-50%);
  top: -30px;
}
*/
#policy .teeth-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: 1;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}
@font-face {
  font-family: 'PALSCRI';
  src: url(fonts/PALSCRI.TTF);
}
#policy .teeth-icon::before {
  counter-increment: number;
  content: counter(number);
  width: 60px;
  height: 60px;
  line-height: 50px;
  text-align: center;
  display: block;
  color: royalblue;
  font-weight: bold;
  font-family: PALSCRI;
  font-size: 3rem;
}
#policy .teeth-icon img {
  position: absolute;
  top: 0;
  z-index: -1;
  filter: drop-shadow(1px 1px 1px royalblue);
}
#policy .thumbnail img,
#child-dentistry .thumbnail img,
.locallink-kids .thumbnail img {
  transition: all 1s ease 0s;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
#policy section:first-of-type .thumbnail img {
  top: -110px;
}
#policy .thumbnail img:hover,
#child-dentistry .thumbnail img:hover,
.locallink-kids .thumbnail img:hover {
  filter: brightness(.7);
  -webkit-filter: brightness(.7);
  transform: scale(1.2);
}
#policy p {
  color: #666;
}
#child-dentistry ol,
.locallink-kids {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  list-style-type: none;
  padding: 0;
}
#child-dentistry li,
.locallink-kids li {
  position: relative;
  margin: 0 10px 20px;
}
#child-dentistry li:last-child,
.locallink-kids li:last-child {
  margin-bottom: 0;
}
#child-dentistry h2,
.locallink-kids h2 {
  position: absolute;
  bottom: 10px;
  left: 0;
  font-size: 1rem;
  line-height: 1;
  background: rgba(255,255,2255,.7);
  color: #454545;
  border-radius: 0 5px 5px 0;
  z-index: 1;
  padding: 20px;
  width: 150px;
  text-align: left;
  font-weight: bold;
  text-shadow: 1px 1px 2px white;
  border: none;
}
#child-dentistry .thumbnail,
.locallink-kids .thumbnail {
  width: 300px;
  height: 200px;
  margin: 0;
  border-radius: 10px;
  box-shadow: 1px 1px 1px gray, 0 0 10px gray;
}
#child-dentistry .thumbnail::before {
  top: 80px;
  left: 20px;
}
/*
#information-outer {
  position: relative;
  z-index: 1;
}
#information-outer::after,
#information-outer::before {
  background: url(9cea08790c8c9f97ea3c9388a9aa792d_s.jpg) center repeat;
  background-size: cover;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
}
#information-outer::before {
  background: rgba(255,255,255,.7);
  z-index: -1;
}
*/
#news header,
#blog header {
  margin: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
#news h1,
#blog h1 {
  margin: 0;
}
#news ul,
#blog ul {
  list-style-type: none;
  padding: 0 0 0 10px;
  margin: 10px 0 10px 20px;
  border-left: 1px dotted grey;
}
#news li,
#blog li {
  /*padding-left: 6rem;
  text-indent: -6rem;*/
  margin-bottom: 5px;
  position: relative;
  line-height: 1.5;
}
#news li:last-child,
#blog li:last-child {
    margin-bottom: 0;
}
#news time,
#blog time {
  font-size: 0.9rem;
  width: 90px;
  display: block;
  position: absolute;
  top: 1px;
  left: 0;
}
#news li a,
#blog li a {
  display: block;
  margin-left: 95px;
}
footer {
  background: #F3EBE7;
  color: #333;
  border-top: 1px solid lightgrey;
  margin-bottom: 60px;
}
footer header {
  padding: 20px 10px 10px;
}
footer h1 {
  margin: 0;
  font-size: 1.7rem;
  font-family: serif;
  text-align: left;
}
footer header p {
  font-size: 0.9rem;
  margin: 0;
}
footer .postcode::after {
    content: "\A";
    white-space: pre;
}
footer a {
  color: #333;
  text-decoration: none;
}
.access-map {
  height: 450px;
}
.access-map iframe {
  width: 100%;
  height: 100%;
}
#bottom {
  position: fixed;
  bottom: -1px;
  width: 100%;
  height: 60px;
  z-index: 1;
}
#bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
}
#bottom li {
  background: olivedrab;
  background: #FF4E64;
  width: 25%;
  border-right: 1px solid white;
  text-align: center;
  color: white;
  font-size: .7rem;
  padding: 5px 0;
  line-height: 1.5;
}
#bottom li:last-child {
  border-right: none;
}
#bottom a::before,
#bottom span::before {
  font-family: "FontAwesome";
  font-size: 1.4rem;
  display: block;
}
#bottom li:nth-of-type(1) a::before {
  content: "\f095";
}
#bottom li:nth-of-type(2) a::before {
  content: "\f041";
}
#bottom li:nth-of-type(3) a::before {
  /* content: "\f10b"; */
  /* content: "\f274"; */
  content: "\f16d";
}
#bottom li:nth-of-type(4) span::before {
  content: "\f0c9";
}
#bottom li a,
#bottom li span {
  color: white;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}
.links {
  list-style-type: none;
  border-left: 1px solid white;
  padding-left: 0;
  margin: 0 15px;
}
.links li {
  border-bottom: 1px solid lightgrey;
  line-height: 2.5;
}
.links a {
  position: relative;
}
.links a::after {
  position: absolute;
  right: 5px;
}
.business-hours {
  background: inherit;
  color: #333;
}
.business-hours {
  max-width: 400px;
  margin: auto;
  width: 90%;
}
.business-hours table {
  width: 100%;
  margin: 1rem auto 0;
  border-collapse: collapse;
  color: white;
  font-size: .8rem;
  background: #704B38;
  background: #93755B;
  background: #ceab7f;
  background: sandybrown;
  background: #FF99A6;
  /*border: 10px solid #704B38;*/
  border-radius: 5px;
  box-shadow: 2px 2px 2px grey;
}
.business-hours thead td {
  text-align: center;
  background: #FF7183;
  padding: 5px 0;
  border-bottom: 1px solid white;
}
.business-hours thead td:first-child {
  width: 80px;
  border-radius: 5px 0 0;
}
.business-hours thead td:last-child {
  border-radius: 0 5px 0 0;
}
.business-hours tbody th {
  font-weight: normal;
  text-align: right;
  padding-right: 5px;
}
.business-hours tbody td {
  padding: 5px;
  text-align: center;
}
.business-hours tbody td::before {
  font-family: "FontAwesome";
  margin: 0;
}
.business-hours tbody td::before {
  content: "\f111";
}
.business-hours tbody .fri::before {
  content: "★";
}
.business-hours tbody .sat::before {
  content: "▲";
}
.business-hours tbody .holiday::before {
  content: "\f068";
}
.business-hours tbody .short-time {
  background: radial-gradient(circle, #333 0, #333 15%, white 16%, white 100%);
}
.business-hours tbody .short-time::before {
  content: "\f071";
}
.business-hours tbody tr:first-child th,
.business-hours tbody tr:first-child td {
  /*padding-bottom: 10px;*/
  padding-bottom: 0;
  vertical-align: bottom;
}
.business-hours tbody tr:last-child th,
.business-hours tbody tr:last-child td {
  /*padding-bottom: 10px;*/
  padding-top: 0;
  vertical-align: top;
}
.business-hours tr td:first-child {
  padding-left: 20px;
}
.business-hours .note {
  text-align: right;
  display: block;
  font-size: .7rem;
  text-shadow: 1px 1px 0 white;
}
#copyright {
  background: #ED9E76;
  margin: 0;
  padding: 10px;
  text-align: center;
  color: white;
  background: white;
  color: #666;
}
#copyright a {
  color: #666;
}
#regards {
  margin: 0 0 -10px;
  padding: 10px 10px 0;
  text-align: center;
  font-size: 14px;
  background: white;
  color: #666;
}
.child-layer,
.child-layer2,
.child-layer3 {
  position: relative;
}
.child-layer span,
.child-layer2 span,
.child-layer3 span {
  position: absolute;
  top: 0;
  right: 0;
  /*width: 30px;*/
  width: 100%;
  cursor: pointer;
}
.child-layer span::after,
.child-layer2 span::after,
.child-layer3 span::after {
  font-family: "FontAwesome";
  content: "\f0d7";
  float: right;
  display: inline-block;
}
.child-layer ul,
.child-layer2 ul,
.child-layer3 ul {
  display: none;
  padding-left: 1rem;
  border-top: 1px solid lightgrey;
}
.child-layer li,
.child-layer2 li,
.child-layer3 li {
  list-style: none;
}
.child-layer li:last-child,
.child-layer2 li:last-child,
.child-layer3 li:last-child {
  border: none;
}

/* Subpage(page.php) */
body:not(.home) #content {
  margin: 30px 0 0;
  width: 100%;
  max-width: 1050px;
}
.sub-visual {
  height: 200px;
  position: relative;
  max-width: 1050px;
  margin: auto;
  overflow: hidden;
}
.sub-visual img {
  height: auto;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  filter: brightness(.9);
}
.sub-visual h1 {
  position: absolute;
  background: white;
  padding: 4px 15px 4px 10px;
  border: 1px solid black;
  z-index: 1;
  bottom: 20px;
  left: 20px;
  margin: 0;
  /*transform: translate(-50%, -50%);*/
  box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
  font-family: 'Sawarabi Mincho', 'Noto Sans Japanese', serif, '游明朝', 'ＭＳ 明朝', 'メイリオ';
  font-weight: normal;

  background: linear-gradient(to right, gray, gray 50%, transparent);
  color: white;
  box-shadow: none;
  min-width: 200px;
  text-align: left;
  border: none;
  left: 0;
  font-size: 1.3rem;
  box-shadow: -50px -1px 30px lightgrey, -60px 1px 30px lightgrey;
  /*border-left: 10px solid orangered;*/
  line-height: 1.5;
}
.service-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.service-menu li {
  height: 50px;
  border-top: 1px dotted silver;
  line-height: 50px;
}
/*.service-menu li:last-child {
  border-bottom: 1px dotted silver;
}*/
.service-menu a {
  color: darkslategray;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: inline-block;
  transition: all 1s ease;
}
.service-menu a::before {
  font-family: "FontAwesome";
  content: "\f068";
  margin: 0 15px 0 5px;
  color: tan;
}
.service-menu a:hover,
.service-menu a.current {
  background: #F3EBE7;
}
.service-menu a:hover::before,
.service-menu a.current::before {
  color: darkslategray;
  transform: rotate(90deg);
  display: inline-block;
}
#sidebar .image-banner img {
  border-top: 1px solid plum;
  border-bottom: 1px solid plum;
}
article {
  margin-bottom: 50px;
}
article > img {
  margin: 20px 0;
}
article p + p,
article div + p {
  margin-top: 20px;
}
article h2,
article h3,
article h4 {
  font-family: serif, 'Noto Sans Japanese', '游明朝', 'ＭＳ 明朝', 'メイリオ';
  text-align: left;
  font-weight: normal;
}
article h2 {
  border-top: 1px solid darkslategray;
  border-bottom: 1px solid darkslategray;
  line-height: 1.5;
  padding: 4px 10px;
  color: darkslategray;
  background: whitesmoke;
  margin: 30px 0;
}
article h2::before {
  font-family: "FontAwesome";
  content: "\f068";
  margin: 0;
  color: darkslategray;
  transform: rotate(90deg);
  display: inline-block;
  margin-right: 5px;
}
article h3 {
  border-bottom: 1px dotted tan;
  border-left: 10px solid tan;
  padding: 0 10px;
  margin: 20px 0;
  font-size: 1rem;
  font-weight: bold;
  color: saddlebrown;
}
article h2:first-child {
  margin-top: 0;
}
article h2.data-label:before {
  transform: none;
}
article h3.data-label:before {
  margin-right: 5px;
}
article h4 {
  display: inline-block;
  padding: 0px 10px;
  margin: 10px 0;
  border-left: 10px solid lightsteelblue;
  font-weight: bold;
}
article ol,
article ul {
  padding-right: 20px;
}
article dl {
  padding: 0 20px;
}
article dd {
  margin-bottom: 20px;
}
article dd:last-child {
  margin-bottom: 0;
}
dd > dl {
  padding: 0;
  margin: 0;
}
.headline {
  font-weight: bold;
}
.headline li > h3 {
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
  /*font-weight: normal;*/
  font-family: inherit;
  font-size: 1rem;
  color: #444;
}
.headline li > p {
  padding: 0;
  font-weight: normal;
}
.linear dt {
  float: left;
  font-weight: normal;
}
.linear dd {
  margin: 0 0 0 180px;
}
.linear dd::after {
  content: "";
  display: inline-block;
  clear: both;
}
.with {
  margin: 20px 0;
}
.with img {
  width: 90%;
  max-width: 500px;
  margin: 20px auto;
  height: auto;
  display: block;
}
.with ul {
  margin: 0;
}
.photo,
.photo img {
  box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
  border: 3px solid white;
  box-sizing: border-box;
}
figure {
  margin: 20px;
}
.with figure {
  margin: 0;
}
.with figure img {
  margin: 0 20px;
}
.with figure:first-child img {
  margin-top: 20px;
}
.with figure + figure {
  margin-top: 10px;
}
article figcaption {
  text-align: center;
  color: #666;
  font-size: .8rem;
}
.with figcaption {
  margin: 10px auto;
}
figcaption + img,
img + figcaption,
.with figcaption + img,
.with img + figcaption {
  margin-top: 10px;
}
.with .fit {
  height: 150px;
  object-fit: contain;
}
.fade {
  display: inline-block;
  position: relative
}
.fade::after {
  position: absolute;
  display: block;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to left, transparent 40%, #fff 100%);
  box-shadow: inset 0 0 20px #fff, inset 0 0 20px #fff, inset 0 0 20px #fff, inset 0 0 20px #fff;
}
article .fee {
  background: lavender;
  padding: 20px;
}
article ul.fee {
  padding-left: 40px;
}
.price-list {
  overflow-x: scroll;
  /*-webkit-overflow-scrolling: touch;*/
  border: 1px solid gray;
  border-right: none;
  border-left: none;
}
.price-list::-webkit-scrollbar {
  height: 6px;
}
.price-list::-webkit-scrollbar-track {
  margin: 0 2px;
  background: #ddd;
  border-radius: 3px;
}
.price-list::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #999;
}
/*
.price-list {
  overflow: auto;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.2)) 0 0/20px 100%, linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.2)) right/20px 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
  border-right: 1px solid #ccc;
}
.price-list table {
  background: linear-gradient(to left, hsla(0,0%,100%,0), white 15px) 0 0 / 50px 100%, linear-gradient(to right, hsla(0,0%,100%,0), white 15px) right / 50px 100%;
  background-repeat: no-repeat;
  background-attachment: local;
  border-bottom: 1px solid #ccc;
  border-collapse: collapse;
}
*/
.price-list table {
  border-collapse: collapse;
  border-right: 1px solid gray;
  font-size: .8rem;
  table-layout: fixed;
}
.price-list th {
  background: lavender;
  color: black;
  text-shadow: 1px 1px 0 white;
  /*border-right: 1px solid grey;*/
  border-bottom: 1px solid grey;
  padding: 5px;
  position: sticky;
  left: 0;
  background: linear-gradient(to right, lavender 99%, gray);
  cursor: auto;
}
.price-list td {
  border-bottom: 1px solid gray;
  border-right: 1px dotted gray;
  padding: 5px;
  vertical-align: top;
  cursor: ew-resize;
  width: 200px;
}
.price-list thead th {
  min-width: 130px;
}
.price-list thead td {
  /*width: 125px;*/
  min-width: 200px;
  box-sizing: border-box;
  /*background: lavender;*/
  background: rgba(0, 0, 204, 0.1);
  color: black;
  text-shadow: 1px 1px 0 white;
  border: none;
  border-right: 1px dotted grey;
  border-bottom: 1px solid grey;
}
.price-list table ul {
  padding: 0 0 0 20px;
  margin: 0;
}
.price-list th + th {
  width: 40px;
}
.price-list .lines {
  text-align: left;
  position: relative;
}
.price-list .lines span {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  border-left: 1px solid gray;
  border-bottom: 1px solid gray;
  width: 50px;
  height: 33px;
  text-align: center;
  line-height: 33px;
}
.price-list .lines span:last-child {
  top: auto;
  bottom: 0;
  border-bottom: none;
}
.price-list img {
  height: 150px;
  width: auto;
  display: block;
  margin: 10px auto;
  border-radius: 10px;
}
.price-list td ul dl {
  padding: 0;
}
.price-list td ul dd {
  margin: 0;
}
article .qa {
  margin-right: 20px;
  padding: 0;
}
article .qa dt {
  margin-left: 40px;
  position: relative;
  font-weight: normal;
}
article .qa dd {
  margin: 0 0 20px 40px;
  position: relative;
}
article .qa dd:last-child {
  margin-bottom: 0;
}
article .qa dt::before {
  content: "Q";
  font-weight: bold;
  margin-right: 5px;
  background: lightcoral;
  color: white;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  position: absolute;
  top: 0;
  left: -40px;
}
article .qa dd::before {
  content: "A";
  font-weight: bold;
  margin-right: 5px;
  background: royalblue;
  color: white;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  display: inline-block;
  position: absolute;
  top: 0;
  left: -40px;
}
.point,
.check {
  list-style-type: none;
  padding-left: 20px;
}
.point li::before,
.check li::before {
  font-family: "FontAwesome";
  content: "\f14a";
  margin-right: 10px;
  font-size: 1.5rem;
  vertical-align: middle;
  color: tomato;
}
section.table {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: initial;
  border-top: 1px solid gray;
}
section.table:last-of-type {
  border-bottom: 1px solid gray;
}
/**flex-flow: column;**/
section.table > div {
  /*border: 1px solid darkgrey;*/
}
/**border: none;**/
section.table > div:last-child {
  border-left: 1px solid gray;
  margin: 0;
  padding: 1rem;
  background: lavenderblush;
}
/**border: none;**/
section.table + section.table div {
  border-top: none;
}
section.table h3 {
  border: none;
  text-align: center;
  color: white;
}
section.table h3 span {
  display: inline-block;
  background: coral;
  padding: 0 10px;
}
section.table img {
  width: 120px;
  height: auto;
  margin: 0 auto auto;
  display: block;
}
section.table p {
  padding: 0;
}
.locallink {
  margin: 30px auto 0;
}
.locallink a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  background: #51587b;
  color: rgb(255, 255, 255);
  transition: .4s;
  display: block;
  margin: auto;
  width: 200px;
  text-align: center;
}
.kids .locallink a {
  width: 300px;
}
.locallink a::before {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 25px white;
  border-bottom: solid 41px transparent;
  z-index: 1;
  transition: .4s;
}
.locallink a::after {
  position: absolute;
  content: '';
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 25px transparent;
  border-bottom: solid 41px white;
  z-index: 1;
  transition: .4s;
}
.locallink a:hover:before {
  border-bottom: none;
  border-top: solid 41px transparent;
}
.locallink a:hover:after {
  /*border-left-width: 25px;*/
  border-bottom: none;
  border-top: solid 41px white;
}
.locallink a:hover {
  background: #2c3148;
}
.locallink-kids {
  margin-top: 30px;
}
.locallink-kids h2 {
  bottom: auto;
  top: 100px;
}
.locallink-kids h2::before {
  content: none;
}
article form {
  margin: 0 20px;
  border: 1px solid lightgray;
  padding: 20px;
  position: relative;
}
article form p {
  margin: 0;
  padding: 0;
}
article form p:empty {
  display: none;
}
article form > p .required {
  color: red;
}
form > div {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
}
form > div > label {
  display: block;
  width: 200px;
}
input[type=text],
input[type=tel],
input[type=email],
input[type=date], select {
  height: 1.5rem;
  border-radius: 5px;
  border-style: none;
  border: 1px solid silver;
  box-shadow: 1px 1px darkgrey;
  box-sizing: content-box;
}
input[type=date] {
  width: 125px;
  margin-left: 10px;
}
form #reply-ways span {
  margin: 0;
}
form textarea {
  padding: 5px;
  border-radius: 5px;
  box-shadow: 1px 1px darkgrey;
}
input[type=text],
input[type=tel],
input[type=email],
textarea,
.reply-ways,
.select-date {
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}
form input[type=submit] {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 0 30px;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  background: #51587b;
  color: rgb(255, 255, 255);
  transition: .4s;
  display: block;
  margin: auto;
  width: 200px;
  text-align: center;
  cursor: pointer;
}
article form .required > label::after {
  content: "*";
  color: red;
  font-weight: bold;
  margin-left: 5px;
  display: inline-block;
}

/* Subpage(single.php) */
/*
article header h1 {
  margin: 0;
  text-align: left;
  font-weight: bold;
  background: linear-gradient(to bottom, white 49%, black 50%, white 51%);
}
article header h1 span {
  display: inline-block;
  padding: 0 1rem;
  background: white;
  margin: 0 20px;
}
*/
article header {
  margin-bottom: 30px;
}
.single article header h1,
.archive main h1 {
  margin: 40px auto 30px;
}
article .publish-data {
  text-align: center;
}
.single article header img {
  max-width: 90%;
  margin: auto;
  margin-top: 10px;
  box-shadow: 0px 0px 20px -5px rgba(0, 0, 0, 0.8);
  border: 3px solid white;
  box-sizing: border-box;
}
article footer {
  background: lavender;
  padding: 20px;
  border: none;
  margin-top: 30px;
  margin-bottom: 0;
}
article footer ul {
  margin: 0;
  list-style-type: none;
  text-align: right;
  font-size: .9rem;
  padding: 0;
}
article footer .post-categories,
article footer .post-categories li,
article footer .post-tags,
article footer .post-tags li {
  display: inline;
}
article footer .post-categories li + li,
article footer .post-tags li + li {
  margin-left: 5px;
}
article footer .post-categories a,
article footer .post-tags a {
  text-decoration: underline;
}
/*
.single .topic h1 {
  position: relative;
  padding: 0.6em;
  background: #e0edff;
  box-shadow: 1px 1px 3px grey;
}
.single .topic h1::after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 20px solid #e0edff;
  width: 0;
  height: 0;
  filter: drop-shadow(1px 1px 1px gray);
}
*/
.single img {
  height: auto;
}
.single article,
.archive article {
  margin-bottom: 30px;
}
.sidebar-title {
  margin: auto 20px;
}
.archive .sidebar-wrapper,
.single .sidebar-wrapper {
  margin: 30px 0;
}
.sidebar-wrapper ul {
  padding-left: 45px;
  padding-right: 20px;
  margin-top: 5px;
}
.humming {
  list-style-type: none;
  padding-left: 20px;
}
.process {
  list-style-type: none;
  padding-left: 20px;
}
.process li::after {
  font-family: "fontawesome";
  content: "\f175";
  display: block;
  margin-left: 5px;
}
.process li:last-child::after {
  content: none;
}
/* Subpage(index.php) */
.archive main ul {
  padding: 0;
  list-style-type: none;
}
.archive .summary {
  position: relative;
}
.archive h2 {
  text-align: left;
  text-decoration: none;
  font-weight: bold;
  padding: 35px 20px 0;
  margin: 0;
}
.archive h2 a {
  text-decoration: none;
  color: darkslategray;
}
.archive .summary {
  margin-bottom: 30px;
}
.archive .summary time {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: darkslategray;
  color: white;
  padding: 2px 10px;
}
.archive .excerpt .more {
  background: olive;
  color: white;
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: .9rem;
  margin-left: 5px;
  display: inline-block;
}
.pagenation ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.pagenation li a:not(.prev):not(.next),
.pagenation .current {
  margin: 5px;
  border: 1px solid lightgray;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 35px;
  display: block;
  text-decoration: none;
  background: lightgray;
  color: black;
}
.pagenation .current,
.pagenation li a:not(.prev):not(.next):hover {
  background: darkslategray;
  color: white;
}
.pagenation .prev,
.pagenation .next {
  color: darkslategray;
  margin: 0 10px;
  text-decoration: none;
}
.cta {
  margin: auto 5% 50px;
}
.cta .logo {
  width: 65px;
}
.cta h2 {
  border: 1px solid gray;
  background: white;
  font-size: 18px;
  color: black;
  border-radius: 0;
  padding: 10px;
  margin: 0;
  float: right;
  width: calc(100% - 85px);
  border-radius: 10px;
  box-sizing: border-box;
  position: relative;
  min-height: 100px;
  text-align: left;
}
.cta h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -25px;
  top: 27px;
  border-right: 25px solid gray;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.cta h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -21px;
  top: 27px;
  border-right: 25px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.cta ul {
  list-style-type: none;
  padding-left: 0;
  clear: both;
  padding-top: 15px;
  margin: 0;
}
.cta li::before {
  font-family: "fontawesome";
  content: "\f064";
  margin-right: 10px;
  display: inline-block;
  transform: scale(1, -1);
}
.cta a,
.contact article a {
  text-decoration: none;
}
.cta a:hover,
.contact article a:hover {
  text-decoration: underline;
}
.cta a[href^=tel] span,
.contact article a[href^=tel] span {
  display: none;
}
.business-hours {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.business-hours .note {
  position: absolute;
  /* bottom: -20px; */
  /* right: 0; */
  text-align: unset;
}
.business-hours .opening {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: .7rem;
  text-shadow: 1px 1px 0 white;
}

@media screen and (min-width: 1050px) {
  /* COMMON START */
  /*
  ::-webkit-scrollbar {
    width: 12px;
  }
  ::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 0 2px #fff;
    box-shadow: inset 0 0 0 2px #fff;
  }
  ::-webkit-scrollbar-track {
    background: #fff;
    border-left: solid 1px #ececec;
  }
  */
  .br:before {
    content: none;
    white-space: auto;
  }
  #back-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,.5);
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    z-index: 1;
  }
  #back-top a {
    color: white;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
  }
  #back-top a::before {
    font-family: "fontawesome";
    content: "\f077";
  }
  #top {
    display: flex;
    justify-content: space-between;
  }
  .image-banner {
    padding: 30px 0;
  }
  .image-banner img {
    border: 1px solid #F04F63;
  }
  #child-dentistry,
  #about,
  #service,
  #policy,
  #information {
    padding: 80px 10px;
    margin: 0 auto;
  }
  #child-dentistry h1,
  #about h1,
  #service h1,
  #policy h1,
  .archive main h1,
  .single article header h1 {
    font-family: serif, '游明朝', 'ＭＳ 明朝', 'メイリオ';
  }
  .single article header h1,
  .archive main h1 {
    margin: 20px auto 30px;
  }
  #about {
    width: 900px;
  }
  #about .message {
    width: 800px;
    margin: 0 auto;
  }
  #about .message + div {
    margin-top: 30px;
  }
  #about-outer::after {
    background-size: cover;
  }
  /*
  .bg::after {
    width: 100vw;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    right: calc((100vw - 820px -17px) / 2 * (-1));
    display: block;
    z-index: -2;
    background: url(fdfa698b9b15ff787acb38db2aeaa3f0_s.jpg) repeat center;
    background-size: cover;
  }
  .bg-alpha::before {
    width: 100vw;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    right: calc((100vw - 820px -17px) / 2 * (-1));
    display: block;
    z-index: -1;
    background: rgba(255,255,255,.5);
  }
  #about::after {
    background: url(b060702331e729e48a503dbf7c4dc430_s.jpg) center repeat;
    background-size: cover;
  }
  #about::before {
    background: rgba(255,255,255,.5);
  }
  #service {
    background: url(image.png);
    background-size: initial;
  }
  #policy::after {
    right: calc((100vw - 920px -17px) / 2 * (-1));
    background: url(ed6214f7b43378dfae8cfff052604a24_s.jpg) center repeat;
    background-size: cover;
  }
  #policy::before {
    right: calc((100vw - 920px -17px) / 2 * (-1));
  }
  #information::after {
    right: calc((100vw - 1020px -17px) / 2 * (-1));
    background: url(9cea08790c8c9f97ea3c9388a9aa792d_s.jpg) center repeat;
  }
  #information::before {
    right: calc((100vw - 1020px -17px) / 2 * (-1));
  }
  */
  #service header {
    width: 700px;
    margin: 0 auto;
  }
  #service section:nth-of-type(3) .thumbnail img {
    height: 100%;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    margin: 0;
  }
  #service section {
    margin: 30px auto;
    background: white;
    box-shadow: 1px 1px 1px grey;
    border: 1px solid lightgrey;
    max-width: 500px;
  }
  #service .title {
    position: relative;
    background: white;
    /*overflow: hidden;*/
  }
  #service h2 {
    position: absolute;
    top: calc(100% + 5px);
    padding-left: 20px;
    font-size: 1.2rem;
    font-size: 17px;
  }
  #service .thumbnail {
    height: 200px;
    box-shadow: none;
  }
  #service .thumbnail img.vertical-fit {
    width: auto;
    height: 100%;
  }
  #service section p {
    margin-top: 40px;
    padding-bottom: 10px;
    color: #666;
    font-size: 14px;
    display: block;
  }
  #menu {
    width: 1000px;
    margin: 30px auto 0;
    display: flex;
    /*justify-content: space-around;*/
    flex-wrap: wrap;
  }
  #menu section {
    width: 30%;
    margin: 30px 15px 0;
  }
  #policy {
    width: 900px;
  }
  #policy section {
    flex-wrap: nowrap;
    max-width: 100%;
  }
  #policy section:nth-child(even) {
    flex-flow: row-reverse;
  }
  #policy .lead,
  #policy .thumbnail {
    width: 50%;
    margin: 5px 20px 20px;
  }
  #policy .thumbnail {
    height: 270px;
  }
  #policy section:last-child .lead,
  #policy section:last-child .thumbnail {
    margin-bottom: 0;
  }
  #policy h2 {
    margin-top: 0;
  }
  #policy .teeth-icon {
    left: 25%;
  }
  #policy section:nth-child(odd) .teeth-icon {
    left: 75%;
  }
  #child-dentistry li {
    margin-bottom: 0;
  }
  #child-dentistry h2 {
    font-family: "Noto Sans Japanese", "Yu Gothic", serif;
    font-weight: normal;
  }
  .reservation,
  .job-offer {
    padding: 20px 0px;
  }
  .reservation h1,
  .job-offer h1 {
    text-align: left;
  }
  .reservation p,
  .job-offer p {
    padding: 0;
  }
  .reservation .button, 
  .job-offer .button {
    margin: 0;
  }
  #job-offer {
    padding-bottom: 30px;
  }
  #job-offer section,
  #about section {
    width: 400px;
  }
  #job-offer .banner:first-of-type,
  #about .banner:first-of-type {
    margin-top: auto;
  }
  .inner {
    display: flex;
    width: 900px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
  }
  #information {
    width: 1000px;
    display: flex;
    justify-content: space-between;
  }
  #news,
  #blog {
    width: 49%;
    padding: 0;
  }
  #news li,
  #blog li {
    line-height: 1.8;
  }
  body:not(.home) #content main {
    width: 70%;
  }
  #sidebar {
    width: 30%;
    padding-right: 50px;
    box-sizing: border-box;
  }
  #sidebar .image-banner img {
    border: 1px solid plum;
    box-sizing: border-box;
  }
  .fixedblock {
    top: 40px;
    width: 265px;
    position: fixed;
    overflow-y: scroll;
    /*height: 100%;*/
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
  }
  .fixedblock::-webkit-scrollbar {
    display: none;
  }
  .fixedblock > *:last-child {
    margin-bottom: 100px;
  }
  .pc {
    display: block;
    /*display: inline-block;*/
  }
  #copyright .pc {
    display: inline-block;
  }
  #copyright .pc:first-of-type {
    margin-right: .5rem;
  }
  #copyright .pc:last-of-type {
    margin-left: .5rem;
  }
  .mobile {
    display: none;
  }
  /* COMMON END */
  #header-inner {
    align-items: center;
    width: 1000px;
    margin: auto;

    height: auto;
  }
  .logo {
    width: auto;
  }
  .logo img {
    position: initial;
    width: 70px;
    margin: 0 0 15px;
  }
  #site-name a {
    margin: 0 10px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: serif, 'Sawarabi Mincho', 'Noto Sans Japanese', '游明朝', 'ＭＳ 明朝', 'メイリオ';
  }
  #site-name span {
    font-size: 1rem;
  }
  #header-inner .button,
  #footer-inner .button {
    width: 60px;
    height: 60px;
    margin: 10px;
    box-shadow: 2px 2px 2px grey;
    background: olivedrab;
    background: #f8a62a;
    background: sandybrown;
    background: #FF7183;
    background: #FF4E64;
    font-size: .7rem;
    padding: 5px 5px;
    line-height: 1.7;
    border-radius: 50%;
    text-shadow: none;
    font-weight: normal;
    font-family: "Noto Sans Japanese", "Yu Gothic", serif;
  }
  #header-inner a.button:hover, 
  #footer-inner a.button:hover {
    opacity: .8;
  }
  #navigation .icon {
    margin: 10px;
  }
  .icon.pc {
    display: flex;
    /*border-top: 1px solid olivedrab;
    border-bottom: 1px solid olive;*/
    position: relative;
    /*margin-left: auto;
    margin-bottom: auto;*/
  }
  .icon a::before,
  .icon div::before {
    font-family: "FontAwesome";
    font-size: 1.3rem;
    display: block;
  }
  .icon a:nth-of-type(1)::before {
    content: "\f274";
  }
  .icon a:nth-of-type(2)::before {
    content: "\f041";
  }
  .icon div::before {
    content: "\f095";
  }
  .icon div {
    position: relative;
    cursor: default;
  }
  .icon .tel {
    position: absolute;
    text-align: center;
    font-family: 'Courier', 'Times New Roman';
    font-weight: bold;
    /*border-radius: 5px;*/
    /*border-bottom: 1px solid;*/

    visibility: hidden;
    opacity: 0;
    transition: opacity 1s;
    width: 200px;
    background: lightblue;
    color: royalblue;
    border: 1px solid royalblue;
    padding: 5px 0;
    /*border-radius: 6px;*/
    font-size: .9rem;
    margin-top: 10px;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    font-size: 1.2rem;
    box-shadow: 1px 1px 2px grey;
    z-index: 1;
    display: block;
    text-shadow: 1px 0 1px white;
  }
  .icon .tel::before {
    font-family: "FontAwesome";
    content: "\f095";
    display: inline-block;
    margin-right: 5px;

    background: royalblue;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
  }
  .icon .tel::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -7px;
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent royalblue transparent;
  }
  .icon div:hover .tel {
    visibility: visible;
    opacity: 1;
  }
  #header-inner .business-hours {
    margin: 0 0 0 auto;
  }
  .main-visual {
    max-height: 550px;
  }
  .main-visual .catch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
    margin: 0;
  }
  .main-visual img {
    /*height: 500px;*/
  }
  .catchcopy {
    position: static;
    transform: none;
    margin: auto;
    font-size: 2.4rem;
    font-family: serif;
    top: 50%;
  }
  .catchcopy strong {
    text-shadow: 1px 0px 0px gold, -1px 0px 0px gold, 0px 1px 0px gold, 0px -1px 0px gold, 1px 1px 3px black, -1px -1px 3px black, 0px 0px 10px black, 0px 0px 50px black;
    font-weight: normal;
    padding-right: 5px;
    /* font-size: 3rem; */
  }
  .shortcut-link {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    max-width: 900px;
    margin: auto;
  }
  .shortcut-link section {
    background: rgba(0,0,0,.5);
    padding: 0 0 30px;
    width: 45%;
    max-width: 400px;
    border-radius: 10px;
    margin-top: 50px;
  }
  .shortcut-link h2 {
    color: white;
    font-size: 1.1rem;
  }
  .shortcut-link .button {
    background: white;
    color: black;
    text-shadow: none;
    font-weight: bold;
    font-family: "Yu Gothic";
  }
  nav {
    width: 100%;
    margin: auto;
    border-bottom: 1px solid lightgrey;
    z-index: 10;
    /*
    background: #3D281E;
    background: white;
    background: #FF7183;
    background: linear-gradient(to bottom, #FF7183, #FF7183 70%, #e63453);
    background: linear-gradient(to bottom, #FF99A6, #FF99A6 70%, #FF7183);
    background: linear-gradient(to bottom, #FF99A6, #FF99A6 50%, #FF7183 51%, #FF7183);
    */
    background: linear-gradient(to bottom, transparent, #ddd);
    text-shadow: -1px -1px 0 white;
  }
  nav .links {
    display: flex;
    justify-content: space-around;
    border: none;
    max-width: 1000px;
    margin: auto;
  }
  nav .links > li {
    margin: 5px 10px;
    border: none;
    padding: 3px 15px;
    border-radius: 5px;
    cursor: pointer;
  }
  nav .links a {
    color: white;
    /*color: darkolivegreen;*/
    color: darkslategray;
    text-decoration: none;
    /*padding: 0 10px;*/
    font-size: .9rem;
    font-weight: bold;
    text-align: center;
    /*border-radius: 5px;*/
    /*text-shadow: 0px 0px 1px black;*/
  }
  nav .links > li:hover,
  nav .current,
  nav .open {
    background: white;
    box-shadow: 1px 1px 1px grey;
  }
  nav .links li:hover a,
  nav .current a,
  nav .open a {
    color: olivedrab;
    color: #405050;
    text-shadow: none
  }
  nav .links a::after {
    content: none;
  }
  .accordion {
    position: relative;
  }
  .accordion::after {
    font-family: "FontAwesome";
    content: "\f0d7";
    z-index: 1;
    position: absolute;
    color: white;
    /*color: darkolivegreen;*/
    color: darkslategray;
    left: 50%;
    top: 13px;
    transform: translateX(-50%);
    font-size: 1.2rem;
    /*text-shadow: 0px 0px 1px black;*/
    text-shadow: -1px -1px 0 white;
  }
  .accordion.open::after {
    color: white;
    text-shadow: none;
  }
  .accordion > span {
    font-size: .9rem;
    font-weight: bold;
    display: block;
    cursor: initial;
    color: darkslategray;
  }
  .accordion ul {
    display: none;
    position: absolute;
    top: 41px;
    left: 0;
    z-index: 10;
    border-radius: 0 5px 5px 5px;
    padding: 0;
    background: #fff;
    box-shadow: 1px 1px 1px grey;
  }
  .accordion li {
    border: none;
    border-top: 1px solid lightgrey;
    height: 1.5rem;
    line-height: 1.5;
    list-style-type: none;
    white-space: nowrap;
    padding: 10px 15px;
    cursor: pointer;
  }
  .accordion li:first-child {
    border-radius: 0 5px 0 0;
  }
  .accordion li:last-child {
    border-bottom: 0;
    border-radius: 0 0 5px 5px;
  }
  .accordion li a {
    color: olivedrab;
    text-align: left;
  }
  .accordion li:hover {
    background: lavender;
  }
  nav .links > li.open {
    border-radius: 5px 5px 0 0;
  }
  footer {
    margin-bottom: 0;
  }
  footer header {
    padding: 0 10px 0 0;
  }
  #footer-inner {
    width: 1000px;
    margin: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  #footer-inner .business-hours {
    margin: 0 0 0 auto;
  }
  #header-inner {
    padding: 10px 0;
  }
  #footer-inner {
    padding: 10px 0 15px;
  }
  #header-inner .business-hours table,
  #footer-inner .business-hours table {
    margin: 0 auto;
  }

  /* SubPage */
  body:not(.home) #content {
    display: flex;
    margin: 50px auto 50px;
    flex-wrap: nowrap;
    flex-flow: row-reverse;
  }
  .sub-visual {
    height: 300px;
  }
  .sub-visual img {
    /*bottom: 110px;*/
    /*filter: brightness(110%);*/
  }
  .sub-visual::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background: linear-gradient(to left, transparent 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,1) 100%),
                linear-gradient(to right, transparent 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,1) 100%);
    /*box-shadow: inset 50px 0px 50px 0px #fff, inset -50px 0px 50px 0px #fff;*/
  }
  .sub-visual h1 {
    bottom: 40px;
    font-family: serif, 'Sawarabi Mincho', 'Noto Sans Japanese', '游明朝', 'ＭＳ 明朝', 'メイリオ';
    padding: 5px 150px 5px 20px;
    letter-spacing: 5px;
    min-width: 250px;
    font-size: 1.5rem;
    /*font-weight: bold;*/
    line-height: 1.8;
  }
  .service-menu li:last-child {
    border-bottom: 1px dotted silver;
  }
  article {
    margin-bottom: 0;
  }
  article h2 {
    border: 1px solid darkslategray;
    border-radius: 5px;
  }
  .with {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  .with > p {
    width: calc(100% - 300px);
    box-sizing: border-box;
  }
  .with img {
    width: 300px;
    min-width: 300px;
    height: auto;
    margin: 0 auto auto;
    display: block;
  }
  .with img + img,
  .with + .with {
    margin-top: 20px;
  }
  .with figcaption {
    margin: 0;
  }
  figcaption + img,
  img + figcaption,
  .with figcaption + img,
  .with img + figcaption {
    margin-top: 10px;
  }
  .with figure img {
    margin: 0;
  }
  .with figure:first-child img {
    margin-top: 0;
  }
  .with h3 {
    margin: 0 20px 20px;
  }
  .price-list {
    border-left: 1px solid gray;
    max-width: 100%;
    display: inline-block;
  }
  .price-list .lines {
    position: sticky;
  }
  section.table {
    border: 1px solid gray;
    border-bottom: none;
  }
  section.table img {
    width: 200px;
  }
  .archive .sidebar-wrapper,
  .single .sidebar-wrapper {
    margin: 0 0 30px;
  }
  .sidebar-title {
    margin: auto 0;
  }
  .sidebar-wrapper ul {
    padding-left: 25px;
    padding-right: 0;
  }
  .cta {
    /*margin: 50px 5% auto;*/
    margin: 50px auto 0;
  }
  .cta .logo {
    width: 70px;
  }
  .cta h2 {
    width: calc(100% - 100px);
  }
  .cta ul {
    padding-left: 100px;
  }
  .cta a[href^=tel],
  .contact article a[href^=tel] {
    pointer-events : none;
    cursor: default;
    text-decoration: none;
  }
  .cta a[href^=tel] span,
  .contact article a[href^=tel] span {
    display: inline-block;
    margin-left: 5px;
  }
  .cta a[href^=tel] span::before,
  .contact article a[href^=tel] span::before {
    content: '（';
  }
  .cta a[href^=tel] span::after,
  .contact article a[href^=tel] span::after {
    content: '）';
  }
  .history {
    padding-top: 0;
  }
}

/* Eyecatch */
@media screen and (min-width: 1050px) {
  .caries .eyecatch,
  .denture .eyecatch,
  .visiting .eyecatch,
  .support .eyecatch {
    top: 200px;
  }
  .perio .eyecatch {
    top: -600px;
  }
  .orthodontic .eyecatch,
  .whitening .eyecatch,
  .price .eyecatch {
    top: 100px;
  }
  .implant .eyecatch,
  .map .eyecatch {
    top: -150px;
  }
  .child .eyecatch,
  .welcome .eyecatch {
    top: 150px;
  }
  .recruit .eyecatch,
  .recruiting .eyecatch {
    top: 400px;
  }
  .doctor .eyecatch {
    width: 60%;
  }
  .doctor .sub-visual::after {
    background: linear-gradient(to left, transparent 0%, rgba(255,255,255,1) 20%,  rgba(255,255,255,0.1) 50%, rgba(255,255,255,1) 100%), linear-gradient(to right, transparent 0%, rgba(255,255,255,1) 20%,  rgba(255,255,255,0.1) 50%, rgba(255,255,255,1) 100%);
  }
}
@media screen and (max-width: 1049px) {
  .maternity .eyecatch {
    width: 110%;
  }
  .recruit .eyecatch, 
  .recruiting .eyecatch {
    top: 90px;
  }
}

/* Blog Page */
.arrow-down::after {
  font-family: "fontawesome";
  content: "\f175";
  display: block;
  margin-left: 5px;
}
.oneline dt {
  float: left;
  margin-right: 15px;
}
.oneline dd {
  margin: 0;
}
.oneline dd::after {
  content: "";
  display: inline-block;
  clear: both;
}
.single article blockquote {
  margin: 0;
}

@media screen and (max-width:768px) {
.message td {
  display: block;
  width: 100%;
 }

.home .image-banner img {
  margin-top:10px;
  border: 1px solid #F04F63;
  width: 98%;
  margin: 10px auto;
}

}




.center-tabnav {
	margin-bottom: 24px;
	font-size: 1.2rem;
	margin: 0 auto 40px;
}
.center-tabnav a {
	color: #958d81;
}
.center-tabnav ul {
	padding: 0;
}
.center-tabnav .nav-tabs > li.tabactive > a,
.center-tabnav .nav-tabs > li.taactive > a:hover,
.center-tabnav .nav-tabs > li.taactive > a:focus {
	color: #2f4f4f;
	background-color: transparent;
	border: 1px solid #2f4f4f;
	border-bottom-color: transparent;
	cursor: default;
	background-color: #f5f5f5;
}
.nav-tabs.nav-justified {
	width: 100%;
	border-bottom: 0;
}
.nav-tabs.nav-justified > li {
    display: table-cell;
    width: 1%;
    float: none;
    text-align: center;
    vertical-align: bottom;
}
.nav-tabs.nav-justified > li > a {
	border-bottom: 1px solid #2f4f4f;
	border-radius: 4px 4px 0 0;
	position: relative;
    display: block;
    padding: 10px 4px;
    font-size: 14px;
    text-decoration: none;
}


@media screen and (max-width:768px) {
.center-tabnav ul {
}
.nav-tabs.nav-justified > li > a {
	font-size: 12px;
}
}



.iframe_video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}
.iframe_video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.iframe_form {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 100%;
}
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}
  