/*
Theme Name: total-reform
Theme URI: 
Description: 
Author: BaQuun.TV
Author URI: 
Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional)

License:
License URI:

General comments (optional).
*/


/**
 * YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
 * http://cssreset.com
 * Copyright 2012 Yahoo! Inc. All rights reserved.
 * http://yuilibrary.com/license/
 */
/*
	TODO will need to remove settings on HTML since we can't namespace it.
	TODO with the prefix, should I group by selector or property for weight savings?
*/
html{
	color:#000;
	background:#FFF;
}
/*
	TODO remove settings on BODY since we can't namespace it.
*/
/*
	TODO test putting a class on HEAD.
		- Fails on FF.
*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img {
	border:0;
}
/*
	TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address, caption, cite, code, dfn, em, strong, th, var {
	font-style:normal;
	font-weight:normal;
}
ol, ul {
	list-style:none;
}
caption, th {
	text-align:left;
}
h1, h2, h3, h4, h5, h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,
q:after {
	content:'';
}
abbr, acronym {
	border:0;
	font-variant:normal;
}
/* to preserve line-height and selector appearance */
sup {
	vertical-align:text-top;
}
sub {
	vertical-align:text-bottom;
}
input, textarea, select {
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
}
/*to enable resizing for IE*/
input, textarea, select {
	*font-size:100%;
}
/*because legend doesn't inherit in IE */
legend {
	color:#000;
}
/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset { display: none; }

body {
	font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
	background-color: #fff;
	color:rgba(106,106,106,1.00);
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	line-height: 24px;
	letter-spacing: 0.3em;
}

#container {
	overflow: hidden;
	background-color: #fff;
}
table {
	width:94%;
	margin:20px auto 20px;
	letter-spacing: 1px;
	line-height: 32px;
	border: solid 1px #434343;
}
tr {
	display:table-row;
	border-bottom: solid 1px #D0D0D0;
}
th {
text-align: left;
vertical-align: top;
padding: 10px 30px 10px 15px;
white-space: nowrap;
display: table-cell;
background-color: #f7f7f7;
border-right: solid 1px #d7d7d7;
}

