@charset "UTF-8";

/***************/

.header-top img {
  float: right;
  margin: 5px 10px;
  width: 2em;
}


/****************/


/*========= 上部固定させるためのCSS ===============*/

#header {
  position: fixed;
  /*fixedを設定して固定*/
  /*height: 70px;高さ指定*/
  /*width:100%;横幅指定*/
  z-index: 999;
  /*最前面へ*/
  /*以下はレイアウトのためのCSS*/
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
  background: #ffffff;
  color: #fff;
  text-align: center;
  padding: .1em 0.5em;
  /*非表示
  opacity: 0;
	transform: translateY(-100px);*/
  width: 100%;
}

#header h1 {
  /*  position: relative;*/
  /*max-width: 450px;*/
  max-height: 80px;
  /*width: 50%;*/
  background-image: url(../img/nanayo.png);
  background-repeat: no-repeat;
  /*  background-position: center;*/
  background-size: contain;
  /*トリミング*/
}

#header h1 span {
  display: block;
  font-size: 0.5rem;
  color: #767676;
  text-align: start;
  line-height: 0;
}

@media (min-width: 768px) {
  #header h1 span {
    font-size: .9rem;
    color: #767676;
  }
}

#header ul.g-navi {
  list-style: none;
  display: flex;
  justify-content: right;
}

#header ul.g-navi li img {
  width: 30px;
}

#header ul.g-navi li {
  padding: 0 0.5em;
  margin: 0;
}


/*セカンドメニュー*/

#header nav.mg-navi ul {
  display: flex;
  padding: 0;
  margin: 0;
  width: 100%;
}

#header nav.mg-navi ul li {
  width: 25%;
  list-style-type: none;
}

#header nav.mg-navi ul li a {
  display: block;
  width: 100%;
  border: 1px solid #767676;
  font-size: 1em;
  text-align: center;
  outline: none;
  background: #fff;
  color: #767676;
  text-decoration: none;
}


/*fixedでブロックがなくなるのではじめの要素のトップに余白を持たせる*/

div#area-2 {
  padding-top: 100px;
}


/*==ふわっと出現させるためのCSS*/


/*　上に上がる動き　*/

#header.UpMove {
  position: fixed;
  /*width:100%;*/
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}


/*　下に下がる動き　*/

#header.DownMove {
  position: fixed;
  width: 100%;
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/***********************************/

.top {
  position: relative;
  margin: 0 auto;
  height: 90vh;
}

.top:before {
  content: '';
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: -1;
  width: 80%;
  max-width: 950px;
  height: 90vh;
  /*背景画像設定*/
  background: url("../img/1200_630nanayo_C.jpg") no-repeat center;
  background-size: contain;
  background-position: center;
}

.top img {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 50%;
  max-width: 400px;
}

div.nav {
  position: absolute;
  top: 40%;
  right: 5%;
  width: 25%;
  max-width: 300px;
}


/*== ボタン共通設定 */

.btn01 {
  /*背景の基点とするためrelativeを指定*/
  position: relative;
  /*ボタンの形状*/
  display: inline-block;
  width: 100%;
  max-width: 250px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  outline: none;
  margin-bottom: 2em;
}


/*ボタン内側の設定*/

.btn01 span {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #333;
  /* 重なりを3Dで表示 */
  transform-style: preserve-3d;
  /* アニメーションの設定 数字が少なくなるほど早く回転 */
  transition: 0.5s;
}


/*== くるっと回転（奥に） */


/* 回転前 */

.rotateback span:nth-child(1) {
  background: #fff;
  color: #000;
  transform: rotateX(0deg);
  /*はじめは回転なし*/
  transform-origin: 0 50% -25px;
  /* 回転する起点 */
}


/*hoverをした後の形状*/

.rotateback:hover span:nth-child(1) {
  transform: rotateX(90deg);
  /* X軸に90度回転 */
}


/* 回転後 */

.rotateback span:nth-child(2) {
  background: #000;
  color: #fff;
  transform: rotateX(-90deg);
  /*はじめはX軸に-90度回転*/
  transform-origin: 0 50% -25px;
  /* 回転する起点 */
}


/*hoverをした後の形状*/

.rotateback:hover span:nth-child(2) {
  transform: rotateX(0deg);
  /* X軸に0度回転 */
}


