@charset "UTF-8";

body, html {
    height: 100%;
    position: relative;
    font-family: sans-serif;
    max-width: 100%;
}

div.black {
    height: 20px;
    background-color: #2E2E2E;
}

div.darkgray {
    height: 30px;
    background-color: #909090;
}

div.gray {
    height: 30px;
    background-color: #ccc;
}

div#wrapper {
    width: 80%;
    max-width: 100%;
    margin: 0px auto;
    min-height: 90%;
}

/*ヘッダーの設定
----------------------------------*/

header {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}

header figure {
    width: 250px;
    text-align: center;
    margin: 0px auto;
}

header figure img {
    width: 100%;
    height: auto;
}

header h1 {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 600;
    color: #3c3c3c;
}

/*細々設定
----------------------------------*/

h1 {
    max-width: 960px;
    margin: 0px auto;
    font-size: 1.5rem;
}

h2 {
    width: 600px;
    margin: 20px auto 50px;
    font-size: 2rem;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: solid 4px #e60019;
    border-bottom: solid 4px #e60019;
}

h3 {
    width: 960px;
    margin: 0px auto;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.3rem;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 15px;
    border-left: solid 6px #000;
}

h3 span {
    padding-left: 10px;
}

div.cookie {
    font-size: 1.3rem;
    text-align: center;
    margin: 10px auto 30px;
    max-width: 600px;
    background-color: #f9e7e5;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 15px;
}

.top_info {
    font-size: 1.8rem;
    max-width: 960px;
    margin: 25px auto 0;
}

.red {
    color: #e60019;
}

/* index_topのテーブルの設定
----------------------------------*/

table {
    font-size: 1.5rem;
}

table.faq {
    margin: 0px auto;
    max-width: 960px;
    width: 90%;
}

table.faq table.faq tr td:nth-child(1) {
    width: 1.25em;
}

table td.midashi1 {
    font-size: 1.7rem;
    letter-spacing: 0.2rem;
    border-left: solid 6px #000;
    font-weight: 600;
}

table td.midashi1 p {
    padding-left: 15px;
    font-weight: 600;
}

td.saito {
    width: 30%;
    text-align: center;
}

td.saito a {
    font-size: 1.7rem;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: #e60019;
    text-decoration: none;
    color: #fff;
    box-shadow: 2px 2px 2px 2px #4d4d4d;
}

td.saito a:hover {
    opacity: 0.5;
    transition-duration: 500ms;
}

table.koen {
    border-collapse: collapse;
    margin-right: auto;
    margin-left: auto;
}

p.p-indent {
    text-indent: -2.5em;
    padding-left: 2em;
    box-sizing: border-box;
}

.c-blue {
    color: #03F;
}

/* indexのテーブルの設定
----------------------------------*/

table.koen th, table.koen td {
    border: solid 1px black;   /*実線 1px 黒*/
    padding-top: 8px;
    padding-bottom: 8px;
}

table.koen td.komoku {
    width: 17%;
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.3rem;
}

table.koen td.komoku a {
    color: #000;
    display: block;
    text-decoration: none;
    transition: 0.3s;
}

table.koen td.komoku a:hover {
    opacity: 0.3;
}

table.koen td.ue {
    background-color: #FFF6F7;
}

table.koen td.shita {
    background-color: #efffff;
}

table.koen td.shita:hover {
    opacity: 0.5;
    transition: 0.3s;
}

table.koen td.nakami {
    width: 45%;
}

/*プラポリ部分の設定
----------------------------------*/

div.prapori {
    max-width: 960px;
    margin: 10px auto 0px;
    padding: 11px 30px;
    border-radius: 15px;
    font-size: 1.5rem;
}

div.prapori strong {
    font-size: 10pt;
    display: block;
    color: #898989;
}

hr {
    margin: 10px 0;
}

/*問い合わせ部分の設定
----------------------------------*/

aside {
    text-align: center;
    margin: 40px auto 0px;
    font-size: 1.4rem;
}

/*　フッターの設定
----------------------------------*/

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
}

div.modoru {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    background-color: rgba(200,153,154,0.6);
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    position: fixed;
    z-index: 5000;
    bottom: 50px;
    right: 30px;
}

div.modoru a {
    display: block;
    text-decoration: none;
    color: #FFF;
}

@media screen and (max-width: 640px) {
    h3 {
        max-width: 80%;
    }
    
    div#wrapper table.koen td {
        border: none;
    }
    
    div#wrapper table.koen td.ue {
        width: 100%;
        display: block;
    }
    
    div#wrapper  table.koen td.nakami {
        width: 100%;
        display: block;
    }
    
    table.koen td.komoku {
        width: 100%;
        display: block;
    }
    
    table.top0 {
        width: 90%;
    }
    
    body table.top0 tbody tr td.saito {
        display: block;
        width: 100%;
    }
    
    body table.top0 tbody tr td.saito a {
        display: block;
        width: 100%;
    }
    
    body table.top0 tbody tr td.green {
        display: block;
        padding-top: 15px;
    }
    
    h2 {
        width: 100%;
    }
}
