/*
Theme Name:IWABUCHI Shigeki
*/

@charset "UTF-8";

/*
=================================================================*/

/* 
  Reset: margin, padding propaty
-----------------------------------------------------------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h4,h5,h6,pre,form,fieldset,input,p,blockquote {
	margin:0;padding:0; } 

/* 
  Reset: border propaty
-----------------------------------------------------------------*/
abbr,acronym,fieldset,img {
	border:0; } 

/*
  Reset: [table] selector
-----------------------------------------------------------------*/
table {
	 border-collapse:collapse; border-spacing:0; } 
 
table,th,td,h3 {
	margin:0;padding:0; } 

caption,th,td {
	text-align:left; } 

/*
  Reset: List selector
-----------------------------------------------------------------*/
ol,ul {
	list-style:none; }


/*
  フォントの基本設定
=================================================================*/
/*
  Reset: font-size, line-height propaty
-----------------------------------------------------------------*/
body {
	font-size:14px;
	line-height:1.7;
}
h1,h2,h3,h4,h5,h6 {
	font-size:14px;
	line-height:1.7;
}
div,p,li,dt,dd {
	font-size:14px;
	line-height:1.7;
}
table,caption,th,td {
	font-size:14px;
	line-height:1.7;
}

/* 
  Reset: font-family propaty
-----------------------------------------------------------------*/
body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}

/*
  画像
=================================================================*/
img{
	border:none;
	vertical-align:top;
	width: 100%;
	height: auto;
}

/*
  IE対策
=================================================================*/
* {
	zoom: 1;
}
ul,ol,li {
	zoom: normal;
}

/*
  main css
=================================================================*/
html{
	height:100%;
}
body{
	height:100%;
	color: #231815;
    overflow-x: hidden;
}
.wrap,.page_wrap{
	overflow-x: hidden;
}
.container{
    position: relative;
	max-width: 1100px;
	margin: 0 auto;
}
a{
	text-decoration:none;
}
a img,a{
	-webkit-transition: 0.3s ease-in-out;
     -moz-transition: 0.3s ease-in-out;
     -o-transition: 0.3s ease-in-out;
     transition: 0.3s ease-in-out;
}
a:hover img ,a:hover{
     opacity: 0.8;
}

.sp{
	display: none;
}
.clarendon{
    font-family: clarendon-text-pro, serif;
    font-weight: 400;
    font-style: normal;
}
.more{
    text-align: center;
}
.more img{
    width: 356px;
}

/*
  #header
=================================================================*/
/*headerレイアウト*/
header{
    padding: 20px 0 20px 8%;
    display: flex;
    justify-content: space-between;
}
header h1{
	width: 16%;
	max-width: 220px;
}
header ul{
    display: flex;
    margin-right: 3%;
}
header ul li{
    max-width: 36px;
    margin: 0 5px;
}

/*drawer*/
.drawer-nav{
}
.menu-trigger {
    transition: .3s;
    width: 40px;
    height: 50px;
    vertical-align: middle;
    cursor: pointer;
    position: fixed;
    z-index: 9999;
}
.menu-trigger p{
	position: absolute;
	top: 28px;
}
.menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    top:10px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #535c81;
    transition: all .5s;
}
.top_drawer .menu-trigger span {
  background-color: #535c81;
}
.menu-trigger span:nth-of-type(2) {
    top: 20px;
    width: 80%;
}
.menu-trigger span:nth-of-type(3) {
    top: 30px;
    width: 60%;
}
.menu-trigger.active span {
    top:25px;
}
.menu-trigger.active span:nth-of-type(3) {
  top: 35px;
}
.menu-trigger.active span{
    background: #535c81;
    height: 4px;
    width: 80%;
}
.menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-15px) rotate(45deg);
    transform: translateY(-15px) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(-5px) rotate(-45deg);
    transform: translateY(-5px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
    -webkit-animation: active-menu-bar02 .8s forwards;
  animation: active-menu-bar02 .8s forwards;
}

/*drawer中*/
nav {
    width: 30%;
    min-height: 100vh;
    position: fixed;
    top: 0;
    z-index: 9998;
    transform: translate3d(-100%,0,0);
    transition: all .5s;
    background-size: 100% auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    background: #fff;
    padding: 70px 3% 0;
    box-sizing: border-box;
}
nav.open {
    transform: translate3d(0,0,0);
}
nav li{
    margin: 20px 0;
}
nav li a{
    color: #231815;
}
/*
  footer
=================================================================*/
footer{
    background: #333a55;
    text-align: center;
    color: #fff;
    padding: 50px 0 30px;
}
footer div{
    width: 22%;
    margin: 0 auto 30px;
}
footer ul{
    display: flex;
    justify-content: center;
}
footer ul li{
    max-width: 36px;
    margin: 0 5px;
}
address{
    color: #fff;
    font-size: 11px;
    font-family: clarendon-text-pro, serif;
    font-weight: 400;
    font-style: normal;
    margin: 50px 0 30px;
}
@media screen and (min-width: 481px) {
    .menu-trigger{
        top: 20px;
        left: 3% ;
    }
    nav {
        left: 0;
    }
}

/*
  レスポンシブ
=========================================================================================================*/

@media screen and (max-width: 959px) {

}

/*
  SP
=========================================================================================================*/

@media screen and (max-width: 480px) {
    .sp{
        display: block;
    }
    .pc{
        display: none;
    }
    header{
        position: fixed;
        background: #fff;
        top:0;
        left: 0;
        display: block;
        width: 100%;
        height: 60px;
        box-sizing: border-box;
        z-index: 99;
    }
    main{
        margin-top: 60px;
    }

    /*drawer*/
    /*drawer中*/
    nav {
        width: 50%;
        transform: translate3d(100%,0,0);
        right: 0;
    }
    .menu-trigger{
        top: 10px;
        right: 3%;
    }
    nav.open {
        transform: translate3d(0,0,0);
    }
    header h1{
        width: 40%;
    }
    header ul{
        display: none;
    }

    /*
      footer
    =================================================================*/
    footer div{
        width: 44%;
        margin: 0 auto 30px;
    }

}