*{margin: 0; box-sizing:border-box;
  font-size: 14pt; font-weight: bolder; font-family: 'Noto Serif JP', sans-serif;}

  body,html {height:100%}
  body#page1, #page2, #page3, #page4{background-image: url('yzm09081.jpg');
  background-size:cover; background-repeat: repeat-y; }
  #page2, #page3, #page4{background-image: url('yzm0919.jpg'); }
  section#border {margin: auto; width:100%; height:7px; background-color: #d9fbfe; }
  main {padding-top: 0px; width:80%; height: 1900px; margin:auto;
    background-color: white; opacity: .85; border-styl: outset; outlin: 1.5px solid white; outline-offset: 20px;}

  .scroll{
  position: relative;
  z-index: 1;
}
section#sec1{position:relative;
  height: 1050px;
  background-image: url('yzm1013.png');
  background-size:100%;
  box-shadow: 0px 0px 40px inset #8bf9f547;
}

div.Comment {position: absolute; heigh: 275px;
           box-shadow: 0 50px 30px #666666; left:50%; width:20%; z-index:2;}

           #panel, #flip {
             padding: 5px;
             text-align: center;
             background-color: white;font-family: cursive;

           }

           #panel {
             padding: 50px;
             display: none;
           }

div.Pics_Doc {z-index: 2; width:25%; widt: 35%; heigh: 367px; position:absolute; top:15%; left:28%;left:28%;
  /*box-shadow: -5px 10px 15px #666666;*/ padding: 0 ;
color: #495193; color:black; text-decoration: none;}
  /*a, .Pics_Doc {width: 275px; heig: 30px; top:374px;
color:black; text-decoration: none;}*/
div.Docpic4 {position:absolute; top:740px; left:30%; width:60%; box-shadow: 0 5px 50px #666666; }

section#sec2{
  height: 200px;
  background: 0;
}
section#sec2:before{
  content: "";
  width: 100%;
  height: 1100px;
  background: url(ymzm2.jpg) no-repeat center / cover;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -8;
  display: block;
}

section#sec3{ box-shadow: 0px 0px 14px inset;
  height:100px;
  background:pink;
  /*background-image:url("fall22.jpg");*/
}
  h1, h3, a {font-family: 'M PLUS Rounded 1c','Kosugi Maru','Noto Serif JP', sans-serif;
   font-weight:bolder; text-align:center; }
  h1.page1 {font-size: 49pt; font-weight:bolder; letter-spacing:9.5px;
    margin-top: 10px; margin-bottom: -5px; margin-left: 40px; text-shadow: 2px 3px 4px #666666;}
  h3 {font-size: 18pt; font-weight:bolder; letter-spacing:8px;
    margin-top: 8px; margin-bottom: 10px; margin-right: 40px; text-align: center;}
  h2 {text-align: center; margin-top: -3px; letter-spacing: 3px; }
  p.header_address {font-size: 15pt;text-align: center; padding-right: 40px; margin-right: 50px; letter-spacing: 3.5px;}
  p.header_phone {font-size: inherit; text-align: center; padding-top: 10px; }
  .fas {font-weight: 800;}
  span.header_phn_span {font-family:'Hepta Slab'; font-size: 30px;　text-align: center; ltter-spacing: 0px; margin-right: 100px;}
  ol{text-align:center; text-shadow:1px 1px 5px #595e604a;background-color: white;
    padding-top: 5px; padding-bottom: 5px; padding-inline-start:300px;}
  li{display:inline;
    padding-right: 20px; padding-left: 20px;}
  li {color:white;}

.topnav a:hover {color: green; }

  /*style the navigation menu*/

.mobile-container {display: none;
    max-width: 480px;
    margin: auto;
    background-color: none;
    height: 0px;
    color: white;
    border-radius: 10px;
  }

.topnav_mobile {width:480px;
  overflow: hidden;
}

/*Hide the links inside the navigation menu (except for logo/home) */
.topnav_mobile #myLinks {
  display: none;
}

/*Style navigation menu links */
.topnav_mobile a {
  display: block;
  padding: 16px 55px 16px 16px;
  text-decoration: none;
  font-size: 17px;
}

