@charset "utf-8";
/* CSS Document */
body {
  display: table;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #000;
  line-height: 1.6;
  position: relative;
  font-family: sans-serif;
}
@media screen and (min-width:768px) {
  #header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background-color: #000;
  }
  .logo img {
    margin-left: 10px;
    width: 25%;
  }
  #g-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "antiquarian", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
    color: #fff;
  }
  .menu {
    width: 80%;
    text-align: center;
  }
  #g-nav-list ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: auto;
    padding: 0;
  }
  #g-nav-list li {
    display: inline-block;
    margin: auto 10px;
  }
  #g-nav-list li:last-child {
    margin-right: 10;
  }
  a {
    color: #fff;
    text-decoration: none;
  }
  .m_btn2 {
    color: #90939B;
  }
  #container {
    overflow-x: hidden;
  }
  .subtitle {
    width: 100%;
    margin: 0 auto;
  }
  .subtitle img {
    display: block;
    width: 50%;
    max-width: 650px;
    margin: auto;
  }
  .chaname {
    width: 15%;
    font-family: "dnp-shuei-4gob-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.1em;
    color: #000;
    padding-top: 20px;
    padding-left: 30px;
    position: relative;
    margin: 20px auto;
    margin-top: 20px;
    text-align: center; /*border:1px solid #e0f3f8;*/
  }
  .chaname:before {
    border-bottom: 30px solid transparent;
    border-left: 30px solid #576d93;
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    left: 15px;
  }
  .chaname:after {
    border-left: 30px solid transparent;
    border-bottom: 30px solid #576d93;
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0px;
  }
  #area1 {
    width: 90vw;
    min-height: 100%;
    padding: 50px 10px 160px;
    display: flex;
    justify-content: space-between;
    margin: auto;
  }
  .gallery-wrap {
    width: 100%;
    min-width: 500px;
    height: auto;
    margin: 0 auto;
    position: relative;
  }
  .gallery {
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  .gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .thumbs {
    width: 100%;
    margin: 10px auto 0;
    display: inline-flex;
    flex-wrap: wrap;
  }
  .thumbs img {
    margin-right: 10px;
    width: 150px;
    height: auto;
    opacity: 0.4;
    cursor: pointer;
  }
  #page-top {
    position: fixed;
    width: 50px;
    bottom: 0;
    right: 0;
    z-index: 200;
  }
  #page-top img {
    width: 100%;
  }
  #under_navi {
    width: 100%;
    background-color: #000;
    height: 50px;
    bottom: 0;
  }
  #under_navi ul {
    display: flex;
    margin: 0 auto;
    padding: 0 3%;
    width: 94%;
    max-width: 960px;
    list-style-type: none;
  }
  #under_navi ul li {
    position: relative;
    width: 20%;
  }
  #under_navi ul li:first-child::before {
    position: absolute;
    display: block;
    content: "";
    top: 25%;
    left: 0px;
    width: 1px;
    height: 50%;
    background-color: #c5dfe6;
  }
  #under_navi ul li::after {
    position: absolute;
    display: block;
    content: "";
    top: 25%;
    right: 0px;
    width: 1px;
    height: 50%;
    background-color: #c5dfe6;
  }
  #under_navi ul li a {
    display: block;
    padding: 17px 10px;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
  }
  #under_navi ul li a:hover {
    background-color: #7ecde0;
  }
  #under_navi .cs {
    display: block;
    padding: 17px 10px;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
  }
  #footer {
    width: 100%;
    height: 150px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 0.8em;
    bottom: 0;
  }
  #b_logo {
    margin: auto;
  }
}
@media screen and (max-width:767px) {
  #container {
    overflow-x: hidden;
  }
  main {
    width: 100vw;
  }
  #header {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background-color: #000;
  }
  .logo img {
    margin-left: 10px;
    width: 25%;
  }
  #g-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "antiquarian", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2em;
    color: #fff;
  }
  .menu {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  #g-nav-list .m_btn {
    flex: 1 0 auto;
    max-width: 50%;
  }
  .m_btn2 {
    color: #90939B;
    flex: 1 0 auto;
    max-width: 50%;
  }
  a {
    color: #fff;
    text-decoration: none;
  }
  section {
    padding: 50px 30px;
    overflow: hidden;
  }
  #area1 {
    width: 85vw;
    height: 100%;
    /* min-height: 900px;*/
  }
  .subtitle {
    width: 100%;
    margin: 0 auto;
  }
  .subtitle img {
    display: block;
    width: 80%;
    margin: auto;
  }
  .gallery-wrap {
    width: 100%;
    min-width: 250px;
    margin: 0 auto;
    position: relative;
  }
  .gallery {
    height: 100vh;
    overflow: hidden;
  }
  .gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding-top: 5%;
    padding-bottom: 5%;
  }
  .thumbs {
    width: 100%;
    margin: 10px 0 0;
    display: inline-flex;
    flex-wrap: wrap;
  }
  .thumbs img {
    margin-right: 10px;
    width: 80px;
    height: auto;
    opacity: 0.4;
    cursor: pointer;
  }
  .l {
    display: block;
  }
  #page-top {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 35px;
    z-index: 200;
  }

	  #page-top img {
    width: 95%;
  }
	
	  #under_navi {
    width: 100vw;
    background-color: #000;
    height: 50px;
    bottom: 0;
  }
  #under_navi ul {
    display: flex;
    margin: 0 auto;
    padding: 0 3%;
    width: 94%;
    max-width: 767px;
    list-style-type: none;
  }
  #under_navi ul li {
    position: relative;
    display: inline-block;
    width: 13%;
  }
  #under_navi ul li:first-child::before {
    position: absolute;
    display: block;
    content: "";
    top: 25%;
    left: 0px;
    width: 1px;
    height: 50%;
    background-color: #c5dfe6;
  }
  #under_navi ul li::after {
    position: absolute;
    display: block;
    content: "";
    top: 25%;
    right: 0px;
    width: 1px;
    height: 50%;
    background-color: #c5dfe6;
  }
  #under_navi ul li a {
    display: block;
    padding: 17px 10px;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* 追加: テキストが改行されないようにする */
    overflow: hidden; /* 追加: 見切れた部分を隠す */
    text-overflow: ellipsis; /* 追加: テキストが見切れた場合に省略記号(...)を表示 */
  }
  #under_navi ul li a:hover {
    background-color: #7ecde0;
  }
  #under_navi .cs {
    display: block;
    padding: 17px 10px;
    color: #fff;
    font-size: 0.8em;
    text-align: center;
  }
  #footer {
    width: 100vw;
    height: 150px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size: 0.8em;
    bottom: 0;
  }
	
	
	
    #b_logo {
      margin: auto;
    }
  }