@chaset "utf-8";

html{
    -webkit-text-size-adjust: 100%;
}

    /*----共通フォントとリンクのスタイル設定----*/

a {
    color:black;
    transition: 0.5s;
    text-decoration: none;
}
a:hover{
    color: #c0c0c0;
}
#gnav a:hover{
    color: #c0c0c0;
}
.b-header-logo a{
    color: beige;
}
.b-header-logo a:hover{
    color:#eebbcb;
}
.pc-grid-col3 a,.pc-grid a, #garally a{
    display: block; 
    width: 100%; 
    height:auto;
    overflow:hidden;
}
a:hover img {
    filter: brightness(115%);
    transform: scale(1.1, 1.1); 
    -webkit-transform: scale(1.1, 1.1); 
    -moz-transform: scale(1.1, 1.1); 
    -o-transform: scale(1.1, 1.1); 
    -ms-transform: scale(1.1, 1.1); 
}
a img {
    width: 100%;
    height: auto;
    transition: .6s ease-in-out; 
}
img{
    border: 0;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
body{
    font-family: 'Noto Serif JP', serif;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding left: 40px;
    padding right: 40px;
    margin-top: 130px;
    margin-bottom: 130px;
}

/*---下部４つのウィンドウコンテナ---*/

.c-container{
    margin-top: 150px;
}
      /*--------トップページ---------*/

/*----header &  nav  ------*/

.header{
  max-width: 100%;
  height:295px;
  background: url(../img/DSC04821.JPG)center center no-repeat;
  background-size: cover;
}
.side-title{
    width: 80px;
    height: 310px;   background:url(../img/decoall_hajimete573527.jpg);
    color:beige ;
    box-shadow: 10px 10px 2px 2px rgba(0,0,0,0.3);
  }
.header-title{
    height: 300px;
    width:80px;
    font-size: 16px;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    text-shadow: 1px 2px 3px #000000;
    padding-right: 0px;
    padding-top: 0;
    line-height: 1.1;
}
#ichinyo{
    font-size: 13px;
    line-height: 0;
}
#gnav ul {    
    display:flex;
    justify-content:center;
    list-style: none;
    height: 150px;
    margin-top: 50px;
}
#gnav li{
    width: 50px;
    padding-left: 10px;
}
#gnav li a{
    display: block;
    color:black;
    font-size: 15px;
    text-decoration: none;
    writing-mode: vertical-rl;
}

@media screen  and (min-width: 768px){
    .header{
        height: 600px;
    }
    .side-title{
        width: 150px;
        height: 615px;
        padding-left: 45px;
        padding-top: 50px;
    }
    #ichinyo{
    font-size: 18px;
    line-height: 0;
    }
    #gnav ul {    
    height: 200px;
    margin-top: 70px;
    } 
    #gnav li a{
    display: block;
    color:black;
    font-size: 18px;
    text-decoration: none;
    writing-mode: vertical-rl;
    }
}
   
/*-------info--------*/

.info-heading{
    font-size: 17px;
    width: 140px;
    letter-spacing: 10px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 20px;
    border-left: 3px solid #b22222;
    border-bottom: 1px solid #b22222;
    text-align: left;
    padding-left: 10px;
}
dl{
    box-shadow: 0px 0px 3px 3px rgba(189,183,107,0.3);
    margin: auto;
    padding-left: 10px;
}
dd a{
    text-decoration: none;
}

.info-list{
    max-width: 900px;
    display: flex; /*アイテムを横並びにする*/
    flex-wrap: wrap;/*複数行表示にする*/
    font-size: 15px;
    padding-bottom: 10px;
}
.info-list dt{
    width: 23%; /*親要素の２３％幅にする*/
    padding: 10px 0;
    padding-left: 10px;
    border-bottom: 1px  #808080 dotted;
}
.info-list dd {
    width: 68%;/*親要素の６８％にする*/
    padding: 10px 0;
    border-bottom: 1px  #808080 dotted;
}
#info-s{
    color:firebrick;
}
#info-s:hover{
    color: #c0c0c0;
}

