@charset "utf-8";
/* 共通部分 */

body,div,h1,h2,p,figure,figcaption {
	margin: 0;
	padding: 0;
}
html {
	font-size: 100%;
	scroll-behavior: smooth;
	font-family: fot-tsukuardgothic-std, sans-serif;
}
body {
	color: #333;
	line-height:2;
}
ul {
	list-style-type: none;
	padding-left: 0;
	margin-top: 0;
}
img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a {
	color: inherit;/*#333のことbodyのカラーを継承している*/
	text-decoration: none;
}
h2 {
	font-size: 2em;
	text-align: center;
	margin-bottom: 3em;
}
h2:before{
    color: #333;  /*アイコンの色*/
    font-family: "Font Awesome 5 Free";
    content: "\f303";  /*アイコンのコード*/
    font-weight: 900;  /*アイコンの種類*/
    margin-right: 8px;  /*アイコン右の余白*/
}
.section-top {
	margin-top: 13em;
	padding-bottom: 8em;/*白い部分*/
	background-color:#F0F0F0;
}
.bold{
	font-weight: bold;
}

/*装飾*/
.maste {
	position: relative;
}
.maste-tape{
	position: absolute;
	top: -1.5em;
	margin-left: 1em;
	background-color: rgba(247,247,247,0.8);
	border-left:8px solid #8BC6CA;
	padding: 0.30em 2em;
	color: #454545;
	transform: rotate(-2deg);
}
.maste-tape2 {
	position: absolute;
	top: 1em;
	margin-left: 1em;
	background-color: rgba(247,247,247,0.8);
	border-left:8px solid #8BC6CA;
	padding: 0.30em 2em;
	color: #454545;
	transform: rotate(-2deg);
}

.memo {
	background:#fffde7;
	width:85%;
	padding:1.5em 1em;
	transform: rotate(-0.1deg);
	box-shadow:1px 1px 4px rgba(0,0,0,0.2);
}
.memo::after{
	content:'';
	position:absolute;
	left:50%;
	top:-15px;
	margin-left:-75px;
	width:150px;
	height:30px;
	background:rgba(245,245,245,0.7);
	box-shadow:1px 1px 4px rgba(0,0,0,0.2);
	transform: rotate(-4deg);
}

body{
	background-image: linear-gradient(0deg, transparent 31px, #8BC6CA 32px),linear-gradient(90deg,  transparent 31px, #8BC6CA 32px);
	background-size: 32px 32px;
}

/* 全体の幅の指定 */
.wrap {
	max-width: 1100px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 10px;
	padding-right: 10px;
	
}

/*ナビゲーションの左右の余白を取る*/
.wrap2 {
	padding-left: 0;
	padding-right: 0;
}

/*ヘッダー固定追加*/
.header_all {
	background-color: #C4E8E8;
	width: 100%;
	position: fixed;
	height: 100px;
	top: 0;
	z-index: 10;
	transition: all .5s;
}
.header_all.transform {
	background-color: rgba(255,255,255,0.5);
	box-shadow: 0 1px 5px #666;
}

/*ヘッダー領域*/

header h1 {
	text-align: center;
}
/* ナビゲーション */
.nav {
	display: flex;
	justify-content: space-around;
}

.nav a {
	position: relative;
	text-decoration: none;
}

.nav a::after {
	position: absolute;
	bottom: -3px;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #333;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
}
.nav a:hover::after {
	transform: scale(1, 1);
}

/*メイン画像以降をヘッダーの高さ分100px下げる*/
.mainimg, main, footer {
	position: relative;
	top: 100px;
}
/*ページ内リンクのずれを解消する*/
#ww, #wd, #ab {
	margin-top: -60px;
	padding-top:60px;
}
/*メイン画像*/
.mainimg {
	background-image: url("../img/top-img.jpg");
	background-size: cover;
	height: 50vh;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
}

