@charset "utf-8";
/* header */

#header:before{
  /*背景画像設定*/
	background: url("../images/orFlr_t.svg"), url("../images/main_bg.jpeg") no-repeat;
	background-size: cover;
	background-position: center;
}

/* main */

#dtp {
	background-image: url("../images/dtp_bg.jpeg");	
	background-size: cover;
	padding-top: 80px;
	padding-bottom: 100px;
}

#web {
	background-image: url("../images/web_bg2.jpeg");
	background-size: cover;
	padding-top: 80px;
	padding-bottom: 100px;
}

#dtp h2,#web h2 {
	font-size: 4rem;
	margin-bottom: 30px;
}

#dtp h3,#web h3 {
	font-size: 2rem;
	position: absolute;
	top: 60px;
	left: 50px;

	color: #333;
	text-shadow:2px 2px 0 #fff, -2px -2px 0 #fff,
				-2px 2px 0 #fff, 2px -2px 0 #fff,
				0px 2px 0 #fff,  0-2px 0 #fff,
				-2px 0 0 #fff, 1px 0 0 #fff;
	

}

h3::first-letter {
	font-size: 2.4rem;
	font-weight: bold;
}

#dtp div,#web div {
	width: 80%;
	margin: 0 auto;
}

.flex {
    display: flex;
	flex-wrap:wrap;
	justify-content: center;
	max-width: 700px;
	border: 1px solid #666;
	padding: 60px 20px 30px;
	margin:50px 0;
}

.flex section {
	width: 240px;
	height:220px;
	margin-right: 10px;
	margin-top: 10px;
	margin-bottom: 2px;
	background-color: beige;
	border: 2px solid #eee;
}

.flex section:nth-child(2n) {
	margin-right: 0;
}

.flex section:nth-child(4n) {
	margin-bottom: 50px;
}

.flex section a {
	display: block;
	height:60%;
	width: 100%;
	text-decoration: none;
	color: #666;
	position: relative;

}

.flex section p {
	display: flex;
  	justify-content: center;
  	align-items: center;
	width: 240px;
	height:190px;
	background-color: #FFFFFF;
	margin-top: 15px;
}

.flex section p img {
	width: 240px;
	height: 160px;
}

.flex2 section {
		background-color: #FFFFFF;
}

.flex2 section p {
	background-color: beige;
}

.leaf {
	background-color: #AAF0E0 !important;
}

.leaf h3 {
	visibility: hidden;
}

.leaf p {
	visibility: hidden;
}

.radius01,
.radius01 p,
.radius01 p img {
	border-top-left-radius: 10px 120px;
	border-top-right-radius: 100px 120px;
	border-bottom-right-radius: 10px 120px;
	border-bottom-left-radius: 100px 120px;
}

.radius02,
.radius02 p,
.radius02 p img {
	border-top-left-radius: 100px 120px;
	border-top-right-radius: 10px 120px;
	border-bottom-right-radius: 100px 120px;
	border-bottom-left-radius: 10px 120px;
}




/* footer */

footer ul {
	display: flex;
	background-color: rgb(245,245,220);
}
	
footer ul li {
	display: block;
	width: calc(100%/3);
	height: 20px;
	border-left: 1px solid #fff;
	text-align: center;
	font-size: 1.4rem;
	float: left;
	padding: 20px 0 10px;}

footer ul li:first-child {
	border: none;
}

footer ul a {
	display: block;
	text-decoration: none;
}


/* ハンバーガーメニューのナビ開いてる時のボタン */
.hamburger.active{
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background : #fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}
.hamburger.active span:nth-child(2) {
  top: 16px;
  background : #fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}
.hamburger.active span:nth-child(3) {
  opacity: 0;
}

nav.globalMenuSp {
  position: fixed;
  z-index : 3;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba(255,130,80,0.8);
  text-align: center;
  width: 100%;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
	background : beige;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

nav.globalMenuSp ul li a:hover {
	color: rgb(255,130,80);
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;
}}
