/*
Theme Name:taijiku-kenkyujo
*/
/* CSS Document */

body {
    line-height: 1.7;
	color: #fff;
	font-family: ten-mincho-text, serif;
}
main  {
	background-color: #103675;
}
img {
	max-width: 100%;
}
footer {
	text-align: center;
	padding: 0 0 2rem;
	background-color: #103675;
}
.button {
    position: relative;
    text-align: center;
}
.button a {
    display: inline-block;
    padding: 0 25px;
    height: 60px;
    line-height: 60px;
    min-width: 270px;
    background: #fff;
    color: #103675;
    border: 1px solid #ddd;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
	margin: 1rem auto 2rem;
	text-decoration: none;
}
.button_g {
    text-align: center;
    margin: auto;
    display: block;
    width: 90vw;
}
.button_g a {
    display: block;
    text-align: center;
    color: #ffffff;
    background-color: #8fc31f;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/*********************
Header
**********************/

header  {
    width: 100%;
	box-sizing: border-box;
	height: 100vh;
	display: grid;
	justify-items: center;
	align-items: center;
	padding: 10%;
	background-color: #103675;

}
header img {
  animation: fadein 5s ease-out forwards;
}

@keyframes fadein {
  0% {
     opacity: 0
  }
  100% {
     opacity: 1
  }
}


/*********************
HOME
**********************/
/*==================================================
parallax
===================================*/
section.index-image{
    height: 100vh;
}

.parallax-bg {
    background-image: url(http://taijiku-kenkyujo.com/cms/wp-content/uploads/2022/10/taijiku_main-scaled.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left 20%;
    height: 100vh;
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    display: block;
}
.image-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.text-box {
	text-align: center;
	margin-bottom: 2rem;
}
.text-box h2 {
    font-size: 1.3rem;
	margin-bottom: .5rem;
}
.text-box h3 {
    font-size: 1.4rem;
	margin-bottom: .5rem;
}
.index-price {
    text-align: center;
    border-bottom: 2px #fff dotted;
    margin-bottom: 2rem;
}
.index-price span {
    padding-left: 0.5rem;
}
.osusume {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.15rem;
}
section.index-about {
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
}
.about-img {
	text-align: center;
	margin-bottom: 2rem;
}
.text-info {
    margin-bottom: 1rem;
}
section.index-info h2 {
    text-align: center;
    margin-bottom: 1rem;
}
section.index-access {
    padding: 2rem 0;
	width: 90%;
    margin: auto;
}
section.index-access h2 {
    margin-bottom: 1rem;
	text-align: center;
}
small {
    font-size: .85rem;
}
.line {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 50px;
}
.line h4 i {
	 margin-left: .5rem;
}
.line p {
    font-size: .9rem;
}
.line p br {
	display: none;
}
.mail,.time {
    margin: 1rem auto;
}
.others {
	text-align: center;
}


section.index-contact {
	margin-top: 2rem;
}
section.index-contact h2 {
    margin-bottom: 1rem;
	text-align: center;
}
.contact-wrap {
	background-color: #fff;
	color: #000;
	padding: 10%;
}

table.tbl-contact {
	font-size: .9rem;
    width: 100%;
	color: #000;
}
table.tbl-contact th,
table.tbl-contact td{
	display: block;
	text-align: left;
	padding: 5px 10px;
}

table.tbl-contact tr{
	margin-bottom: 1rem;
}
input, select, textarea {

   border-radius: 0;
}
input.wpcf7-form-control,select.wpcf7-form-control, textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 15px;
    margin-top: 10px;
	box-sizing: border-box;
	border: 1px solid #ccc;
}
input.wpcf7-submit {
    display: block;
    padding: 15px;
    font-size: 18px;
    margin: 15px auto 0;
    box-sizing: border-box;
	width: 50%;
}

table.tbl-contact th span {
	color: red;
	margin-left: 1rem;
}
button {
    padding: 10px;
    margin: 1.5rem auto;
}



@media only screen and (max-width: 1023px) {

/*********************
ナビゲーション
**********************/

/*********************
HOME
**********************/	

.inner {
    width: 90%;
	margin: auto;
	padding: 2rem 0;
}

}
@media only screen and (max-width: 767px) {
/*********************
Header
**********************/
.sp-none {
	display: none;
}



/*********************
single index
**********************/
.article-content {
    display: grid;
    grid-template-columns: 50% 50%;
}
.article-content h3 {
    grid-column: 1 / 3;
}
    

}


/*Non- retina based devices with medium screen size */
@media only screen and (min-width: 768px) {
.pc-none {
	display: none;
}
.textbox {
	width: calc(100% - 100px);
	margin: auto;
}
.text-box h2 {
    font-size: 1.5rem;
	margin-bottom: .5rem;
}
.text-box h3 {
    font-size: 2rem;
	margin-bottom: .5rem;
}
.index-price {
    font-size: 1.5rem;
}
.index-price span {
    padding-left: 1rem;
    font-size: 2rem;
}
.osusume {
    font-size: 1.5rem;
}
.index-info h2 {
    font-size: 2rem;
}
.tel {
    font-size: 1.5rem;
}
small {
    font-size: .9rem;
}
.tel small {
    display: block;
}

.others {
    text-align: left;
}
.index-access h2 {
    font-size: 2rem;
	text-align: center;
}
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.line-text h4 {
	font-size: 1.5rem;
}
.contact-wrap {
    margin-top: 2rem;
}
.about-img {
	font-size: 1.3rem;
}
.index-about-text {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 50px;
	align-items: center;
}
.index-about-text {
    font-size: 1.3rem;
}
section.news span {
	margin-right: 1rem;
}
section.news span.news-time {
    display: inline-block;
}	
section.top-about {
    display: flex;
}




/*********************
single index
**********************/

}

@media only screen and (min-width: 1024px) {
.inner {
    width: 90%;
	margin: auto;
	padding: 2rem 0;
}
.image-menu {
    display: grid;
	grid-template-columns: 400px 400px;
    gap: 70px;
    justify-content: center;
	margin-bottom: 7rem;
}
.index-price {
    margin-bottom: 4rem;
    margin-left: 5%;
    margin-right: 5%;
}
img.bnr {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
}
.about-img {
	font-size: 1.8rem;
}
.index-about-text {
    display: grid;
    grid-template-columns: 200px 550px;
    gap: 50px;
    justify-content: center;
}
.text-info {
    margin-top: 1rem;
}
.contact-box {
    display: grid;
    grid-template-columns: 58% 1fr;
}
.line {
    display: grid;
    grid-template-columns: 180px 100px;
    gap: 50px;
}
.site-title {
    position: absolute;
    top: 10px;
    left: 120px;
	font-size: .8rem;
}
table.tbl-contact {
    width: 100%;
	letter-spacing: .2rem;
}
.button_g a:hover {
    background-color: #d6ff7e;
    color: #103675;
}
}

/* Non-retina devices with large screen sizes */
@media only screen and (min-width: 1200px) {

.site-title {
	top: 20px;
	left: 150px;
}
.inner {
	max-width: 1000px;
	padding:3rem auto;
}

.text-box h2 {
    font-size: 2rem;
}
.text-box h3 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.index-price {
    font-size: 2.3rem;
	margin-bottom: 6rem;
}
.index-price span {
    padding-left: 2rem;
    font-size: 3rem;
}
.osusume {
    font-size: 2.5rem;
	margin-top: 6rem;
}
.osusume h4 {
    font-size: 2rem;
	margin-bottom: 1.3rem;
}
.about-img {
	font-size: 1.9rem;
}
section.index-info h2 {
    text-align: left;
    margin-bottom: 1rem;
    display: inline;
    margin-right: 1rem;
}

.text-info small {
	font-size: 1.2rem;
}
.tel {
    font-size: 2.3rem;
}
.tel small {
    margin-left: 1rem;
	font-size: 1.1rem;
}
.mail {
    font-size: 2rem;
}
.line {
    display: grid;
    grid-template-columns: 180px 180px;
    gap: 50px;
}
.line-text {
    text-align: right;
}
.line-text h4 {
    font-size: 2.3rem;
}
.line p {
    font-size: 1rem;
}
.time {
    font-size: 1.5rem;
}
.time br {
    display: none;
}
.mail, .time {
    margin: 1.8rem auto;
}
.others {
    text-align: left;
    font-size: 2rem;
}
section.index-access h2 {
    text-align: left;
}
section.index-access p {
    font-size: 1.2rem;
}
section.index-contact {
	margin-top: 3rem;
}
section.index-contact h2 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2rem;
    color: #103675;
}
table.tbl-contact {
    font-size: 1.3rem;
}
.button_g {
    max-width: 1000px;
}
}

@media only screen and (min-width: 1440px) {

.inner {
	max-width: 1200px;
	padding:3rem auto;
}
.text-box h2 {
    margin-bottom: 1.5rem;
}
.text-box h3 {
    margin-bottom: 1.5rem;
}
.image-menu {
    grid-template-columns: 450px 450px;
	gap: 100px;
}
.index-price {
    font-size: 2.5rem;
}
.index-price span {
    padding-left: 2rem;
    font-size: 3rem;
}
.contact-box {
    display: grid;
    grid-template-columns: 60% 1fr;
}
.tel small {
    margin-left: 1rem;
	font-size: 1.2rem;
}
.line p {
    font-size: 1.2rem;
}
.button_g {
    max-width: 1200px;
}
}