*{
    margin: 0;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 27px;
    box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}
html{
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body{
    width: 100%;
    font-family:serif;
    background-image: url(../img/back.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px;
}
/* 基本ここまで　*/


header{
    position: relative;
    margin-bottom: 3em;
    width: 100%;
}
.logo{
    height: 100px;
    width: 80px;
    float: right;
    background-image: url(../img/kanimanji_logo.png);
    background-repeat: no-repeat;
    background-size: 80px;
    background-position: right;
}

/* グローバルメニューPC版ここから　*/
#dt{
    border-bottom: 2px solid #8F3744;
    padding-bottom:10px;
    clear: both;
}
#dt ul{
    list-style-type: none;
    display: inline-flex;
}
#dt ul li::before{
    content: '|';
    padding: 0 1em;
    color: #8F3744;
}
#dt ul li:last-child::after{
    content: '|';
    padding: 0 1em;
    color: #8F3744;
}
#dt ul li a{
    text-decoration: none;
    color: #000;
}
#dt ul li a:hover{
    color: #8F3744;
}
.now{
    position: relative;
}

.triangle{
    position: absolute;
    top:37px;
    right: 40%;
    border-top: 10px solid #8F3744;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid transparent;
    
}
/* グローバルメニューPC版ここまで　*/

/* グローバルメニューモバイル版ここから　*/
#mobile{
    width: 100%;
    text-align: center;
    display: none; /* 768px以上の時、非表示　*/
}
.cp_tab{
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-bottom: 3px solid #8F3744;
    height: 90px;
    width: 100%;
}
.tab{
	position: relative;
    border-bottom: 3px solid #8F3744;
    width: 30%;
    height: 90px;
}

.tab a img{
    width: auto;
    height: 100%;
}
.mobile_topimg{
    width: 80%;
    margin-top: 1em;
}
/* グローバルメニューモバイル版ここまで　*/


#main{
    display: table;
    width: 100%;
}
.text,.photo{
    display: table-cell;
    width: 50%;
    vertical-align:top;
}
.photo{
    padding-left: 20px;
}
.photo img{
    width: 100%;
}

/*　表　*/
table{
    width: 100%;
    border-collapse: collapse;
}
tr{
    
}
td{
    border: 1px solid #AE9980;
    padding: 8px;
}

/* 文字関係　*/
h1{
    margin-top: 3em;
    font-size: 18px;
}
.red_label{
    background-image: url(../img/m_title_back.png);
    background-repeat: no-repeat;
    background-size: 100%;
    font-size: x-large;
    color: #E3DDD6;
    padding: 15px;
    margin: 20px 0;
}

p{
    margin-top: 10px;
}
@media (min-width:768px) and ( max-width:1024px){
    /*　画面サイズが768pxから1024pxまではここを読み込む　*/
    .red_label{
        padding: 8px;
    }
}
@media (max-width:768px){
     /*　画面サイズが768pxまではここを読み込む　*/
    body{
        padding: 0;
    }
    header .logo, header #dt{
        display: none; /* PC版メニュー非表示　*/
    }
    header{
        margin: 0;
    }
    #mobile{
        display: block; /* モバイル版メニュー表示　*/
    }
    .red_label{
        font-size: larger;
        padding: 10px 0;
    }
    #main,.text{
        display: block;
        width: 100%;
        padding: 5px;
    }
    #info{
        text-align: center;
    }
    td{
        display: block;
    }
    table td:nth-child(odd){
        background-color: #F5F0EB;
        border-bottom: 0;
    }
    table td:nth-child(even){
        border-bottom: 0;
    }
    tr:last-child{
        border-bottom: 1px solid #AE9980;
    }
    .photo{
        display: none;
        padding: 0;
    }
    .text img{
        width: 100%;
    }
}
@media(max-width: 600px) {
    /*　画面サイズが600pxまではここを読み込む　*/
    .cp_tab,.tab{
        height: 70px;
    }
}

@media(max-width: 480px) {
    /*　画面サイズが480pxまではここを読み込む　*/
    .cp_tab,.tab{
        height: 50px;
    }
    .red_label{
        padding: 0.1em;
    }
}
@media(max-width: 320px) {
    /*　画面サイズが320pxまではここを読み込む　*/
    .cp_tab,.tab{
        height: 45px;
    }
}