#shiru {
  position: relative;
}

#shiru .top-header {
  width: calc(100% - 60px);
  height: 61px;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 60px;
  background-color: #143448;
}

#shiru .top-header h2 {
  width: 156px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#shiru .top-header h2 img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#shiru .side-menu {
  width: calc(100% - 60px);
  position: fixed;
  z-index: 10;
  top: 61px;
  left: 60px;
  background-color: #d7e0e3;
  display: flex;
  flex-direction: column;
  gap: 20px 20px;
  padding-bottom: 15px;
  padding-top: 15px;
}

#shiru .side-menu .image {
  width: auto;
  height: 16px;
  transition: 0.3s ease;
}

#shiru .side-menu .image img {
  width: auto;
  height: 100%;
  vertical-align: bottom;
}

#shiru .side-menu .item .item-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px 15px;
}

#shiru .side-menu .item .line {
  content: "";
  border-top: 2px solid #000;
  width: 20px;
  height: 2px;
  transition: 0.3s ease;
}

#shiru .side-menu .item .line.on {
  border-top: 2px solid #911d28;
}

#shiru .side-menu .arrow {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 26px;
}

#shiru .side-menu .arrow .image {
  width: 100%;
}

#shiru .side-menu .arrow .image img {
  width: 26px;
  height: auto;
  vertical-align: bottom;
}

.content-header {
  width: 100%;
  height: 247px;
  background-color: #5f7b89;
}

.content-header h3 {
  width: 45px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.content-header h3 img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#omatsurinokoto {
  position: relative;
}

#omatsurinokoto .content-header {
  margin-top: calc(61px + 118px);
}
#omatsurinokoto .content-header.off {
  margin-top: calc(61px + 46px);
}

#omatsurinokoto .content-wrapper {
  margin-top: 30px;
  overflow: hidden;
}

#omatsurinokoto .item {
  display: flex;
  gap: 30px 30px;
  justify-content: center;
  margin-top: 30px;
  padding-bottom: 30px;
  border-bottom: solid 1px #727171;
}

#omatsurinokoto .item .title {
  width: 16px;
}

#omatsurinokoto .item .title img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#omatsurinokoto .item .content {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 15px;
  max-width: 480px;
  width: 75%;
}

#omatsurinokoto .item .content .thumb {
  width: 100%;
}

#omatsurinokoto .item .content .thumb img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#omatsurinokoto .item .content .description {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  letter-spacing: 0.04rem;
  line-height: 3.6rem;
  width: calc(100% + 50px);
  margin-top: 30px;
  margin-left: -40px;
}

#omatsurinokoto .item .content .more {
  margin-top: 10px;
  margin-left: auto;
}

#omatsurinokoto .item .content .more-dummy {
  width: 172px;
  content: "";
}

#omatsurinokoto .item .content .more a {
  display: inline-block;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  color: #000;
  background-color: #d7e0e3;
  padding: calc(15px * 0.7) calc(20px * 0.7) calc(15px * 0.7) calc(20px * 0.7);
  position: relative;
}

#omatsurinokoto .item .content .more a .arrow {
  position: absolute;
  font-size: 1.5rem;
  letter-spacing: 0.02rem;
  top: calc(15px * 0.7);
  right: calc(12px * 0.7);
  transition: 0.3s ease;
}

#omatsurinokoto .item .content .more a:hover .arrow {
  transform: translate(6px, 0);
}

#midokoro {
  position: relative;
  margin-top: 160px;
}

#midokoro .content-wrapper { 
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 500px;
  margin: auto;
  gap: 30px 30px;
  margin-top: 30px;
  overflow: hidden;
}

#midokoro .content-wrapper .image { 
  width: 100%;
}

#midokoro .content-wrapper .image img { 
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#midokoro .content-wrapper .text { 
  width: 95%;
  margin: auto;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.8rem;
  letter-spacing: 0.04rem;
  line-height: 3.6rem;
  display: flex;
  flex-direction: column;
  gap: 30px 30px;
}

#midokoro .content-wrapper .image-1 { 
  order: 0;
}
#midokoro .content-wrapper .text-1 { 
  order: 1;
}
#midokoro .content-wrapper .image-2 { 
  order: 2;
}
#midokoro .content-wrapper .text-2 { 
  order: 3;
}
#midokoro .content-wrapper .image-3 { 
  order: 4;
}
#midokoro .content-wrapper .text-3 { 
  order: 5;
}
#midokoro .content-wrapper .image-4 { 
  order: 6;
}
#midokoro .content-wrapper .text-4 { 
  order: 7;
}
#midokoro .content-wrapper .image-5 { 
  order: 8;
}
#midokoro .content-wrapper .text-5 { 
  order: 9;
}
#midokoro .content-wrapper .image-6 { 
  order: 10;
}
#midokoro .content-wrapper .text-6 { 
  order: 11;
}

