/*
Theme Name: Utsunomiya Bone Clinic TEMPLATE
Theme URI: 
Description: うつのみや整骨院テーマ

*/

@import url(common/css/top.css);
@import url(common/css/blog.css);
@import url(common/css/first.css);
@import url(common/css/conditions.css);
@import url(common/css/contact.css);
@import url(common/css/about.css);
@import url(common/css/accident.css);

* {
  margin: 0;
  padding: 0;
  font-size : 100%;
  box-sizing:border-box;
}

html{
  scroll-behavior: smooth;
}

body{
color: #2a2a2a;
font-family: "Noto Sans JP", sans-serif;
font-size: 110%;
line-height: 1;
}

table{
border-collapse: collapse;
}

td,th{
text-align: left;
vertical-align: top;
}

.clearfix{
zoom: 1;
}

.clearfix:after {
content: ".";
display: block;
clear: both;
height: 0;
visibility: hidden;
}

li{
list-style-type: none;
}

img{ 
display: block;
border:0;
max-width: 100%;
height: auto;
}

a:link{color: #FF9059;text-decoration: underline;}
a:visited{color: #FF9059;text-decoration: none;}
a:hover{color: #FF9059;text-decoration: none;}
a:active{color: #FF9059;text-decoration: none;}

.img{
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center center;
font-family: 'object-fit: cover; object-position: center center;'
}

a[href^="tel:"] {
    cursor: default;
    pointer-events: none;
color:#000;
text-decoration : none;
}

/* recapture */

.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha_policy {
    padding-bottom: 35px;
    margin: 0;
    text-align: center;
    font-size: 11px !important;
    color: #444 !important;
}

.recaptcha_policy a {
    font-size: 11px !important;
    color: #111 !important;
}


.menu-trigger{
display: none;
}

@media (max-width: 959px) {
a[href^="tel:"] {
    cursor: pointer;
    pointer-events: auto;
}

.menu-trigger{
display: block;
}

.menu-trigger_container{
position: fixed;
top: 0;
right: 0;
z-index: 1000000000000000000000000000000000000000000000000000000000000000000000000000000000;
}

.menu-trigger{
width: 70px;
height: 70px;
transition: all .4s;
cursor: pointer;
background-color: #db9776;
-moz-border-radius: 0 0 0 8px;
-webkit-border-radius: 0 0 0 8px;
border-radius: 0 0 0 8px;
}

.menu-trigger span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
	position: fixed;

}

.menu-trigger div{
	width: 28px;
	height: 44px;
	margin-left: 21px;
	position: relative;
}

.menu-trigger span {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background-color: #fff;
}
.menu-trigger span:nth-of-type(1) {
	top: 24px;
}
.menu-trigger span:nth-of-type(2) {
	top: 34px;
}
.menu-trigger span:nth-of-type(3) {
	top: 44px;
}

.menu-trigger.active span{
background-color: #2b2b2b;
}

.menu-trigger.active span:nth-of-type(1) {
	width: 40%;
	-webkit-transform: translate3d(2px, 4px, 0) rotate(45deg);
	transform: translate3d(2px, 4px, 0) rotate(45deg);
}
.menu-trigger.active span:nth-of-type(2) {
	-webkit-transform: translate3d(0, 0, 0) rotate(-45deg);
	transform: translate3d(0, 0, 0) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(3) {
	width: 40%;
	-webkit-transform: translate3d(16px, -3px, 0) rotate(45deg);
	transform: translate3d(16px, -3px, 0) rotate(45deg);
}

}




/* blog_comment */
.comment-num,
#comment-area{
display: none;
}



header{
    width: 100%;
    height: 140px;
    top: 0;
    left: 0;
    z-index: 10000;
    position: fixed;
    background-color: #fff;
}

header h1{
    position: absolute;
    left: 3%;
    top: 40px;
    z-index: 100000000;
}

header #menu>ul{
    text-align: center;
    padding-top: 37px;
}

@media (max-width: 1800px) {
    header{
        padding-right: 200px;
    }
    header #menu>ul{
        text-align: right;
    }
}

@media (max-width: 1600px) {
    header{
        height: 100px;
        padding-right: 130px;
    }
    header h1{
        left: 2%;
        top: 25px;
        width: 230px;
    }
    header #menu>ul{
        padding-top: 20px;
    }
}

