body {
  margin: auto 0;
  font-family: 'JK丸ゴシック Medium', 'Courier New', Courier, monospace;
  background: #fff;
  width: 100%;
  height: 500px;
  background-image: url(../img/haikei-device.png);
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: 600px;
  background-attachment: fixed;
  transition: background-image .3s;
  user-select: none;
}

body::-webkit-scrollbar {
  width: 14px;
}

body::-webkit-scrollbar-track {
  background: #ffffff;

}

body::-webkit-scrollbar-thumb {
  background: #8ea7a6;
  /*--バーの色--*/
  border-radius: 6px;
  /*--バーの丸み--*/
  border: solid 2px transparent;
  /*--スクロールバー表示エリアとバーの隙間--*/
  background-clip: content-box;
  /*--スクロールバー表示エリアとバーの隙間の設定に必須--*/
}

/* スマホ画面ズレ修正 */

.wrap-original {
  overflow: hidden;
}

/* ヘッダー */

header {
  margin-bottom: 30px;
}

/* 文字 */

h1 {
  font-weight: normal;
  font-size: 25px;
  transition: font-size .3s;
}

p {
  font-size: 20px;
  transition: font-size .3s;
}

/* 上スク */

.scroll-to-top-btn {
  opacity: 0;
  position: fixed;
  z-index: 1;
  display: none;
}

.scroll-to-top-btn.arawareru {
  opacity: 0.8;
  display: block;
}

.scroll-to-top-btn:hover {
  cursor: pointer;
  opacity: 0.4;
}

.scroll-to-top-btn img {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100px;
  object-fit: cover;
  border: 3px dotted #598f8c;
  border-radius: 15px;
}

/* 別ページ */

.link-center {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page p {
  display: inline-block;
  font-size: 13px;
  transition: font-size .3s;
}

.page a {
  padding: 10px 5px;
  color: #598f8c;
  display: block;
  text-decoration: none;
}

.page a:hover {
  color: #fff;
  background: #c4ebe9;
  border-radius: 50%;
}

.link-tensen1 {
  width: 80%;
  border: 2px dashed rgba(181, 231, 222, 0.8);
  margin: 0px auto -10px;
}

.link-tensen2 {
  width: 80%;
  border: 2px dashed rgba(181, 231, 222, 0.8);
  margin: -10px auto;
}

/* 看板文字 */

.center {
  width:80%;
  height: 50%;
  color: rgba(110, 173, 163, 0.8);
  text-align: center;
  margin: 30px auto 50px;
  background-color: rgba(240, 255, 252, 0.8);
  border-radius: 30px;
  padding: 20px;
  /* 内側の余白 */
  position: relative;
  z-index: 0;
  box-shadow: 0 0 0 5px rgba(181, 231, 222, 0.8);
}

.center:before {
  border: 2px dashed rgba(181, 231, 222, 0.8);
  /* 白い実線 */
  border-radius: 30px;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 4px;
  z-index: -1;
}

/* 更新履歴 */

.rireki {
  width: 80%;
  /* text-align: center; */
  position: relative;
  color: #598f8c;
  margin: 2em auto;
  padding: 0.5em 1em;
  border: solid 3px rgba(181, 231, 222, 0.8);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
}

.rireki .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 19px;
  transition: font-size .3s;
  background: #FFF;
  color: #95ccff;
  font-weight: bold;
}

.rireki .box-title {
  font-size: 23px;
  transition: font-size .3s;
}

.box26 p {
  margin: 0;
  padding: 0;
}

/* カルーセル */

.carousel {
  width: 80%;
  height: 80%;
  margin: 50px auto 0px;
}

.sl {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.sl ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  transition: transform .3s;
}

.sl li {
  height: 100%;
  min-width: 100%;
}

.sl li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#prev,
#next {
  position: absolute;
  top: 50%;
  transform: translateY(-150);
  border: none;
  background: rgba(156, 255, 239, 0.8);
  color: #4397ac;
  font-size: 24px;
  padding: 0 8px 4px;
  cursor: pointer;
}

