@charset "UTF-8";

/*font-family: 'Kosugi Maru', sans-serif;
font-family: 'Noto Serif JP', serif;
font-family: 'Sawarabi Mincho', sans-serif;
*/

html {
  font-size: 100%;
}
body {
  font-family: "Kosugi Maru";
  line-height: 1.7;
  color: #432;
  margin: 0;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
/*HEADER
---------------------------------*/

/*メニュー用のFLEX*/
.page-menu {
  display: flex;
  top: 0;
  height: 9vh;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: white;
  z-index: 1;
}
/*メニューの画像*/
.menu-open {
  position: absolute;
  left: -1000px;
}
.menu-close {
  position: absolute;
  left: -1000px;
}

/*会社ロゴ*/
.logo {
  align-items: center;
  max-height: 49px;
  margin-top: 0;
}
/*メニューの親*/
.main-menu {
  font-family: "Kosugi Maru, sans-serif";
  display: flex;
  flex-wrap: wrap;
  font-size: 1rem;
  list-style: none;
  align-items: center;
  margin-top: 0;
}

.main-menu li {
  margin-left: 36px;
  width: 80px;
  text-align: center;
}

.main-menu a {
  color: black;
  font-size: 1em;
}

/*メインメニューの動き付*/
.main-menu-now:hover {
  border-bottom: solid 2px #87cefa;
}

.main-menu-now {
  border-bottom: solid 2px black;
}

/*全体のカバー*/
.wrapper {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
}

/*トップ写真の動き-----------------------*/
#homePicture {
  object-fit: cover;
  width: 100%;
  height: 93vh;
  animation-name: imgfade;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  opacity: 0;
  z-index: -1;
}
@keyframes imgfade {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}
/*見出し
----------------------------------------------------------------------------------------------------*/
.info {
  margin-top: 2rem;
  font-size: 2rem;
  text-align: center;
  color: white;
  background-color: #4763c2;
}
/*メインコンテンツ
-------------------------------------------------------------------------------------------------------------*/

.main-title {
  font-size: 2rem;
  padding-left: 15px;
  margin-top: 20px;
  border-bottom: solid 1px;
}
.main-contents {
  padding-left: 4%;
  margin-top: 10px;
  font-size: 1rem;
}
.main-contents-spliter {
  display: flex;
  padding-top: 0.4rem;
}

.main-contents-spliter-left {
  flex-basis: 32%;
}
.main-contents-spliter-left img {
  max-height: 100%;
  width: 250px;
}
.main-contents-spliter-right {
  padding-left: 2rem;
  flex-basis: 68%;
}
.main-photo {
  padding-top: 0px;
}

.sub-split {
  border-bottom: solid 1px #989898;
  margin-top: 5px;
  display: flex;
  font-size: 0.9rem;
  font-family: sans-serif;
}
.left {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  flex-basis: 25%;
  padding-left: 8%;
}
.right {
  flex-basis: 85%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.main-contents-button {
  text-align: center;
}

/*フッター
---------------------------------------------------------------------------------------------------------*/

footer {
  background: #2f4f4f;
  text-align: center;
  padding: 26px 0;
  margin-top: 50px;
  padding-left: 15px;
}
footer h1 {
  color: white;
  text-align: left;
}
footer p {
  color: #fff;
  font-size: 1rem;
}

.footinfo {
  color: white;
  font-size: 0.7rem;
  display: flex;
  list-style: none;
  flex-wrap: wrap;
}

.footinfo li {
  padding-left: 10px;
  padding-top: 10px;
  width: 205px;
  text-align: left;
}

/*ボタン
--------------------------------------------------------------------------------------*/

/*
<div class="container">
    <a href="#" class="btn-border">店舗案内へ</a>
</div>
*/
.btn-border {
  display: inline-block;
  max-width: 300px;
  text-align: center;
  border: 2px solid #4763c2;
  font-size: 1rem;
  color: #4763c2;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 100px;
  border-radius: 4px;
  transition: 0.4s;
}

.btn-border:hover {
  background-color: #4763c2;
  color: #fff;
}

/*
下線--------------------------------------------------------*/

.underline {
  display: inline-block;
  padding-bottom: 4px;
  position: relative;
}

.underline::after {
  background-color: #cbe585;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  transition: 0.5s all;
  width: 0;
}

.underline:hover::after {
  width: 100%;
}

/*------スマホ用---------*/

@media screen and (max-width: 790px) {
  .page-menu {
    height: 12vh;
    justify-content: space-between;
    position: fixed;
  }
  #homePicture {
    margin-top: 12vh;
  }
  .logo {
    margin-left: 1rem;
  }
  .main-contents {
    font-size: 1rem;
  }
  .main-title {
    font-size: 1.5rem;
  }

  /*メニューの親*/
  .main-menu {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    top: 12vh;
    left: -1000px;
    padding: 0;
    font-family: "Kosugi Maru, sans-serif";
    height: 93vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-size: 1rem;
    list-style: none;
    align-items: center;
    transition: 0.5s;
  }
  .main-menu.active {
    left: 0;
  }
  .main-contener {
    position: absolute;
  }

  .menu-open {
    left: 80vw;
    top: 1.5vh;
    width: 6vh;
    opacity: 1;
    transition: 0.5;
  }
  .menu-open.active {
    opacity: 0;
  }
  .menu-close {
    left: 80vw;
    top: 1.5vh;
    margin: 1vh;
    width: 4vh;
    opacity: 0;
    transition: 0.5;
  }
  .menu-close.active {
    opacity: 1;
  }

  .main-menu li {
    margin-left: 0px;
    width: 100%;
    margin-top: 1.5rem;
  }

  .main-menu a {
    color: white;
    font-size: 1.8rem;
    font-family: "M PLUS Rounded 1c";
  }
  .main-menu-now {
    border-bottom: solid 2px #89da59;
  }

  /*--コンテンツ--*/
  .info {
    margin-top: 13vh;
  }
  .main-title {
    font-size: 1.3rem;
  }
  .left {
    padding-left: 1rem;
  }

  .sub-split {
    font-size: 0.8rem;
  }
  .main-contents {
    margin: 0;
    padding: 0;
  }

  .main-contents-spliter {
    flex-direction: column;
  }

  .main-contents-spliter-left {
    flex-basis: auto;
    margin: 0 auto;
  }
  .main-contents-spliter-right {
    padding: 0;
    margin: 1rem;
  }

  /*--ボタン*/
  .btn-border {
    max-width: 200px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /*--footer-*/
  .wrapper {
    padding: 0;
    margin-top: 0.5rem;
  }
  .footlogo {
    font-size: 1.4rem;
  }
  .footinfo li {
    padding-left: 3px;
    padding-top: 1rem;
    text-align: left;
    max-width: 170px;
  }
}
