@charset "utf-8";
p, h1, h2, h3, h4   , body,dl,dd{
    margin: 0;
}
body {
	letter-spacing: 0.1em;
	color: #4A4A4A;
}

body, main h2 span {
    font-family: 'Indie Flower', cursive;
    font-size: large;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
img {
    border: none;
    vertical-align: top;
}
table {
	border-collapse: collapse;
}
table td {
    text-align: center;
}
table th {
	background-color: rgba(244,230,215,1.00);
	text-align: left;
	width: 60%;
}

table td, table th {
	border: 1px solid rgba(55,30,15,1.00);
	padding: 10px;
	color: rgba(55,30,15,1.00);
}
#home ,#prortfolio,#about,#contact{
	background-color: #00b6c2;
	color: #FFFFFF;
}
main a {
	text-decoration: none;
	color: #00B6C2;
}

a:hover {
	color: #0b2839;
	text-decoration: underline;
}

header {
	background-image: url(../images/bg-header.png);
	background-repeat: repeat-x;
	margin-top: 20px;
	margin-bottom: 20px;
}
header .inner {
    margin: 0 auto;
    width: 1200px;
    display: flex;
    overflow: hidden;
}
nav {
  margin-top: 80px;
  width: 100%;
  margin-bottom: 10px;
}
nav ul {
    width: 37%;
    margin-left: auto;
    font-size: 111%;
}
nav ul li {
  float: left;
  margin-left: 10px;
}
nav a {
  padding: 10px;
  display: block;
  text-decoration: none;
  color: #371e0f;
}
.mainimage {
  background-color: #eaeef0;
  height: 450px;
}
.mainimage .inner {
  margin: 0 auto;
  width: 1200px;
}

.mainimage p {
  background-image: url(../images/bg-main.jpg);
  background-repeat: no-repeat;
  width: 612px;
  padding-left: 53px;
  padding-top: 130px;
  height: 320px;
  margin-left: auto;
}
main {
  margin: 0 auto;
  width: 1200px;
  display: block;
  padding-bottom: 40px;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
}
main h2 {
  padding: 50px 0 40px;
  text-align: center;
}
main h3 {
	margin-top: 50px;
	margin-bottom: 40px;
}

main h4 {
	margin-bottom: 20px;
	margin-top: 50px;
	border-bottom: 4px double rgba(55,30,15,1.00);
	color: rgba(55,30,15,1.00);
}

main h2 span {
  font-size: xx-large;
}
main p {
	margin-bottom: 40px;
}
footer {
  background-color: #371e0f;
  padding: 10px 1%;
  text-align: center;
  color: #FFFFFF;
}
.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 15px;
}
.pagetop a {
    display: block;
    background-color: #ccc;
    text-align: center;
    color: #222;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.pagetop a:hover {
    display: block;
    background-color: #b2d1fb;
    text-align: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding:5px 10px;
	filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.portfolio-page dl {
	padding-bottom: 10px;
	width: 60%;
}
.portfolio-page dt  {
	background-color: #0b2839;
	padding: 5px 10px;
	color: #FFFFFF;
	margin-bottom: 10px;
}
.portfolio-page dd  {
	margin-bottom: 40px;
	margin-left: 5px;
	margin-right: 5px;
}
.portfolio-page .inner {
	display: flex;
	border-bottom: 1px dashed #371E0F;
	padding-bottom: 40px;
    align-items: flex-start;
}
.portfolio-page table {
	width: 35%;
	margin-right: 5%;
}
.list {
	list-style-type: disc;
	padding-left: 30px;
}
.about ul,.portfolio-page ul {
	list-style-type: disc;
	margin-left: 20px;
	margin-bottom: 20px;
	margin-top: 10px;
}
.portfolio-page .btn-profile {
	display: flex;
	margin-bottom: 40px;
	justify-content: space-between;
    list-style-type: none;
    margin-left: 0px;
}
.portfolio-page .btn-profile li {
	width: 45%;
}

.portfolio-page .btn-profile li a {
    border-radius: 6px;
    background-color: rgba(234,216,9,1.00);
    display: block;
    color: rgba(55,30,15,1.00);
    text-decoration: none;
    text-align: center;
    padding: 15px 0;
    width: 100%;
}
.portfolio-page .btn-profile li a:hover {
	opacity: 0.8;
}
.banner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}












@media screen and (max-width:1199px){
img {
	max-width: 100%;
	height: auto;
}
a {
	word-break: break-all;
}

header .inner {
    margin: 0 2%;
    width: auto;
}

.mainimage .inner {
    width: auto;
}
.mainimage p {
    width: auto;
    background-position: right 0%;
    text-align: right;
    padding-right: 320px;
}

main {
    margin: 0 2%;
    width: auto;
}
nav {
	margin: 0;
}

nav ul li {
	float: none;
}
#home, #prortfolio, #about, #contact {
	background-color: rgba(255,255,255,1.00);
}


.portfolio-page table {
	width: 46%;
	margin-right: 4%;
}
.portfolio-page dl {
	width: 50%;
}
#g-nav{
	position: fixed;
	z-index: 999;
	top: 0;
	right: -120%;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,182,194,0.88);
	transition: all 0.6s;
}
#g-nav.panelactive{
    right: 0;
}
#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
#g-nav li{
    text-align: center;
}
#g-nav li a{
	color: #3F3F3F;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
/*========= ボタンのためのCSS ===============*/
.openbtn1{
	position: fixed;
	z-index: 9999;
	top: 10px;
	right: 10px;
	cursor: pointer;
	width: 50px;
	height: 50px;
	background-color: rgba(255,255,255,0.83);
}
.openbtn1 span{
	display: inline-block;
	transition: all .4s;
	position: absolute;
	left: 14px;
	height: 3px;
	border-radius: 2px;
	background-color: #3F3F3F;
	width: 45%;
  }
.openbtn1 span:nth-of-type(1) {
  top:15px; 
}
.openbtn1 span:nth-of-type(2) {
  top:23px;
}
.openbtn1 span:nth-of-type(3) {
  top:31px;
}
.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


}

@media screen and (max-width:750px){
.mainimage p {
    background-image: none;
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
}
.btn-profile {
	flex-direction: column;
}
.btn-profile li {
	width: 100%;
	margin-bottom: 5px;
}
.portfolio-page .inner {
	flex-direction: column;
}
.portfolio-page table {
	width: 100%;
	margin-right: 0px;
	margin-bottom: 40px;
}
.portfolio-page dl   {
	width: 100%;
}
.portfolio-page dt {
	margin-bottom: 20px;
}
.portfolio-page dd {
	margin-bottom: 30px;
}
.sample-logo {
	text-align: center;
}











}
