@charset "utf-8";

/* -------------------- 全てのページに適用 --------------------- */
a { color: #b7a077; }

a:visited { color: #a8a8a8;}

a:hover {
    color: #988564;
    font-weight: bold;
    text-decoration: none;
}

a img { transition: opacity 0.2s linear; }

a:hover img { opacity: 0.7s;}

p {
    margin-top: 0;
    line-height: 1.6;
}
/* メインビジュアル */
.main-visual {
    max-width: 980px;
    margin: 0 auto 20px auto;
}

.main-visual img {
    width: 100%;
}

#main h1 {
    background-image: url(../images/header_bg.jpg);
    background-repeat: repeat-x;
    padding: 13px 30px 10px 20px;
    font-size: 26px;
    color: #44382b;
    border-bottom: solid 3px #716961;
}

#main h2 {
    font-size: 22px;
    border: 1px solid #b7a077;
    padding: 10px 20px;
    border-radius: 5px;
}

#main  h3 {
    font-size: 18px;
    border-left: solid 3px #b7a077;
    padding: 0 0 0 14px;
}

/* ヘッダー */
header {
    width: 980px;
    margin: 0 auto;
}

.logo {
    margin: 5px 0;
    padding: 0;
}

/* ナビゲーション */
.nav {
    width: 980px;
    margin: 16px auto;
}

.nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
}

.nav ul li {
    width: 195px;
    margin-right: 1px;
    text-align: center;
}

.nav ul li a {
    display: block;
    padding: 16px;
    background-color: #352b23;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s linear;
}

.nav ul li a:hover {
    background-color: #8c7a5b;
}

/* コンテンツ全体 */
#wrapper {
    width: 980px;
    margin: 0 auto;
    overflow: hidden;
}
/* メイン */
#main {
    width: 730px;
    float: left;
}

/* サイドボックス */
#sidebox {
    width: 220px;
    float: right;
}

#side_banner { margin-bottom: 30px;}

#side_banner h2 {
    background-color: #716961;
    color: white;
    padding: 7px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

#side_banner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#side_banner ul li { margin-bottom: 10px; }

#side_contact { margin-bottom: 30px; }

#side_contact {
    border: 1px solid #b7a077;
    color: #7f7259;
    text-align: center;
}

#side_contact h2 {
    background-color: #b7a077;
    color: white;
    padding: 7px;
    font-size: 14px;
}

#side_contact p {
    margin: 10px 0;
}

#side_contact address {
    font-weight: bold;
    font-size: 20px;
    font-style: normal;
    margin-top: 10px;
}

/* フッター */
footer{
    background-color: #352b23;
    text-align: center;
    clear: both;
}

footer #footer-nav {
    background-color: #efefef;
    padding: 10px 0;
}

footer #footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer #footer-nav li {
    display: inline;
    border-left: solid 1px #aaa;
    margin-left: 8px;
    padding-left: 8px;
    font-size: smaller;
}

footer #footer-nav li:last-child {
    border-right: solid 1px #aaa;
    padding: 0 8px;
}

footer small {
    display: block;
    padding: 8px 0;
    color: white;
}
/* ------------------------ パンくずリスト ----------------------- */
#breadcrumb {
    font-size: smaller;
}

#breadcrumb  ol {
    list-style: none;
    margin-bottom: 10px;
    padding: 0;
}

#breadcrumb ol li {
    display: inline;
}

#breadcrumb ol li::after {
    content: ">";
    padding-left: 7px;
}

#breadcrumb ol li:last-child::after { content: none; }

/* -------------------- トップページ --------------------- */
#main-visual {
    width: 980px;
    height: 440px;
    margin: 0 auto 25px;
}

/* こだわり */
#point { margin-bottom: 30px;}

#point section {
    margin-bottom: 10px;
    overflow: hidden;
}

#point figure {
    float: right;
    margin: 0 0 0 16px;
}

#point figcaption {
    font-size: 12px;
    color: #9c9689;
    text-align: center;
}

#point h3 {
    margin: 15px 0;
}