@media (max-width: 1140px) {
    header{
        height: 80px;
        padding-right: 100px;
    }
    header h1{
        left: 2%;
        top: 20px;
        width: 210px;
    }
    header #menu>ul{
        padding-top: 12px;
    }
}

@media (max-width: 959px) {
    header{
        height: 60px;
        padding-right: 0;
    }
    header h1{
        top: 8px;
    }
}


header #menu>ul>li{
    display: inline-block;
    position: relative;
}

header #menu>ul>li::before{
    content: " ";
display: block;
top: 18px;
right: 0;
width: 2px;
height: 25px;
position: absolute;
z-index: 10;
background-color: #efecdd;
}

header #menu>ul>li:last-child::before{
    display: none;
}

header #menu>ul>li>a{
    display: block;
    padding: 20px;
    text-decoration: none;
    color: #2a2a2a;
    font-size: 110%;
    font-weight: 500;
    position: relative;
}

header #menu>ul>li>a:hover::before{
content: " ";
display: block;
bottom: 0;
left: 10%;
width: 80%;
height: 4px;
background-color: #add29c;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
position: absolute;
z-index: 10;
}


@media (max-width: 1600px) {
    header #menu>ul>li>a{
        padding: 20px 10px;
        font-size: 100%;
    }
}

@media (max-width: 1200px) {
    header #menu>ul>li:first-child{
        display: none;
    }
}

@media (max-width: 1140px) {
    header #menu>ul>li>a{
        padding: 20px 5px;
        font-size: 90%;
    }
}

@media (max-width: 959px) {
    header #menu{
        display: none;
    }
}

header #submenu{
    position: fixed;
    left: 50%;
    top: 95px;
    width: 1050px;
    margin-left: -525px;
    background-color: #add29c;
    -moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
padding-top: 40px;
padding-bottom: 40px;
display: none;
}

@media (max-width: 1600px) {
    header #submenu{
        top: 76px;
    }
}

@media (max-width: 1140px) {
    header #submenu{
        top: 67px;
        width: 900px;
        margin-left: -450px;
    }
}

header #submenu a{
    text-decoration: none;
    color: #2a2a2a;
    font-weight: 500;
}

header #submenu #submenu-in{
    display: flex;
    width: 90%;
    margin: 0 auto;
    gap: 30px;
    text-align: left;
}

header #submenu #submenu-in .submenu-content{
    width: 100%;
}

header #submenu #submenu-in .submenu-content figure{
    position: relative;
    background-color: #000;
    overflow: hidden;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

header #submenu #submenu-in .submenu-content figure::before{
    content: " ";
display: block;
bottom: 8px;
right: 8px;
width: 17px;
height: 17px;
position: absolute;
z-index: 10;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
background: url(img/ico-arrow.png) no-repeat center center / 9px auto #fff;
}

header #submenu #submenu-in .submenu-content figure a:hover img{
    transform: scale(1.1);
transition-duration: 0.3s;
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
}



header #submenu #submenu-in .submenu-content h3{
    font-size: 110%;
    font-weight: 1000;
    padding-top: 20px;
}

header #submenu #submenu-in .submenu-content h3 a{
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
    position: relative;
}

header #submenu #submenu-in .submenu-content h3 a::before{
    content: " ";
display: block;
bottom: 0;
left: 0;
width: 0;
height: 1px;
position: absolute;
z-index: 10;
background-color: #2a2a2a;
-webkit-transition: .3s;
transition: .3s;
}

header #submenu #submenu-in .submenu-content h3 a:hover::before{
    width: 100%;
}


@media (max-width: 1140px) {
    header #submenu #submenu-in .submenu-content h3{
        font-size: 100%;
    }
}

header #submenu #submenu-in .submenu-content .submenu-list{
    display: flex;
}

header #submenu #submenu-in .submenu-content .submenu-list a{
    display: inline-block;
    padding-left: 25px;
    position: relative;
    font-size: 90%;
    line-height: 1;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

header #submenu #submenu-in .submenu-content .submenu-list a::after{
    content: " ";
    display: block;
    bottom: 0;
    left: 25px;
    width: 0;
    height: 1px;
    position: absolute;
    z-index: 10;
    background-color: #2a2a2a;
    -webkit-transition: .3s;
transition: .3s;
}