#yatai {
  position: relative;
  margin-top: 80px;
}

#yatai .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 290px;
  margin: auto;
  gap: 40px 60px;
  margin-top: 50px;
  overflow: hidden;
}

#yatai .content-wrapper .item-wrapper {
  display: flex;
  gap: 15px 15px;
  position: relative;
  padding-bottom: 55px;
}

#yatai .content-wrapper .item .title {
  writing-mode: vertical-rl;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2.8rem;
  letter-spacing: 0.1rem;
  line-height: 3rem;
  display: flex;
  align-items: center;
  gap: 15px 15px;
}

#yatai .content-wrapper .item .title .line {
  content: "";
  border-left: 1px solid #000;
  width: 1px;
  height: 20px;
  transition: 0.3s ease;
}

#yatai .content-wrapper .item a:hover .line {
  margin-top: 8px;
}

#yatai .content-wrapper .item a {
  color: #000;
  position: relative;
}

#yatai .content-wrapper .item .image {
  width: 245px;
}

#yatai .content-wrapper .item .image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

#yatai .item .more {
  position: absolute;
  bottom: 0px;
  right: 0;
}

#yatai .item .more-dummy {
  width: 172px;
  content: "";
}

#yatai .item .more p {
  display: inline-block;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  color: #000;
  background-color: #d7e0e3;
  padding: calc(15px * 0.7) calc(20px * 0.7) calc(15px * 0.7) calc(20px * 0.7);
  position: relative;
}

#yatai .item .more p .arrow {
  position: absolute;
  font-size: 1.5rem;
  letter-spacing: 0.02rem;
  top: calc(15px * 0.7);
  right: calc(12px * 0.7);
  transition: 0.3s ease;
}


/***** modal window *********/
.modal-wrapper {
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /*
  padding: 60px 10px;
  */
  text-align: center;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
}

.modal-wrapper.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper.show {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 99;
  position: relative;
  width: 90%;
  height: 96svh;
  padding: 30px 30px 15px;
  vertical-align: middle;
  /*
  border-radius: 45px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  border: 12px solid #cfeaf2;
  */
  background: rgba(255, 255, 255, 1);
}

.modal-window .close-button {
  display: block;
  position: relative;
  width: calc(30px * 1);
  height: calc(30px * 1);
  border: 2px solid #617d8b; 
}
 
.modal-window .close-button::before, .modal-window .close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: calc(39px * 1);
  background: #617d8b;
}
 
.modal-window .close-button::before {
  transform: translate(-50%,-50%) rotate(45deg);
}
 
.modal-window .close-button::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.modal-wrapper.detail .inner {
  position: relative;
  padding: 60px 0px 60px 0px;
}

.modal-wrapper.detail .inner2 {
  overflow-y: auto;
  max-height: calc(96svh - 120px); 
  /*
  margin-right: 20px;
  */
  width: 92%;
  margin: auto;
}
.modal-wrapper.detail .inner2::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}
.modal-wrapper.detail .inner2::-webkit-scrollbar-thumb {
  background: #d7e0e3;
}

.modal-wrapper.detail .inner .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  z-index: 5;
}
.modal-wrapper.detail .inner .close2 {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60px;
  background-color: #d7e0e3;
  z-index: 5;
}
.modal-wrapper.detail .inner .close2 a {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60px;
}
.modal-wrapper.detail .inner .close2 .text {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.1rem;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
  margin-top: 18px;
  color: #617d8b;
}

.modal-wrapper.detail .content {
  width: 90%;
  max-width: 500px;
  margin: auto;
}

.modal-wrapper.detail .content .heading {
  display: flex;
  gap: 30px 30px;
  margin: auto;
  position: relative;
}

.modal-wrapper.detail .content .title {
  position: absolute;
  bottom: -30px;
  left: 0px;
  transform: translate(0, 100%);
}

.modal-wrapper.detail .content .title.image {
  width: 16px;
}

.modal-wrapper.detail .content .title.text {
  writing-mode: vertical-rl;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 2.2rem;
  letter-spacing: 0.2rem;
  line-height: 3rem;
  text-align: left;
  width: 22px;
}

.modal-wrapper.detail .content .title.image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.modal-wrapper.detail .content  .thumb {
  width: 100%;
}

.modal-wrapper.detail .content .thumb img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}


.modal-wrapper.detail .content > .text {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  letter-spacing: 0.04rem;
  line-height: 4.2rem;
  text-align: left;
  width: 86%;
  margin-left: auto;
  margin-top: 25px;
}
/******************************************/