/*
 Theme Name:   jc-talk
 Theme URI:    jc-talk
 Description:  jc-talk
 Author:       Jinbo Orthodontic Office
 Author URI:   jc-talk
 Version:      1.0.0
 Tags:
 Text Domain:  jc-talk
*/

body {
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
}


.header {
    position: relative;
    padding-top:20%;
    padding-bottom: 25%;
    height: 80vw;
    overflow: hidden;;
}

.header::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background-image: url(images/main_up_01.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 18%;
    z-index: 105;
}

.header::after{
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    background-image: url(images/main_down_01.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 20%;
    z-index: 110;
}

.header.post {
	padding-bottom:0;
	height:auto;
}

.header.post::after{
	display:none;
}

.header .logo {
    z-index: 110;
    position: absolute;
    width: 340px;
    top:6px;
    left:0;
    /*
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    */
}

.header .slider {
    position: absolute;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header .slider .carousel-inner {
    overflow:visible;
}

.header .slider img {
    width: 100%;
    transform: scale(1.3);
    z-index: 100;
    position: relative;
}

.top_message {
    z-index: 111;
    text-align: center;
	background:#720810;
	padding-top:15px;
	padding-bottom:15px;
}

.top_message h2 {
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    color: #fff;
}

.top_blog,
.about {
    background: #fcf1d4;
    padding-top: 50px;
}

.top_blog h2,
.about h2 {
    font-size: 4.8vw;
    text-align: center;
    border-bottom: 4px solid #720810;
    padding-bottom: 7px;
    margin-bottom: 30px;
    display: inline-block;
}

.top_blog ul,
.blog ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.top_blog ul li,
.blog ul li {
    list-style: none;
    width: 49%;
    margin-right: 2%;
}

.top_blog ul li:nth-child(2n+2),
.blog ul li:nth-child(2n+2) {
    margin-right: 0;;
}

.top_blog ul li a img,
.blog ul li a img  {
    width: 100%;
    transition: .5s;
	height:auto;
}

.top_blog ul li a:hover img,
.blog ul li a:hover img {
    opacity:.7 ;
}

.top_blog ul li h3,
.blog ul li h3 {
    font-size: 18px;
    margin-top: 10px;
}

.top_blog ul li a,
.blog ul li a {
    color: #720810;
    text-decoration: none;
    transition: .5s;
}

.top_blog ul li a:hover,
.blog ul li a:hover {
    color: #3f272a;
}

.top_blog ul li p.date,
.blog ul li p.date {
    font-size: 14px;
    text-align: right;
}

p.link {
    text-align: center;
    margin-top: 40px;
}

p.link a {
    display: inline-block;
    padding: 15px 45px 15px 25px;
    background-color:#720810;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: .5s;
}

p.link a::after {
    display: block;
    content: '';
    width: 16px;
    height: 9px;
    position: absolute;
    top: 43%;
    right: 20px;
    border: 4px solid transparent;
	border-left: 10px solid #fff;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

p.link a:hover {
    background-color:#ad0e21;
}

.about {
    padding-bottom: 60px;
}

.footer {
    background: #720810;
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
}

.footer::before {
    position: absolute;
    display: block;
    content: '';
    width: 120px;
    height: 94px;
    background-image: url(images/icon_crane.png);
    top: 5%;
    left: 5%;
    z-index: 120;
    background-size: cover;
}

.footer::after {
    position: absolute;
    display: block;
    content: '';
    width: 120px;
    height: 82px;
    background-image: url(images/icon_panda.png);
    bottom: 5%;
    right: 5%;
    z-index: 120;
    background-size: cover;
}

.footer p {
    color: #fff;
    margin-top: 30px;
}

.copyright {
    background:#5e050f;
    color: #fff;
    text-align: center;
}

.copyright p {
    margin-top: 10px;
    margin-bottom: 6px;
    color: #fff;
    font-size: 14px;
}


p.link_02 {
    text-align: center;
    margin-top: 40px;
}

p.link_02 a {
    display: inline-block;
    color: #720810;
    text-decoration: none;
    position: relative;
    transition: .5s;
}

p.link_02 a::after {
    display: block;
    content: '';
    width: 16px;
    height: 9px;
    position: absolute;
    top: 43%;
    right: -20px;
    border: 4px solid transparent;
	border-left: 10px solid #720810;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
}

p.link_02 a:hover {
	color:#333;
}


.page_content {
	margin-bottom:50px;
	margin-top:40px;
}

.page_content h1 {
	font-size:24px;
	margin-bottom:20px;
}

.header.post::before {
	height:220px;
}

.form {
}

.form ul {
	margin:0;
	padding:0;
}

.form ul li {
	list-style:none;
}

.form ul li dl {
	margin:0;
}

.form ul li dl dt {
	margin-bottom:6px;
}

.form ul li dl dt span {
	color:#ff2711;
}

.form ul li dl dd input[type=text],
.form ul li dl dd input[type=email],
.form ul li dl dd textarea {
	width:100%;
}

.form button.confirm,
.form button.submit {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	height: 50px;
	position: relative;
	background: #720810;
	border: 1px solid #720810;
	box-sizing: border-box;
	padding: 0 25px 0 40px;
	color: #fff;
	font-size: 16px;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition-duration: 0.3s;
	margin-left:auto;
	margin-right:auto;
	margin-top:40px;
}

.form button.confirm::before,
.form button.submit::before {
	content: '';
	width: 8px;
	height: 8px;
	border: 0;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 25px;
	margin-top: -6px;
}

.form button.confirm:hover,
.form button.submit:hover {
	background: #fff;
	color: #720810;
}

.form button.confirm:hover::before,
.form button.submit:hover::before {
	border-top: 2px solid #720810;
	border-right: 2px solid #720810;
}


.form button.back {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 50%;
	height: 50px;
	position: relative;
	background: #dfdfdf;
	border: 1px solid #cccccc;
	box-sizing: border-box;
	padding: 0 25px 0 40px;
	color: #333;
	font-size: 16px;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition-duration: 0.3s;
	margin-left:auto;
	margin-right:auto;
	margin-top:30px;
}

.form button.back:hover {
	background: #ababab;
	color: #fff;
}

@media (min-width: 576px) {

}
@media (min-width: 768px) {

    .top_blog h2,
    .about h2 {
        font-size: 28px;
        text-align: center;
        border-bottom: 4px solid #720810;
        padding-bottom: 7px;
        margin-bottom: 50px;
        display: inline-block;
    }

    .footer::before {
        width: 200px;
        height: 157px;
        background-image: url(images/icon_crane.png);
        top: 5%;
        left: 3%;
        z-index: 120;
        background-size: cover;
    }

    .footer::after {
        width: 200px;
        height: 137px;
        background-image: url(images/icon_panda.png);
        bottom: 5%;
        right: 3%;
        z-index: 120;
        background-size: cover;
    }


}
@media (min-width: 992px) {
    .header .logo {
        width: 480px;
        top:6px;
        left:8%;
        /*
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        */
    }


    .top_message h2 {
        display: inline-block;
        padding: 15px;
        border-radius: 10px;
        font-size: 28px;
        text-align: center;
        width: 80%;
    }

    .top_message h2 br {
        display: none;
    }

    .top_blog,
    .about {
        padding-top: 70px;
    }


    .top_blog ul li,
	.blog ul li {
        list-style: none;
        width: 24.1%;
        margin-right: 1.2%;
    }

    .top_blog ul li:nth-child(2n+2),
	.blog ul li:nth-child(2n+2) {
        margin-right: 1.2%;
    }
    .top_blog ul li:nth-child(4n+4),
	.blog ul li:nth-child(4n+4) {
        margin-right: 0;
    }

	.page_content {
		margin-bottom:90px;
		margin-top:0;
	}

	.page_content h1 {
		font-size:30px;
		margin-bottom:40px;
	}

}
@media (min-width: 1200px) {

    .footer::before {
        width: 200px;
        height: 157px;
        background-image: url(images/icon_crane.png);
        top: 5%;
        left: 13%;
        z-index: 120;
        background-size: cover;
    }

    .footer::after {
        width: 200px;
        height: 137px;
        background-image: url(images/icon_panda.png);
        bottom: 5%;
        right: 13%;
        z-index: 120;
        background-size: cover;
    }

}
@media (min-width: 1400px) {

}