@charset "utf-8";

*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  box-sizing: border-box;
  font-size: 16px
}

ul,
ol {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1;
}


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

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

/* カスタム */
label {
  display: inline-block;
}

/* ヘッダー */
header {
  padding-top: 60px;
}

hgroup p {
  margin-top: 16px;
  margin-left: 1.5rem;
  font-size: 1rem;
}

header img {
  transition-duration: 0.1s;
}

header img:hover {
  opacity: 0.8;
}

/* ナビ */
header nav {
  position: relative;
}

header nav ul {
  position: absolute;
  bottom: -80px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 8px;
}

.fusen {
  font-family: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive;
  font-weight: bold;
  position: relative;
  text-align: center;
  width: 140px;
  border-left: 25px solid var(--mouri-black);
  background-color: var(--mouri-white);
  color: var(--mouri-black);
}


.fusen::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: -25px;
  width: 25px;
  height: 100%;
  background-color: var(--mouri-black);
  background-image:
    repeating-linear-gradient(90deg,
      var(--mouri-white),
      var(--mouri-white) 1px,
      transparent 1px,
      transparent 2px);
}

.fusen::before {
  position: absolute;
  bottom: 2px;
  right: 5px;
  z-index: -1;
  transform: rotate(5deg);
  width: 100%;
  height: 50%;
  background-color: var(--mouri-shadow);
  content: "";
  filter: blur(4px);
}

.fusen:hover {
  color: rgba(15, 20, 25, 0.8);
}

.fusen:hover::after {
  background-image:
    repeating-linear-gradient(0deg,
      var(--mouri-white),
      var(--mouri-white) 1px,
      transparent 1px,
      transparent 2px);
}

.fusen a {
  display: block;
  font-size: 18px;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* フッター */
footer {
  margin-top: 100px;
  padding-top: 150px;
  padding-bottom: 2px;
}

.f_mouri {
  margin-bottom: 42px;
}

footer nav {
  position: relative;
}

footer nav ul {
  position: absolute;
  display: flex;
  column-gap: 1rem;
  row-gap: 8px;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
}

.f_img {
  margin: 0 auto;
  width: 540px;
  max-width: 93vw;
  transition-duration: 0.1s;
}

.f_img:hover {
  opacity: 0.8;
}

.okareco {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  margin: auto 0;
  font-size: small;
}

.okareco a:hover {
  opacity: 0.7;
}

@media (max-width: 800px) {

  /* ヘッダー */
  header {
    padding-top: 20px;
  }
  hgroup{
    margin-bottom: 24px;
  }
  hgroup p {
    display: none;
  }

  header nav ul {
    position: relative;
    justify-content: center;
    margin-top: 1rem;
    bottom: 0;
  }

  /* フッター */
  footer {
    margin-top: 4rem;
    padding-top: 0;
  }

  footer nav ul {
    margin-bottom: 34px;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .okareco {
    display: block;
    text-align: center;
  }
}