@charset "utf-8";

* {
  box-sizing: border-box;
}

body {
  background-color: #fffdf0;
  font-family: sans-serif;
}

.top-sentence,
.menu {
  font-family: "Kiwi Maru", sans-serif;
}

html {
  font-size: 100%;
}

p,
li,
dt,
dd {
  line-height: 2;
  font-size: 1.125rem;
}

img {
  max-width: 100%;
}

.flex {
  display: flex;
}

.wrapper {
  max-width: 900px;
  margin: 0 auto;
  width: calc(100% - 4% - 4%);
  margin-bottom: 11%;
}

a {
  text-decoration: none;
  color: #3f3f3f;
}

/* header =============================== */

.site-title {
  margin-top: 60px;
  margin-bottom: 40px;
}

.top-sentence {
  margin-bottom: 160px;
  font-size: 1.3rem;
}

.top {
  position: relative;
}

.top-right {
  width: 470px;
  text-align: center;
  padding: 90px 0;
  font-size: 0.9rem;
  background-image: url(../img/top_shimashima.png);
  background-size: contain;
  position: absolute;
  top: 60px;
  right: 0px;
}

/* header menu  ===============================*/

.menu {
  font-size: 1.125rem;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid #3f3f3f;
}

.nav-menu {
  width: 2rem;
  margin-right: 5px;
  vertical-align: bottom;
}

.menu {
  margin-bottom: 40px;
}

.menu li {
  list-style-type: none;
  line-height: 1;
  padding-bottom: 8px;
  margin-right: 1.2%;
}

.menu li .small {
  display: inline-block;
  width: 110px;
  font-size: 0.8rem;
  text-align: right;
}

.menu .ka {
  width: 140px;
}

.menu .sui {
  width: 120px;
}

.menu li:hover {
  opacity: 0.5;
}

/* kazenoko suihu ===============================*/

.title {
  display: block;
  margin-bottom: 40px;
}

.sankaku {
  display: flex;
  margin-bottom: 40px;
}

#kazenoko .flex,
#suihu .flex {
  display: flex;
  margin-bottom: 40px;
  align-items: flex-end;
}

.sub-title span {
  font-size: 1.2rem;
  line-height: 1.6;
  display: block;
  border-bottom: 3px solid #ddc7a9;
}

.sub-title span + span {
  margin-left: 15px;
}

#kazenoko ul,
#suihu ul{
  margin-bottom: 40px;
  margin-left: 20px;
}

.okeiko,
.gessya {
  margin-bottom: 30px;
}

.info {
  width: 55%;
}

.pic1 {
  width: 45%;
}

/* kazenokoのみ */
.girl {
  margin-bottom: 50px;
}

/* suihuのみ */
.woman {
  width: 60%;
  margin-bottom: 50px;
  margin-left: 90px;
}

/* kyoshitsu ===============================*/

.pic2 {
  display: flex;
  justify-content: space-between;
}

#kyoshitsu .pic2 img,
#kyoshitsu .pic2-1 img {
  width: 32.5%;
}

.pic2-1 {
  display: flex;
}

.pic2-1 .kakizome {
  margin-left: 1.3%;
}

.contents {
  margin-bottom: 56px;
}

/* basho ===============================*/

#basho .flex {
  flex-direction: row-reverse;
  margin-bottom: 48px;
  justify-content: space-between;
}

.address {
  width: 40%;
}

.map {
  width: 60%;
}

.map_small {
  display: none;
}

.map_small_small {
  display: none;
}

.bigfont {
  font-size: 1.5rem;
}

.mejirushi {
  font-size: 1rem;
  text-align: right;
}

/* outro ===============================*/

.outro {
  width: 100%;
  height: 500px;
  background-image: url(../img/footer_bunsho.png);
  background-size: contain;
  position: relative;
}

.text {
  position: absolute;
  top: 18%;
  left: 18%;
}

.outro-first {
  margin-bottom: 5%;
}

/* footer ===============================*/

#footer {
  background-image: url(../img/footer.png);
  background-repeat: no-repeat;
  width: 1000px;
  height: 230px;
  position: relative;
}