td {
background-color:#fff;
padding: 10px 15px;
display: table-cell;
vertical-align: inherit;
line-height: 20px;
}
dl {
    width: 100%;
    margin: 26px auto;
    overflow: hidden;
    border-bottom: solid 0.5px rgba(211,211,211,1.00);
    padding-bottom: 8px;
}
dt {
    width: 17%;
    float: left;
}
dd {
    width: 83%;
    float: left;
}
.new {
    width: 32px;
	float: left;
	margin: 0 16px;
	background-color:#3E699C;
	color: #fff;
	font-size: 13px;
	padding: 0 16px;
}
.news-dd {
	float: left;
	margin-left: 20px;
}
#back_to_top {
	float: right;
	margin: 20px 20px 0;
}
a {
	text-decoration: none;
	color: #000;
}
.fade-in {
	transition: opacity 0.5s;
}
.fade-up {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
.left-in {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
.right-in {
	transition: opacity 0.5s;
	transition: transform 0.5s;
}
li {
	list-style: none;
}
.must {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
}
.may {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
}
.center-img {
    text-align: center;
    margin: 30px 0;
}
.center-text {
    text-align: center;
    line-height: 30px;
    margin: 20px 0;
}
.h2-01 {
    position: absolute;
    top: 340px;
    right: 70px;
    z-index: 2;
}
.h2-02 {
    margin: 140px 0 0 30px;
}
.h3-01 {
    font-size: 42px;
    margin-left: 40px;
    line-height: 44px;
    margin-bottom: 50px;
}
.h3-01-sp {
    font-size: 16px;
}
.h3-02 {
    font-size: 28px;
    margin-left: 10px;
    line-height: 34px;
    margin-bottom: 50px;
}
.h3-03 {
    font-size: 32px;
    text-align: center;
    margin: 80px 0 40px;
}
.h4-01 {
    font-size: 20px;
    margin-bottom: 26px;
}
.h4-01-sp {
    background-color: rgba(87,87,87,1.00);
    font-size: 16px;
    color: #fff;
    border-radius: 20px;
    margin-right: 10px;
    padding: 8px 10px 8px 13px;
}





/*======================header===========================*/

#menu {
	width: 360px;
    position: fixed;
}
.header-nav-area {
    width: 360px;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 3;
}
.menu li {
    padding: 12px 10px;
}
.logo {
    margin: 118px 0 50px 20px;
}
#g-navi {
    margin-left: 20px;
}
header .swiper{
    width: 76%;
    aspect-ratio:739/360;
    margin: 70px 0px 30px 24%;
}
.swiper-wrapper {
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.swiper-slide {
    background-size: cover; 
    background-position: center center; 
    height: 100vh; 
}
.swiper-slide img {
    width: 100%;
    height: auto;
}
@keyframes slide{
	0%{
		transform:scaleX(0);
	}
	100%{
		transform:scaleX(1);
	}
}
@keyframes fadeIn{
	0%{
		opacity:0;
	}
	100%{
		opacity:1;
	}
}
@keyframes moveUp{
	0%{
		transform: translateY(0px);
	}

	100%{
		transform: translateY(-215px);
	}

}
@keyframes leftIn{
	0%{
		transform: translateX(0px);
	}

	100%{
		transform: translateX(550px);
	}

}
.copy {
    font-size: 10px;
}




/*==========front-page==========*/

#main, #child-main, #footer {
    width: calc(100% - 360px);
    margin-left: 360px;
    overflow: hidden;
    margin-bottom: 100px;
}
.top-content {
    width: 100%;
    overflow: hidden;
    margin: 80px 0;
}
.top-content-l {
    width: 200px;
    float: left;
}
.top-content-r {
    width: 1100px;
    float: right;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.top-content-r li {
    width: 331px;
}
.top-content2 {
    width: 100%;
    height: 474px;
    background-image: url("img/top-content4.png");
    background-position: center;
    position: relative;
}
.top-content2-inner {
    width: 740px;
    position: absolute;
    top: 80px;
    left: 80px;
    color: #fff;
}
.blog {
    width: 100%;
    margin: 80px 0;
}
.blog-list .posts2 {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.posts-list02 {
    width: 300px;
    margin: 30px 0;
    text-align: center;
}
.ev-posts-img02 {
    width: 300px;
    height: 300px;
}
.ev-posts-img02 img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}





/*======================child-page===========================*/

.child-top {
    margin-bottom: 70px;
}
.procedure01, .procedure02 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 80px 0;
}
.procedure01-img, .procedure02-img {
    width: 56%;
    height: auto;
}
.procedure01-img img, .procedure02-img img, .works-img img {
    width: 100%;
    height: auto;
}
.procedure01-text, .procedure02-text {
    width: 44%;
}
.procedure01-text-inner {
    margin: 40px 0 40px 80px;
}
.procedure01-p {
    margin: 80px 0 0 80px;
}
.procedure02-text-inner {
    margin: 40px 20px 40px 30px;
}
.procedure02-p {
    margin: 80px 20px 0 30px;
}
.works01 {
    width: 980px;
    margin: 80px auto;
    display: flex;
    flex-wrap: wrap;
}
.works01-text {
    width: 42%;
}
.works01-img {
    width: 58%;
}
.two-img {
    margin: 80px 0;
    text-align: center;
}
.contact {
    width: 800px;
    margin: 80px auto;
    text-align: center;
}
.contact-tel {
    margin: 100px 0;
}
.pp {
    margin: 80px auto;
    width: 900px;
}
.wrap01 {
    width: 920px;
    margin: 80px auto;
}
.wrap02 {
    margin: 80px 0;
}
.about-tb {
    border: none;
}
.about-tb th {
    background-color: #fff;
    border: none;
}
.wrap03 {
    width: 90%;
    margin: 80px auto;
}
.media {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.media img {
    width: 32%;
    height: auto;
}
.news-list {
    width: 800px;
    margin: 80px auto;
}
.news-page {
    width: 900px;
    margin: 80px auto;
}
.news-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
.post {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
}
.posts-img {
    width: 360px;
    height: 360px;
}
.posts-img img {
    width: 360px;
    height: 360px;
    object-fit: cover;
}
.posts-text {
    width: 420px;
    margin-left: 20px;
}
.entry-title {
    font-size: 20px;
    margin-bottom: 20px;
}




/*======================mobile===========================*/

.openbtn4{
	position: absolute;
	background:rgba(112,112,90,1.00);
	cursor: pointer;
    width: 100px;
    height:90px;
    right: 0;
	border-radius: 5px;
    z-index: 10;
}
.openbtn4 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 25px;
    height: 2px;
    border-radius: 5px;
	background: #fff;
  	width: 45%;
  }