/*========= スクロールダウンのためのCSS ===============*/


/*スクロールダウン全体の場所*/

.scrolldown4 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 1%;
  right: 50%;
  /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}


/*下からの距離が変化して全体が下→上→下に動く*/

@keyframes arrowmove {
  0% {
    bottom: 1%;
  }
  50% {
    bottom: 3%;
  }
  100% {
    bottom: 1%;
  }
}


/*Scrollテキストの描写*/

.scrolldown4 span {
  /*描画位置*/
  position: absolute;
  left: -20px;
  bottom: 10px;
  /*テキストの形状*/
  color: #000;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}


/* 矢印の描写 */

.scrolldown4:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: -6px;
  /*矢印の形状*/
  width: 1px;
  height: 20px;
  background: #000;
  transform: skewX(-31deg);
}

.scrolldown4:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: 0;
  /*矢印の形状*/
  width: 1px;
  height: 50px;
  background: #000;
}

#about, #skill, #Production, #service, #contact, #blog {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

#about {
  margin-top: 3em;
}

.m-link {
  margin-top: 5rem !important;
}

#blog h2 {
  position: absolute;
  top: 180px;
  /*    right: 5%;*/
  left: 10%;
  width: 25%;
  max-width: 300px;
  border: 1px solid #333;
  font-size: 1em;
  text-align: center;
  outline: none;
  padding: 1em 0;
  margin-bottom: 2em;
  background: #fff;
  color: #000;
}

#about h2, #skill h2, #Production h2, #contact h2, #service h2 {
  margin: 2em 0 2em 2em;
  /*width: 25%;*/
  max-width: 300px;
  border: 1px solid #333;
  font-size: 1em;
  text-align: center;
  outline: none;
  padding: 1em 0;
  /*margin-bottom: 2em;*/
  background: #fff;
  color: #000;
}


/********* about *自己紹介******************/

.about-area {
  padding-top: 0em;
  z-index: 2;
  margin: 1em auto 0em;
  /*background-color: #dfdfdf;*/
  /*背景画像設定
        background:url("../img/bg-2nd.jpg") no-repeat center;
        background-size:100%;
        background-position: center;*/
}


/**/

@media (min-width: 768px) {
  .about-area {
    padding-top: 0em;
    z-index: 2;
    margin: 1em auto 2em;
  }
}

#about .about-text {
  z-index: 3;
  /* background: rgba(255, 255, 255, 0.5);*/
  transition: 0.5s ease-in-out;
  /*  position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
  color: #000000;
  line-height: 2.5;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 1px 1px 1px #ffffff;
  /* padding: 5em 4em 2em 4em;*/
  /*背景画像設定*/
  background: url("../img/bg-2nd.png") no-repeat center;
  background-size: 50%;
  background-position: bottom 0px right 0px;
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
}

#about h2.h2_about {
  text-align: center;
  max-width: 100%;
  border: 0px;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  color: #000000;
  line-height: 1;
  font-weight: 600;
  font-size: 1.6em;
  /*1.2em*/
  /*/* text-shadow: 1px 1px 1px #ffffff;*/
  background-color: transparent;
  margin: 2em 0;
}

#about .highlight-container {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 50px 0;
}

#about .highlight {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 100%;
  /*background-color: #ff0; /* 蛍光ペン風の黄色 */
  transition: width 2s ease;
  /*アニメーション ease は「緩やかに始まり、速くなり、最後にまた緩やかに終わる」 */
  pointer-events: none;
}
.highlight.yellow{  background: linear-gradient(transparent 10%, #ff0 100%);}
.highlight-red{  background: linear-gradient(transparent 50%, rgb(255, 149, 0) 100%);}

#about .highlight-text {
  position: relative;
  z-index: 1;
  /* ハイライトの上にテキストが表示される */
}

#about .seconds02 {
  transition: width 2s ease 3s;
  /* アニメーションの開始を遅らせる */
}

#about .seconds03 {
  transition: width 2s ease 6s;
  /* アニメーションの開始を遅らせる */
}


/*テキストをじわっと*/

