﻿/* --------------------------------
 * header
 * -------------------------------- */
header {
    background-color: #A5885E;
}

.top {
    width: 1024px;
    margin: 0 auto;
}

.top_inner {
    position: relative;
}

.top_logo {
    position: absolute;
    top: 25px;
    left: 2%;
    z-index: 20;
}

.top_mainImg {
    position: absolute;
    left: 37%;
    top: 260px;
}

.top_archive {
    position: absolute;
    top: 40px;
    right: 2%;
    width: 130px;
    height: auto;
    background-color: #fff;
}
.archive-inner {
    padding: 10px;
}

.entry {
    padding-bottom: 5px;
}

.entry p{
    padding-bottom: 0;
    font-size: 11px;
}

.entry p:nth-of-type(1){
    font-weight: bold;
}

.entry p:nth-of-type(3){
    font-size: 8px;
}

.ellipsis {
    width: 110px;
/*
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
*/
}

#topnav {
    position: relative;
    height: 666px;
}

#topnav ul {
    position: absolute;
    left: 50%;
    /*left: 512px;*/
}

#topnav li {
    position: absolute;
}


#topnav li:nth-child(1) {
    top: 65px;
    left: -250px;
    z-index: 10;
}

#topnav li:nth-child(2) {
    top: 86px;
    left: -228px;
}

#topnav li:nth-child(3) {
    top: 60px;
    left: 120px;
    z-index: 10;
}

#topnav li:nth-child(4) {
    top: 72px;
    left: 240px;
    z-index: 10;
}

#topnav li:nth-child(5) {
    top: 220px;
    left: 235px;
    z-index: 10;
}

#topnav li:nth-child(6) {
    top: 96px;
    left: 125px;
}

#topnav li:nth-child(7) {
    top: 463px;
    left: -285px;
}

#topnav li:nth-child(8) {
    top: 537px;
    left: 305px;
    z-index: 10;
}

#topnav li:nth-child(9) {
    top: 450px;
    left: 195px;
}

#topnav li:nth-child(10) {
    top: 365px;
    left: 345px;
}

#topnav li:nth-child(11) {
    top: 353px;
    left: -445px;
    z-index: 10;
}

#topnav li:nth-child(12) {
    top: 400px;
    left: -445px;
}


#topnav li:nth-child(13) {
    top: 270px;
    left: -345px;
}



/* --------------------------------
 * about
 * -------------------------------- */
#about {
    padding-top: 160px;
    padding-bottom: 80px;
}

.about_head {
    position: relative;
    padding-bottom: 15px;
}

.about_block01,
.about_block02,
.about_block03 {
    padding-bottom: 30px;
}

.about_block01 table {
    font-size: 12px;
    padding-bottom: 10px;
}

.about_block01 td:first-child {
    color: #A5885E;
    padding-right: 10px;
}

.about_block01 p {
    display: inline-block;
}

.about_left {
    position: absolute;
    top: 0;
    left: -100px;
}

.about_right {
    position: absolute;
    top: 100px;
    left: 370px;
}


/* --------------------------------
 * list
 * -------------------------------- */
#list {
    padding-top: 80px;
    padding-bottom: 80px;
}

.list_head {
    position: relative;
}

.list_block h3 {
    text-align: center;
    padding-bottom: 15px;
}

.list_left01 {
    position: absolute;
    top: 0;
    left: -100px;
}

.list_left02 {
    position: absolute;
    top: 300px;
    left: -220px;
}

.list_link {
    position: relative;
    height: 520px;
}

.list_link li {
    position: absolute;
}

.list_link li:nth-child(1) {
    top: 0;
    left: 5px;
}

.list_link li:nth-child(2) {
    top: 55px;
    left: 160px;
}

.list_link li:nth-child(3) {
    top: 140px;
    left: 25px;
}

.list_link li:nth-child(4) {
    top: 200px;
    left: 170px;
}

.list_link li:nth-child(5) {
    top: 290px;
    left: 0;
}

.list_link li:nth-child(6) {
    top: 335px;
    left: 170px;
}

.list_link li:nth-child(7) {
    top: 410px;
    left: 45px;
}


/* --------------------------------
 * faq
 * -------------------------------- */
#faq {
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq_head {
    position: relative;
}

.faq_left {
    position: absolute;
    top: 0;
    left: -100px;
}


.faq_block li {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #A5885E;
    background-color: #fff;
    /*padding: 25px 25px 25px 55px;*/
    position: relative;
}


.faq_block li :before {
    content: "Q";
    font-size: 32px;
    font-weight: bold;
    color: #A5885E;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(0, -50%);
}

.faq_block a {
    display: block;
    color: #A5885E;
    font-size: 16px;
    padding: 25px 25px 25px 55px;
    line-height: 2;
    cursor:pointer;
}


.modal-content {
    display: none;
    position: fixed;
    z-index: 100;
    width: 440px;
    height: 410px;
    background-color: #a5885e;
    border-radius: 20px;
    border: 1px solid #A5885E;
}

.modal_inner {
    background-color: #fff;
    width: auto;
    height: 367px;
    padding: 15px 12px;
    margin: 7px 7px 0px 7px;
    border-radius: 15px 15px 0 0 / 15px 15px 0 0;
}

.question,
.answer {
    display: flex;
}

.question img,
.answer img {
    align-self: flex-start;
    padding-top: 5px;
    padding-right: 15px;
}

.question p {
    align-self: flex-start;
    padding-bottom: 0;
    font-size: 19px;
    color: #a5885e;
}