/*------- /info--------*/

/*-------about---------*/

#about{
    font-size:16px;
    border-radius: 1px;
    padding: 30px 30px;
    padding-top: 50px;
    padding-bottom: 130px;
    margin-top: 140px;
    box-shadow: 0 0 3px 3px rgba(189,183,107,0.5);
   }
.about-section{
    margin-bottom: 50px;
   }
.heading{
    text-align: center;
}
.about-msg{
    font-size: 18px;
    text-align: center;
    color:dimgrey;
    }
h3{
    font-size: 20px;
    color:firebrick;
 }
#ichinyo2{
    font-size: 17px;
    line-height: 0;
}
.pc-grid-col3{
   text-align: center;
}
.pc-grid-col3 img{
    width: 100%
}

@media screen  and (min-width: 768px){
    #ichinyo2{
        font-size: 23px;
    }
}
    
/*----/about-----*/

/*-----pc-grid-----*/

.pc-grid{
    margin-top: 70px;
    padding-left: 10px;
    padding-right: 10px;
}
.col-pc{
    width: 49%;
    margin-bottom: 30px;
    padding: 5px;
    }
.col-pc img {
    box-shadow: 0px 3px 3px 2px rgba(0,0,0,0.1); 
}

/*---８つのウィンドウのタイトル---*/

.col-pc h2{
    border-left: 3px solid #b22222;
    border-bottom: 1px  solid #b22222;
    text-align: left;
    padding-left: 5px;
    font-size: 18px;
}

/*--------footer--------*/

.caracter img{
    height: 140px;
    width: 110px;
}
.footer{
    margin: center;
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
}
.footer-container{
    margin: auto;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}
.footer-info{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer-info-title{
    font-size: 28px;
    height: 25px;
   
}
.place {
    font-size: 13px;
    height: 30px
    }
.footer-info-list{
    font-size: 12px;
}

.copyright{
    text-align: center;
}

@media screen  and (min-width: 768px){
    .footer-container{
        width: 360px;
    }
}
/*----/footer----*/
/*---Home へ戻る----*/

#back{
    padding-right: 30px;
}
.back-p a:hover{
    color: #c0c0c0;
}

/*--- pagetop ---*/

#page_top{
width: 50px;
height: 50px;
border-radius: 50%;
position: fixed;
right: 0;
bottom: 10px;
background: #bdb76b;
opacity: 0.6;
}
#page_top a{
position: relative;
display: block;
width: 40px;
height: 40px;
text-decoration: none;
}

#page_top a::after{
content: '▲';
font-size: 22px;
font-weight: bold;
color: #fff;
position: absolute;
margin: auto;
padding-left: 14px;
text-align: center;
line-height: 2.3;
}
/*----/pagetop----*/

/*-----寺古屋書道塾とはのページ-----*/

/*---b-header---*/

.b-header{
    height: 110px;   background:url(../img/decoall_hajimete573527.jpg);
    margin-bottom: 0;
    }
.b-header-logo{
    margin-top: 40px;
    padding-top: 20px;
    padding-left: 40px;
    font-size: 40px;
    color: beige;
    text-shadow: 1px 2px 3px #000000;
    line-height: 1.1;
    }

/*----b-nav----*/

.b-container{
    max-width: 1200px;
    margin: 0 auto;
    padding left: 40px;
    padding right: 40px;
}
.b-nav {
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    padding: 20px 10px 0 10px;
    padding-right: 20px;
}

.b-nav li a{
    writing-mode: vertical-rl;
    display: block;
    margin-right: 15px;
    padding-left: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight:900;
 }