.blur {
  animation-name: blurAnime;
  /* 使用するアニメーション名 */
  animation-duration: 2s;
  /* アニメーションの時間：2秒 */
  animation-fill-mode: forwards;
  /* アニメーション終了後の状態を維持 */
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    /* 最初は10pxのぼかし */
    transform: scale(1.02);
    /* 少し大きく表示 */
    opacity: 0;
    /* 完全に透明 */
  }
  to {
    filter: blur(0);
    /* ぼかしを無くす */
    transform: scale(1);
    /* 元のサイズに戻す */
    opacity: 1;
    /* 完全に表示 */
  }
}

.blurTrigger {
  opacity: 0;
}


/*************スキル*****************/


/* 見出し h4 */

#skill h4, #Production h4, #service h4 {
  padding: 1rem !important;
}


/* リスト（li） */

#skill li, #Production li, #service li {
  line-height: 2.5;
}


/* 箇条書きのマーカーを四角に */

#skill ul li, #Production ul li, #service ul li {
  list-style-type: square;
}


/*------------------------------------
 タイピングアニメーション
------------------------------------*/

.TextTyping span {
  display: none;
}


/* 文字列末尾に点滅カーソル */

.TextTyping::after {
  content: "|";
  animation: typinganime 0.8s ease infinite;
}

@keyframes typinganime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/*------------------------------------
 gNavi ボタンのホバー演出
------------------------------------*/

.gnavi button {
  position: relative;
  /* 線アニメの基点 */
}

.gnavi button:hover {
  color: #0481A2;
}


/* ホバー時に下線が伸びる */

.gnavi button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 2px;
  background: #0481A2;
  transition: all 0.3s;
  transform: scale(0, 1);
  /* X 方向 0 → 非表示 */
  transform-origin: left top;
}

.gnavi button:hover::after {
  transform: scale(1, 1);
  /* X 方向 1 → 全表示 */
}


/********* Production 　製作物 ******************/


/*#Production .area{

  position: relative;
	margin:10% auto 5% auto;
	padding: 0 30px;
}*/

#Production .area img {
  width: 100%;
  max-width: 350px;
}

#Production .box-main {
  /*position:absolute;
	top:10%;
	left:40%;*/
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}
#Production .note {
      font-size: 0.9rem;
      color: #777;
      margin-bottom: 1.5rem;
    }

#Production ul {
      list-style: none;
      padding: 0;
    }

#Production li {
      display: flex;
      align-items: flex-start;
      margin-bottom: 1.2rem;
      line-height: 1.5;
    }

#Production li span.icon {
      font-size: 1.4rem;
      margin-right: 0.8rem;
      flex-shrink: 0;
    }

#Production li span.text strong {
      display: block;
      font-weight: bold;
    }


/*========= モーダル表示のためのCSS ===============*/

.modal-dialog {
  max-width: 1000px;
  min-width: 280px;
  /*width: 80%;*/
}

.modal-dialog ul li {
  list-style-type: none;
  margin: 5px 0;
}

.modal-dialog img {
  width: 100%;
}


/***********Service（サービス内容）***********/

#service h4.title {
  background: #7a7a7a;
  border: 1px solid #7a7a7a;
  padding-left: 20px;
  color: white;
  margin-bottom: 0;
}

#service .service-box {
  border-radius: 5px;
  border: 1px dashed #d0d0d0;
  padding: 20px;
}

.timeline {
  list-style: none;
}

.timeline>li {
  margin-bottom: 60px;
}


/* for Desktop */

@media (min-width: 640px) {
  .timeline>li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #6fc173;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
  }
}


/***********contact　コンタクト***********/

#contact img {
  width: 6em;
  max-width: 250px;
  min-width: 50px;
}


/******************************/

.box-line-b1 {
  background: #fff;
  border: 1px #ccc solid;
  box-shadow: 0 2px 3px 0 #ddd;
  padding: 20px;
}

.box-line-radius {
  border-radius: 5px;
  border: 1px dashed #a6a6a6;
  padding: 20px;
}


/******************************/

footer {
  background: #e9e9e9;
  position: inherit;
}


/*========= ページトップのためのCSS ===============*/


/*リンクを右下に固定*/

#page-top {
  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(150px);
}


/*　上に上がる動き　*/

#page-top.UpMove {
  animation: UpAnime_top 0.5s forwards;
}