header #submenu #submenu-in .submenu-content .submenu-list a:hover::after{
    width: calc(100% - 25px);
}

header #submenu #submenu-in .submenu-content .submenu-list a::before{
    content: " ";
display: block;
top: 0;
left: 0;
width: 17px;
height: 17px;
position: absolute;
z-index: 10;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
background: url(img/ico-arrow.png) no-repeat center center / 9px auto #fff;
}

header #submenu #submenu-in .submenu-content .submenu-list a:hover::before{
    background: url(img/ico-arrow.png) no-repeat center right 1px / 9px auto #fff;
    -webkit-transition: .3s;
transition: .3s;
}


header #submenu #submenu-in .submenu-content .submenu-list ul{
flex: 1;
}

header #submenu #submenu-in .submenu-content p{
    line-height: 1.6;
    font-size: 90%;
}


header #contact-menu{
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width: 959px) {
    header #contact-menu{
        display: none;
    }
}

header #contact-menu li a{
    display: block;
    background-color: #db9776;
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
    width: 164px;
    height: 158px;
    color: #fff;
    font-weight: 600;
    padding-top: 25px;
    text-align: center;
}

header #contact-menu li a:hover{
    background-color: #CE7144;
}

header #contact-menu li a span{
    display: inline-block;
    padding-top: 75px;
    background: url(img/bt-contact.png) no-repeat top center / 57px auto;
}

@media (max-width: 1600px) {
    header #contact-menu li a{
        width: 120px;
        height: 120px;
        padding-top: 15px;
    }
    header #contact-menu li a span{
        padding-top: 70px;
        font-size: 90%;
    }
}

@media (max-width: 1140px) {
    header #contact-menu li a{
        width: 90px;
        height: 90px;
        padding-top: 10px;
    }
    header #contact-menu li a span{
        height: 70px;
        width: 100%;
        font-size: 0;
        background: url(img/bt-contact.png) no-repeat center center / 45px auto;
    }
}


footer{
    width: 100%;
    background: url(img/bg-footer.jpg) no-repeat right center / auto 100% #add29c;
    padding-top: 230px;
}
@media (max-width: 759px) {
    footer{
        padding-top: 170px;
    }
}

footer #foot-in{
    width: 90%;
    max-width: 964px;
    min-height: 260px;
    margin: 0 auto;
    position: relative;
    padding-right: 480px;
}

footer #foot-in #foot-txtlink{
    font-size: 110%;
}

@media (max-width: 959px) {
    footer #foot-in{
        padding-right: 0;
        min-height: auto;
    }
    footer #foot-in #foot-txtlink{
        display: none;
    }
}

footer #foot-in #foot-txtlink ul{
    float: left;
}
footer #foot-in #foot-txtlink ul:nth-child(1){
    width: 20%;
}
footer #foot-in #foot-txtlink ul:nth-child(2){
    width: 40%;
}
footer #foot-in #foot-txtlink ul:nth-child(3){
    width: 40%;
}
footer #foot-in #foot-txtlink ul:nth-child(2) li{
    padding-bottom: 18px;
}

footer #foot-in #foot-txtlink ul:nth-child(3) li:first-child{
    padding-bottom: 18px;
}

footer #foot-in #foot-txtlink ul:nth-child(3) li:not(:first-child) a{
    font-weight: 400;
    display: block;
    padding-bottom: 15px;
}

footer #foot-in #foot-txtlink ul li a{
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 800;
}

footer #foot-in #foot-txtlink ul li a:hover{
    text-decoration: underline;
}

footer #foot-in #foot-contents{
    width: 455px;
    position: absolute;
    right: 0;
    top: 0;
}

@media (max-width: 959px) {
    footer #foot-in #foot-contents{
        width: 100%;
        max-width: 455px;
        position: relative;
        right: auto;
        top: auto;
        margin: 0 auto;
    }
}

footer #foot-in #foot-contents h4{
    font-family: "Zen Maru Gothic", serif;
    font-size: 140%;
    font-weight: 400;
    letter-spacing: .05em;
    line-height: 1;
}
footer #foot-in #foot-contents h4 span{
    vertical-align: top;
    display: inline-block;
    background-color: #dfedd9;
    -moz-border-radius: 8px;
-webkit-border-radius: 8px;
border-radius: 8px;
font-size: 60%;
font-weight: 500;
padding: 6px 8px;
margin-left: 15px;
font-family: "Noto Sans JP", sans-serif;
}

