/*********** 前後台編輯器區塊共用的CSS設定 ***********/

img {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }


.box-1{
    position:relative;
    margin-bottom: 30px;
}
.box-1-right{
	position:absolute;
    min-width: 406px;
	height:475px;
	box-sizing:border-box;
	padding: 50px 30px;
	right:0;
	top:0;
	background:#FFF;
	-webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    border:1px solid #D6D6D6;
}
.box-1-right:before{
	content: '';
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: solid 1px #D6D6D6;
}
.box-1-title-1{
	font-family:"Noto Serif JP";
	font-weight:900;
	font-size:22px;
	color:#0E0205;
	background:url('../../images/common/about/about-2.png');
	background-size:62px 379px;
	padding-left:15px;
	padding-right:5px;
	background-repeat:no-repeat;
	padding-top: 10px;
}
.box-1-title-2{
    font-family: "Noto Serif JP";
    font-weight: 900;
    font-size: 36px;
    color: #FFF;
    background: url(../../images/common/about/about-9.png) 4px 0px;
    background-repeat: no-repeat;
    margin-right: -22px;
    letter-spacing: 25px;
    padding-top: 13px;
    padding-right: 2px;
    box-sizing: border-box;
}
.box-1-content{
    color:#000000;
    font-size: 15px;
    margin-right: 15px;
}

.box-2{
    display: flex;
    justify-content: space-between;
    position: relative;
}
.box-2:after{
    content: "";
    position: absolute;
    background: url("../../images/common/about/about-10.png");
    right: 0;
    bottom: -118px;
    width: 837px;
    height: 617px;
    z-index: -1;
}
.box-2-left{
    flex:0 0 36%;
	box-sizing:border-box;
	padding: 35px 30px;
	right:0;
	top:0;
    background:#FFF;
    position: relative;
    margin-left: 25px;
    border:1px solid #D6D6D6;
    min-height: 720px;
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
}
.box-2-left:before{
	content: '';
    display: block;
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: solid 1px #D6D6D6;
}
.box-2-right{
	flex:0 0 60.6%;
}
.box-2-title{
    background: url("../../images/common/about/about-3.png");
    font-family: "Noto Serif JP";
    background-repeat: no-repeat;
    background-position: 0px 5px;
    font-weight: 900;
    font-size: 36px;
    color:#100C0C;
    line-height: 36px;
    border-top: 1px solid #030303;
    border-bottom: 1px solid #030303;
    padding-top: 8px;
    padding-bottom: 8px;
    letter-spacing: 4px;
    text-align: center;
}
.box-2-content{
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    color: #000;
    min-width: 239px;
    height: 362px;
    padding: 25px 0px;
    display: flex;
    justify-items: center;
    align-items: center;
}

.box-3{
    margin-top: -354px;
    position: relative;
}

/*----- about-page -----*/
.about-page {

    margin: auto;
}
.about-page .row {
    margin: auto;
    display:flex;
    align-items:center;
}

.about-page .col {
    width:50%
}

.about-page .col+.col {
    margin-left: 3%;
}

.about-page .col .title {
    color: #D97D97;
    font-size: 24px;
    text-align: left;
    margin: 0 0 10px;
    letter-spacing: 0.2em;
}

.about-page .col .txt {
    text-align: center;
    margin: auto;
}
.about_pic{
text-align: center;
}