#about-about{
    margin-top: 0;
    margin-bottom: 100px;
    font-size:18px;
    border-radius: 1px;
    padding: 30px 30px;
    padding-top: 50px;
    padding-bottom: 130px;
    margin-top: 50px;
    box-shadow: 0 0 3px 3px rgba(189,183,107,0.5);
}
#about-e,#about-f{
    display: flex;
    margin-top: 80px;
}
#about-e h3,#about-f h3{
    writing-mode: vertical-rl;
    text-shadow: 1px 2px 3px #000000;
    width: 50px;
    background-color: #b22222;
    color: beige;
    padding: 8px;
    box-shadow: 10px 10px 2px 2px rgba(0,0,0,0.3);
}
#about-bb-ph,#about-cc-ph{
    margin-top: 80px;    
}
.about-3col-msg{
    font-size: 18px;
    padding-left: 10px;
}
.col2{
    margin-top: 50px;
    padding-left: 10px;
    padding-right: 10px;
}

/*-----おしらせのページ-----*/

.info-container{
    max-width:700px;
    margin: auto ;
    margin-top: 70px;
    
 }
.info-section h2{
    font-size: 25px;
    border-bottom:  #b22222 1px solid;
}
.info-msg{
    font-size: 18px;
    margin-top: 100px;
    padding-left: 40px;
    padding-right: 40px;
}
#back{
    text-align: right; 
   }
.back-p a{
    font-size:17px;
    color: crimson;
  }

/*-----教室案内のページ-----*/

.head-title{
    font-size: 14px;
    max-width: 500px;
    height: 60px;
    margin: auto;
    margin-top: 70px;
    border-bottom: 2px #b22222 solid;
}
.school-ph{
    width: 90%;
    margin: auto;
    margin-top: 20px;
}
.school-section{
    width: 100%;
    height: auto;
}
.school-info{
    margin-bottom:  25px;
    padding-left: 40px;
}
.school-p li{
    list-style-type: none;
    font-size: 12px;
  }
.map{
    position: relative;
    margin-top: 15px;
    text-align: center;
}
.map inflame{
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 60%;
}
.pc-grid-col3-access{
    margin-top: 100px;
    padding-left: 20px;
    padding-right:20px;
}
#school-view{
    margin-top: 200px;/*---スペース---*/
}
.flex-ac{
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
}
.access-room-ph{
    width: 80%;
    padding-left: 3px;
    padding-right: 3px;
}

@media screen  and (min-width: 769px){
   .pc-grid-col3-access .col{
        width: 32%;
    }
   .school-p li{
        font-size: 11px;
    }
}
@media screen  and (min-width: 1000px){
   .school-p li{
        font-size: 14px;
    }
}
    
/*---スケジュールのページ---*/

.cal_wrapper {
max-width: 960px;
min-width: 300px;
margin: 2.0833% auto;
}

.googlecal {
position: relative;
padding-top: 50%;
padding-bottom: 100%;
height: 0;
}

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

@media only screen and (min-width: 768px) {
.googlecal { padding-bottom: 75%; }
}

/*----ギャラリー----*/

#gallery-gallery{
    width: 100%;
    height: 400px;
    padding-left: 10px;
    padding-right: 10px;
    }
.gallery-col2{
    overflow: hidden;
    text-align: center;
    }
#gallery-r{
    display: inline-block;
    width: 100px;
    padding-right: 28px;
    text-align: center;
    margin-top: 130px;
    margin-bottom: 100px;
    height: 300px;
    border-left: 3px solid #b22222;
    border-bottom: 0.5px  solid #b22222;
    box-shadow: 10px 10px 2px 2px rgba(0,0,0,0.3);
    writing-mode: vertical-rl;
}
#gallery-s{
    display: inline-block;
    margin-left: 70px;
    width: 100px;
    padding-right: 28px;
    margin-top: 130px;
    margin-bottom: 100px;
    height: 300px;
    border-left: 3px solid #b22222;
    border-bottom: 0.5px  solid #b22222;
    box-shadow: 10px 10px 2px 2px rgba(0,0,0,0.3);
    writing-mode: vertical-rl;
}
.gallery-col2 h2{
    margin: 0;
}
@media screen  and (min-width: 768px) {
#gallery-gallery{
        width: 550px;
        margin: 0 auto;
  }
}
/*----木村蓮月ギャラリー---*/