footer #foot-in #foot-contents p{
    padding: 15px 0;
}

footer #foot-in #foot-contents p span{
    display: inline-block;
    padding-left: 15px;
}

footer #foot-in #foot-contents .link-tel{
    border-bottom: 2px solid #99bb89;
}


footer #foot-in #foot-contents .link-tel li{
    padding-bottom: 25px;
}

footer #foot-in #foot-contents .link-tel li a{
    display: inline-block;
    padding-left: 34px;
    background: url(img/ico-tel.png) no-repeat 0 0 / 23px auto;
    font-size: 120%;
    line-height: 1;
    letter-spacing: .05em;
}

@media (max-width: 520px) {
    footer #foot-in #foot-contents h4{
        font-family: "Zen Maru Gothic", serif;
        font-size: 160%;
        font-weight: 400;
        letter-spacing: .05em;
        line-height: 1;
        text-align: center;
    }
    footer #foot-in #foot-contents h4 span{
        width: 100%;
    font-size: 60%;
    padding: 6px 8px;
    margin-left: 0;
    margin-top: 15px;
    }
    footer #foot-in #foot-contents p{
        text-align: center;
    }

    footer #foot-in #foot-contents p span{
        display: block;
        padding-left: 0;
        margin-top: 15px;
    }
    footer #foot-in #foot-contents .link-tel{
        text-align: center;
    }
}





footer #foot-in #foot-contents table{
    font-family: "Zen Maru Gothic", serif;
    font-size: 90%;
    width: 100%;
}

footer #foot-in #foot-contents table thead th:first-child{
    width: 110px;
}

footer #foot-in #foot-contents table thead th:not(:first-child){
    text-align: center;
    padding-top: 25px;
    padding-bottom: 8px;
}

footer #foot-in #foot-contents table tbody th{
    text-align: right;
    padding-top: 12px;
    padding-right: 12px;
}

footer #foot-in #foot-contents table tbody td{
    padding: 12px;
    text-align: center;
}

footer #foot-in #foot-contents table tbody td .maru{
    display: inline-block;
    width: 17px;
    height: 17px;
    position: relative;
}

footer #foot-in #foot-contents table tbody td .maru::before{
    content: " ";
display: block;
top: 0;
left: 0;
width: 17px;
height: 17px;
position: absolute;
z-index: 10;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
background-color: #fff;
}

footer #foot-in #foot-contents table tbody td .batu{
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(img/ico-batu2.png) no-repeat 0 0 / 14px auto;
}

@media (max-width: 479px) {
    footer #foot-in #foot-contents table tbody th{
        text-align: right;
        padding-top: 12px;
        padding-right: 5px;
    }
    footer #foot-in #foot-contents table tbody td{
        padding: 12px 5px;
        text-align: center;
    }
}

@media (max-width: 379px) {
    footer #foot-in #foot-contents table thead th:first-child{
        width: 95px;
    }
}

footer .txt-copy{
    text-align: center;
    color: #fff;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-size: 80%;
    letter-spacing: .05em;
    line-height: 1;
    padding-top: 140px;
    padding-bottom: 40px;
}

@media (max-width: 759px) {
    footer .txt-copy{
        padding-top: 80px;
        font-size: 70%;
    }
}



#over-menu{
        width: 100%;
        position: fixed;
        z-index: 100;
        background-color: #F8F3EB;
        top: 60px;
        left: 0;
        bottom: 0;
        right: 0;
        overflow-y: auto;
        display: none;
}

#over-menu nav{
    width: 80%;
    margin: 0 auto;
    padding: 45px 0;
}

#over-menu a{
    color: #2a2a2a;
    text-decoration: none;
}

#over-menu>nav>ul>li>a{
    display: block;
    width: 100%;
    padding-left: 25px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    border-bottom: 1px solid #E8D8BD;
}

#over-menu>nav>ul>li:last-child>a,
#over-menu #submenu-container>a{
    border-bottom: 0;
}

#over-menu>nav>ul>li>a::before{
    content: " ";
display: block;
top: 50%;
left: 0;
width: 15px;
height: 15px;
margin-top: -7px;
position: absolute;
z-index: 10;
background: url(img/ico-arrow.png) no-repeat center center / 9px auto #fff;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}

#over-menu #submenu #submenu-in{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 25px;
}