.openbtn4 span:nth-of-type(1) {
	top:22px;	
}
.openbtn4 span:nth-of-type(2) {
	top:34px;
}
.openbtn4 span:nth-of-type(3) {
	top:46px;
}
.openbtn4 span:nth-of-type(3)::after {
	content:"Menu";
	position: absolute;
	top:6px;
	left:1px;
	color: #fff;
	font-size: 0.6rem;
	text-transform: uppercase;
}

.openbtn4.active span:nth-of-type(1) {
    top: 34px;
    left: 26px;
    transform: translateY(6px) rotate(-45deg);
    width: 45%;
}
.openbtn4.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn4.active span:nth-of-type(3){
    top: 45px;
    left: 26px;
    transform: translateY(-6px) rotate(45deg);
    width: 45%;
}
.openbtn4.active span:nth-of-type(3)::after {
	content:"Close";
    transform: translateY(0) rotate(-45deg);
	top:6px;
	left:24px;
}
.gnavi {
	background-color: rgba(0,0,0,.9);
	position: absolute;
	top: 0;
	right: -100%;
	width: 100%;
	height: 910px;
	justify-content: center;
	align-content: center;
	color: white;
	text-align: center;
	transition: .5s;
}
.gnavi.active {
    right: 0;
    z-index: 3;
}
.gnavi ul {
	padding-inline: 0;
}
.gnavi li {
	list-style: none;
	margin-top: 1.5rem;
	cursor: pointer;
}
.gnavi li a {
    color: #fff;
    border-bottom: solid 1px #666666;
}




/*======================footer===========================*/






