/* DMs style */

/* font-family (参考）https://ics.media/entry/200317/ */
body {
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
    }

/* Back ground color & font color & button*/
.bg-blue{
    background-color: #2980b9;
}

.bg-lightBlue{
    background-color: #d6e4ed;
}

.bg-green{
    background-color: #16a085;
}

.bg-turquoise{
    background-color: #1abc9c;
}

.bg-yellow{
    background-color: #f1c40f;
}

.bg-alizarin{
    background-color: #e74c3c;
}

.text-blue{
    color: #2980b9;
}

.text-lightBlue{
    color: #acd5f0;
}

.text-green{
    color: #16a085;
}

.text-turquoise{
    color: #1abc9c;
}

.text-yellow{
    color: #f1c40f;
}

.text-alizarin{
    color: #e74c3c;
}

.ht {
    color: #2980b9;
    font-weight: bold;
}

.btn-dms-blue, .btn-dms-green,
.btn-dms-yellow, .btn-dms-alizarin{
  margin-top: 1em;
}

.btn-dms-blue a{
  border-radius: 0.5em;
  background-color: #2980b9;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-blue a:hover{
  background-color: #074b79;
  color: #fff;
  text-decoration: none;
}

.btn-dms-green a{
  border-radius: 0.5em;
  background-color: #16a085;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-green a:hover{
  background-color: #0b6d5a;
  color: #fff;
  text-decoration: none;
}

.btn-dms-yellow a{
  border-radius: 0.5em;
  background-color: #f1c40f;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #666666;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-yellow a:hover{
  background-color: #b89508;
  color: #fff;
  text-decoration: none;
}

.btn-dms-alizarin a{
  border-radius: 0.5em;
  background-color: #e74c3c;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-dms-alizarin a:hover{
  background-color: #df7b6f;
  color: #fff;
  text-decoration: none;
}

.to-top {
    color: #16a085;
    font-size: 2em;
}

/* 以下、top page image animation (参考)https://1-notes.com/css-expansion-of-the-circle-animation/　*/
.top-canvas {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.item1 {
    position: absolute;
    left: 25%;
    top: 75%;
    width: 30px;
    height: 30px;
    background: #82afe3;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: expansion-anim 5s linear infinite;
  }

  .item2 {
    position: absolute;
    left: 60%;
    top: 50%;
    width: 50px;
    height: 50px;
    background: #eb897e;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: expansion-anim 10s linear infinite;
  }

  .item3 {
    position: absolute;
    left: 85%;
    top: 25%;
    width: 20px;
    height: 20px;
    background: #bae377;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: expansion-anim 8s linear infinite;
  }

  .item4 {
    position: absolute;
    left: 10%;
    top: 15%;
    width: 30px;
    height: 30px;
    background: #f5f1a7;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: expansion-anim 7s linear infinite;
  }

  /* animation */
  @keyframes expansion-anim {
    0% {
      transform: scale(0);
    }
  
    100% {
      transform: scale(5);
    }
  }
  /*アニメーションここまで*/

    /*ここは、company.html の image (参考：https://1-notes.com/css-rotating-and-falling-animation)*/
    .top-canvas span {
      position: absolute;
      z-index: 1;
      font-size: 2em;
      font-weight: bold;
      color: rgba(172,213,240,0.7);
      transform: translateY(-100px);
      animation: rotating-and-falling-anim 5s linear infinite;
      font-family: 
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
    }

    /* animation */
@keyframes rotating-and-falling-anim {
	0% {
		transform: translateY(-100px) rotate(0);
	}
	100% {
		transform: translateY(350px) rotate(720deg);
	}
}

/* side position and delay */
.top-canvas span:nth-child(1) {
	left: 3%;
	animation-delay: 2.6s;
}

.top-canvas span:nth-child(2) {
	left: 10%;
	animation-delay: 2.2s;
}

.top-canvas span:nth-child(3) {
	left: 17%;
	animation-delay: 1s;
}

.top-canvas span:nth-child(4) {
	left: 25%;
	animation-delay: 5.1s;
}

.top-canvas span:nth-child(5) {
	left: 32%;
	animation-delay: 4.4s;
}

.top-canvas span:nth-child(6) {
	left: 39%;
	animation-delay: 4s;
}

.top-canvas span:nth-child(7) {
	left: 46%;
	animation-delay: 0s;
}

.top-canvas span:nth-child(8) {
	left: 54%;
	animation-delay: 3.1s;
}

.top-canvas span:nth-child(9) {
	left: 61%;
	animation-delay: 1.3s;
}

.top-canvas span:nth-child(10) {
	left: 68%;
	animation-delay: 3.3s;
}

.top-canvas span:nth-child(11) {
	left: 75%;
	animation-delay: 0.5s;
}

.top-canvas span:nth-child(12) {
	left: 82%;
	animation-delay: 1.7s;
}

.top-canvas span:nth-child(13) {
	left: 89%;
	animation-delay: 3.6s;
}

.top-canvas span:nth-child(14) {
	left: 96%;
	animation-delay: 2.8s;
}
    /*ここまで、company.html の image*/

    /*ここは、caseディレクトリ の image (参考：https://1-notes.com/css-move-along-a-circle-animation/ )*/
    .circle-1 {
      position: absolute;
      top: 25px;
      left: 55px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: solid 1px #2980b9;
    }
    
    .move-item-1 {
      position: absolute;
      top: 75px;
      left: 105px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #d6e4ed;
      transform: translateX(-100px);
      animation: circle-move-anim 5s linear infinite;
      /* for text */
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 30px;
      color: #FFF;
    }

    .circle-2 {
      position: absolute;
      top: 200px;
      left: 500px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      border: solid 1px #f1c40f;
    }
    
    .move-item-2 {
      position: absolute;
      top: 275px;
      left: 575px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #f5f1a7;
      transform: translateX(-100px);
      animation: circle-move-anim2 7s linear infinite;
      /* for text */
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 30px;
      color: #FFF;
    }

    .circle-3 {
      position: absolute;
      top: 125px;
      right: 35px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: solid 1px #e74c3c;
    }
    
    .move-item-3 {
      position: absolute;
      top: 175px;
      right: 85px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #eb897e;
      transform: translateX(-100px);
      animation: circle-move-anim 4.5s linear infinite;
      /* for text */
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 30px;
      color: #FFF;
    }

    .circle-4 {
      position: absolute;
      top: 60px;
      right: 335px;
      width: 250px;
      height: 250px;
      border-radius: 50%;
      border: solid 1px #1abc9c;
    }
    
    .move-item-4 {
      position: absolute;
      top: 160px;
      right: 435px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #bae377;
      transform: translateX(-100px);
      animation: circle-move-anim3 10s linear infinite;
      /* for text */
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 30px;
      color: #FFF;
    }

    @keyframes circle-move-anim {
      0% {
        transform: rotate(0deg) translateX(-100px) rotate(0deg);
      }
    
      100% {
        transform: rotate(360deg) translateX(-100px) rotate(-360deg);
      }
    }

    @keyframes circle-move-anim2 {
      0% {
        transform: rotate(0deg) translateX(-125px) rotate(0deg);
      }
    
      100% {
        transform: rotate(360deg) translateX(-125px) rotate(-360deg);
      }
    }

    @keyframes circle-move-anim3 {
      0% {
        transform: rotate(0deg) translateX(-150px) rotate(0deg);
      }
    
      100% {
        transform: rotate(360deg) translateX(-150px) rotate(-360deg);
      }
    }
    /*ここまで、caseディレクトリ の image*/

/* 以下、top page タイマー */
.timer {
    width: auto;
    border-radius: 1rem;
    margin: 0 auto;
    padding: 2rem;
    position: absolute;
    top: 25px;
    left: 10%;
  }
  
  #time {
    color: #2980b9;
    background-color: rgba(255,255,255,0.7);
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0,139,253,0.25);
    margin: .5rem;
    font-family: 'DotGothic16', sans-serif;
    max-width: 400px;
  }

  /* 以上、top page タイマー */