.copyright {
  position: absolute;
  top: 150px;
  right: 120px;
}

/* responsive ===============================*/

/* 950まで */

/* =========================================== */

@media (max-width: 950px) {
  html {
    font-size: 85%;
  }

  /* res header =============================== */

  .top-sentence {
    margin-bottom: 30px;
  }

  .top-right {
    margin: 0 auto;
    position: static;
    margin-bottom: 30px;
  }

  /* res header menu  ===============================*/

  .menu {
    display: flex;
    flex-direction: column;
    border-bottom: none;
  }

  .nav-menu {
    width: 2rem;
    margin: 0 20px;
  }

  .menu li {
    display: inline;
    margin-right: 0%;
  }

  .menu li .small {
    display: inline;
  }

  .menu .ka {
    width: 100%;
  }

  .menu .sui {
    width: 100%;
  }

  .menu li:hover {
    opacity: 0.5;
    border-bottom: 2px solid #3f3f3f;
  }

  .menu a {
    display: block;
    text-align: left;
  }

  /* res kazenoko suihu ===============================*/

  #kazenoko .flex,
  #suihu .flex {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .info {
    width: 100%;
  }

  .pic1 {
    width: 100%;
  }

  .girl,
  .woman {
    display: none;
  }

  .info {
    margin-bottom: 20px;
  }

  /* res kyoshitsu ===============================*/

  .pic2 {
    display: flex;
    flex-direction: column;
  }

  .pic2-1 {
    display: flex;
    flex-direction: column;
  }

  #kyoshitsu .pic2 img,
  #kyoshitsu .pic2-1 img {
    width: 100%;
  }

  .pic2 img,
  .pic2-1 img {
    margin-bottom: 16px;
  }

  /* res basho ===============================*/

  #basho .flex {
    flex-direction: column-reverse;
    margin-bottom: 48px;
    justify-content: center;
  }

  .address {
    margin-top: 20px;
    width: 100%;
  }

  .map {
    width: 100%;
  }

  .map_small {
    display: none;
  }

  /* res outro ===============================*/

  .outro {
    background-color: rgb(237, 230, 230);
    width: 100%;
    height: auto;
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
    background-image: none;
    background-size: contain;
    position: static;
  }

  .text {
    text-align: center;
    position: static;
    padding: 4%;
  }

  .outro-first {
    margin-bottom: 5%;
  }

  /* res footer ===============================*/

  #footer {
    width: 0;
    height: 0;
    background-image: none;
    position: static;
  }

  .copyright {
    border-bottom: 3px solid #ddc7a9;
    position: static;
    top: 0px;
    right: 0px;
    text-align: right;
  }

  #footer.wrapper {
    max-width: 900px;
    margin: 0 auto;
    width: calc(100% - 50px - 50px);
    margin-bottom: 100px;
  }
}

/* responsive ===============================*/

/* 578pxまで */

/* =========================================== */

@media (max-width: 578px) {
  html {
    font-size: 75%;
  }

  .text {
    text-align: left;
  }

  .outro {
    background-color: rgb(237, 230, 230);
    background-image: none;
    background-size: contain;
    position: static;
  }

  .outro-first {
    margin-top: 5%;
  }

  .map {
    display: none;
  }

  .map_small {
    display: block;
  }
}

/* responsive ===============================*/

/* 460pxまで */

/* =========================================== */

@media (max-width: 460px) {
  html {
    font-size: 70%;
  }

  .top-right {
    width: 100%;
    padding: 0px 0;
    border-radius: 40% 40% 50% 40%/30% 50% 50% 50%;
    background-color: rgb(237, 230, 230);
    background-image: none;
    background-size: contain;
    position: static;
  }

  .map {
    display: none;
  }

  .map_small {
    display: block;
  }

  .map_small_small {
    display: none;
  }
}

/* responsive ===============================*/

/* 430pxまで */

/* =========================================== */

@media (max-width: 430px) {
  html {
    font-size: 70%;
  }

  .sankaku img {
    display: none;
  }

  .map_small {
    display: none;
  }

  .map_small_small {
    margin: 0 auto;
    display: block;
  }
}