#prev:hover,
#next:hover {
  opacity: .8;
}

#prev {
  left: 0;
}

#next {
  right: 0;
}

.hidden {
  display: none;
}

nav {
  margin-top: 16px;
  text-align: center;
}

nav button+button {
  margin-left: 8px;
}

nav button {
  border: none;
  width: 16px;
  height: 16px;
  background: rgba(91, 146, 137, 0.8);
  border-radius: 50%;
  cursor: pointer;
}

nav .current {
  background: rgba(30, 49, 46, 0.8);
}

/* スライドしてくるイラスト */

.slide {
  margin-top: 50px;
  text-align: center;
  overflow: hidden;
}

.slide1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  margin-top: 100px;
  align-items: center;
  justify-content: space-between;
}

.slide2 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  margin-top: 100px;
  align-items: center;
  justify-content: space-between;
}

.slide3 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  margin-top: 100px;
  align-items: center;
  justify-content: space-between;
}

.slide img {
  width: 80%;
  height: 80%;
  transition: width .3s;
}

.slide p {
  font-size: 20px;
  transition: font-size .3s;
  width: 70%;
  height: 50%;
  color: rgba(110, 173, 163, 0.8);
  text-align: center;
  margin: 30px auto;
  background-color: rgba(240, 255, 252, 0.8);
  border-radius: 30px;
  padding: 30px;
  /* 内側の余白 */
  position: relative;
  z-index: 0;
  box-shadow: 0 0 0 5px rgba(181, 231, 222, 0.8);
}

.slide p:before {
  border: 2px dashed rgba(181, 231, 222, 0.8);
  /* 白い実線 */
  border-radius: 30px;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 4px;
  z-index: -1;
}

.slide-tate {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  opacity: 0;
  transform: translateY(20px);
  margin-top: 100px;
  transition: opacity .3s, transform .3s;
}

.slide-tate img {
  width: 45% !important;
  margin-left: 30px;
  transition: width .3s, margin-left .3s;
}

.annai-mozi {
  margin: 0 auto;
}

.annai-mozi a {
  text-decoration: none;
  font-size: 20px;
  line-height: 50px;
  display: block;
  position: relative;
  background: #c7e7e2;
  box-shadow: 0px 0px 0px 5px #ceebe1;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
  margin: 20px 0;
  color: #82a09a;
  transition: font-size .3s, margin .3s, padding .3s;
}

.annai-mozi a:after {
  position: absolute;
  content: '';
  left: -7px;
  top: -7px;
  border-width: 0 0 15px 15px;
  border-style: solid;
  border-color: #fff #fff #92e7dc;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

/* observeここから */

.slide1.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide2.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide3.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-tate.appear {
  opacity: 1;
  transform: translateY(0);
}

/* observeここまで */


/* sns */

.sns {
  text-align: center;
}

#tw {
  margin: 100px auto 30px;
}

.twitter-timeline {
  margin: 30px auto;
}

.Xoya div + div {
  margin-top: 40px;
}

#ci-en {
  margin: 50px auto 30px;
}

.twcien p {
  font-size: 20px;
  transition: font-size .3s;
  width: 70%;
  height: 50%;
  color: rgba(110, 173, 163, 0.8);
  text-align: center;
  margin: 30px auto;
  background-color: rgba(240, 255, 252, 0.8);
  border-radius: 30px;
  padding: 30px;
  /* 内側の余白 */
  position: relative;
  z-index: 0;
  box-shadow: 0 0 0 5px rgba(181, 231, 222, 0.8);
}

.twcien p:before {
  border: 2px dashed rgba(181, 231, 222, 0.8);
  /* 白い実線 */
  border-radius: 30px;
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 4px;
  z-index: -1;
}

.ci-enlink img {
  width: 50%;
  border: 3px dotted #76bbb7;
  border-radius: 10px;
}

.tensen {
  width: 80%;
  margin-top: 50px;
  border: 3px dashed rgba(181, 231, 222, 0.8);
}

