@charset "utf-8";

:root {
  --party-font: "Megrim", system-ui;
  --font-1: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
  --font-2: "Kaisei Decol", serif;
  --blog-color: #ffffff;
  --shadow-color: #00000059;
  --footer-color: #636987;
  --row-gap: 1.2rem;
}

*,
::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;
}

  .hitomonji {
      margin-top: 20px;
      padding-top: 15px;
      border-top: 1px dotted #ccc;
      font-size: 0.9em;
      color: #888;
    }

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,
video {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

/* カスタム */

/* ヘッダー*/
header {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 8px 20px 10px;
  --hambur-w: 40px;
}

header hgroup {
  display: flex;
  flex-wrap: wrap;
}

header hgroup img {
  display: inline-block;
  height: 33px;
  margin-right: 8px;
}

header hgroup img:hover {
  opacity: 0.7;
}

h1 {
  background-size: 200%;
  font-family: var(--party-font);
  background-image: linear-gradient(110deg, rgb(45, 80, 22), rgb(74, 124, 89), rgb(107, 142, 35), rgb(143, 188, 143), rgb(144, 238, 144), rgb(152, 251, 152), rgb(154, 205, 50), rgb(173, 255, 47), rgb(124, 252, 0), rgb(50, 205, 50), rgb(0, 255, 0), rgb(0, 255, 127), rgb(45, 80, 22), rgb(74, 124, 89), rgb(107, 142, 35), rgb(143, 188, 143), rgb(144, 238, 144), rgb(152, 251, 152), rgb(154, 205, 50), rgb(173, 255, 47), rgb(124, 252, 0), rgb(50, 205, 50), rgb(0, 255, 0), rgb(0, 255, 127));
  padding-top: 3px;
  padding-bottom: 3px;
  background-clip: text;
  color: transparent;
}

h1:hover {
  animation: niji-link 1.4s linear infinite;
}

.okareco {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  margin: 3rem auto 0;
}

@keyframes niji-link {
  to {
    background-position: -200%;
  }
}

header div {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}
.itiran {
  display: none;
}
.bell {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.bell span {
  transition-duration: .1s;
}

.bell a:first-child span {
  margin-right: 1rem;
}

.bell a:hover {
  opacity: 0.7;
}

.material-symbols-outlined {
  vertical-align: -15px;
}

header .material-symbols-outlined {
  color: gray;
}

.search .material-symbols-outlined {
  vertical-align: calc(-50% + 5.7px);
  color: gray;
}

.search {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33vw;
  padding: 0 8px;
  border: 1px solid gray;
  border-radius: 6px;
  color: gray;
  line-height: 2;
  user-select: none;
  pointer-events: none;
}

/* ハンバーガー */

.openbtn {
  display: none;
  cursor: pointer;
  width: var(--hambur-w);
  height: var(--hambur-w);
  border-radius: 5px;
}

.openbtn .openbtn-area {
  position: relative;
  transition: all .6s;
  width: var(--hambur-w);
  height: var(--hambur-w);
}

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 3px;
  border-radius: 2px;
  width: 60%;
}

.openbtn span:nth-of-type(1) {
  top: 33%;
}

.openbtn span:nth-of-type(2) {
  top: 50%;
}

.openbtn span:nth-of-type(3) {
  top: 67%;
}

.openbtn.active .openbtn-area {
  transform: rotate(360deg);
}

.openbtn.active span:nth-of-type(1) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 60%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 60%;
}

.underline {
  text-decoration: underline;
}

.underline:hover,
.okareco a:hover {
  opacity: 0.7;
}

@media (max-width: 800px) {
  header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0;
  }

  main {
    padding-top: 32px;
  }

  .header_inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 4px 0.5rem;
    z-index: 999;
    box-shadow: 0 2px 4px var(--shadow-color);
  }

  .itiran {
    display: block;
  }

  .openbtn {
    display: block;
  }

  #nav {
    position: absolute;
    width: 100vw;
    padding: 2rem 0 3rem;
    top: -179px;
    z-index: 10;
    transition: ease-in .25s;
  }

  .search {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    width: 94vw;
  }

  .bell {
    width: 94vw;
    margin-left: auto;
    margin-right: auto;
  }

  .bell span {
    display: block;
    margin-top: 2rem;
  }

  .bell a:first-child span {
    margin-right: 0;
  }

  .bell span::after {
    margin-left: 1rem;
    font-size: 1.2rem;
    vertical-align: 5px;
  }

  .bell a:first-child span::after {
    content: 'お知らせ';
  }

  .bell a:nth-child(2) span::after {
    content: 'マイページ';
  }
  .bell a:nth-child(3) span::after {
    content: '記事一覧';
  }

  /* フッター */
  .okareco {
    display: block;
  }
}
