@charset "UTF-8";
html {
    scroll-behavior: smooth;
}
body {
    /* font-family:'メイリオ', 'Meiryo', sans-serif; */
    font-family: 'Kaisei Tokumin', serif;
    font-size: 16px;
}

.white {
    background: #fff;
}

.sec2 {
    background: #f4f2ec;
}

.sec3 {
    background: #dedbcd;
}
.sec4 {
    background: #b3afa4;
}
/* 調整用スタイル */


h1 {
    font-family: 'Kaisei Tokumin', serif;
    text-align: center;
    padding: 15px 0 0 0;
}

.rinokuro_info {
    text-align: center;
    font-size: 1.2rem;
    padding: 30px 0;
    font-family: 'Kaisei Tokumin', serif;
}
a {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}


main {
  background-color: #fff;
  /* height: 800px; */
  /* display: flex; */
  padding: 50px 0 0 0;
  overflow: hidden;
}


.main {
  margin: auto;
}

.info {
    background: #e6e6e6;
    padding: 10px 0;
}
.detail_info {
    width: 70%;
    margin: 0 auto;
}

.main_width {
    width: 70%;
    margin: 10px auto;
}

.title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    padding: 20px 0 0 25px;
    font-family: 'Kaisei Tokumin', serif;
}

.detail {
    text-align: center;
    font-size: 1.5rem;
    padding: 30px 0;
}

.img_ptag_before {
    text-align: center;
    padding: 0 0 0px 0;
}
.after {
    text-align:center;
    font-weight: bold;
    font-size: 1.2rem;
}

.img_ptag {
    text-align: center;
    padding: 0 0 50px 0;
}
.img_ptag img {
    /* width: 30%; */
}

.flex_box {
    display: flex;
    justify-content: space-around;
}
.item {
    width: 30%;
    padding: 0 30px;
}

.item img {
    width: 100%;
}

.img_tag {
    font-size: 1.1rem;
    /* font-weight: bold; */
    font-style: normal;
    padding: 0 0 30px 0;
    text-align: center;
}

.footer {
  background-color: #f6f6f6;
  height: 200px;
  display: flex;
}

.footer div {
  margin: auto;
}

/* .slider img {
    max-width: 100%;
} */

/* ヘッダー */


.header {
  background-color: white;
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0px 1px 3px #e6e6e6;
}

.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}


/* ヘッダーのロゴ部分 */
.header__title {
  width: 80px;
}

.sl {
    margin: 0 50px;
    width: 100%;
}

.footer_title {
    text-align: center;
    font-weight: bold;
    color: #fff;
    padding: 30px 0 30px 0;
}

@media screen and (min-width: 960px) {
  .header__title {
    width: 120px;
  }
}

.header__title img {
  /* display: block; */
  width: 120%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease .4s;
}


@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
}

@media screen and (max-width: 850px) {

    /* .sl img {
        width: 100%;
    } */
    .header__title img {
        vertical-align: top;
    }
    .sl {
        margin: 0 0px;
    }
    .slider div {
    	height: 100%;
    }
    .slider img {
    	width: 100%;
    }
    .img_ptag_before img {
        width: 100%;
    }
    .img_ptag img {
        width: 100%;
    }

    .main_width {
        width: 98%;
    }

    .detail {
        text-align: left;
        font-size: 0.9rem;
        padding: 20px 5px;
    }
    /* .item img {
        width: 40%;
    } */
    .img_tag {
        font-size: 0.8rem;
    }
    .rinokuro_info {
        text-align: left;
        font-size: 0.9rem;
        padding: 30px 5px;
    }
    .item {
        width: 30%;
        padding: 0 5px;
    }

}

@media screen and (min-width: 960px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}

.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}



@media screen and (min-width: 960px) {
  .nav-items {
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);

  }
}

/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
  color: black;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}


/* ハンバーガーメニュー */

.header__hamburger {
  width: 48px;
  height: 100%;

}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;

}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}
