@charset "utf-8";
/* CSS Document */
html {
  	min-height: 100%;
	height: 100%;
  	position: relative;
}

body {
	color:#555;
	font-size:14px;
	font-family:verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	line-height:1.5;
	-webkit-text-size-adjust:100%;
	margin: 0 auto;
	padding: 0;
}
.primaryContainer {
	height: auto;
	margin-left: auto;
	margin-right: auto;
	min-height: 100%;
	width: 100%;
	font-weight: normal;
}
.clr { clear: both; }

@media screen and (max-width: 640px) {
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #333;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}

#wrap {
    float: none;
    margin: 0 auto ;
    clear: none;
	width:94%;
    height: auto !important;
    height: 100%;
    min-height: 100%;
	background-color: #fff;
}

.logo { margin-bottom: 70px;}

.logo img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 600px;
}

.hero { margin-bottom: 70px; }
.hero img {
	display: block;
	margin: 0 auto;
	width: 100%;
	max-width: 800px;
}

footer {
	text-align: center;
	margin-bottom: 10px;
}

.contents {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}
.contents h2, .info h2 {
	width: 100%;
	max-width: 400px;
	font-size: 180%;
	font-weight: bold;
	border-bottom: 5px solid #6b6875;
}
/* works */
.works img {
	display: block;
	width: 100%;
	margin: 0 auto;
}
.f15 { 
	font-size: 120%;
	font-weight: bold;
}

.f12 { font-weight: bold;}
.l_list, .r_list {
	width: 86%;
	margin: 30px 7%;
}
details { margin-top: 1.75rem; }
details img { padding-top: 20px; }
.splide__pagination__page.is-active { background: #3A3838!important; }
.splide__pagination__page { background: #666!important;}
.splide__pagination { position: inherit!important; }
/* profile */
.profile { 
	width: 90%;
	margin: 20px 5% 30px;
}

.profile h3 {
	font-weight: bold;
	font-size: 120%;
	margin: 20px 0 ;
}

.profile a {
  text-decoration: underline;
  color: #555;
  background-color: transparent;
}

.profile dl dd { margin-left: 20px; }

.pf_p { }

.pf_p img {
	max-width: 120px;
	margin: 0 auto;
	display: block;
}

.map a {
	margin-left: 200px;
	color: #6b6875;
}

/* contact */
.contact { 	
	width: 90%;
	margin: 20px 5% 30px;
}
.contact h3 {
	font-weight: bold;
	font-size: 120%;
	margin: 20px 0 ;
}
.contact p { line-height: 2.5;}

.mailform {	margin: 20px 0 ; }
.mailform dd { margin-bottom: 15px; }
.mailform input { height: 1.5rem;}
.mfp_buttons { text-align: center;}

.i_list { margin: 30px auto; }

.i_list li {
	line-height: 3.75;
	border-bottom: 1px dotted #6b6875;
	box-sizing: border-box;
	padding: 0 0.5rem;
}

.i_list li a, .info h3 span a { color: #6b6875; }
.info h3 span a { float: right; }

.flex-caption {
    padding: 5px 10px;
    word-wrap: break-word;
}
.caption-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    background: black;
    color: white;
    opacity: 0.7;
    margin: 0;
    display: block;
    width: 100%;
    line-height: 1.4em;
}