@keyframes UpAnime_top {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*　下に下がる動き　*/

#page-top.DownMove {
  animation: DownAnime_top 0.5s forwards;
}

@keyframes DownAnime_top {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(150px);
  }
}


/*画像の切り替えと動き*/

#page-top a {
  /*aタグの形状*/
  display: block;
  width: 100px;
  height: 100px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  /*背景画像の指定*/
  background: url("../img/pagetop_1.png") no-repeat center;
  background-size: contain;
}

#page-top.floatAnime_top a {
  width: 100px;
  height: 130px;
  /*背景画像の指定*/
  background: url("../img/pagetop_2.png") no-repeat center;
  background-size: contain;
  /*アニメーションの指定*/
  animation: floatAnime_top 2s linear infinite;
  opacity: 0;
}

@keyframes floatAnime_top {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  25% {
    transform: translateX(-6px);
    opacity: 1;
  }
  50% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(6px);
    opacity: 1;
  }
}


/*Page Topと書かれたテキストの位置*/

#page-top span {
  position: absolute;
  bottom: -20px;
  right: 20px;
  color: #666;
}


/****************************************/


/*******form*******/

.cp_form {
  position: relative;
  /*width: 600px;*/
  margin: 40px auto;
  padding: 1em 2em;
  box-shadow: 0px 0px 3px 2px #ededed;
}

.cp_form .cp_radio, .cp_group {
  position: relative;
  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
}

.cp_form .cp_group input[type=button], .cp_form .cp_group input[type=submit], .cp_form .cp_group input[type=checkbox], .cp_form .cp_group input[type=radio], .cp_form .cp_group input[type=text], .cp_form .cp_group input[type=tel], .cp_form .cp_group input[type=password], .cp_form .cp_group input[type=email], .cp_form .cp_group input[type=url], .cp_form .cp_group input[type=date], .cp_form .cp_group input[type=number], .cp_form .cp_group textarea, .cp_form .cp_group .cp_file .file_text, .cp_form .cp_group select {
  font-family: inherit;
}

.cp_form .cp_group input {
  height: 1.9rem;
}

.cp_form .cp_group textarea {
  resize: vertical;
}

.cp_form .cp_group select::-ms-expand {
  display: none;
}

.cp_form .cp_ipselect {
  position: relative;
  width: 100%;
  margin: 2em auto;
}

.cp_form .cp_sl {
  position: relative;
  font-size: 1rem;
  font-family: inherit;
  background-color: transparent;
  width: 100%;
  padding: 10px 10px 10px 0;
  border-radius: 0;
  border: none;
}