#over-menu #submenu #submenu-in .submenu-content figure{
        position: relative;
        width: 100%;
}

#over-menu #submenu #submenu-in .submenu-content figure img{
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}


#over-menu #submenu #submenu-in .submenu-content figure::before{
    content: " ";
    display: block;
    bottom: 8px;
    right: 8px;
    width: 17px;
    height: 17px;
    position: absolute;
    z-index: 10;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: url(img/ico-arrow.png) no-repeat center center / 9px auto #fff;
}

#over-menu #submenu #submenu-in .submenu-content figure a:hover img{
    transition-duration: 0.3s;
    filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

#over-menu #submenu #submenu-in .submenu-content {
    width: calc(50% - 10px);
}

#over-menu #submenu #submenu-in .submenu-content h3 a{
    display: block;
    font-size: 110%;
    padding-top: 15px;
    padding-bottom: 10px;
}

#over-menu #submenu #submenu-in .submenu-content a{
    display: block;
    padding: 5px 0;
}
#over-menu #submenu #submenu-in .submenu-content p{
    line-height: 1.5;
}

.submenu-list{
    display: flex;
}

.submenu-list ul{
flex: 0 0 50%;
}


@media (max-width: 759px) {
    #over-menu #submenu #submenu-in{
        display: block;
        gap: 0;
        padding-bottom: 0;
    }
    #over-menu #submenu #submenu-in .submenu-content {
        width: 100%;
        margin-bottom: 45px;
    }
}



/*


contents


*/


#contents #main-container{
    width: 100%;
    margin-top: 140px;
    padding-bottom: 60px;
    position: relative;
}

#contents #main{
    width: 90%;
    max-width: 1640px;
    height: 291px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

#contents #main.first{
    background: url(img/first/main.jpg) no-repeat 0 0;
}
#contents #main.about{
    background: url(img/about/main.jpg) no-repeat 0 0;
}
#contents #main.accident{
    background: url(img/accident/main.jpg) no-repeat 0 0;
}
#contents #main.conditions{
    background: url(img/conditions/main.jpg) no-repeat 0 0;
}
#contents #main.contact{
    background: url(img/contact/main.jpg) no-repeat 0 0;
}
#contents #main.news{
    background: url(img/news/main.jpg) no-repeat 0 0;
}
#contents #main.price{
    background: url(img/price/main.jpg) no-repeat 0 0;
}

@media (max-width: 1780px) {
    #contents #main.about{
        background: url(img/about/main.jpg) no-repeat right top;
    }
    #contents #main.first{
        background: url(img/first/main.jpg) no-repeat right 41% top;
    }
    #contents #main.accident{
    background: url(img/accident/main.jpg) no-repeat right 41% top;
}
    #contents #main.conditions{
    background: url(img/conditions/main.jpg) no-repeat right 41% top;
}
#contents #main.contact{
    background: url(img/contact/main.jpg) no-repeat right 41% top;
}
#contents #main.news{
    background: url(img/news/main.jpg) no-repeat right 41% top;
}
#contents #main.price{
    background: url(img/price/main.jpg) no-repeat right 41% top;
}
}

@media (max-width: 1280px) {
    #contents #main.about{
        background: url(img/about/main.jpg) no-repeat left 80% top;
    }
    #contents #main.first{
        background: url(img/first/main.jpg) no-repeat left 40% top;
    }
        #contents #main.accident{
    background: url(img/accident/main.jpg) no-repeat right 60% top;
}
    #contents #main.conditions{
    background: url(img/conditions/main.jpg) no-repeat left 50% top;
}
#contents #main.contact{
    background: url(img/contact/main.jpg) no-repeat left 70% top;
}
#contents #main.news{
    background: url(img/news/main.jpg) no-repeat left 40% top;
}
#contents #main.price{
    background: url(img/price/main.jpg) no-repeat left 40% top;
}
}
@media (max-width: 1080px) {
    #contents #main.about{
        background: url(img/about/main.jpg) no-repeat left 70% top;
    }
    #contents #main.first{
        background: url(img/first/main.jpg) no-repeat left 30% top;
    }
        #contents #main.accident{
    background: url(img/accident/main.jpg) no-repeat right 70% top;
}
    #contents #main.conditions{
    background: url(img/conditions/main.jpg) no-repeat left 60% top;
}
#contents #main.contact{
    background: url(img/contact/main.jpg) no-repeat left 50% top;
}
#contents #main.news{
    background: url(img/news/main.jpg) no-repeat left 30% top;
}
#contents #main.price{
    background: url(img/price/main.jpg) no-repeat left 30% top;
}
}


