@charset "utf-8";
/* common.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px solid red; */
}
*::after, *::before {
  box-sizing: border-box;
}
html {
  position: relative;
  font-family: Helvetica Neue,Arial,Hiragino Sans,Hiragino Kaku Gothic ProN,BIZ UDPGothic,Meiryo,sans-serif;
}
html:focus-within {
  scroll-behavior: smooth;
}
body {  
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0;
  color: rgb(37, 37, 37);
}
ul, ol {
  list-style-type: none;
}
a {
  cursor: pointer;
  text-decoration: none;
  color: rgb(37, 37, 37);
}
img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
main {
  display: block;
}
table {
  border-collapse: collapse;
}
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=submit],input[type=button]
button, textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type=button] {
  display: block;
  border: none;
}
input[type=button]:hover {
  cursor: pointer;
}
/* Accessibility */
[aria-busy='true'] {
  cursor: progress;
}
[aria-controls] {
  cursor: pointer;
}
[aria-disabled='true'] {
  cursor: default;
}


/* header */
.header {
  display: flex;
  justify-content: space-between;
  padding: 0 4%;
  width: 100%;
  height: 200px;
  background: url(../img/gerbera.jpg);
  background-size: cover;
  background-position-y: 20%;
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: lighten;
}

.head-level1 {
  display: flex;
  align-items: center;
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
}

.fb,
.twit {
  width: 24px;
}

.nav-wrap {
  flex-basis: 220px;
  position: relative;
}

.nab_items {
  display: flex;
}

.gnavi {
  justify-content: space-between;
}

.gnavi a {
  font-family: 'Heebo', sans-serif;
  font-weight: 800;
}

.fb {
  margin: 0 30px 10px 0;
  width: 30px;
}

.sns,
.gnavi {
  position: absolute;
}

.gnavi {
  bottom: 0;
  width: 200px;
}

.sns {
  bottom: 30px;
}

@media screen and (max-width:768px) {
  .header {
    position: relative;
    display: block;
  }
  .head-level1 {
    width: 100%;
    transform: translateY(calc(100px - 50%));
  }
  .nav-wrap {
    position: absolute;
    width: 100%;
    max-width: 200px;
    right: 5%;
    bottom: 0;
  }
}

/* pagenation */
.pagenation {
  display: flex;
}

.pagenation__item {
  margin-right: 16px;
}

.pagenation__item.num {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #FCD17C;
  border-radius: 5px;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  transition: all ease .3s;
}

.pagenation__item.num:hover {
  background: #535353;
}

.pagenation__item.num.active {
  color: #e8e8e8;
  background: #535353;
  line-height: 1.7;
}

.pagenation__item.num a {
  display: block;
  width: 100%;
  text-align: center;
  transition: color ease .3s;
  line-height: 1.7;
}

.pagenation__item.num a:hover {
  color: #ffffff;
}
.toIndex {
  margin-top: 20px;
}

/* footer */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: #FCD17C;
  text-align: center;
}

.cp {
  line-height: 3;
}

/* button effects */
.underline {
  display: inline-block;
  padding-bottom: 4px;
  position: relative;
}

.underline::after {
  background-color: #535353;
  bottom: 8px;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  transition: .5s all;
  width: 0;
}

@media (hover: hover) and (pointer:fine) {

  .underline:hover::after {
    width: 100%;
  }
}

.center::after {
  left: 50%;
  transform: translateX(-50%);
}
