/* 中デバイス（タブレット, 768px 以上）
============================================== */
@media (min-width: 768px) {
  .img-size {
    width: 160px;
    margin-bottom: .5rem;
  }
}

/* 大デバイス（デスクトップ, 992px 以上）
============================================== */
@media (min-width: 992px) {


  nav ul {
    display: flex;
  }

  nav ul li {
    -webkit-transform: skewX(150deg);
    -moz-transform: skewX(150deg);
    transform: skewX(150deg);
    border-left: 1px dotted gray;
  }

  ul .right {
    -webkit-transform: skewX(150deg);
    -moz-transform: skewX(150deg);
    transform: skewX(150deg);
    border-right: 1px dotted gray;
  }

  ul .border-after {
    border-left: 1px dotted white;
  }

  footer .right {
    border-right: 1px dotted white;
  }

  nav ul li a {
    display: block;
    transform: skewX(-150deg);
    padding: 0 10px;
  }
}

/* 中デバイス（タブレット, 992px 未満）
============================================== */
@media (max-width: 991.98px) {
   .logo {background-size: 80px; height: auto; background-position: 0 0;}
  .logo h1 {top: 20px; left: 50px; line-height: 0.9;}
  .top_h101 {font-size: 100%;}
  .top_h102 {font-size: 60%;}
  .top_h103 {font-size: 70%;}
  .top_nav {top: 25px; padding-left: 0; display: flex;justify-content: center;}
  .top_nav li { padding-right: 25px; line-height: 0.6; margin-bottom: 1.6rem;}
  .top_nav li a {font-size: 100%;}
  h2 {font-size: 130%;}

  /* Dolphin back */
.dolphin01 {
  background: url(../img/dolphin01.png) no-repeat;
  background-position: 10% 80%;
  background-size: 64px;
  height: 120px;
  }
.dolphin02 {
  background: url(../img/dolphin02.png) no-repeat;
  background-position: 10% 68%;
  background-size: 42px;
  height: 120px;
  }
.dolphin03 {
  background: url(../img/dolphin03.png) no-repeat;
  background-position: 12% 80%;
  background-size: 68px;
  height: 120px;
  }
.dolphin04 {
  background: url(../img/dolphin04.png) no-repeat;
  background-position: 15% 75%;
  background-size: 59px;
  height: 120px;
  }

  .top_message {padding: 0px 0 25px 0; font-size: 90%; line-height: 1.8;}
  .top_profiles_img {width: 25%; text-align: center; margin: 0 auto;}
  #profile .ma_tp_3 {margin-top: 0;}
  .top_profile dd {font-size: 82%; padding-bottom: 2.0rem;}
  .totop {right: 15px;}
}

/* 極小デバイス（縦向きモバイル, 576px 未満）
============================================== */
@media (max-width: 575.98px) {
  .logo {background-size: 80px; height: auto; background-position: 0 0;}
  .logo h1 {top: 20px; left: 30px; line-height: 0.9;}
  .top_h101 {font-size: 90%;}
  .top_h102 {font-size: 50%;}
  .top_h103 {font-size: 70%;}
  .top_nav {top: 25px; padding-left: 0; display: flex;justify-content: center;}
  .top_nav li { padding-right: 10px; line-height: 0.6; margin-bottom: 1.6rem;}
  .top_nav li a {font-size: 81%;}
  h2 {font-size: 130%;}

  /* Dolphin back */
.dolphin01 {
  background: url(../img/dolphin01.png) no-repeat;
  background-position: 20% 80%;
  background-size: 64px;
  height: 120px;
  }
.dolphin02 {
  background: url(../img/dolphin02.png) no-repeat;
  background-position: 15% 68%;
  background-size: 42px;
  height: 120px;
  }
.dolphin03 {
  background: url(../img/dolphin03.png) no-repeat;
  background-position: 17% 80%;
  background-size: 68px;
  height: 120px;
  }
.dolphin04 {
  background: url(../img/dolphin04.png) no-repeat;
  background-position: 40% 75%;
  background-size: 59px;
  height: 120px;
  }

  .top_message {padding: 0px 0 25px 0; font-size: 90%; line-height: 1.8;}
  .menu_box {padding: 10px 0; display: inline-block;}
  .menu_box_inr { width: 100%; }
  .menu_box_inr img { width: 50%; }
  .top_profiles_img {width: 50%; text-align: center; margin: 0 auto;}
  #profile .ma_tp_3 {margin-top: 0;}
  .top_profile dt {text-align: center; font-size: 120%; padding-top: 0.5rem;}
  .top_profile dd {font-size: 82%; padding-bottom: 2.0rem;}
  .top_contact p {padding-top: 0rem; font-size: 13px;}
  .totop {right: 10px;}
}
