@charset "UTF-8";
@media (min-width: 768px) {
  #header .hamburgerMenu {
    display: none;
  }
}
@media (max-width: 767.98px) {
  :root {
    font-size: 2.6666666667vw;
  }
  body {
    overflow: hidden;
    font-size: 1.6rem;
  }
  body.fixed {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }
  * {
    max-width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  #wrap {
    width: 100%;
  }
  /* ヘッダー */
  #header {
    width: 100%;
    height: 7.2rem;
    border-bottom: 3px solid #27ac1f;
    background-color: #fff;
  }
  #header ul {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background: -webkit-gradient(linear, left bottom, left top, from(rgb(225, 254, 224)), to(rgb(227, 246, 226)));
    background: linear-gradient(0deg, rgb(225, 254, 224) 0%, rgb(227, 246, 226) 100%);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
  }
  #header ul li {
    width: 20rem;
    position: relative;
    top: auto;
    left: auto;
  }
  #header ul a {
    display: block;
  }
  #header ul img {
    width: 100%;
  }
  #header ul.is-open {
    opacity: 1;
    visibility: visible;
  }
  #header .hamburgerMenu {
    width: 6.8rem;
    padding: 0.4em 0;
    position: absolute;
    right: 1.6rem;
    bottom: 0.8rem;
    z-index: 91;
    border: none;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background: #fff;
    color: #28a120;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
  }
  #logo_top {
    width: 12rem;
    top: 1rem;
    left: 1.6rem;
    z-index: 999;
    mix-blend-mode: darken;
  }
  #contact {
    width: 8.6rem;
    top: 1.2rem;
    right: 1.6rem;
    left: auto;
    z-index: 999;
    mix-blend-mode: darken;
  }
  #contact a {
    display: block;
  }
  #contact img {
    width: 100%;
  }
  #text_top {
    display: none;
  }
  #topmain {
    width: 100%;
    height: auto;
    padding: 22rem 1.6rem 0;
    background-position: -5rem top;
    background-size: cover;
  }
  #title_main {
    width: 24rem;
    top: 4rem;
    right: 1.6rem;
    left: auto;
  }
  #title_main img {
    width: 100%;
  }
  #facebook {
    display: none;
  }
  #topcontents01 {
    margin-bottom: 2rem;
    padding: 0 1.6rem;
  }
  #topcontents01 .txt_title_message {
    width: 100%;
    padding-top: 1em;
  }
  #top_reservation_wrap {
    position: relative;
  }
  #top_reservation_wrap img {
    width: 100%;
  }
  #bk_reservation {
    position: relative;
    top: auto;
    left: auto;
  }
  #title_director {
    width: 30rem;
    top: 0.4rem;
    left: calc(50% - 15rem);
  }
  #text_director01 {
    width: 7.4rem;
    top: 8rem;
    left: calc(50% - 3.7rem);
  }
  #btn_reservation01 {
    width: 14.8rem;
    top: auto;
    bottom: 4.2rem;
    left: calc(50% - 7.4rem);
  }
  #text_message {
    width: 19rem;
    top: auto;
    right: 2.5rem;
    bottom: 1rem;
    left: auto;
  }
  #maintitle_message {
    position: relative;
  }
  #maintitle_message img {
    width: 100%;
  }
  #topcontents02 {
    padding: 0 1.6rem;
  }
  #announcement_box {
    width: 100%;
    height: auto !important;
  }
  #announcement_box h2 {
    width: 100%;
    height: auto;
    padding: 0.6rem;
    background-color: #ededed;
  }
  #announcement_box h2 img {
    width: 7.6rem;
  }
  #media_box {
    width: 100%;
    height: auto !important;
    margin-top: 2rem;
  }
  #media_box h2 {
    width: 100%;
    height: auto;
    padding: 0.6rem;
    background-color: #ededed;
  }
  #media_box h2 img {
    width: 14.4rem;
  }
  #topcontents03 {
    width: 100%;
    margin-top: 3rem;
    padding: 0 1.6rem;
  }
  #topcontents03 a {
    display: block;
  }
  #topcontents03 img {
    width: 100%;
  }
  #facebook_bottom {
    display: block;
  }
  #up {
    padding-right: 1.6rem;
  }
  .lower #wrap h1 {
    width: 100%;
    margin: 0;
    padding: 2rem 1.6rem;
    background-color: #fff;
  }
  #maincontent {
    padding: 0 1.6rem;
    font-size: 3.2vw;
  }
  #time_table table {
    max-width: 100%;
  }
  #time_table table.pcOnly {
    display: none;
  }
  #time_table table.pcOnly th {
    width: 20%;
  }
  #time_table table.pcOnly th img {
    width: 80%;
  }
  #time_table table.pcOnly td {
    width: 13.2%;
  }
  #time_table table.spOnly {
    display: block;
  }
  #time_table table.spOnly tr:first-child td {
    padding: 1rem 2rem;
  }
  #time_table table.spOnly tr:not(:first-child) td {
    width: 40%;
  }
  #time_table table.spOnly th {
    width: 20%;
    height: 7.5rem;
    background-color: #ededed;
    font-weight: 700;
  }
  #time_table table.spOnly th, #time_table table.spOnly td {
    padding: 1rem 2rem;
  }
  #time_table .time_caution {
    margin-bottom: 3rem;
  }
  #reservation {
    max-width: 100%;
    height: auto;
    padding: 2rem 1.6rem;
    border: 0.6rem solid #ffbe9a;
    background: none;
    text-align: center;
  }
  #title_reservation {
    margin-bottom: 2rem;
    position: unset;
    display: block;
  }
  #title_reservation img {
    width: 100%;
  }
  #director01 {
    margin: auto;
    padding: 2rem 1rem 1rem;
    position: unset;
    display: block;
    border: 1px dashed #ccc;
    border-bottom: 0;
  }
  #director01 img {
    width: 30%;
  }
  #reservation01 {
    margin-bottom: 1rem;
    padding: 0 1rem 2rem;
    position: unset;
    display: block;
    border: 1px dashed #ccc;
    border-top: 0;
  }
  #reservation01 a {
    width: 80%;
    margin: auto;
    display: block;
  }
  #reservation01 img {
    width: 100%;
  }
  #counttime {
    position: unset;
    display: block;
  }
  #guidemap-wrap {
    width: calc(820px * var(--map-rate, 0.418));
    height: calc(690px * var(--map-rate, 0.418));
  }
  #guidemap {
    width: 820px;
    max-width: none;
    height: 690px;
    -webkit-transform: scale(var(--map-rate, 0.418));
            transform: scale(var(--map-rate, 0.418));
    -webkit-transform-origin: left top;
            transform-origin: left top;
  }
  #box_philosophy {
    border: solid #ededed 0.6rem;
    background: none;
    -webkit-box-shadow: 0 0 0 1px rgb(204, 204, 204);
            box-shadow: 0 0 0 1px rgb(204, 204, 204);
  }
  #box_philosophy > p {
    display: none;
  }
  #box_philosophy dl {
    padding: 69.3vw 1.6rem 2rem;
    background-position: 1.6rem 2rem;
    background-size: calc(100% - 2.4rem);
    -webkit-box-shadow: 0 0 0 1px rgb(204, 204, 204);
            box-shadow: 0 0 0 1px rgb(204, 204, 204);
  }
  #director {
    padding: 340px 0 2rem;
    background-position: 50% top;
  }
  #profile {
    margin: 0;
    padding: 1rem;
  }
  #profile dt, #profile dd {
    width: 100%;
    padding: 0;
    float: unset;
    text-align: left;
    font-size: 1.4rem;
  }
  #profile dt {
    font-weight: 700;
  }
  #profile .thickbox {
    margin-top: 2rem;
    display: inline-block;
  }
  #profile dd + dt {
    margin-top: 2rem;
  }
  .inspection_list_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem 4%;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .inspection_list_wrap h3 {
    margin-bottom: 1rem;
  }
  .inspection_list {
    width: 48%;
    height: auto !important;
    margin: 0;
    float: unset;
  }
  .list_last {
    width: 48%;
    height: auto !important;
    margin: 0;
    float: unset;
  }
  p.img_inspection {
    width: 100%;
    margin-bottom: 1rem;
  }
  p.img_inspection img {
    width: 100%;
  }
  #forcontact input, #forcontact textarea {
    border: 1px solid #767676;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
  #forcontact table.contact_table {
    width: 100%;
  }
  #forcontact table.contact_table th, #forcontact table.contact_table td {
    width: 100% !important;
    display: block;
    text-align: left;
  }
  #forcontact table.contact_table th {
    height: auto;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    padding: 0;
    border: 0;
  }
  #forcontact table.contact_table td {
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }
  #forcontact table.contact_table td > table {
    width: 100%;
  }
  #forcontact table.contact_table td > table tr:last-child td {
    margin-top: 2rem;
  }
  #forcontact table.contact_table td > input {
    width: 100%;
    padding: 0.5rem 1rem;
  }
  #forcontact table.contact_table td > input + * {
    margin-left: 0.5rem;
  }
  #forcontact table.contact_table td > textarea {
    width: 100%;
  }
  #dissertation table, #dissertation tbody, #dissertation tr, #dissertation th, #dissertation td {
    padding: 0;
    display: block;
  }
  #dissertation tr {
    padding: 1em;
  }
  #dissertation tr:first-child {
    display: none;
  }
  #dissertation tr > *:not(:last-child) {
    margin-bottom: 0.7em;
  }
  #dissertation th {
    width: 100%;
  }
  #dissertation th::after {
    content: "発行";
    margin-left: 0.5em;
    font-size: 80%;
  }
  #dissertation td:nth-of-type(2)::before {
    content: "著者：";
    font-size: 80%;
  }
  #dissertation + ul {
    margin-bottom: 1em;
  }
  dl.information_list {
    font-size: 100%;
  }
  dl.information_list dt {
    width: 100%;
    margin-bottom: 0.5em;
    padding-left: 0;
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
  }
  dl.information_list dd {
    margin-bottom: 1em;
    padding-bottom: 1em;
    padding-left: 0;
  }
  dl.information_list dd img {
    margin-bottom: 0.5em;
    display: block;
  }
  #magazine p {
    padding-left: 0;
  }
  #maincontent table.merumaga {
    width: 100%;
    display: block;
  }
  #maincontent table.merumaga tbody, #maincontent table.merumaga tr, #maincontent table.merumaga th, #maincontent table.merumaga td {
    padding: 0;
    display: block;
  }
  #maincontent table.merumaga tr {
    margin-bottom: 1.5em;
  }
  #maincontent table.merumaga th {
    width: 100%;
    height: auto;
    padding-bottom: 0.5em;
    border-bottom: none;
    text-align: left;
  }
  #maincontent table.merumaga input, #maincontent table.merumaga textarea {
    padding: 0.5rem 1rem;
    border: 1px solid #767676;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
}