/* 1024px以下 */
@media only screen and (max-width:1024px){
    #menu {
        width: 100%;
        position: static;
    }
    .header-nav-area {
        width: 100%;
        height: 40px;
        position: static;
    }
    .logo {
        margin: 1%;
        width: 16%;
        height: auto;
        float: left;
    }
    .logo img, .two-img img {
        width: 100%;
        height: auto;
    }
    #g-navi {
        width: 80%;
        float: right;
        margin-right: 1%;
        margin-left: 0;
        margin-top: 24px;
        max-width: 770px;
    }
    #menu-global {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .menu li {
        padding: 0;
    }
    .menu-item {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    #main,#child-main,#footer {
        width: 100%;
        margin: 50px 0 100px 0;
    }
    .top-content {
        margin: 44px 0;
    }
    .top-content-r {
        width: 96%;
        float: none;
        margin: 10px auto;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .top-content-r li {
        margin: 0 14px;
    }
    .top-content2 {
        height: 376px;
    }
    .top-content2-inner {
        top: 62px;
    }
    #footer {
        padding-left: 20px;
    }
    .h2-02 {
        margin: 80px 0 0 30px;
    }
    .works01, .wrap01, .pp {
        width: 94%;
    }
    .procedure01, .procedure02, .two-img {
        width: 94%;
        margin: 80px auto;
    }
    .procedure01-img, .procedure02-img {
        width: 45%;
    }
    .procedure01-text, .procedure02-text {
        width: 55%;
    }
    .h3-01 {
        font-size: 30px;
        line-height: 34px;
        margin-bottom: 30px;
    }
    .h4-01 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .h4-01-sp {
        font-size: 14px;
        padding: 4px 6px 4px 8px;
    }
    .procedure01-text-inner, .procedure02-text-inner {
        margin: 30px 0 30px 30px;
        font-size: 12px;
        line-height: 15px;
    }
    .procedure01-p, .procedure02-p {
        margin: 40px 0 0 30px;
        font-size: 12px;
        line-height: 15px;
    }
    .child-top img {
        height: auto;
        max-width: 100%;
    }
}
/* 768px以下 */
    @media only screen and (max-width:768px){
        #mb-header {
            height: 90px;
        }
        #main, #child-main, #footer {
            margin: 0 0 100px 0;
        }
        .logo {
            width: 20%;
            margin: 20px;
        }
        .h2-01 {
            top: 254px;
            right: 38px;
        }
        .wpcf7 table {
            width: 90%;
        }
        .news-list {
            width: 94%;
        }
        .posts-img {
            width: 46%;
            aspect-ratio:1/1;
        }
        .posts-img img {
            width: 100%;
            height: 100%;
        }
        .posts-text {
            width: 46%;
        }
        .news-page {
            width: 94%;
            margin: 50px auto;
        }
    }

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
    #container {
        font-size: 13px;
        line-height: 20px;
    }
    .openbtn4 {
        width: 80px;
        height: 80px;
    }
    .openbtn4 span {
        left: 22px;
    }
    .openbtn4 span:nth-of-type(3)::after {
        top: 4px;
        left: -3px;
        font-size: 9px;
    }
    .openbtn4.active span:nth-of-type(1) {
        top: 30px;
        left: 23px;
    }
    .openbtn4.active span:nth-of-type(3) {
        top: 42px;
        left: 23px;
    }
    .openbtn4.active span:nth-of-type(3)::after {
        top: 5px;
        left: 12px;
    }
    .gnavi {
        height: 100vh;
    }
    .logo {
        width: 46%;
        margin: 12px 0 0 12px;
    }
    #mb-header {
        height: 80px;
    }
    .h2-02 {
        margin:  60px 0 0 20px;
    }
    .h2-02 img {
        height: 46px;
        width: auto;
    }
    .h3-01 {
        font-size: 26px;
        line-height: 30px;
        margin-left: 20px;
    }
    .h3-02 {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 26px;
    }
    .h3-03 {
        font-size: 20px;
        letter-spacing: .5px;
        margin: 50px 0 40px;
    }
    .pp {
        margin: 44px auto;
    }
    .contact {
        width: 94%;
        margin: 44px auto;
    }
    .contact img {
        width: 80%;
        height: auto;
    }
    .wpcf7 table {
        width: 100%;
        margin: 0;
    }
    .wpcf7 table th, .wpcf7 table td {
        display: block;
    }
    .form-p {
        text-align: left;
        margin-top: 20px;
    }
    .posts {
        width: 80%;
        margin: 30px auto;
    }
    .posts-img, .posts-text {
        width: 100%;
    }
    .posts-img {
        height: 100%;
        margin-bottom: 10px;
    }
    .entry-title {
        font-size: 16px;
    }
    .procedure01-img, .procedure02-img {
        width: 100%;
    }
    .procedure01-text, .procedure02-text {
        width: 100%;
    }
    .procedure01-text-inner, .procedure02-text-inner {
        margin: 30px 0 30px 0;
    }
    .procedure01-p, .procedure02-p {
        margin: 40px 0 0 0px;
    }
    .works01-text, .works01-img {
    width: 100%;
    }
    .works01-img {
        margin-top: 16px;
    }
    .swiper-wrapper {
        height: 450px;
    }
    .swiper-slide img {
        width: auto;
        height: 450px;
        object-fit: cover;
        margin-left: -30%;
    }
    .h2-01 {
        width: 290px;
        height: auto;
        top: 360px;
        right: 16px;
    }
    .h2-01 img {
        width: 100%;
        height: auto;
    }
    #top-content {
        width: 98%;
        margin: 0 auto;
    }
    .center-text {
        text-align: left;
        line-height: 26px;
    }
    .top-content-r li {
        width: 200px;
    }
    .top-content-r li img {
        width: 200px;
        height: auto;
    }
    .blog {
        width: 94%;
        margin: 60px auto;
    }
    .top-content2-inner {
        width: 90%;
        left: 5%;
    }
    .top-content2-inner dt {
        width: 22%;
        margin-right: 4%;
    }
    .top-content2-inner dd {
        width: 74%;
    }
}
    