#works{
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 120px;
    margin-bottom: 20px;
}
.works-text{
    width: 90%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px;
    font-size: 17px;
}
#works-01{
    border: 5px solid #8b4513;
    border-radius: 10px;
  }
#works-02,#works-06{
    width: 80%;
    margin: auto;
}
#works-03,#works-05,#works-07{
    width: 70%;
    margin: auto;
}

@media screen  and (min-width: 560px) {
    #works-01{
        width: 80%;
        margin: auto;
        }
    #works-02,#works-04{
        width: 60%;
        margin: auto;
    }
    #works-03,#works-06,#works-07{
        width: 30%;
    }
    #works-05{
        width: 20%;
    }
 }
/*----生徒作品ギャラリー----*/
.works-ph{
    margin: auto;
    text-align: center;
    margin-bottom: 80px;
}
#b-works-01{
    width: 80%;
}
#b-works-09{
    width: 40%;
}
.st-works-text{
    text-align: center;
}

@media screen  and (min-width: 600px) {
    #b-works-01{
        width: 35%;
    }
    .st-works-text{
        font-size: 18px;
        margin-bottom: 20px;
    }

}

/*---おたよりのページ---*/

#handouts{
    margin-top: 100px;
}
.handouts-ph{
    text-align: center;
    width: 95%;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 60px;
}
.handouts-ph h2{
    font-size: 17px;
}
.handouts-ph img{
    box-shadow: 1px 1px 2px 1px;
}
.past-section{
    margin-top: 100px;
    padding-left: 20px;
}
.handouts-more{
    text-align: center;
}
.handouts-more a,
.handouts-past-more a {
    font-size: 17px;
    border-left: 3px  solid  #b22222;
    border-bottom: 1px  solid #b22222;
    padding-left: 5px;
}

/*------坐禅会案内のページ-----*/

#dohgen{
    background: url(../main/zazen/zazen.img/DSC_0396.JPG) no-repeat;
    background-position:center;
    background-size: cover;
    height: 90vh;
    margin-top: 50px;    
}
#dohgen .about-zazen{
    writing-mode: vertical-rl;
    height: 320px;
    position: absolute;
    left: 50%;
    color:floralwhite;
    font-size: 40px;
}
#shikantaza{
    writing-mode: vertical-rl;
    font-size: 18px;
    height: 420px;
    margin: auto;
    margin-top: 50px;
}
#do{
    font-size: 15px;  /*---現成公案巻---*/
}
.ze{
    color:crimson;  /*---（日）---*/
}
#zazen-a{
    margin-top: 150px;
}
#zazen-zazen{
    width: 100%;
    height: auto;
    padding-top: 50px; 
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    text-align: center;
    margin-top: 90px;
    margin-bottom: 100px;
    box-shadow:  2px 2px 2px 2px rgba(0,0,0,0.3);
}
#zazen-b h1{
    font-size: 22px;
}
#zazen-b h2{
    font-size: 18px
}
#zazen-b p{
    text-align: left
}
#zazen-bord{
    margin-top: 150px;
}
#zazen-info{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    margin: auto;
    margin-bottom: 50px;
}
#za{
    font-size: 18px;  /*---今後の坐禅会日程---*/
}
#zazen-info p{
    font-size: 14px;
}
.map-s, .past-blog{
    position: relative;
    padding-top: 50%;
}
.map-s iframe{
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 0%;   
}
#zazen-map{    
    margin-top:25px;
}
.flex-a{
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.about-zazen-b-ph{
    width: 80%;
    padding-left: 3px;
    padding-right: 3px;
}
#zazen-space{
    display: flex;
    margin: auto;
    width: 80%;
    margin-top: 80px;
    margin-bottom: 80px;
}
#zazen-spacce-1{
    width: 20%;
}
#zazen-space-1 h2{
    writing-mode: vertical-rl;
    text-shadow: 1px 2px 3px #000000;
    width: 50px;
    background-color: #b22222;
    color: beige;
    padding: 8px;
    box-shadow: 10px 10px 2px 2px rgba(0,0,0,0.3);
}
#zazen-space-2{
    width: 80%;
    padding-left: 5%;
}