/*Style the hamburger menu */
.topnav_mobile a.icon {
  background: none;
  display: block;
  position: absolute;
  top: 0; z-index: 2;
}

/* Add a grey background color on mouse-over */
.topnav_mobile a:hover {
  background-color: none;
  color: black;
}

/* Style the active link (or home/logo) */
.active {
  background-color: none;
  color: none;
}

 /*End of mobile nav style (in progress) */


  img#dog {width:8%; position:absolute; top:35%; left:80%;}

  img {width: 100%;}
img#fall2022 {margin-top:50px;}
img#Comments {padding-to:100px; background-color: white; margin-top: 50px;}
  .Comments {position: absolute; background-color: #90e4e4bd ; top: -170px; right:-100px;
                    width: 450px; height: 260px;  borde-radius: 30px; box-shadow: inset 5px 5px 20px 5px #8bc34a66;}
  .Comments img{widt:150px; height:auto; float: left;border-radius:30px; padding-right: 10px;margin-left:-20px;}
  div#News {width:60%; height:150px; float:right; padding-top: 10px; overflow:hidden;}
div#flip {box-shadow: 0 0 8px 8px #e6f9f9bf inset; top:50%; left:40%;}
  .sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top:50%; to: 0;
  left: 40%;
  background-color: white;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color:black;
display: block;
transition: 0.3s;}

.sidenav a:hover {
  color: orange;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}}
　
#fall2022 {margin-top: 50px;}

div#inside {position:absolute; width:30%;top:45%;left:15%; box-shadow: -15px 5px 40px #666666;}
  .logo {position: absolute; top:20px; left:15%; width:10%; z-index: 1;}
