* {
  box-sizing: border-box;
}

body {
  font-family: "A1 Gothic R", sans-serif;
  font-feature-settings: "halt";
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

article {
  padding: 1.5rem 0.5rem;
  max-width: 856px;
}

#kv {
  max-width: 96%;
  width: 364px;
  margin: 0 auto 3.125rem auto;
}

#yodogawa {
  padding: 0;
}

#yodogawa .inner {
  text-align: center;
  font-size: 1.125rem;
}

#yodogawa.bd_t.bd_none {
  margin-top: 0;
}

#index_nav {
  display: none;
}

img {
  display: block;
  width: 100%;
}

#information_free {
  margin-top: 6.25rem;
}

#information_free .info_code + .info_code {
  margin-top: 5rem;
}

#information_free .contents-link li {
  margin: 0;
  padding: 0;
}

#information_free .bd_b {
  border-bottom: none;
}

.contents-link {
  width: 100%;
  background-color: #BFD9B8;
  padding: 1.75rem 0.5rem;
}

.contents-link > ul {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  gap: 30px;
}

.contents-link > ul > li a {
  display: block;
  width: 90px;
  height: fit-content;
  aspect-ratio: 1 / 1;
  background-color: #929292;
  display: grid;
  place-items: center;
  border-radius: 4px;
  cursor: default;
}
.contents-link > ul > li a[href] {
  background-color: #BA7C00;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.contents-link > ul > li a img {
  max-height: 100%;
}
.contents-link > ul .link-yomimono img {
  width: 48%;
  transform: translateY(4%);
}
.contents-link > ul .link-school img {
  width: 40%;
  transform: translateY(0%);
}
.contents-link > ul .link-youtube img {
  width: 61%;
  transform: translateY(5%);
}

@media (min-width: 641px) {
  #kv {
    margin: 4rem auto;
  }
  #information_free {
    margin-top: 7.25rem;
  }  
  #information_free .info_code + .info_code {
    margin-top: 9.375rem;
  }
  .contents-link {
    padding: 3.375rem 12.125rem;
  }
  .contents-link > ul {
    gap: 50px;
  }
  .contents-link > ul > li a {
    width: 123px;
  }  
}

@media (hover: hover) {
  .is_pc a img:hover {
    opacity: unset;
  }
  a {
    transition: opacity 0.2s ease 0.05s;
  }
  .contents-link > ul > li a[href]:hover {
    opacity: 0.7;
  }
}