/*---ほっとたいむ---*/

.not-available{
    text-decoration: line-through;
}

#hottime-1{
    background: url(../main/zazen/zazen.img/IMG_6835.JPG) no-repeat;
    background-position:center;
    background-size:cover;
    height: 70vh;
    margin-top: 200px;
    margin-bottom: 150px; 
}
#hottime-1 .about-zazen{
    writing-mode: vertical-rl;
    height: 420px;
    position: absolute;
    left: 48%;
    color:floralwhite;
    font-size: 40px;
    text-shadow: 0 0 5px #000;
}
#hottime-b{
    display: flex;
    font-size: 19px;
    width: 55%;
    height: 50％;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 150px;
}

@media screen  and (min-width: 768px) {
    #zazen-zazen{
        width: 60%;
        margin: auto;
        margin-top: 90px;
        margin-bottom: 100px;
    }
    #zazen-bord{
        margin-top: 15px;
        margin-left: 23%;
    }
    #zazen-map{
        margin-right: 20%;
    }
    #about-zazen-b{
        width: 60%;
    }
    #syusoku-ph{
        margin-top: 20px;
        margin-left: 30%;
    }
    #syusoku-info{
        padding-right: 22%;
    }
    #hottime-b{
        font-size: 17px;
    }
 }

@media screen  and (min-width: 1000px) {
    #zazen-info p{
    font-size: 16px;
    }
}

/*-----随喜庵ごよみのページ-----*/

#hermitage-01{
    margin-top: 100px;
}
.hermitage-ph{
    width: 75%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: center;
}
#hermitage-fuyu-04{
    width: 55%;
}
#hermitage-f1 img{
    width: 70%;
}
.works-p{
    width: 80%;
    margin: auto;
    text-align: center;
}
.works-text-2{
    margin-top: 50px;    
}
.flex-2ph{
    display: flex;
    justify-content:center;
    margin: auto;
    width: 80%;
}

@media screen  and (min-width: 768px) {
    .hermitage-ph{
        width: 60%;
        margin: auto;
        margin-top: 100px;
        margin-bottom: 10px;
    }
   #hermitage-fuyu-04{
        width: 40%;
    }
   #hermitage-f1 img{
    width: 50%;
}
    .works-p{
    width: 50%;
    text-align: center;
    }
    .works-text-2{
    margin-top: 80px;
    margin-bottom:100px; 
}
    .past-section{
        width: 60%;
        margin: auto;
        margin-top: 50px;
    }
}

/*-----ブログのページ------*/
.past-blog {
    margin-top: 100px;
    position: relative;
    padding-top: 100%;
}
.past-blog iframe {
     width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 100px;
    padding-left: 20px;
    padding-right: 20px;
}

/*-----体験申込・問合せのページ-----*/

#form{
    margin-top: 100px;
}
/*----プライバシーポリシーのページ---*/
#policy-msg{
    margin-top: 100px;
}

/*---grid---*//*---モバイル・ＰＣ切替---*/
   
@media screen  and (min-width: 768px) {
    .pc-grid-col2,
    .pc-grid-col3,
    .pc-grid-col3-access{
        display: flex;
        flex-wrap: wrap;
        justify-content:  space-between;
    }
    .pc-grid-col2 .col2{
        width: 48%;
    }
    .pc-grid-col3 .col{
        width: 30%;
    }
    .pc-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    }    
    .col-pc{
        width: 24%;
    }
    .about-title h2{
        font-size: 40px;
    }
    .about-title p,.zazen-a{
        font-size: 28px;
    }
    .header-title{
        font-size: 25px;
        height: auto;
    }
    .b-nav li a{
        font-size: 15px;
    }   
 }
      
    @media screen  and (max-width: 768px){
    .col-pc h2{
        font-size: 17px;
    }
    .pc-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content: space-between;
    }        
}

/*--------/pc-grid------*/