/* ニュース */
#news {
    margin-bottom: 30px;
}

#news dt {
    float: left;
    width: 8px;
    margin-bottom: 10px;
    clear: both;
}

#news dd {
    margin-left: 8em;
    margin-bottom: 10px;
}

#news h2 {
    margin-bottom: 15px;
}

/* ------------------------ 講座案内 --------------------------- */
#course table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

#course th,#course td {
    border: 1px solid  #c7c7c7;
    padding: 8px;
}

#course th {
    background-color: #f1ede4;
    text-align: center;
    width: 5em;
}

#course h2 {
    margin: 20px 0;
}

#course h3,p {
    margin: 20px 0;
}

/* ------------------------- ギャラリー -------------------------*/
#gallery ul {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    list-style: none;
}

#gallery ul li {
    padding: 10px 0;
    border: solid 1px #ccc;
    text-align: center;
    color: #b7a077;
    font-weight: bold;
}

#gallery h2 {
    margin: 20px 0;
}

#gallery {
    margin-bottom: 35px;
}

/* ------------------------- アクセス ------------------------- */
#access h1,h2 {
    margin-bottom: 20px;
}

#map {
    margin-bottom: 20px;
}

#map h3 {
    margin-bottom: 20px;
}

/* ----------------------- お問い合わせ -------------------------*/
input[type="text"],input[type="email"],textarea {
    border: solid 1px #7f7259;
    max-width: 100%;
}

select {
    border: solid 1px #7f7259;
    padding: 5px 0;
    width: 400px;
}

.must { color: red; }

#entry dl {
    background: #f1ede4;
    border: 1px solid #ddd;
    border-top: 0;
}

#entry dl dt,#entry dl dd {
    padding: 10px;
    border-top: 1px solid #ddd;
}

#entry dl dt {
    width: 13em;
    float: left;
    clear: both;
    font-weight: bold;
}

#entry dl dd {
    background-color: white;
    border-left: 1px solid #ddd;
    margin-left: 13em;
}

#entry #name {
    width: 15em;
    padding: 3px;
}

#entry #email {
    width: 25em;
    padding: 3px;
}

#entry #category2,#entry #category3 {
    margin-left: 15px;
}

#entry #detail {
    width: 36em;
    height: 15em;
}

#entry #submit_button_cover {
    text-align: center;
}

#entry #submit_button {
    background-color: #b7a077;
    border: 1px solid #b7a077;
    padding: 15px 100px;
    border-radius: 10px;
    font-size: 18px;
    color: white;
    cursor: pointer;
    transition: background 0.1s linear;
}

section h2 {
    margin-bottom: 20px;
}

#entry #chance2,#entry #chance3 {
    margin-left: 15px;
}

/* ----------------------- モバイル対応 ------------------------ */
@media(max-width: 767px) {
    .main-visual {
        margin: 0 15px 10px 15px;
    }

    img {
        max-width: 100%;
    }

    header,.nav,#sidebox,#wrapper {
        width: 100%;
    }

    header h1 {
        text-align: center;
    }

    header h1 img {
        width: 50%;
    }

    .nav ul {
        flex-direction: column;
        margin: 0 15px;
    }

    .nav ul li {
        width: 100%;
        padding: 0.5px 0;
        margin: 0;
    }

    .nav ul li a {
        margin: 0;
    } 

    .nav ul li:last-child {
        width: 100%;
    }

    #main {
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
    }

    #main figure {
        text-align: center;
    }

    #main-visual {
        width: 100%;
        height: auto;
    }

    #point figure {
        float: none;
        margin: 0 0 11px 0;
    }

    #side_banner ul li {
        text-align: center;
        margin: 11px auto;
    }

    #side_contact address img {
        width: 14px;
        height: 20px;
    }

    #breadcrumb {
        margin-left: 26px;
    }

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

    #map iframe {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
    }

    select {
        width: 100%;
    }

    label {
        display: block;
        padding-left: 0;
    }

    .any {
        margin-left: 15px;
    }

}