/*--------------- デフォルトタグ ---------------*/
html,
body,
div,
span,
applet,
object,
iframe,
img,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table.table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;outline: 0;
  padding: 0;
  vertical-align: baseline;
}

:focus {
  outline: 0;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption,
th,
td {
  font-weight: normal;
  text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
}

blockquote,
q
{
  quotes: "" "";
}

figure {
  margin: 0
}

article,
aside,
details,
figcaption,
figure,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

label {
  cursor: pointer;
}

/*--------------- 共通タグ ---------------*/
.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left;
}

.margin-center {
  margin: 0 auto;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

.float-none {
  float: none;
}

.clear {
  clear: both;
}

.display-none {
  display: none;
}

.font-bold {
  font-weight: bold;
}

.font-12 {
  font-size: 12px;
}

.font-18 {
  font-size: 18px;
}

.font-24 {
  font-size: 24px;
}

.margin-top-10 {
 margin-top: 10px;
}

.margin-top-20 {
 margin-top: 20px;
}

.margin-top-50 {
 margin-top: 50px;
}

.margin-top-100 {
 margin-top: 100px;
}

.margin-top-150 {
 margin-top: 150px;
}

.margin-bottom-10 {
 margin-bottom: 10px;
}

.margin-bottom-20 {
 margin-bottom: 20px;
}

.margin-bottom-50 {
 margin-bottom: 50px;
}

.margin-left-10 {
 margin-left: 10px;
}

.margin-left-20 {
 margin-left: 20px;
}

.margin-left-50 {
 margin-left: 50px;
}

.margin-right-10 {
 margin-right: 10px;
}

.margin-right-20 {
 margin-right: 20px;
}

.margin-right-50 {
 margin-right: 50px;
}

.contents-90 {
  padding: 0 5%;
}

.focus_lightblue {
  color: rgb(56,209,251);
  font-size: 24px;
  font-weight: bold;
}

.focus_black {
  font-weight: bold;
}

.focus_orange {
  color: rgb(255,165,0);
}

.focus_underline {
  text-decoration: underline;
}

/*--------------- 共有リンク ---------------*/
a {
  color: rgb(71,132,191);
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: rgb(56,209,251);
}

a:active,
a:focus {
  outline: 0;
}

#header a {
  color: rgb(56,209,251);
  font-weight: bold;
  text-decoration: none;
}

#header a:hover {
  color: rgb(71,132,191);
}

#header a:active,
#header a:focus {
  outline: 0;
}

/*--------------- 共通ボタン ---------------*/
.hover_button {
  display: inline-block;
  width: 80%;
  max-width: 350px; /* ボタン幅 */
  position: relative;
  background: rgb(56,209,251); /* 背景色 */
  border: 2px solid rgb(56,209,251);
  padding: 1em 2em;
  font-weight: bold;
  color: #fff; /* 文字色 */
  text-decoration: none;
  text-align: center;
  transition-duration: 0.3s;
}

.hover_button:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff; /* 矢印の色 */
  border-right: 2px solid #fff; /* 矢印の色 */
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 25px;
  margin-top: -6px;
}

/* マウスオーバーした際のデザイン */
.hover_button:hover {
  background: #fff; /* 背景色 */
  color: rgb(56,209,251); /* 文字色 */
}

.hover_button:hover:before {
  border-top: 2px solid rgb(56,209,251); /* 矢印の色 */
  border-right: 2px solid rgb(56,209,251); /* 矢印の色 */
}

.hover_button_s {
  display: inline-block;
  width: 60%;
  max-width: 200px; /* ボタン幅 */
  position: relative;
  background: rgb(56,209,251); /* 背景色 */
  border: 2px solid rgb(56,209,251);
  padding: 0.5em 2em;
  font-weight: bold;
  color: #fff; /* 文字色 */
  text-decoration: none;
  text-align: center;
  transition-duration: 0.3s;
}

.hover_button_s:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff; /* 矢印の色 */
  border-right: 2px solid #fff; /* 矢印の色 */
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 25px;
  margin-top: -6px;
}

/* マウスオーバーした際のデザイン */
.hover_button_s:hover {
  background: #fff; /* 背景色 */
  color: rgb(56,209,251); /* 文字色 */
}

.hover_button_s:hover:before {
  border-top: 2px solid rgb(56,209,251); /* 矢印の色 */
  border-right: 2px solid rgb(56,209,251); /* 矢印の色 */
}