@media (max-width: 959px) {
    #contents #main-container{
        margin-top: 90px;
    }
    #contents #main.first{
        background: url(img/first/main-smp.jpg) no-repeat 0 0 / cover;
    }
    #contents #main.about{
        background: url(img/about/main-smp.jpg) no-repeat 0 0 / cover;
    }
    #contents #main.accident{
        background: url(img/accident/main-smp.jpg) no-repeat 0 0 / cover;
    }
    #contents #main.conditions{
        background: url(img/conditions/main-smp.jpg) no-repeat 0 0 / cover;
    }
    #contents #main.contact{
        background: url(img/contact/main-smp.jpg) no-repeat 0 0 / cover;
    }
    #contents #main.news{
        background: url(img/news/main-smp.jpg) no-repeat 0 0 / cover;
    }
    #contents #main.price{
        background: url(img/price/main-smp.jpg) no-repeat 0 0 / cover;
    }
}

@media (max-width: 500px) {
    #contents #main.contact{
        background: url(img/contact/main-smp.jpg) no-repeat right 30% top / cover;
    }
        #contents #main.accident{
        background: url(img/accident/main-smp.jpg) no-repeat right 50% top / cover;
    }
}

@media (max-width: 479px) {
    #contents #main.about{
        background: url(img/about/main-smp.jpg) no-repeat top right 30% / cover;
    }
}



@media (max-width: 700px) {
#contents #main-container{
    padding-bottom: 100px;
}
#contents #main{
    height: 250px;
}
}

@media (max-width: 599px) {
#contents #main-container{
    padding-bottom: 130px;
}
#contents #main{
    height: 220px;
}
}

@media (max-width: 550px) {
#contents #main-container{
    padding-bottom: 55px;
}
#contents #main{
    height: 180px;
}
}



#contents #main h2{
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    padding-top: 125px;
    padding-left: 20%;
    text-shadow: 0 0 0 #f4f4f2,
    0 0 2px #f4f4f2,
    0 0 4px #f4f4f2,
    0 0 6px #f4f4f2;
}

#contents #main h2 strong{
    display: block;
    font-size: 160%;
    letter-spacing: .05em;
    line-height: 1;
}

#contents #main h2 span{
    display: block;
    font-size: 110%;
    letter-spacing: .05em;
    line-height: 1;
    color: #6AA050;
    padding-top: 15px;
}


@media (max-width: 1580px) {
    #contents #main h2{
        padding-left: 10%;
    }
}
@media (max-width: 1400px) {
    #contents #main h2{
        padding-left: 0%;
    }
}
@media (max-width: 1280px) {
    #contents #main h2{
        padding-left: 0%;
        padding-right: 5%;
    }
}

@media (max-width: 959px) {
    #contents #main h2{
        padding-top: 75px;
        padding-left: 50%;
    }
    #contents #main h2 span{
        padding-top: 8px;
    }
}

@media (max-width: 550px) {
        #contents #main h2{
        padding-top: 65px;
        padding-left: 50%;
    }
    #contents #main h2 strong{
    font-size: 140%;
}

#contents #main h2 span{
    font-size: 100%;
    padding-top: 10px;
}
}

@media (max-width: 479px) {
        #contents #main h2{
        padding-left: 30%;
    }
}


@media (max-width: 1600px) {
    #contents #main{
        margin-top: 100px;
    }
}

@media (max-width: 1140px) {
    #contents #main{
        margin-top: 80px;
    }
}

@media (max-width: 959px) {
    #contents #main{
        margin-top: 60px;
    }
}


#contents-conteiner{
    width: 100%;
    background: url(img/bg-l.png) no-repeat left top 55px #f8f3eb;
    display: flow-root; 
}
#contents-conteiner-r{
    width: 100%;
    background: url(img/bg-r.png) no-repeat right top 55px #f8f3eb;
    display: flow-root; 
}

#contents h2.title1{
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 160%;
    line-height: 1;
    letter-spacing: .05em;
    padding-top: 140px;
    padding-bottom: 25px;
}