.title_box {
	color: #2A2A2A;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding: 10px;
	font-size: 1.5rem;
	text-align: center;
}
.sub_title {
	font-size: 1.8em;
}
/*section領域*/
section {
	margin-bottom: 50px;
	background-image:url(../img/section-bac.jpg);
	background-position: 80% 50%;
	
}
.wbox, .dbox, .abox {
	display: flex;
	justify-content: space-around;
}
/*web領域*/
.wbox_left {
	width: 50%;
	position: relative;/*.maste-tape用の設定*/	
}
.wbox_left img {
	border:1px solid #BEBEBE; 
	background-color: #fff;
	box-sizing: border-box;
}

.wbox_right {
	width: 35%;
	height: 300px;
	box-sizing: border-box;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.arrow_pc { display: block !important; }
.arrow_sp { display: none !important; }
.arrow_pc {
	width: 45%;
}
.wbox_p {
	border: 2px dashed #fff;
	padding: 30px 20px;
	margin-top: 1em;
}

/*DTP領域*/
.dbox {
	display: flex;
	justify-content: space-around;
	margin-bottom: 30px;
	flex-wrap: wrap;
}
.dbox_in {
	width: 30%;
	background-color: #C4E8E8;
	margin-bottom: 3em;
}
figcaption {
	text-align: center;
}

/*About領域*/

.abox_left {
	width: 37%;
	box-sizing: border-box;
}

.abox_right {
	width: 50%;
	box-sizing: border-box;
}

/*上に戻るボタン*/
.sentou {
    position: fixed;
    bottom: 0;
    right: 0;
	z-index: 10;
}
.sentou a {
	background-color: #8DC9CE;
    text-align: center;
    color: #fff;
    font-size: 25.6px;
    padding: 13px;
	transition: all 0.3s;
}
.sentou a:hover {
    background-color: #739C9C;
    color: #fff;
	transform: scale(1.1,1.1);
}

/*footer領域*/
footer {
	background-color: #C4E8E8;
	text-align: center;
	color: #333;
	padding-top: 10px;
	padding-bottom:10px;
}

/*スクロールしたら下から上にフェードインする*/
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}

/*ウィンドウの幅が767px以下の場合*/
@media (max-width: 767px) {
.dbox_in {
	width: 47.5%;
}
}

/*ウィンドウの幅が600px以下の場合*/
@media (max-width: 600px) {
header {
	text-align: center;
}
.header_in, .nav, .wbox, .dbox, .abox {
	flex-direction: column;
}

.nav li {
	margin-left: 0;
	padding-top: 30px;
	padding-bottom: 30px;
}
/*ハンバーガーボタンを表示*/
.btn-gnavi {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 20px;
	height: 20px;
	cursor: pointer;
}
.btn-gnavi span {
	position: absolute;
	width: 20px;
	height: 2px;
	background-color: #666;
	border-radius: 10px;
	transition: all 1s;
	top: 9px;
	left: 0;
}
.btn-gnavi span:nth-child(1) {
	transform: translateY(-9px);
}
.btn-gnavi span:nth-child(2) {
	transform: translateY(0);
}
.btn-gnavi span:nth-child(3) {
	transform: translateY(9px);
}
/*クリックしたら追加されるスタイル*/
.btn-gnavi.open span:nth-child(1) {
	transform: rotate(-45deg);
}
.btn-gnavi.open span:nth-child(2) {
	background-color: transparent;
}
.btn-gnavi.open span:nth-child(3) {
	transform: rotate(-135deg);
}

.nav {
	display: none;
	background-color: #C4E8E8;
}
	
	
.wbox_left,
.wbox_right,
.dbox_in,
.abox_left,
.abox_right {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}
.slick-box li {
	height: 66.7vw;
}
.slick-box img {
	height: 67vw;
}
/*web ここから*/

.arrow_pc { display: none !important; }
.arrow_sp { display: block !important; }
.arrow_sp {
	width: 20%;
	margin-left: 75%;
}
.wbox_p {
	margin-top: 0em;
}
.abox_right {
	margin-top: 3em;
}

}