@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto Sans JP");
/* 全体の設定 */
body {
  font-family: "Noto Sans JP", serif;
  background-image: url("../img/backcha.jpg");
  background-repeat: repeat;
  color: #fff;
  text-align: center;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

/* ヘッダーの設定 */
header {
  /* max-width: 1000px; */
  font-family: "Noto Sans JP";
  position: fixed; /* ウィンドウを基準に画面に固定 */
  display: flex;
  /* flex-direction: column;  */
  /* justify-content: center; */
  top: 0;
  left: 0;
  /* align-items: center; */
  /* text-align: center; */
}
.tlid {
  flex-direction: row;
  margin-top: 0;
  color:#000;
}
.tlidy {
  background-color: rgb(255, 0, 0, 0.7);
  margin-top: 0;
  padding: 10px;
}
.tlidn {
  background-color: rgb(30, 144, 255, 0.7);
  margin-top: 0;
  padding: 10px;
}
/* .tlido {
    background-color: rgb(0, 128, 0, 0.7);
    margin-top: 0;
    padding: 10px;
  } */

/* メインの設定 */
main {
  max-width: 1000px;
  width: 100%;
  margin: 150px auto 100px; /* 左右のマージンをとる */
}

ul {
  list-style-type: none; /* リストの点を表示しない*/
  padding-left: 0; /* リストの点分の左側のパディングを0にする*/
  display: flex;
  flex-direction: column;
}

.contents li {
  padding: 0px;
  /* position: relative; */
  /* opacity: 0;
    transform: translateY(50px);
    transition: 5s; */
}

.contents li.show h2,
.contents li.show p,
.contents li.show a.torokulink,
main .contents li.show img {
  opacity: 1;
  transform: none;
}

h1 {
  color: #fff;
  text-align: center;
  margin: 100px auto 100px;
  font-size: 9vw;
}

h2 {
  font-size: 6vw;
  color: #fff;
  margin-top: 50px auto 100px;
  text-align: center;
  opacity: 0;
  transform: translateY(100px);
  transition: 1s;
}
h3{
    font-size: 3vw; 
}
p {
  font-size: 5vw;
  opacity: 0;
  transform: translateY(100px);
  transition: 1s;
  margin-top: 0px auto 50px;
}
.title {
  width: 100%;
}

a {
  font-size: 3vw;
  color: #fff;
  background-color: #ffa500;
  border-radius: 8px;
  padding: 4px;
  line-height: 1.8em; /* 1行の高さ  */
  margin: 4px;
  text-decoration: none;
}

a:hover {
  color: #ffa500;
  background-color: #fff;
}

.applink,
.weblink {
  display: inline-block;
}

.torokulink {
  display: inline-block;
  opacity: 0;
  transform: translateY(100px);
  transition: 2s;
}

.contents img {
  width: 100%;
  margin: 20px auto 50px;
  align-items: center;
  opacity: 0;
  transform: translateY(100px);
  transition: 1s;
}

.tos,
.keiken {
  background-color: rgb(255, 255, 255, 0.2);
  margin-top: 300px;
}
.torokuhouhou {
  margin-top: 300px;
}

.midasi {
  margin-top: 300px;
}
.cyusyaku{
  margin-top: 5px;
  font-size: 4vw;
  color:orangered;
}

/* タブレット以上はPC設定 */

@media screen and (min-width: 768px) {
  ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .contents li {
    padding: 20px;
    /* position: relative; */
    /* opacity: 0;
        transform: translateY(50px);
        transition: 5s; */
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 40px;
  }
  h3{
    font-size: 20px; 
}
  p {
    font-size: 28px;
  }
  a {
    text-align: center;
    font-size: 15px;
    padding: 8px;
    margin: 5px;
  }

  .applink {
    display: none;
  }
  .cyusyaku{
    font-size: 16px;
    color:orangered;
  }
  .midasi {
    margin-top: 200px;
  }
}