@media(max-width:1450px){
    .box-3 {
        margin-top: -288px;
    }
}
@media(max-width:1200px){
    .box-1{
        display: flex;
        flex-direction: column;
    }
    .box-1-left{
        order: 2;
        text-align: center;
    }
    .box-1-right{
        order: 1;
        margin-bottom: 10px;
    }
    .box-1-right {
       position:relative;
       width: 100%;
       min-width: unset;
       padding: 23px 14px;
       display: flex;
       justify-content: center;
       align-items: center;
    }
    .box-1-title-1 {
        text-align: center;
        font-size: 20px;
        padding-left: 0px;
        padding-right: 0px;
        padding-top: 0px;
        writing-mode: lr;
        width: 100%;
        background: url(../../images/common/about/about-2-1.png) 0px 0px;
        background-size: contain;
        background-repeat: no-repeat;
        width: 254px;
        display: inline-block;    
        margin-bottom: 10px;
    }
    .box-1-title-2 {
        font-family: "Noto Serif JP";
        font-weight: 900;
        font-size: 27px;
        color: #FFF;
        background: url(../../images/common/about/about-9-1.png) 0px 2px;
        background-repeat: no-repeat;
        margin-right: 0px;
        letter-spacing: 20px;
        padding-top: 0px;
        padding-right: 0px;
        box-sizing: border-box;
        background-size: unset;
        writing-mode: lr;
        display: inline-block;
        background-size: contain;
        width: 236px;
        padding-left: 10px;
        white-space: nowrap;
        margin-bottom: 20px;

    }
    .box-1-content {
        color: #000000;
        font-size: 15px;
        margin-right: 5px;
    }

    .box-2{
        flex-direction: column;
    }
    .box-2-left {
        flex: 0 0 100%;
        box-sizing: border-box;
        padding: 23px 0px;
        right: 0;
        top: 0;
        position: relative;
        margin-left: 0px;
        min-height: unset;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 10px;
    }
    .box-2-title {
        background: url(../../images/common/about/about-3.png);
        font-family: "Noto Serif JP";
        background-repeat: no-repeat;
        background-position: 0px 5px;
        font-weight: 900;
        font-size: 27px;
        color: #100C0C;
        line-height: 36px;
        border-top: 1px solid #030303;
        border-bottom: 1px solid #030303;
        padding-top: 8px;
        padding-bottom: 8px;
        letter-spacing: 4px;
        text-align: center;
        display: inline-block;
    }
    .box-2-content {
        width: unset;
        height: 362px;
        padding: 25px 5px;
    }
    .box-2:after {
        content: "";
        background: none;
    }
    .box-2-right {
        flex: 0 0 100%;
        text-align: center;
    }
    .box-3 {
        margin-top: 0px;
        position: relative;
    }
    .box-3:before {
        display: none;
    }

}

.contact-editor .row {
    margin: 0 -2%;
}
.contact-editor .col {
    float: left;
    padding: 0 2%;
}
.contact-editor .col1 {
    width: 44%;
}
.contact-editor .col2 {
    width: 56%;
}
.contact-map {
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.25);
    border: 8px solid #fff;
}
.contact-map iframe {
    display: block;
    max-height: 100%;
}
.contact-info-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    position: relative;
    padding: 2px 0 2px 40px;
    margin: 8px 0;
    line-height: 25px;
}
.contact-info-list li:before {
    content: '';
    display: inline-block;
    background: url('../../images/common/contact/info_ic.png') no-repeat;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 0;
    top: 0;
}
.contact-info-list li.tel:before  { background-position: 0 0; }
.contact-info-list li.mail:before { background-position: 0 50%; }
.contact-info-list li.addr:before { background-position: 0 100%; }
.contact-info-list a:hover {
    text-decoration: underline;
}
/* .service-editor-title {
    color: #444;
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 0;
    margin: 0 0 0.4em;
} */
.terms-title {
    color: #F9AB19;
    font-size: 17px;
    margin: 0 0 0.5em;
}
/*----- edit btn -----*/

@media screen and (max-width: 1280px) {
    /* .about-editor .row,
    .about-editor .col {
        display: block;
        width: auto;
    }
    .about-editor .row {
        max-width: 728px;
        margin: 0 auto;
    }
    .about-editor .col1 {
        padding: 0;
        margin-bottom: 4px;
    }
    .about-editor .col2 {
        padding: 30px;
    } */
}
@media screen and (max-width: 1000px) {
    /* .index-about-title-big{
        font-size: 30px;
    }
    .index-about-title{
        font-size: 28px;
        line-height: 1.2;    
    }
    .about-editor .row_{
        display: block;
    }
    .about-editor .row_1 .col1,.about-editor .row_1 .col2{
        width: 100%;
        text-align: center;
    }
    .about-editor .row_2 .col1,.about-editor .row_2 .col2{
        text-align: center;
        width: 100%;
        padding: 0;
    }
    .about-editor-title2{
        font-size: 26px;
    }
    .about-editor-title3{
        margin-left: 0;
        padding: 10px 5px 10px 5px;
        font-size: 26px;
    }
    .about-editor .row_1 .col2{
        margin: 0;
        padding: 40px 20px 40px 20px;
    } */
}
@media screen and (max-width: 767px) {
    /* .products-editor-pic {
        float: none;
        width: auto;
        text-align: center;
    } */
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        margin-bottom: 1.8em;
    }
    .about-page .row {
         flex-wrap:wrap;
    }
    .about-page .row .col{
        width:100%;
        margin:0 auto 20px;
    }

    /*----- editor btn -----*/
    .is-btn {
    padding: 5px 25px;
    font-size: 17px;
    line-height: 1.5em;
    letter-spacing: 1px;
    
}
@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}