@charset "utf-8";

html {
	font-size: 62.5%;
}

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Meiryo UI", "メイリオ", Meiryo , sans-serif;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

.headerbox {
	height: 90px;
}

.navbox {
	height: 30px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 90px;
	background-color: rgba(255,255,255,0.6);
	display: flex;
	z-index: 999;
}

header p img {
	width: 420px;
	float: left;
	margin: 10px 0 0 30px;
}

nav {
	flex: 1;
	width: 800px;
 }

nav ul {
	margin-left: 500px;
}

nav ul li {
	float: left;
	margin: 10px 50px 0 0;
}

.tooltip {
	position: relative;
}

.tooltip .tooltiptext {
	position: absolute;
	z-index: 990;
	top: 105%;
	left: -6px;
	visibility: hidden;
	width: auto;
	white-space: nowrap;
	padding: 0.7em 0.5em;
	transition: opacity 1s;
	text-align: center;
	opacity: 0;
	color: #ffffff;
	font-size: 1.5rem;
	border-radius: 6px;
	background-color: #ff7fb6;
}
.tooltip .tooltiptext::after {
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	content: ' ';
	border: 5px solid transparent;
	border-bottom-color: #ff7fb6;
}
.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

.hamburger {
	display: none;
}

.subNav {
	position: fixed;
	top: 90px;
	left: 0;
	width: 100%;
	height: 30px;
	background-color: rgba(255,255,255,0.8);
	display: flex;
	z-index: 900;
}

.subNav ul {
	display: flex;
	justify-content: space-between;
	width: 800px;
	margin: 0 auto;
	padding-top: 10px;
 }

.subNav ul li a {
	font-size: 1.5rem;
	font-weight: bold;
	color: #a6dbed;
	text-decoration: none;
}

.subNav ul li a:hover {
	color: #ff96c4;

}

.anchor{
    display: block;
    padding-top: 180px;
    margin-top: -180px;
}

/** article **/

article {
	width: 1200px;
	text-align: center;
	margin: 0 auto;
}

.click {
	font-size: 1.6rem;
	font-weight: bold;
	color: #ff7fb6;
	margin-top: 160px;
}

h1,
h2,
h3,
h4 {
	font-size: 1.4rem;
	font-weight: bold;
	color: #a6dbed;
	padding-bottom: 30px;
}

.close {
	font-size: 1.3rem;
	color: #fff;
	text-decoration: none;
	padding-left: 10px;
}

#paper {
	height: 600px;
	margin: 120px 0 70px;
}

#paper .main{
	width: 800px;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
}

/** digital **/

#digital {
	height: 600px;
	margin-bottom: 30px;
}

#digital .main {
	width: 1200px;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
}

#digital .main img {
	width: 250px;
}

.anim-box {
  animation: poyoyon3 2.5s infinite;
  opacity: 1;
}
@keyframes poyoyon3 {
  0%, 40% {
    transform: skew(0deg, 0deg);
  }
  5% {
    transform: skew(5deg, 5deg);
  }
  10% {
    transform: skew(-4deg, -4deg);
  }
  15% {
    transform: skew(3deg, 3deg);
  }
  20% {
    transform: skew(-2deg, -2deg);
  }
  25% {
    transform: skew(1deg, 1deg);
  }
  30% {
    transform: skew(-0.6deg, -0.6deg);
  }
  35% {
    transform: skew(0.3deg, 0.3deg);
  }
}

.swing {
  animation-name: katakata;
  animation-duration: 6000ms;
  animation-iteration-count: infinite;
  animation-timing-function: step-start;
}

@keyframes katakata {
  0% {
    transform: translateY(-2px) rotate(6deg);
  }

  10% {
      transform: translate(0) rotate(0deg);
  }
  20% {
      transform: translate(0) rotate(-6deg);
  }
  30% {
      transform: translateY(-2px) rotate(0deg);
  }
  40% {
      transform: translateY(-2px) rotate(6deg);
  }
  50% {
      transform: translate(2px) rotate(-2deg);
  }
  60% {
      transform: translateY(2px) rotate(0deg);
  }
  70% {
      transform: translate(0) rotate(6deg);
  }
  80% {
      transform: translate(2px) rotate(-2deg);
  }
  90% {
      transform: translate(0) rotate(0deg);
  }
  100% {
      transform: translateY(-2px) rotate(6deg);
  }
}

/** font **/

#font {
	height: 600px;
	margin-bottom: 270px;
}

#font .main {
	width: 980px;
	margin: 0 auto;
}

#font .main img {
	width: 250px;
}

.boxa,
.boxb {
	display: flex;
	justify-content: space-between;
}

.boxb {
	width: 600px;
	margin: 0 auto;
}

.box {
   animation: fuwafuwa 2s infinite;
}

@keyframes fuwafuwa {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}

/**package **/

#package {
	height: 600px;
	margin-bottom: 100px;
}

#package .main {
	width: 980px;
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	padding: 20px 0 40px;
}

/* モーダル全体(背景＋本体) */
.modal{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100%;
	z-index: 900;
}

/* モーダル背景 */
.modal-bg{
	height: 100%;
	width: 100%;	
	background: rgba(186, 226, 241, 0.9);
}

/* モーダル本体 */
.modal-content{
	position: absolute;
	top: 59%;
	left: 55%;
	transform: translate(-60%, -50%);
}

/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
}

#topBtn {
	width: 100%;
	height: 150px;
	margin: 0 auto;
}


/** footer **/

footer {
	width: 100%;
	height: 60px;
	background-color: #fad8e5;
}

.text {
	width:550px; 
	line-height: 20px;
	font-size: 1.5rem;
	font-weight: bold;
	color: #999;
	float: left;
	padding: 10px 0 0 40px;
}

.sns {
	display: flex;
	width: 340px;
	font-size: 1.7rem;
	font-weight: bold;
	color: #ffabc1;
	float: right;
}

.sns p {
	padding-top: 30px;
}

.sns img {
	padding: 18px 40px 0 10px;
}


