@charset "UTF-8";
/* ページ内リンク・スクロールをなめらかに */
html {
  scroll-behavior: smooth;
}

/* リセットcss */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

ul,
li {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.mar-10 {
  margin-right: 10px;
}

/* トップボタン */
.pagetop {
  height: 100px;
  width: 100px;
  position: fixed;
  right: 30px;
  bottom: 75px;
  z-index: 50;
  
}

/* セクション境界線 */
.border {
  margin-top: 30px;
  width: 100%;
  height: 50px;
  background: repeating-linear-gradient(
    -45deg,
    #ffae00,
    #f5b11d 40px,
    #fffaef 40px,
    #fffaef 80px
  );
}

.first-border {
  margin-top: 0;
}

/* ボタンの背景（リボン） */
.back-ribon {
  position: fixed;
  top: 0;
  right: 50px;
  width: 100px;
  height: 110px;
  z-index: 80;
  background: #3dc13d;
}

/* リボンの下 */
.back-ribon:after {
  content: "";
  position: absolute;
  left: 0;
  top: 99%;
  height: 0;
  width: 100px;
  border-left: 50px solid #3dc13d;
  border-right: 50px solid #3dc13d;
  border-bottom: 30px solid transparent;
}

/* 線 */
.hamberger-area {
  width: 65px;
  height: 9px;
  position: fixed;
  top: 43px;
  right: 65px;
  z-index: 100;
}

.hamberger {
  width: 65px;
  height: 70px;
  display: block;
  position: relative;
  background-color: #fff;
  transition: background-color 0.5s;
}

.hamberger,
.hamberger::after,
.hamberger::before {
  content: "";
  background-color: #fff;
  display: block;
  width: 65px;
  height: 9px;
  position: absolute;
  transition: 0.5s;
}

.hamberger::after {
  top: -20px;
}

.hamberger::before {
  top: 20px;
}

/* ボタンが押された時 */
.hamberger-area.is-show .hamberger {
  background-color: transparent;
}

.hamberger-area.is-show .hamberger::after {
  background-color: #333;
  top: 0;
  transform: rotate(45deg);
}

.hamberger-area.is-show .hamberger::before {
  background-color: #333;
  top: 0;
  transform: rotate(-45deg);
}

/* メニュー */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-image: url(../img/top/top-back-ground2.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 125%;
  display: none;
  z-index: 90;
}

.menu-inner {
  position: relative;
  height: 90%;
  width: 75%;
  margin: auto;
  display: flex;
  justify-content: space-around;
}
.sito-logo {
  position: absolute;
  top: 0px;
  left: -190px;
  z-index: 95;
  display: block;
  width: 250px;
}

.menu-inner ul {
  height: 100%;
  margin-top: 160px;
}

.menu-inner ul li {
  list-style: none;
  line-height: 8rem;
  display: block;
  font-size: 40px;
  font-weight: bold;
}

/* footer */
.footer {
  display: block;
  height: 90vh;
  width: 100%;
  margin-top: 50px;
  background-image: url(../img/footer/footer\ 2.PNG);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.footer-menu {
  color: #fff;
  font-weight: bold;
  width: 60%;
  height: 100%;
  margin: auto;
  font-size: 25px;
  line-height: 3.5rem;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.footer-menu ul {
  margin-bottom: 40px;
}

.footer-sita {
  height: 10vh;
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
}

.code {
  width: 150px;
  display: block;
}

.twitter {
  width: 70px;
  cursor: pointer;
}

.instagram {
  width: 70px;
  cursor: pointer;

}

.footer-sita p {
  margin-top: 50px;
  margin-right: auto;
}

/* リンク画像のホバーアクション */
.rink-button a:hover { 
  transform-origin: 50% 100%;
  transform: rotate(-5deg);
}


/* フェードイン動作 */
.fadein {
  opacity: 0;
  transform: translate(0, 0);
  transition: all 1s;
}

.fadein-bottom {
  transform: translate(0, 30px);
}

.scrollin {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}