/* top image キャプション (参考)https://codepen.io/ysakaguchi/pen/PBvGqP */
.caption {
    margin: 0 auto;
    padding: 2rem;
    position: absolute;
    top: 55%;
    right: 5%;
}

.caption-text-dark {
  color: #333333;
    font-size: 2em;
    font-weight: bold;
    text-align: right;
    font-family: serif,
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
}

.caption-text-white {
  color: #fff;
    font-size: 2em;
    font-weight: bold;
    text-align: right;
    font-family: serif,
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
}

@keyframes fuwafuwa {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }

  .anime-fuwafuwa {
    animation: 15s fuwafuwa infinite; /* このクラスをつけると回転を無限に繰り返します */
  }

/* top image キャプション ここまで */

  .scroll {
    display: inline-block;
    padding-top: 70px;
    position: relative;
  }
  .scroll::before {
    animation: scroll 3.5s infinite;
    border: solid #acd5f0;
    border-width: 0 0 3px 3px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
  }
  @keyframes scroll {
    0% {
      transform: rotate(-45deg) translate(0, 0);
    }
    80% {
      transform: rotate(-45deg) translate(-30px, 30px);
    }
    0%, 80%, 100% {
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
  }

@media (max-width: 768px){
  .caption-text-dark,.caption-text-white {
        font-size: 1.5em;
    }

    #time {
        font-size: 1.5em;
        max-width: 250px;
    }

    .circle-2{
      left: 140px;
    }

    .move-item-2{
      left: 215px;
    }

    .circle-4, .move-item-4 {
      display: none;
    }
}

.space-30{
  margin: 30px;
  padding-top: 30px
}

.company-info{
  padding: 10px 0px;
}

.motto {
  font-family: serif,
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
  color:#333333;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding: 5px;
}

.guideline {
  font-family: serif,
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "メイリオ",
    sans-serif;
  color:#333333;
  font-size: 1.2em;
  font-weight: bold;
  padding: 5px;
}

.guideline ul{
  list-style-type: none
}

.article-body {
  font-size: 1.2em;
}

#article-2{
  padding-top: 40px;
}

@media (max-width: 960px){
  #article-2{
    padding-top: 75px;
  }
}

.back-btn {
  padding-top: 50px;
  margin: 10px;
  text-align: center;
}

/* imageのスライドイン・アニメーション */
/* アニメーション前 */
.u-fade-type-up{
  transform: translateY(50px);
  opacity: 0;
}

/* トリガー発火でis-activeを付与 */
.u-fade-type-up.is-active{
  transition: .6s;
  transform: translateY(0);
  opacity: 1;
}

/* top画像の横幅に応じた切替 */
.img-pc {
  display: block !important;
}

.img-sp {
  display: none !important;
}

@media only screen and (max-width: 750px) {
  .img-pc {
    display: none !important;
  }
  
  .img-sp {
    display: block !important;
  }
}

.btn-submit {
  border-radius: 0.5em;
  border: none;
  background-color: #2980b9;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 2em;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-submit:hover {
  background-color: #074b79;
  color: #fff;
  text-decoration: none;
}

.result-row{
  border-top: 2px solid #999999;
  font-size: 1.2em;
}

.result-row span {
  color:#e74c3c;
  font-weight: bold;
}