/* Twitter Ci-en スライド */

.slide-tw,
.slide-ci,
.slide-mozi {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
}

.slide-tw.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-ci.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-mozi.appear {
  opacity: 1;
  transform: translateY(0);
}

/* このサイトについて */

.about {
  width: 80%;
  margin: 50px auto 0;
}

.about h2 {
  font-size: 30px;
  color: #598f8c;
  transition: font-size .3s;
}

.about p {
  font-size: 20px;
  color: #598f8c;
  transition: font-size .3s;
}

.site {
  font-size: 20px;
  line-height: 32px;
  color: #598f8c;
  transition: font-size .3s;
}

/*  相互リンク */

.sougo a {
  text-decoration: none;
  color: #7cd1cd;
}

.sougo a:hover {
  text-decoration: none;
  color: #91e4e0;
}

.sougo a:active {
  text-decoration: none;
  color: #a2f7f2;
}

/* footer */

footer {
  margin-top: 150px;
  text-align: center;
  padding: 30px 50px;
  color: #fff;
  background: #598f8c;
}

footer .mail-sns {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer .icon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

footer .icon a {
  margin: 0 5px;
  text-decoration: none;
  color: #fff;
}

footer .mail {
  width: 300px;
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 15px;
  background-color: #e9f8f4;
  border: dashed 3px #80a8a6;
  box-shadow: 0 0 0 5px #e9f8f4, 0 0 0 5px #9ac5c3;
  border-radius: 3px;
}

footer h3 {
  margin-bottom: 5px;
  text-shadow: 1px 1px #598f8c, -1px -1px 0 #598f8c,
    -1px 1px 0 #598f8c, 1px -1px 0 #598f8c,
    0px 1px 0 #598f8c, 0 -1px 0 #598f8c,
    -1px 0 0 #598f8c, 2px 0 0 #598f8c;
}

footer p {
  font-size: 15px;
  padding: 0;
  margin: 0;
  text-shadow: 1px 1px #598f8c, -1px -1px 0 #598f8c,
    -1px 1px 0 #598f8c, 1px -1px 0 #598f8c,
    0px 1px 0 #598f8c, 0 -1px 0 #598f8c,
    -1px 0 0 #598f8c, 1px 0 0 #598f8c;
}

footer p.chibifont {
  font-size: 15px;
  margin-bottom: 20px;
}

footer .by a {
  display: block;
  margin-top: 20px;
  font-size: 15px;
  text-decoration: none;
  color: #3b6461;
  text-shadow: none;
}

footer .btn {
  width: 100px;
  padding: 10px;
  border: 2px dashed #3c6361;
  border-radius: 10px;
  background: #c4ebe9;
}

footer .btn input {
  all: unset;
}

.mail .btn {
  margin: 10px auto 0;
  position: relative;
  color: #fff;
  text-shadow: 1px 1px #598f8c, -1px -1px 0 #598f8c,
    -1px 1px 0 #598f8c, 1px -1px 0 #598f8c,
    0px 1px 0 #598f8c, 0 -1px 0 #598f8c,
    -1px 0 0 #598f8c, 1px 0 0 #598f8c;
}

.mail .btn:hover {
  cursor: pointer;
  border: 2px dashed #599491;
  background: #d3fffd;
  text-shadow: 1px 1px #6fafac, -1px -1px 0 #6fafac,
    -1px 1px 0 #6fafac, 1px -1px 0 #6fafac,
    0px 1px 0 #6fafac, 0 -1px 0 #6fafac,
    -1px 0 0 #6fafac, 1px 0 0 #6fafac;
}

.mail .btn:active {
  border: 2px dashed #77c5c3;
  background: #e8fffe;
  text-shadow: 1px 1px #92e4e0, -1px -1px 0 #92e4e0,
    -1px 1px 0 #92e4e0, 1px -1px 0 #92e4e0,
    0px 1px 0 #92e4e0, 0 -1px 0 #92e4e0,
    -1px 0 0 #92e4e0, 1px 0 0 #92e4e0;
}

footer a i.bi-twitter {
  display: block;
  font-size: 40px;
  width: 50px;
  height: 50px;
  background: skyblue;
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-cien {
  display: block;
  font-size: 20px;
  width: 50px;
  height: 50px;
  background: rgb(235, 203, 135);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-kokonara {
  display: block;
  font-size: 12px;
  width: 50px;
  height: 50px;
  background: rgb(162, 202, 116);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-skeb {
  display: block;
  font-size: 20px;
  width: 50px;
  height: 50px;
  background: rgb(116, 156, 202);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-ac {
  display: block;
  font-size: 13px;
  width: 50px;
  height: 50px;
  background: rgb(235, 135, 135);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-gmcr {
  display: block;
  font-size: 13px;
  width: 50px;
  height: 50px;
  background: rgb(194, 194, 194);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-camp {
  display: block;
  font-size: 13px;
  width: 50px;
  height: 50px;
  background: rgb(177, 202, 190);
  padding: 10px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}

footer a i.bi-twitter:hover {
  background: rgb(164, 229, 255);
}

footer a i.bi-cien:hover {
  background: rgb(255, 226, 165);
}

footer a i.bi-kokonara:hover {
  background: rgb(182, 228, 131);
}

footer a i.bi-skeb:hover {
  background: rgb(141, 183, 231);
}

footer a i.bi-ac:hover {
  background: rgb(255, 166, 166);
}

footer a i.bi-gmcr:hover {
  background: rgb(218, 218, 218);
}

footer a i.bi-camp:hover {
  background: rgb(197, 224, 211);
}

footer a i.bi-twitter:active {
  background: rgb(192, 237, 255);
}

footer a i.bi-cien:active {
  background: rgb(255, 238, 201);
}

footer a i.bi-kokonara:active {
  background: rgb(208, 236, 175);
}

footer a i.bi-skeb:active {
  background: rgb(163, 206, 255);
}

footer a i.bi-ac:active {
  background: rgb(255, 196, 196);
}

footer a i.bi-gmcr:active {
  background: rgb(235, 235, 235);
}

footer a i.bi-camp:active {
  background: rgb(216, 247, 232);
}

footer p.chiki-inc {
  font-size: 20px;
  margin: 70px 0 100px;
}




/* PC */

@media (min-width:750px) {

  body {
    margin: auto 0;
    font-family: 'JK丸ゴシック Medium' 'Courier New', Courier, monospace;
    background: rgba(177, 243, 231, 0.8);
    width: 100%;
    height: 500px;
    background-image: url(../img/haikei.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    background-size: 750px;
    background-attachment: fixed;
    transition: background-image .3s;
  }

  /* 文字 */

  h1 {
    font-weight: normal;
    font-size: 50px;
    transition: font-size .3s;
  }

  p {
    font-size: 30px;
    transition: font-size .3s;
  }

  /* 中央寄せ配色白 */

  .tyuou {
    background: #fff;
  }

  /* 更新履歴 */

  .rireki p {
    font-size: 24px;
    transition: font-size .3s;
  }

  /* 別ページ */

  .page p {
    font-size: 30px;
  }

  .page a {
    padding: 10px 30px;
  }

  /* カルーセル ボタンの色 */

  nav button {
    border: none;
    width: 16px;
    height: 16px;
    background: rgba(151, 238, 223, 0.8);
    border-radius: 50%;
    cursor: pointer;
  }

  nav .current {
    background: rgba(102, 167, 155, 0.8);
  }

  /* スライド用処理 */

  .slide1 {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s, transform .3s;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .slide2 {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity .3s, transform .3s;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .slide3 {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s, transform .3s;
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .slide img {
    width: 50%;
    height: 100%;
    margin: 0 auto;
    transition: width .3s;
  }

  .slide p {
    font-size: 30px;
    transition: font-size .3s;
    width: 30%;
    height: 50%;
    color: rgba(110, 173, 163, 0.8);
    text-align: center;
    margin: 50px auto;
    background-color: rgba(240, 255, 252, 0.8);
    border-radius: 30px;
    padding: 50px;
    /* 内側の余白 */
    position: relative;
    z-index: 0;
    box-shadow: 0 0 0 5px rgba(181, 231, 222, 0.8);
  }

  .slide p:before {
    border: 2px dashed rgba(181, 231, 222, 0.8);
    /* 白い実線 */
    border-radius: 30px;
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 4px;
    z-index: -1;
  }

  #gyaku {
    flex-direction: row-reverse;
  }

  /* ページ案内ちき */

  .slide-tate img {
    width: 30% !important;
    margin: 0 100px 0 70px;
    transition: width .3s,margin .3s;
  }
  
  .annai-mozi a {
    white-space:nowrap;
    font-size: 30px;
    position: relative;
    padding: 0.5em 5em;
    margin: 20px 0 20px 50px;
    transition: font-size .3s, margin .3s, padding .3s;
  }

  .annai-mozi a:hover {
    opacity: 0.8;
  }
  
  .annai-mozi a:active {
    opacity: 0.5;
  }
  
  .annai-mozi a:after {
    position: absolute;
    content: '';
    left: -7px;
    top: -7px;
    border-width: 0 0 15px 15px;
    border-style: solid;
    border-color: #fff #fff #92e7dc;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
  }

  /* IntersectionObserver ここから */

  .slide1.appear {
    opacity: 1;
    transform: translateX(0);
  }

  .slide2.appear {
    opacity: 1;
    transform: translateX(0);
  }

  .slide3.appear {
    opacity: 1;
    transform: translateX(0);
  }

  /* Twitterv Ci-en */

  .twcien p {
    font-size: 30px;
    transition: font-size .3s;
    width: 30%;
    height: 50%;
    color: rgba(110, 173, 163, 0.8);
    text-align: center;
    margin: 50px auto;
    background-color: rgba(240, 255, 252, 0.8);
    border-radius: 30px;
    padding: 50px 250px;
    /* 内側の余白 */
    position: relative;
    z-index: 0;
    box-shadow: 0 0 0 5px rgba(181, 231, 222, 0.8);
  }

  .twcien p:before {
    border: 2px dashed rgba(181, 231, 222, 0.8);
    /* 白い実線 */
    border-radius: 30px;
    content: '';
    display: block;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 4px;
    z-index: -1;
  }

  .Xoya {
    display: flex;
    justify-content: center;
  }

  .Xoya div + div {
    margin: 0 30px;
  }

  /* このサイトについて */

  .about h2 {
    font-size: 35px;
    color: #598f8c;
    transition: font-size .3s;
  }

  .about p {
    font-size: 28px;
    color: #598f8c;
    transition: font-size .3s;
  }

  .site {
    font-size: 28px;
    line-height: 35px;
    color: #598f8c;
    transition: font-size .3s;
  }

  /* footer */

  footer .mail {
    width: 300px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: 50px;
    padding: 15px;
    background-color: #e9f8f4;
    border: dashed 3px #80a8a6;
    box-shadow: 0 0 0 5px #e9f8f4, 0 0 0 5px #9ac5c3;
    border-radius: 3px;
  }

  footer .icon {
    margin-right: auto;
    gap: 0;
  }
}



@media (min-width: 1300px) {
  body {
    width: 1300px;
    margin: 0 auto;
  }

  body::-webkit-scrollbar {
    width: 14px;
  }

  body::-webkit-scrollbar-track {
    background: #c5f5ea;

  }

  body::-webkit-scrollbar-thumb {
    background: #8ea7a6;
    /*--バーの色--*/
    border-radius: 6px;
    /*--バーの丸み--*/
    border: solid 2px transparent;
    /*--スクロールバー表示エリアとバーの隙間--*/
    background-clip: content-box;
    /*--スクロールバー表示エリアとバーの隙間の設定に必須--*/
  }
}