.answer {
    padding-top: 10px;
}

.answer p {
    align-self: flex-start;
    padding-bottom: 0;
    font-size: 12px;
}



.modal_close {
    text-align: right;
    padding-top: 4px;
    padding-right: 14px;
}

.modal_close a {
    color: #fff;
    font-size: 15px;
}

.modal_close a:hover {
    cursor: pointer;
}

.modal_close a::after {
    content: "×";
    font-size: 22px;
    color: #fff;
    padding-left: 5px;
}

#modal-overlay {
    display: none;
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.25);
}



/* --------------------------------
 * prof
 * -------------------------------- */
#prof {
    padding-top: 80px;
    padding-bottom: 80px;
}

.prof_head {
    position: relative;
}

.prof_left01 {
    position: absolute;
    top: 0;
    left: -100px;

}

.prof_left02 {
    position: absolute;
    top: 500px;
}

.prof_h_block {
    padding-bottom: 30px;
}

.prof_block01 span {
    color: #3FB266;
}

.prof_block01 p:nth-of-type(2) {
    padding-bottom: 40px
}

.prof_block02 {
    width: 500px;
    height: auto;
    background-image: url(../img/prof_sotflame@2x.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.prof_block02_inner {
    padding: 25px 25px;
}

.prof_block02_inner h3 {
    font-size: 30px;
}

.prof_block02_inner p {
    font-size: 14px;
    padding-bottom: 0;
}

/* --------------------------------
 * access
 * -------------------------------- */
#access {
    padding-top: 80px;
    padding-bottom: 80px;
}

.access_head {
    position: relative;
}

.access_head p {
    padding-bottom: 15px;
}

.access_h_block {
    padding-bottom: 20px;
}

.access_left01 {
    position: absolute;
    top: 0;
    left: -100px;
}

.access_block {
    position: relative;
}

.access_left02 {
    position: absolute;
    top: -90px;
    left: -160px;
}


#tel {
  position: fixed;
  width: 200px;
  height: 44px;
  text-align: center;
  line-height: 44px;
  left:50%;
  bottom: 5px;
  margin-left:-100px;
  display: block;
  background: rgba(65,1,0,0.4);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size:12px;
  border-radius: 10px;
}
 
.tel_02:hover{
  background: rgba(65,1,0,0.4);
}






/* --------------------------------
* PC only
* -------------------------------- */

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

    /* --------------------------------
    * main all
    * -------------------------------- */
    section {
        position: relative;
        width: 1024px;
        max-width: 100%;
        margin: 0 auto;
    }

    .content_inner {
        width: 350px;
        margin: 0 auto;
        padding: 10px;
    }
}


/* --------------------------------
* sp only
* -------------------------------- */

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

    /* --------------------------------
    * header
    * -------------------------------- */
    .top_inner_sp {
        margin: 0 auto;
        width: 85%;
        height: auto;
        text-align: center;
    }

    .top_logo_sp {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .top_mainImg_sp {
        padding-bottom: 80px;
    }

    /* --------------------------------
    * main all
    * -------------------------------- */

    .content_inner {
        width: 90%;
        margin: 0 auto;
        padding: 0 10px;
    }

    img.sp {
        padding-bottom: 10px;
    }

    /* --------------------------------
    * about
    * -------------------------------- */
    #about {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .about_block01 table {
        font-size: 16px;
        padding-bottom: 10px;
    }

    .about_block01 p {
        display: block;
        padding-bottom: 5px;
    }

    .about_block01 img {
        width: 150px;
        height: auto;
    }

    .about_right {
        text-align: right;
    }


    /* --------------------------------
    * list
    * -------------------------------- */
    #list {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .list_head {
        position: relative;
    }

    .list_block h3 {
        text-align: center;
        padding-bottom: 30px;
    }

    .list_block h3 img {
        width: 90%;
        max-width: 400px;
    }

    .list_left02 {
        text-align: right;
    }

    #list .sp_in {
        padding-top: 0;
        padding-bottom: 20px;
    }

    .list_link_wrap {
        width: 307px;
        margin: 0 auto;
    }

    .list_link {
        position: relative;
        height: 520px;
        left: -6%;
    }


    /* --------------------------------
    * faq
    * -------------------------------- */
    #faq {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .modal-content {
        width: 95%;
        max-width:440px;
    }

    .modal-content {
        height: 370px;
    }

    .modal_inner {
        height: 327px;

    }

    .question p {
    font-size: 16px;
    }

     .answer p {
    font-size: 14px;
}


    /* --------------------------------
    * prof
    * -------------------------------- */
    #prof {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .prof_h_block {
        text-align: center;
    }

    .prof_block01 p:nth-of-type(2) {
        padding-bottom: 40px
    }

    .prof_block02 {
        width: 100%;
        height: auto;
        background-image: url(../img/prof_sotflame@2x.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    .prof_block02_inner {
        padding: 25px 30px;
    }

    .prof_block02_inner h3 {
        font-size: 24px;
    }

    .prof_block02_inner p {
        font-size: 14px;
    }


	
	
    /* --------------------------------
    * access
    * -------------------------------- */
    #access {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .access_head {
        position: relative;
    }

    .access_h_block img {
        width: 60%;
    }


    .access_left01 {
        position: absolute;
        top: 0;
        left: -100px;
    }
	
	
	
	.access_tel {
	display: none;
	}
	
	}


	@media screen and (min-width:960px) {
		
	#tel {
	display: none;
	} 
		
		

    .map {
        position: relative;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
    }

    .map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }



}
