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: 35px;
  transition: font-size .3s;
}

h2 {
  font-weight: normal;
  font-size: 32px;
  transition: font-size .3s;
  margin: 0;
}

h3 {
  font-weight: normal;
  font-size: 23px;
  transition: font-size .3s;
  margin: 0
}

p {
  font-size: 20px;
  transition: font-size .3s;
}

a {
  text-decoration: none;
  color: red;
}

a:hover {
  color: rgb(255, 129, 129);
}

a:active {
  color: rgb(255, 183, 183);
}

/* 上スク */

.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;
}

/* イラスト選択 */

.setumei p {
  font-size: 16px;
  color: #598f8c;
  width: 80%;
  margin-left: 20px;
}

.illust-choice {
  width: 100%;
  display: block;
}

.illust-choice.hyouzi {
  display: none;
}

.illust-choice .illust-mozi {
  text-align: center;
  width: 200px;
  position: relative;
  padding: 20px;
  margin: 30px 10px 25px 20px;
  background: #cae2e1;
  color: #598f8c;
  text-shadow: 2px 2px #fff, -2px -2px 0 #fff,
    -2px 2px 0 #fff, 2px -2px 0 #fff,
    0px 2px 0 #fff, 0 -2px 0 #fff,
    -2px 0 0 #fff, 2px 0 0 #fff;
  font-weight: bold;
  border-radius: 20px;
}

.illust-choice .illust-mozi:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 50px;
  border: 15px solid transparent;
  border-top: 15px solid #cae2e1;
  width: 0;
  height: 0;
}

.illust-mozi-yoko {
  display: flex;
}

.illust-choice a img:hover {
  display: block;
  opacity: 0.7;
  border-bottom: 2px solid #fff;
}

.illust-choice a img:active {
  display: block;
  opacity: 0.5;
}

.illust-choice p {
  margin: 90px 30px 10px 0;
  font-size: 13px;
  color: #598f8c;
}

.illust-icon {
  display: flex;
  flex-wrap: wrap;
  margin-left: 2%;
  margin-right: 2%;
}

.illust-icon img {
  margin: 5px 0 5px 10px;
}

.sozai a {
  padding: 0;
  margin: 10px 0 10px 10px;
  font-size: 35px;
  display: inline-block;
  text-align: center;
}

.sozai a:hover {
  margin: 10px 0 11px 10px;
}

.sozai a:active {
  opacity: 0.5;
}

/* 新規イラスト用NEW */

p {
  position: relative;
}

p.new {
  margin-right: 0;
  top: 10px;
  left: 5px;
  bottom: 0px;
  font-size: 10px;
  color: red;
}

/* 実績 */

.rireki {
  width: 80%;
  height: 100%;
  position: relative;
  color: #598f8c;
  margin: 80px auto;
  padding: 0.5em 1em;
  border: solid 3px rgba(181, 231, 222, 0.8);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
}

.rireki .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 23px;
  background: #FFF;
  color: #95ccff;
  font-weight: bold;
}

.rireki ul {
  height: 500px;
  overflow: scroll;
  overflow-x: hidden;
  margin: 20px 0px;
  padding: 0;
  font-size: 16px;
  line-height: 1.3;
  list-style: none;
}

.rireki ul::-webkit-scrollbar {
  width: 14px;
}

.rireki ul::-webkit-scrollbar-track {
  background: #b1cfce;
}

.rireki ul::-webkit-scrollbar-thumb {
  background: #def1ed;
  /*--バーの色--*/
  border-radius: 6px;
  /*--バーの丸み--*/
  border: solid 2px transparent;
  /*--スクロールバー表示エリアとバーの隙間--*/
  background-clip: content-box;
  /*--スクロールバー表示エリアとバーの隙間の設定に必須--*/
}

.rireki ul li {
  position: relative;
  padding: 0.5em 1em 0.5em 2.3em;
  margin-bottom: 5px;
  color: rgb(129, 194, 250);
  font-size: 15px;
  font-weight: bold;
  border-bottom: 1px solid rgba(129, 194, 250, 0.5);
}

.rireki ul li:after,
.rireki ul li:before {
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.rireki ul li:before {
  top: 0.7em;
  left: 0.2em;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(129, 194, 250, 0.5);
}

.rireki ul li:after {
  top: 0.9em;
  left: 0.7em;
  width: 14px;
  height: 14px;
  background: rgba(129, 194, 250, 0.3);
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -o-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.box26 p {
  margin: 0;
  padding: 0;
}

/* 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: 40px;
    transition: font-size .3s;
  }

  p {
    font-size: 30px;
    transition: font-size .3s;
  }

  /* 中央寄せ配色白 */

  .tyuou {
    background: #fff;
  }

  /* 別ページ */

  .page p {
    font-size: 30px;
  }

  .page a {
    padding: 10px 30px;
  }

  /* イラスト選択 */

  .setumei p {
    font-size: 20px;
  }

  .illust-choice p {
    font-size: 20px;
  }

  /* 新規イラスト用NEW */

  p.new {
    top: 7px;
    left: 5px;
    font-size: 13px;
    color: red;
  }

  /* 実績 */

  .rireki ul {
    margin: 30px auto 20px;
  }

  .rireki ul li {
    font-size: 21px;
    transition: font-size .3s;
    line-height: 1.3;
  }

  /* 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;
    /*--スクロールバー表示エリアとバーの隙間の設定に必須--*/
  }
}