.wrap {
  position: relative;
  background-image: url(../img/bg_body.png);
  background-size: 300px auto;
  background-position: top left;
  background-color: #ffe9fc;
  overflow: hidden;
  line-height: 1.4;
}

section {
  position: relative;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-image: url(../img/bg_flower.png);
  background-size: 80px auto;
  background-position: top left;
  background-color: #fffae1;
}

.inner {
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.top {
  aspect-ratio: 1/0.43;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../img/top.png);
  background-size: 100% auto;
  background-position: top left;
}

.logo {
  width: 36%;
  padding: 0 0 5%;
}

h1 {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

.scroll {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 13px;
  text-align: center;
  color: #1900ff;
  overflow: hidden;
}

.scroll span {
  display: inline-block;
  padding-left: 100%;
  white-space: nowrap;
  line-height: 1em;
  animation: scrollAnime 4s linear infinite;
}

@keyframes scrollAnime {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-100%)
  }
}

main {
  display: flex;
  padding: 0 20px;
}

.col {
  flex: 1;
  margin-right: 30px;
}

.col:last-child {
  flex: 4;
  margin-right: 0;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.navi li {
  margin: 0 0 6px;
  background-image: url(../img/btn_bg.png);
  background-size: cover;
}

.navi li img {
  line-height: 0;
  vertical-align: bottom;
}

.navi li:last-child {
  margin: 0;
  background: 0;
}

.navi li:last-child img {
  width: 80%;
  margin: 10px 0 0;
}

.welcome {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 30px;
}

.end {
  display: inline-block;
  text-align: center;
  color: #fff000;
  font-size: 22px;
  font-weight: bold;
  background-color: #ff00ff;
  padding: 0 5px;
  margin: 0 0 15px;
}

.counter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.counter p {
  color: #fff000;
  font-size: 18px;
  font-weight: bold;
  background-color: #0000ff;
  padding: 0 5px;
}

.counter img {
  width: 100px;
  margin: 0 5px;
}

.heading {
  position: relative;
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background-position: top left;
  background-size: 10px auto;
  background-repeat: repeat;
  margin: 0 0 20px;
}

.g-1 {
  background-image: url('../img/bg_dot.png'), linear-gradient(0deg, rgba(255, 161, 229, 1) 35%, rgba(255, 107, 185, 1) 100%);
}

.g-2 {
  background-image: url('../img/bg_dot.png'), linear-gradient(0deg, rgba(115, 217, 255, 1) 35%, rgba(39, 168, 255, 1) 100%);
}

.g-3 {
  background-image: url('../img/bg_dot.png'), linear-gradient(0deg, rgba(140, 228, 104, 1) 35%, rgba(59, 191, 73, 1) 100%);
}

.g-4 {
  background-image: url('../img/bg_dot.png'), linear-gradient(0deg, rgba(255, 201, 43, 1) 35%, rgba(255, 143, 0, 1) 100%);
}

.g-5 {
  background-image: url('../img/bg_dot.png'), linear-gradient(0deg, rgba(176, 176, 255, 1) 35%, rgba(112, 102, 255, 1) 100%);
}

.heading-image {
  position: absolute;
  width: 50%;
  top: -5px;
  left: 10px;
}

.top-btn {
  position: absolute;
  width: 15%;
  bottom: 5px;
  right: 10px;
}

.content {
  margin: 0 0 40px;
}

.content p {
  font-size: 14px;
}

.sub-heading {
  width: 44%;
  margin: 0 auto 20px;
}

.idea {
  margin: 0 0 20px;
  text-align: center;
  color: #ff00ff;
  font-size: 20px;
  font-weight: bold;
}

.idea-logo {
  width: 40%;
  margin: 0 auto 20px;
}

.principal {
  width: 100%;
  padding: 30px 50px;
  border-radius: 20px;
  background-position: top left;
  background-size: 10px auto;
  background-repeat: repeat;
  background-image: url(../img/bg_dot.png);
  background-color: #ffcae0;
}

.news {
  height: 600px;
  margin: 0 0 40px;
  padding: 30px;
  border: #666 solid 1px;
  background-color: #dcffff;
  overflow: scroll;
}

.news-heading {
  padding: 0 0 .5em;
  font-size: 20px;
  font-weight: bold;
  color: #0000ff;
  text-decoration: underline;
}

.news-image {
  width: 70%;
  margin: 30px auto;
}

.news-goods {
  width: 100%;
  margin: 30px 0;
}

.ennai {
  width: 100%;
  margin: 0 0 40px;
  padding: 30px;
  border: #ff00ff solid 2px;
  background-color: #ffdcfa;
}

.ennai-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.child-1 {
  order: 1;
}

.child-2 {
  order: 2;
}

.child-3 {
  order: 3;
}

.child-4 {
  order: 4;
}

.child-5 {
  order: 5;
}

.child-6 {
  order: 6;
}

.ennai-text {
  width: 48%;
  margin: 0 0 30px;
}

p span {
  display: block;
  color: #0000ff;
  font-weight: bold;
  padding: 0 0 .8em;
}

.ennai-image {
  width: 48%;
  margin: 0 0 30px;
}

.ennai div:last-child {
  margin: 0;
}

.sensei {
  width: 100%;
  border: #fff solid 2px;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3),
    inset 2px 2px 0px rgba(0, 0, 0, 0.3);
  padding: 20px;
  display: inline-block;
}

.sensei-outer {
  position: relative;
  width: 100%;
  border-bottom: 2px solid #fff;
  padding-bottom: 15px;
  margin-bottom: 15px;
  display: inline-block;
  z-index: 2;
}

.sensei-outer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.sensei-outer-2 {
  position: relative;
  width: 100%;
}

.sensei-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.sensei-image {
  width: 30%;
}

.sensei-text {
  width: 65%;
}

.common-heading {
  width: 80%;
  margin: 20px auto;
}

.enji {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.enji-item {
  width: 31%;
  margin: 0 0 20px;
  text-align: center;
  color: #000;
  font-size: 14px;
}

.enji-item img {
  margin: 0 0 5px;
  border: #00ff1a solid 1px;
}

.guid {
  width: 100%;
  padding: 20px;
  background-color: #fff;
}

table {
  font-size: 14px;
  border: double;
  margin: 0 0 20px;
}

td {
  border: 1px solid #000;
  padding: 5px;
}

td:first-child {
  background-color: #73ffff;
}

.dl {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.dl-item {
  width: 31%;
  margin: 0 0 20px;
  text-align: center;
  color: #000;
  font-size: 14px;
}

.pdf {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
  border: #7852dd dashed 2px;
}

.pdf-item {
  width: 48%;
  margin: 0 0 20px;
  font-size: 14px;
  background-color: #fff;
}

.pdf-item:first-child {
  width: 100%;
  background-color: transparent;
}

.pdf-item:nth-last-child(2) {
  width: 100%;
  margin: 0;
  background-color: transparent;
}

.btn {
  width: 40%;
  margin: 15px 0 0;
  background-image: url(../img/btn_bg-2.png);
  background-size: cover;
}

.share {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 15px;
}

.share-item {
  width: 3rem;
  margin: 0 1rem;
}

.share-item:first-child {
  width: 15rem;
}

.footer {
  width: 100%;
  padding: 2rem 0;
  background-color: #ff7bac;
}

.footer-copy {
  width: 100%;
  font-size: 12px;
  text-align: center;
  color: #fff;
}

#page-top {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 10px;
  right: 10px;
  z-index: 3;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .pc_display {
    display: none;
  }

  .pc {
    display: none;
  }

  .wrap {
    background: none;
  }
  
  .container {
    width: 100%;
  }
  
  .top {
    aspect-ratio: 1/0.52;
    background-image: url(../img/top-sp.png);
  }
  
  .logo {
    width: 56%;
    padding: 0 0 5%;
  }
  
  .scroll {
    font-size: 12px;
  }
  
  main {
    display: flex;
    padding: 0 20px;
  }
  
  .col {
    display: none;
  }

  .col:last-child {
    display: block;
    flex: none;
    width: 100%;
    margin-right: 0;
  }
  
  .welcome {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 30px;
  }
  
  .end {
    font-size: 18px;
    padding: 0 5px;
    margin: 0 0 10px;
  }
  
  .counter p {
    font-size: 16px;
  }
  
  .counter img {
    width: 24%;
    margin: 0 5px;
  }
  
  .heading {
    height: 35px;
    border-radius: 8px;
    background-size: 6px auto;
    margin: 0 0 2rem;
  }
  
  .heading-image {
    width: 72%;
    top: -10px;
    left: 3px;
  }
  
  .top-btn {
    width: 25%;
    bottom: 5px;
    right: 6px;
  }
  
  .content {
    margin: 0 0 3rem;
  }
  
  .content p {
    font-size: 14px;
  }
  
  p span {
    padding: 0 0 .6em;
  }

  .sub-heading {
    width: 66%;
    margin: 0 auto 1.5rem;
  }
  
  .idea {
    margin: 0 0 2rem;
    font-size: 3.8vw;
  }
  
  .idea-logo {
    width: 60%;
    margin: 0 auto 2rem;
  }
  
  .principal {
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
    background-size: 10px auto;
  }
  
  .news {
    height: 50rem;
    margin: 0 0 2rem;
    padding: 2rem;
  }
  
  .news-heading {
    padding: 0 0 .5em;
    font-size: 16px;
  }
  
  .news-image {
    width: 100%;
    margin: 2rem auto;
  }
  
  .news-goods {
    width: 100%;
    margin: 2rem 0;
  }
  
  .ennai {
    margin: 0 0 2rem;
    padding: 2rem;
  }
  
  .child-3 {
    order: 4;
  }
  
  .child-4 {
    order: 3;
  }
  
  .ennai-text {
    width: 100%;
    margin: 0 0 1rem;
  }
  
  .ennai-image {
    width: 100%;
    margin: 0 0 2.5rem;
  }
  
  .sensei {
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3),
      inset 2px 2px 0px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    flex-wrap: wrap;
  }
  
  .sensei-outer {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  
  .sensei-image {
    width: 60%;
    margin: 0 auto 2rem;
  }
  
  .sensei-text {
    width: 100%;
  }
  
  .common-heading {
    width: 100%;
    margin: 2rem auto;
  }
  
  .enji-item {
    width: 47%;
    margin: 0 0 1.5rem;
    font-size: 14px;
  }
  
  .enji-item img {
    margin: 0 0 5px;
  }
  
  .guid {
    padding: 2rem;
  }
  
  table {
    width: 100%;
    margin: 0 0 2rem;
  }
  
  td {
    border: 1px solid #000;
    padding: 5px;
  }

  .dl-item {
    margin: 0 0 2rem;
  }
  
  .pdf {
    padding: 2rem;
  }
  
  .pdf-item {
    width: 100%;
    margin: 0 0 2rem;
  }
  
  .btn {
    width: 70%;
    margin: 1rem 0 0;
  }
  
  .share {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0 15px;
  }
  
  .share-item {
    width: 3rem;
    margin: 0 1rem;
  }
  
  .share-item:first-child {
    width: 15rem;
  }
  
  .footer {
    width: 100%;
    padding: 2rem 0;
    background-color: #ff7bac;
  }
  
  .footer-copy {
    width: 100%;
    font-size: 12px;
    text-align: center;
    color: #fff;
  }
  
  #page-top {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 10px;
    right: 10px;
    z-index: 3;
  }

}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .container {
    width: 100%;
  }

}

@media screen and (min-width: 1025px) {
  .sp_display {
    display: none;
  }

  .sp {
    display: none;
  }

  .button a:hover {
    color: #d14a4a;
    background-image: url(../img/common/mark_3_on.png), url(../img/common/mark_3_on.png);
    border: #d14a4a solid 2px;
    background-color: #fff;
  }

  .alpha a img {
    display: block;
  }

  .alpha a:hover img {
    opacity: 0.6;
  }

  a.btn_over img {
    display: block;
    transition: .2s;
  }

  a.btn_over img:hover {
    transform: scale(1.1);
  }

}