.cp_form .cp_sl:focus {
  outline: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.cp_form .cp_ipselect .cp_sl {
  -webkit-appearance: none;
  appearance: none;
}

.cp_form .cp_ipselect:after {
  position: absolute;
  top: 18px;
  right: 10px;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.cp_form .cp_sl_selectlabel {
  color: #b3b3b3;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 10px;
  transition: 0.2s ease all;
}

.cp_form .cp_sl:focus~.cp_sl_selectlabel, .cp_form .cp_sl:valid~.cp_sl_selectlabel {
  font-size: 0.8rem;
  color: #2f2f2f;
  top: -20px;
  transition: 0.2s ease all;
}

.cp_form .cp_sl_selectbar {
  position: relative;
  display: block;
  width: 100%;
}

.cp_form .cp_sl_selectbar:before, .cp_form .cp_sl_selectbar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #2f2f2f;
  transition: 0.2s ease all;
}

.cp_form .cp_sl_selectbar:before {
  left: 50%;
}

.cp_form .cp_sl_selectbar:after {
  right: 50%;
}

.cp_form .cp_sl:focus~.cp_sl_selectbar:before, .cp_form .cp_sl:focus~.cp_sl_selectbar:after {
  width: 50%;
}

.cp_form .cp_sl_highlight {
  position: absolute;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

.cp_form .cp_group .cp_label {
  position: absolute;
  top: 0.25rem;
  pointer-events: none;
  padding-left: 0.125rem;
  z-index: 1;
  color: #b3b3b3;
  font-size: 1rem;
  font-weight: normal;
  -webkit-transition: all 0.28s ease;
  transition: all 0.28s ease;
}

.cp_form .cp_group .bar {
  position: relative;
  border-bottom: 0.0625rem solid #999999;
  display: block;
}

.cp_form .cp_group .bar::before {
  content: '';
  height: 0.125rem;
  width: 0;
  left: 50%;
  bottom: -0.0625rem;
  position: absolute;
  background: #2f2f2f;
  -webkit-transition: left 0.28s ease, width 0.28s ease;
  transition: left 0.28s ease, width 0.28s ease;
  z-index: 2;
}

.cp_form .cp_group input[type=button], .cp_form .cp_group input[type=submit], .cp_form .cp_group input[type=checkbox], .cp_form .cp_group input[type=radio], .cp_form .cp_group input[type=text], .cp_form .cp_group input[type=tel], .cp_form .cp_group input[type=password], .cp_form .cp_group input[type=email], .cp_form .cp_group input[type=url], .cp_form .cp_group input[type=date], .cp_form .cp_group input[type=number], .cp_form .cp_group textarea {
  display: block;
  background: none;
  padding: 0.125rem 0.125rem 0.0625rem;
  font-size: 1rem;
  border-width: 0;
  border-color: transparent;
  line-height: 1.9;
  width: 100%;
  color: transparent;
  -webkit-transition: all 0.28s ease;
  transition: all 0.28s ease;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.cp_form .cp_group select, .cp_form .cp_group input:focus, .cp_form .cp_group input:valid, .cp_form .cp_group textarea:focus, .cp_form .cp_group textarea:valid {
  color: #333333;
}

.cp_form .cp_group select~.cp_label, .cp_form .cp_group input:focus~.cp_label, .cp_form .cp_group input:valid~.cp_label, .cp_form .cp_group textarea:focus~.cp_label, .cp_form .cp_group textarea:valid~.cp_label {
  font-size: 0.8rem;
  color: #2f2f2f;
  top: -1rem;
  left: 0;
}

.cp_form .cp_group select:hover, .cp_form .cp_group input:focus, .cp_form .cp_group textarea:focus {
  outline: none;
}

.cp_form .cp_group select:hover~.cp_label, .cp_form .cp_group input:focus~.cp_label, .cp_form .cp_group textarea:focus~.cp_label {
  color: #2f2f2f;
}

.cp_form .cp_group select:hover~.bar::before, .cp_form .cp_group input:focus~.bar::before, .cp_form .cp_group textarea:focus~.bar::before {
  width: 100%;
  left: 0;
}

.cp_form .checkbox label, .cp_form .cp_radio label {
  position: relative;
  cursor: pointer;
  padding-left: 2rem;
  text-align: left;
  color: #333333;
  display: block;
}

.cp_form .checkbox input, .cp_form .cp_radio input {
  width: auto;
  opacity: 0.00000001;
  position: absolute;
  left: 0;
}

.cp_form .radio {
  margin-bottom: 1rem;
}

.cp_form .radio .ch_bar {
  position: absolute;
  top: -0.25rem;
  left: -0.25rem;
  cursor: pointer;
  display: block;
  font-size: 1rem;
  -webkit-user-select: none;
  user-select: none;
  color: #999999;
}

.cp_form .radio .ch_bar::before, .cp_form .radio .ch_bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  margin: 0.25rem;
  width: 1rem;
  height: 1rem;
  -webkit-transition: -webkit-transform 0.28s ease;
  transition: transform 0.28s ease;
  border-radius: 50%;
  border: 0.125rem solid currentColor;
}

.cp_form .radio .ch_bar::after {
  -webkit-transform: scale(0);
  transform: scale(0);
  background-color: #2f2f2f;
  border-color: #2f2f2f;
}

.cp_form .radio label:hover .ch_bar {
  color: #2f2f2f;
}

.cp_form .radio input:checked~.ch_bar::after {
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}

.cp_form .radio input:checked~.ch_bar::before {
  color: #2f2f2f;
}

.cp_form .checkbox {
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.cp_form .checkbox .ch_bar {
  color: #999999;
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 1rem;
  z-index: 0;
  border: 0.125rem solid currentColor;
  border-radius: 0.0625rem;
  -webkit-transition: border-color 0.28s ease;
  transition: border-color 0.28s ease;
}

.cp_form .checkbox .ch_bar::before, .cp_form .checkbox .ch_bar::after {
  position: absolute;
  height: 0;
  width: 0.2rem;
  background-color: #2f2f2f;
  display: block;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  border-radius: 0.25rem;
  content: '';
  -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
  transition: opacity 0.28s ease, height 0s linear 0.28s;
  opacity: 0;
}

.cp_form .checkbox .ch_bar::before {
  top: 0.65rem;
  left: 0.38rem;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  -webkit-box-shadow: 0 0 0 0.0625rem #ffffff;
  box-shadow: 0 0 0 0.0625rem #ffffff;
}

.cp_form .checkbox .ch_bar::after {
  top: 0.3rem;
  left: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.cp_form .checkbox label:hover .ch_bar {
  color: #2f2f2f;
}

.cp_form .checkbox input:checked~.ch_bar {
  color: #2f2f2f;
}

.cp_form .checkbox input:checked~.ch_bar::after, .cp_form .checkbox input:checked~.ch_bar::before {
  opacity: 1;
  -webkit-transition: height 0.28s ease;
  transition: height 0.28s ease;
}

.cp_form .checkbox input:checked~.ch_bar::after {
  height: 0.5rem;
}

.cp_form .checkbox input:checked~.ch_bar::before {
  height: 1.2rem;
  -webkit-transition-delay: 0.28s;
  transition-delay: 0.28s;
}

.cp_form .radio+.radio, .cp_form .checkbox+.checkbox {
  margin-top: 1rem;
}


/* File input */

.cp_form .cp_group .cp_file {
  position: relative;
}

.cp_form .cp_group .cp_file .title {
  position: static;
}

.cp_form .cp_group .cp_file .button {
  font-size: 1em;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 1.2em 0 1.2em;
  cursor: pointer;
  -webkit-transition: background-color 0.25s;
  transition: background-color 0.25s;
  color: #ffffff;
  border-radius: 0;
  background-color: #999999;
}

.cp_form .cp_group .cp_file .file_input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-appearance: none;
  appearance: none;
}

.cp_form .cp_group .cp_file .file_text {
  position: relative;
  box-sizing: border-box;
  padding: 6px 10px;
  -webkit-transition: border-color 0.6s;
  transition: border-color 0.6s;
  border-bottom: 0.0625rem solid #999999;
  outline: none;
}

.cp_form .cp_group .cp_file .file_text::before {
  content: '';
  height: 2px;
  width: 0;
  left: 50%;
  bottom: -1px;
  position: absolute;
  background: #2f2f2f;
  -webkit-transition: left 0.28s ease, width 0.28s ease;
  transition: left 0.28s ease, width 0.28s ease;
  z-index: 2;
}

.cp_form .cp_group .cp_file .file_input:hover~.file_text::before {
  width: 100%;
  left: 0;
}

.cp_form .cp_group .cp_file label:hover .button {
  background-color: #2f2f2f;
}

.cp_form .cp_group .cp_file label:active .button {
  background-color: #2f2f2f;
}

.cp_form .btn_cont {
  text-align: center;
}

.cp_form .btn {
  position: relative;
  background: currentColor;
  border: 1px solid currentColor;
  font-size: 1.1rem;
  color: #2f2f2f;
  margin: 3rem 0;
  padding: 0.75rem 3rem;
  cursor: pointer;
  -webkit-transition: background-color 0.28s ease, color 0.28s ease, -webkit-box-shadow 0.28s ease;
  transition: background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.cp_form .btn span {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.cp_form .btn::before {
  content: '';
  position: absolute;
  background: #071017;
  border: 50vh solid #1d4567;
  width: 30vh;
  height: 30vh;
  border-radius: 50%;
  display: block;
  top: 50%;
  left: 50%;
  z-index: 0;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(0);
  transform: translate(-50%, -50%) scale(0);
}

.cp_form .btn:hover {
  color: #0f0da7;
  -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
}

.cp_form .btn:focus {
  outline: none;
}


/***************************/

.contact-text {
  /*背景画像設定*/
  background: url("../img/bg-2nd.png") no-repeat center;
  background-size: 50%;
  background-position: bottom 0px right 0px;
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
}

#contact a {
  text-decoration: none;
}