.hover_button_g {
  display: inline-block;
  width: 60%;
  max-width: 200px; /* ボタン幅 */
  position: relative;
  background: rgb(145,144,148); /* 背景色 */
  border: 2px solid rgb(145,144,148);
  padding: 0.5em 2em;
  font-weight: bold;
  color: #fff; /* 文字色 */
  text-decoration: none;
  text-align: center;
  transition-duration: 0.3s;
}

.hover_button_g:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff; /* 矢印の色 */
  border-right: 2px solid #fff; /* 矢印の色 */
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 25px;
  margin-top: -6px;
}

/* マウスオーバーした際のデザイン */
.hover_button_g:hover {
  background: #fff; /* 背景色 */
  color: rgb(145,144,148); /* 文字色 */
}

.hover_button_g:hover:before {
  border-top: 2px solid rgb(145,144,148); /* 矢印の色 */
  border-right: 2px solid rgb(145,144,148); /* 矢印の色 */
}

/*--------------- 共通テーブル ---------------*/
table {
  width: 100%;
}

table th {
  border-bottom:1px solid rgba(145,144,148,.2);
  font-weight: bold;
  padding:15px;
  vertical-align: middle;
  width: 20%;
}

table td{
  border-bottom:1px solid rgba(145,144,148,.2);
  padding:15px;
  vertical-align: middle;
  width: 65%;
}

/*--------------- 共通タブ ---------------*/
.tab{
	display: flex;
	flex-wrap: wrap;
}

.tab li {
  list-style: none;
  width: 50%;
  text-align: center;
}

.tab li a{
  background-color: #fff;
  border-color: rgba(145,144,148,.7) #f0f0f0 #fff;
  border-style: solid;
  border-width: 4px 1px 1px;
  border-radius: 5px;
  color: rgba(145,144,148,.7);
  display: block;
  padding:10px 20px;
}

.tab li.active a{
  border-color: #2589d0 #2589d0 #fff;
  color: #333333;
}

.area {
  display: none;
  opacity: 0;
  background: #fff;
}

.area.is-active {
  display: block;
  animation-name: displayAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*--------------- 共通表示 ---------------*/
.important-point {
  border: 1px solid rgb(145,144,148);
  margin-top: 20px;
}

.important-point p {
  font-size: 95%;
  padding: 10px;
}

.blue {
  background-color: rgb(71,132,191);
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 3px;
}

.lightblue {
  background-color: rgb(56,209,251);
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 3px;
}

.gray {
  background-color: rgb(145,144,148);
  color: #fff;
  font-size: 12px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 3px;
}

/*--------------- 共通見出し ---------------*/
h1 {
  border-bottom: 5px solid #dddddd;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  text-align: center;
  background: linear-gradient(180deg, rgb(71,132,191) 0%, rgb(56,209,251) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background-color: rgb(56,209,251);
}

h2 {
  color: #000;
  font-weight: bold;
  font-size: 27px;
  margin: 20px 0;
  padding-left: 10px;
  position: relative;
}

h2::before {
  content: attr(data-number);
  display: block;
  color: rgb(71,132,191);
  font-size: 27px;
}

h2::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 1px;
  background-color: rgb(71,132,191);
}

.h2-green::before {
  color: rgb(149,216,125);
}

.h2-green::after {
  background-color: rgb(149,216,125);
}

.h2-orange::before {
  color: rgb(255,179,101);
}

.h2-orange::after {
  background-color: rgb(255,179,101);
}

.h2-purple::before {
  color: rgb(211,114,200);
}

.h2-purple::after {
  background-color: rgb(211,114,200);
}

.h2-brown::before {
  color: rgb(199,179,168);
}

.h2-brown::after {
  background-color: rgb(199,179,168);
}

/*--------------- 全体タグ ---------------*/
html {
  height: 100%;
  width: 100%;
}

body {
  color: #333333;
  font-size: 18px;
  font-family: "Noto Sans JP","Lato","ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  display: block;
  line-height: 1.5;
  height: 100%;
  width: 100%;
}

#main {
  background: transparent;
  z-index: 1;
  animation-name:MainAnimeAppear;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes MainAnimeAppear{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#wrapper {
  background: transparent;
  padding: 0 1%;
  text-align: center;
  width: 98%;
}

#contents {
  background: transparent;
  display: inline-block;
  margin: 0 auto;
  text-align: left;
  width: 100%;
}

.sub-contents {
  background-color: #fff;
  padding-bottom: 10px;
}

.contents-2 {
  width: 48%;
}

.contents-3 {
  border: solid 1px;
  box-shadow: 3px 3px 0px 0px rgba(145,144,148,.2);
  margin: 20px auto 20px 40px;
  padding: 20px;
  width: 220px;
}