img#title {position:absolute; width:25%; top:100px;left:60%; z-index:1;}

  div.PicsDoc {position: absolute; height: auto;
             bo-shadow: 0 10px 30px #666666; top: 700px; left:35%; width:15%; z-index: 3;}
  a, .PicsDoc {width: 275px; height: 30px; top:374px;
             color:black; text-decoration: none;}

  div.Pics_Doc1 {width: 275px; height: 367px; position:absolute; top:60px;left:-100px;
    box-shadow: -10px 10px 15px #666666; padding: 0 ;
  color: #495193; color:black; text-decoration: none;}
  a, .Pics_Doc1 {width: 275px; height: 30px; top:374px;
  color:#333658; text-decoration: none;}

  .Pics_Nature1 {position: absolute; top: -225px; left:320px;width: 350px; height: auto;}
  .Pics_Nature2 {position: absolute; top:480px; right: 0px;width: 350px; height: auto;}
  .Pics_Nature3 {position: absolute; top: 550px; right: 0px;width: 240px; height: auto;}
  div.row {box-shadow: 0px 0px 14px inset #666666;}
  .flex-box {display:flex;
  flex-wrap:wrap; margin-top:0px; /*background-image:url('20031.png');*/}
  .Schdl {width:100%;}
  .Maps {width:45%; margin:0; padding: 0 0 0 5%; }
  .right-box {width:50%; margin:0 5% 0 0; padding:0; list-style:none; }
  .right-box li {display:flex; flex-wrap; wrap; width:90%; margin: 0 0 0 auto; color:black; padding: 10px 0px 0px 0px}
  /*.container.page4 {padding-top: 80px;} */
  .caption-container.sm-container {height:60px; }
  .column {height:250px;}
  table {width:100%; background-color: white; }
  iframe {width:100%; height: 600px; box-shadow: 0 0 10px #666666;}
  img.Map1 {width:100%; height:auto;}
  img.howto {box-shadow:0 0 10px #666666;}


  table.timetable { width: 100%; }
  table, th, td { border: 2px solid #d6aa0c; border-collapse: collapse;
    margin-top: 0px; margin-left: 0px;
    padding: 4px 15px 4px 15px ; text-align: center;}

  footer.CopyrightEtc { margin-top: 0px; text-align: center;}
  div#ArrowFooter {width:47px; height:47px; float:right;}
  p#DescFooter {font-size: 13px;}
  .content {position:relative; overflow:hidden; padding:70px 30px;}
  p#caption {line-height:normal; font-size: 28px; }

body#page2 {position:relative;}
main#Pages_Container {opacity: .95; margin-top: 30px; margin-bottom: 72px; border-radius: 30px; width:70%; }
h1 {font-size: 20px; padding-top: 5px; }
.news_title {text-align: center;}
p.news {text-align: left;;}

body#page3 {position:relative; }
main#Pages_Container {opacity: revert; margin-top: 30px; margin-bottom: 72px; border-radius: 30px; width:70%; }
main.page3 {height: 1500px; }
h1 {font-size: 35pt; padding-top: 5px; }
footer.CopyrightEtc#Secondpage {margin-top: 0px;}
.bio-header.page-header {position:relative; display:block; max-width: 100%; height:100px }
.right {position:absolute; top:50%; left:55%; -webkit- transform:translateY(-50%); transform: translateY(-50%);}
.left {max-width:1000px; margin:0 auto; }
.doc1 .left .text {width:50%; }
.left .intro {margin:30px 0; padding:30px 0;line-height: 1.5; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd;}
.doc2 .right{left:auto; right: 55%; }
.doc2 .left .text {float:right; }
.content .left .text {width:50%; }
ul {display:block;}
li.bio{ display:block; position:relative; margin-bottom: 0px; padding-left:20px; font-size: 16px; color: black;}


body#page4 {position:relative;}
main#Pages_Container {opacity: revert; margin-top: 30px; margin-bottom: 72px; border-radius: 30px; width:70%; }
div#contact {width:100%;}
.caption-container#page4 {height:550px; }

img.column.sm-contact {height:100%; }
h1 {font-size: 35pt; padding-top: 5px; }
.content.contact{padding:0px 60px;}
p.contact {text-align: center;}

@media screen and (max-width:1950px)
{img#dog{top:40%;}

  @media screen and (max-width:1700px)
  {.logo {left:200px; }
  h1.page1 {font-size: 49pt; }
  section#sec1 {height:1000px;}
  img#dog{top:45%;}
  .right-box {width:45%;}

  @media screen and (max-width:1475px)
  {body#page1 {background-image: url('道路側1.jpg');
  max-width: 1475px;}
  main {width:80%; heght: 1700px;}
  header h1, h2, h3 {text-align: center; margin-left: 10px;}
  h1.page1 {width:90%; font-size: 55px; margin-left: 5px;}
  h1 {font-size: 30px; }
  h3 {font-size: 17pt;}
  p.header_address {text-align: left; margin-left: 10px;}
  p.header_phone {margin-left: 30px; text-align: left; }
  img#title {left:60%;}
  ol{text-align:center; text-shadow:1px 1px 5px #;
    padding-top: 5px; padding-bottom: 5px; padding-inline-start:40px;}
  li{display:inline;
    padding-right: 20px; padding-left: 20px;}
  li a.icon{color: white;}
  a.icon, Pics_Doc1 { width: 200px;}
  a.icon { display:none;}
  .fa {font-size: -webkit-xxx-large;}
  .WelcomeImage {width:70%; margin-top:-1350px;}
  .Pics_Nature1 {top:-255px; left:0px;}
  .logo {width:13%;top:0px; left:15%; z-index:1;}
  div.PicsDoc {top:730px; left:35%; z-index:3; width:250px;}
  div.Docpic4 {position:absolute; top:340px; left:35%; width:60%; box-shadow: 0 10px 50px #666666; }
  div .Comments { background-color: #90e4e4bd ; box-shadow: 0 0 8px 8px #e6f9f9bf inset;
    width:550px; height:190px;right:-60px; top:-200px;}
section#sec2:before {height:1300px;}
  /*.Comments img{margin-top: 50px;}*/
  div#News {padding-top: 15px; height: 190px;}
  div#inside {width:30%; top:40%;left:15%; box-shadow: -15px -5px 40px #666666; }
div.Pics_Doc {width:25%; top:15%; left:30%; /*background-color: white;*/}
  div#flip {top:50%;left:42%; width:25%;}
  /*div .Pics_Doc2 {left:250px; top: 250px;}*/
  ul.right-box.flex-box {margin-top: 30px;}
  .Maps {width:50%; top:550px; float: left;}
  .column {height:200px;}
  .Schdl {width:100%;}
  span .B {top:1250px;}
  .Pics_Clinic1 {display: none;}
  .Pics_Nature2 {right:200px;}
  table.timetable {width:100%; margin-left: 0;}
  table, th, td { border: 2px solid #1db5a7; border-collapse: collapse; widt:100%; padding:5px 10px;
  text-align: center;margin-top: 0px; margin-left: 30px;} /* padding */
  .caption-container#page4 {height:450px; }


  @media screen and (max-width:1200px)
  {body#page1 {background-image: url('道路側1.jpg');
  max-width: 1200px;}
  main {width:80%;}
  h1.page1 {font-size: 55px;}
  .WelcomeImage {width:70%; margin-top:-1350px;}
  span#contents_fol {top:180px; }
  .logo {top:10px; left:50px; width:17%; }
  img#title {width:40%; left:55%;}
  div .Comments { width:350px; right:-50px;}
  div#News {width:55%; margin-right: 5px;}
  div.PicsDoc {top:700px;left:35%; width:250px;}
  div.Pics_Doc {left:15%; top:25%; width:35%;}
  img#dog {width:10%; top: 900px; left:80%;}
section#sec1 {height:750px;}
section#sec2 {height:150px;}
  .column {height:150px;}
  .Schdl {width: 100%;}
  table {margin-left: 30px;}
  div#flip {z-index: 2; top:70%;left:20%;width:35%; }
div#inside {position:absolute;width:30%; top:50%; left:50%; }
div.Docpic4 {box-shadow:0 40px 50px #666666;}



  @media screen and (max-width:950px)
  {body#page1 {background-image: url('道路側1.jpg');
  max-width: 950px;}  /*height:1300px; */
  section#border {width:100%;}
  main {widt:95%; heght:2400px}
  h1.page1 {font-size: 50px; margin-top:0px; }
  h3 {letter-spacing: none;}
  p.header_phone {padding-top: 0px; margin-left: 0px; }
  span.header_phn_span {margin-right: 0px; font-family:'sans-serif'; text-size-adjust:none; font-weight: normal;text-align: left; text-decoration: none;}
  div.Comments { right:-20px; top:-210px;}
  section#sec1 {height:700px;}
  div#title {width:35%;}
 div#flip {top:450px; to:400px; left:25%;lef:10%; width:35%; }
 /*div.Docpic4 {left:300px;}*/
  .Pics_Nature1 {top:-310px; }
  div.PicsDoc {left:40%; top:650px; width:200px;}
  div.Pics_Doc {width:40%; top:25%; left:10%;}
img#title {width:45%;left:50%;}
  .content {padding: 0px;}
  img#dog {width:15%; top: 900px; left: %;}
  .flex-box {margin-to: 50px; background-color: white;}
  .Maps {width:85%; padding:0;margin-top: 0px; margin-right: auto; margin-left: auto; margin-bottom: auto;}
  .right-box { width:100%; }
  .Schdl {width:90%;}
  table {margin-left: 30px; padding:2px 5px ; background-color: white;}
  table.timetable {margin-left: 0px; }
  table, th, td {padding:5px 15px;}
  .page-header {height:50px; }
  .content {padding:30px 10px;}
  .content.news {padding:0px 10px; }
  .content.contact {padding:15px 20px 0px 20px;}
  .content .left .text {width:100%; }
  .right {position:unset; transform: none;}
  main.page3 {height:2000px;}
  .left .text {width:100%;}
  div#contact {margin-top: 0px;}
  .container.page4 {padding-top:50px;}
  .column.page4 {height:200px;}



  @media screen and (max-width:500px)
  {body#page1 {background-image: url('ymzm外観opq2.png');
  max-width: 500px;}  /*height:1300px; */
  section#border {width:100%; height:10px;}
  main {width: 100%; heght: 2200px; padding-top:0px; }
  main#Pages_Container {margin-top:80px; width:100%; height:1500px;}
  h1.page1 {width:95%; font-size: 37px; line-height: 1.2; letter-spacing: 0px; margin-top: 45px; margin-left: 0px; margin-bottom:-5px;}
  h2 {text-align: left; font-size: 20px; margin-left: 20px;}
  h3 {letter-spacing: 4px;}
  p.header_address {margin-left: 0; margin-right: 0px; width:300px; }
  li:not(:last-child){display: none }
  ol{ display: none; text-align:center; text-shadow:1px 1px 5px #a69439;
    padding-top: 5px; padding-bottom: 5px; padding-inline-start:0px;}
  li{ display:inline;
    padding-right: 20px; padding-left: 20px;}
  li a.icon{color: white;}
  .mobile-container {display:table-header-group;}
  div#myLinks {display: block; background-color: #ffd1c8;}
  span#contents_fl {top:-30px; left:5%; color:black; }
  span#contents_fl_1 {top:5px; left:20%;}
  span#contents_sl {top:32px; left:30%;}
  div#News {width:70%;}
  section#sec1 {height:750px;}
  .Docpic4 {display:none;}
  div.Comments {right:50px; top:0px; box-shdow: 0 0 10px 2px #90e4e400 inset; overflow-y: auto;}
  .Comments img{widt:15%; padding-right: 0px; margin-left: 0px; border-radius: 5px; }
  .Pics_Nature1 {left:-15px; width:220px; top:-325px;}
  .Pics_Nature3 {top:550px; right:0px; width:240px;}
  div.PicsDoc {top:630px; left:100px; width:230px; z-index:3;}
  div.Pics_Doc {left:20%; top:260px; width:80%; height:auto; background-colo: white;}
  div.Pics_Doc2 {left:140px; top:500px; widt:80%;}
  a.icon { width:40px; height: 40px; }
  .topnav_mobile {width:100%;}
  .topnav_mobile a {color:#53a5ef; height:60px;}
  .fa {color:#00d6ff;}
  div.Comment {width:55%; left:40%;}
  .logo {width: 35%; left:-7px; z-index: -1; top:70px;}
  img#title {width:70%; top:30px; left:30%; z-index: -1;}
  .Maps {width:100%; top:550px; margin-top: 0px; }
　div.container1 {padding-top: 20px;}
  .content{padding: 0px 10px 50px 10px;}
div#flip.Comment {top:60%; left:25px; width:55%;}
div#inside {display:none;}
  iframe {width:100%; height:600px;}
  /*.Comments {display: none;}*/
  div.row {box-shadow: 0px 0px 14px inset #666666;}
  .flex-box {padding-top: 20px;}
  ul.right-box.flex-box {margin-top: 0px; margin-right:0px; background-color: white;}
  li#timetable {margin-top: 0px;}
  .right-box {width:100%;}
  .right-box li {display:block; width:100%; margin-top: 30px; margin-left: 0px; padding-top: 0px;}
  .Schdl {width:100%; margin-top: 0px; box-shadow:0px 0px 10px inset #666666;}
  table.timetable {width:100%; margin-left: 0px;}
  table, th, td {padding: 0px ; margin-left: 0px;}
  div#Comments {display:block;height:30px;}
img#dog {width:20%; top:55%;}
img#fall2022 {margin-top: 0px;}
img#Comments {background-color: white; padding-top: 0px;}
/*section#sec1 {height:650px;}*/
section#sec3 {height:150px;}
section#sec2 {height:150px;}
　.bio-header .page-header {height:50px; }

  body#page2, #page3, #page4 {position: relative; } h1 {font-size: 30px; }
  main.page2, .page4 {height:1000px;}
  main.page3 {height:2000px; }
  .container.page4 {padding-top: 0px;}

  .column.page4 {height:150px;}

@media screen and (max-width:380px)
{ div.Pics_Doc {top:38%;}
 div#flip.Comment {top:68%;}
 section#sec1 {height:550px;}
 div.PicsDoc {top:550px; left:100px;width:50%;}
 div#flip.Comment {width:65%;}
 img#dog {width:20%; top:50%;}
