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

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  background-color: #e6f7ff;
  background-image: radial-gradient(at 3% 7%, whitesmoke 0px, transparent 50%), radial-gradient(at 91% 10%, #e6f7ff 0px, transparent 50%), radial-gradient(at 47% 100%, #d1f3ff 0px, transparent 50%), radial-gradient(at 90% 77%, #d1f3ff 0px, transparent 50%);
  min-height: 100vh;
  font-size: 13px;
  padding: 30px 0 80px;
  position: relative;
}
@media (max-width: 767px) {
  body {
    font-size: 12px;
  	padding: 20px 0 60px;
  }
}

b, strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

a {
  text-decoration: none;
}

img {
  border-style: none;
}

#mainv {
  width: calc(100% - 400px / 3);
  max-width: 700px;
  height: 100%;
  margin: 0 auto;
  background: #fff;
  position: relative;
  margin-bottom: 20px;
  background-color: transparent;
}
#mainv img{width: 100%;}

@media (max-width: 767px) {
  #mainv {
    width: calc(100% - 40px);
  }
}

header {
  text-align: center;
  padding: 0 0 2em;
}
header h1 {
  font-size: 1.8em;
  margin: 0.4em auto 1.5em;
  padding: 0.5em 0;
  position: relative;
}
header h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 2em;
  border-radius: 3px;
  margin: auto;
  background: #004097;
  position: absolute;
  left: -100%;
  right: -100%;
  bottom: -6px;
}
header p {
  font-size: 1.2em;
}

main {
  width: calc(100% - 400px / 3);
  max-width: 700px;
  height: 100%;
  padding: 1em 1em 30px;
  margin: 0 auto;
  background: #fff;
  position: relative;
}
@media (max-width: 767px) {
  main {
    width: calc(100% - 40px);
    padding: 1em;
  }
}
main::before {
  content: "";
  display: block;
  height: 40px;
  width: 40px;
  margin: auto;
  background: transparent url("../image/icon_header.svg") no-repeat center/contain;
  position: absolute;
  left: -100%;
  right: -100%;
  top: -23px;
}
main ol {
  width: 100%;
  max-width: 480px;
  margin: auto;
}
main ol li {
  list-style: none;
  margin: 0 auto 1em;
}
main ol li a {
  border: 2px solid #eee;
  border-radius: 3px;
  display: block;
  padding: 1em 2.3em 1em 1em;
  box-shadow: 0 2px 6px -3px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: 0.5s;
}
main ol li a > * {
  color: #333;
}
main ol li a::after {
  content: "";
  width: 1.2em;
  height: 1.2em;
  display: block;
  margin: auto;
  background: transparent url("../image/arrow.svg") no-repeat center/contain;
  position: absolute;
  top: -100%;
  bottom: -100%;
  right: 0.9em;
  transition: 0.5s;
}
main ol li a h2 {
  font-size: 1.3em;
}
main ol li a h2::before {
  width: 1em;
  height: 1em;
  display: inline-block;
  background: transparent no-repeat center / contain;
  transform: translateY(0.15em);
  margin-right: 0.3em;
}
main ol li a h2 + p {
  margin-top: 0.4em;
}
main ol li a.no-icon h2{
  font-size: 1.2em;
}
main ol li a[href*="instagram"] h2::before {
  content: "";
  background-image: url("../image/icon_instagram.svg");
}
main ol li a[href*="tiktok"] h2::before {
  content: "";
  background-image: url("../image/icon_tiktok.svg");
}
main ol li a[href*="note"] h2 {
  color: rgba(0, 0, 0, 0);
}
main ol li a[href*="note"] h2::before {
  content: "";
  background-image: url("../image/icon_note.svg");
  width: 4em;
  transform: translate(0);
}
main ol li a[href*="youtube"] h2::before {
  content: "";
  background-image: url("../image/icon_youtube.svg");
}
main ol li a[href*="twitter"] h2::before {
  content: "";
  background-image: url("../image/icon_x.svg?240215");
}
main ol li a[href*="line"] h2::before {
  content: "";
  background-image: url("../image/icon_line.svg");
}
main ol li a[href="../"] h2::before {
  content: "";
  background-image: url("../image/icon_eishinkan.svg");
  width: 4.5em;
  transform: translateY(0.12em);
}
main ol li a:hover {
  transition: 0.2s;
  box-shadow: 0 0 3px -3px rgba(0, 0, 0, 0.15);
  animation: 0.2s forwards bgAnime;
}
main ol li a:hover::after {
  transition: 0.2s;
  right: 0.6em;
  filter: invert(100%) brightness(10000%);
}
main ol li a:hover * {
  color: #fff;
}
main ol li a:hover h2::before {
  filter: invert(100%) brightness(10000%);
}
main ol li a:hover[href*="instagram"] h2::before {
	filter: invert(80%) grayscale(100%) brightness(10000%) ;
}
main ol li a:hover[href*="youtube"] h2::before {
	filter: invert(100) hue-rotate(60deg) grayscale(100%) brightness(10000%);
}
main ol li a:hover[href*="twitter"] h2::before {
	filter: invert(100%) brightness(10000%);
}

@keyframes bgAnime {
  0% {
    background: linear-gradient(to right, transparent 0%, transparent 100%);
  }
  50% {
    background: linear-gradient(to right, #004097 0%, transparent 100%);
  }
  100% {
    background: linear-gradient(to right, #004097 0%, #004097 100%);
  }
}
footer {
  width: 100%;
  background: #004097;
  text-align: center;
  padding: 1em;
  position: absolute;
  bottom: 0;
}
footer * {
  font-size: 8px;
  color: #fff;
}