.contents-3 h3{
  position: relative;
  left: -40px;
  background-color: rgb(56,209,251);
  color: #fff;
  padding: 0.5em 1em;
  margin: 0;
  width: 100%;
  font-size: 20px;
  font-weight: bold;
}

.iframe-wrapper {
  position: relative;
  padding-bottom: 70%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*--------------- 全体ヘッダー ---------------*/
#header {
  background-size: cover;
  display: block;
  height: 100px;
  position: fixed;
  width: 100%;
  z-index: 2;
}

#header * {
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

#logo-symbol img{
  margin-top: 10px;
  opacity: 0.8;
}

#logo-text img{
  margin-top: 10px;
  margin-left: 10px;
  opacity: 0.8;
}

/*ハンバーガーメニュー*/
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/opensans/v40/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVc.ttf) format('truetype');
}
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/pacifico/v22/FwZY7-Qmy14u9lezJ-6H6Mw.ttf) format('truetype');
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
}
.outer-menu .checkbox-toggle {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
  width: 90px;
  height: 90px;
  opacity: 0;
}
.outer-menu .checkbox-toggle:checked + .hamburger > div {
  transform: rotate(135deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:before,
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}
.outer-menu .checkbox-toggle:checked + .hamburger > div:after {
  opacity: 0;
}
.outer-menu .checkbox-toggle:checked ~ .menu {
  pointer-events: auto;
  visibility: visible;
}
.outer-menu .checkbox-toggle:checked ~ .menu > div {
  transform: scale(1);
  transition-duration: 0.75s;
}
.outer-menu .checkbox-toggle:checked ~ .menu > div > div {
  opacity: 1;
  transition: opacity 0.4s ease 0.4s;
}
.outer-menu .checkbox-toggle:hover + .hamburger {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.outer-menu .checkbox-toggle:checked:hover + .hamburger > div {
  transform: rotate(225deg);
}
.outer-menu .hamburger {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 90px;
  height: 90px;
  padding: 0.5em 1em;
  background: rgba(33, 150, 243, 0.75);
  border-radius: 0 0.12em 0.12em 0;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .hamburger > div {
  position: relative;
  flex: none;
  width: 60%;
  height: 2px;
  background: #FEFEFE;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .hamburger > div:before,
.outer-menu .hamburger > div:after {
  content: '';
  position: absolute;
  z-index: 1;
  top: -10px;
  right: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}
.outer-menu .hamburger > div:after {
  top: 10px;
}
.outer-menu .menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  outline: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .menu > div {
  width: 200vw;
  height: 200vw;
  color: #FEFEFE;
  background: rgba(41, 98, 255, 0.97);
  border-radius: 50%;
  transition: all 0.4s ease;
  flex: none;
  transform: scale(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .menu > div > div {
  text-align: center;
  max-width: 90vw;
  max-height: 100vh;
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outer-menu .menu > div > div > ul {
  list-style: none;
  padding: 0 1em;
  margin: 0;
  display: block;
  max-height: 100vh;
}
.outer-menu .menu > div > div > ul > li {
  padding: 0;
  margin: 1em;
  font-size: 24px;
  display: block;
}
.outer-menu .menu > div > div > ul > li > a {
  position: relative;
  display: inline;
  cursor: pointer;
  transition: color 0.4s ease;
}
.outer-menu .menu > div > div > ul > li > a:hover {
  color: #e5e5e5;
}
.outer-menu .menu > div > div > ul > li > a:hover:after {
  width: 100%;
}
.outer-menu .menu > div > div > ul > li > a:after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: -0.15em;
  right: 0;
  width: 0;
  height: 2px;
  background: #e5e5e5;
  transition: width 0.4s ease;
}

/*--------------- 全体フッター ---------------*/
.footer {
  background: rgba(56,209,251,.1);
  padding-bottom: 30px;
  width: 100%;
}

.footer-wrapper {
  width: 100%;
}

.footer-logo {
  margin-top: 20px;
  width: 100%;
}

.footer-address {
  margin-top: 20px;
  width: 100%;
}

.footer a {
  font-weight: normal;
}

address {
  background: rgb(145,144,148);
  clear: both;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  padding: 10px 0;
  text-align: center;
}

/*--------------- トップページ ---------------*/
#tagline {
  background-image: url("https://copilot.co.jp/images/top_image.png");
  background-position: 55% 50%;
  background-repeat: no-repeat;
  background-size: 1280px;
  background-blend-mode:lighten;
  height: 1000px;
  animation: poyonyon 5.0s infinite;
}

@keyframes poyonyon {
  0%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
  90%   { transform: scale(1.0, 1.0) translate(0%, 0%); }
  95%  { transform: scale(0.9, 1.1) translate(0%, -10%); }
  100% { transform: scale(1.0, 1.0) translate(0%, 0%); }
}

/*画面遷移アニメーション*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #333;
  z-index: 9999999;
  text-align:center;
  color:#fff;
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.splashbg{
  display: none;
}

body.appear .splashbg{
  display: block;
  content: "";
  position:fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  transform: scaleY(0);
  background-color:rgb(56,209,251);/*伸びる背景色の設定*/
  animation-name:PageAnime;
  animation-duration:1.2s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
}

@keyframes PageAnime{
  0% {
    transform-origin:top;
    transform:scaleY(0);
  }
  50% {
    transform-origin:top;
    transform:scaleY(1);
  }
  50.001% {
    transform-origin:bottom;
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

#container{
  opacity: 0;
}

body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay: 0.8s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*--------------- その他サブページ ---------------*/
/* サービス一覧 */
.service-contents {
  border: solid 1px;
  box-shadow: 10px 10px 0px 0px rgba(145,144,148,.2);
  margin-bottom: 20px;
  width: 48%;
}

.service-contents img {
  height: auto;
  margin: 0 auto;
  width: 100%;
}

.service-contents p {
  padding: 10px;
}

.sub-contents ul {
  padding: 0.5em 0;
  list-style-type: none;
  border: none;
}

.sub-contents ul li {
  position:relative;
  padding: 0.3em 0 0.3em 2em;
  line-height: 1.5;
}

.sub-contents ul li:after, .sub-contents ul li:before{
  content:''; 
  position:absolute; 
  top: 7px;
  left: 11px;
  height: 18px;
  width:4px; 
  background: rgb(56,209,251);
  border-radius:10px;
  transform:rotate(45deg);
  -webkit-transform:rotate(45deg);
  -o-transform:rotate(45deg);
}

.sub-contents ul li:after {
  top: 14px;
  left: 3px;
  height: 10px;
  transform:rotate(-45deg);
  -webkit-transform:rotate(-45deg);
  -o-transform:rotate(-45deg);
}

/* サービス一覧 */

/*--------------- PCページ ---------------*/
@media only screen and (min-width: 1280px) {

  #contents {
    width: 1024px;
  }

  #wrapper {
    padding: 0;
    width: 100%;
  }

  .footer-wrapper {
    width: 1024px;
  }

  .footer-logo {
    margin-top: 20px;
    float: left;
    width: 50%;
  }

  .footer-address {
    margin-top: 100px;
    float: right;
    width: 50%;
  }
}

/*--------------- タブレットページ ---------------*/
@media only screen and (min-width:768px) and (max-width:1280px)  {

  #tagline {
    background-image: url("https://copilot.co.jp/images/top_image.png");
    background-size: 720px;
    height: 600px;
  }

  .contents-3 {
    width: 90%;
  }

}

/*--------------- スマートフォン（横）用 ---------------*/
@media only screen and (min-width:428px) and (max-width:768px) {

  h1 {
    font-size: 24px;
  }

  h2,h2::before {
    font-size: 20px;
  }

  #tagline {
    background-image: url("https://copilot.co.jp/images/top_image.png");
    background-size: 400px;
    height: 450px;
  }

  .contents-3 {
    width: 85%;
  }

}

/*--------------- スマートフォン（縦）用 ---------------*/
@media only screen and (max-width:428px) {

  body {
    font-size: 16px;
  }

  h1 {
    font-size: 24px;
  }

  h2,h2::before {
    font-size: 20px;
  }

  #tagline {
    background-image: url("https://copilot.co.jp/images/top_image_sp.png");
    background-size: 400px;
    height: 1000px;
    padding-top: 200px;
  }

  .outer-menu .checkbox-toggle {
    width: 60px;
    height: 60px;
  }

  .outer-menu .hamburger {
    width: 60px;
    height: 60px;
  }

  .outer-menu .hamburger > div {
    width: 100%;
  }

  #logo-symbol img{
    height: 60px;
    width: 72px;
  }

  #logo-text img{
    margin-left: 0;
    height: 60px;
    width: 200px;
  }

  .important-point {
    font-size: 14px;
  }

  .iframe-wrapper {
    padding-bottom: 150%;
  }

  .service-contents {
    box-shadow: none;
    width: 100%;
  }

  .contents-2 {
    width: 100%;
  }

  .contents-2 img{
    height: auto;
    width: 90%;
  }

  .contents-3 {
    width: 80%;
  }

}
