@charset "utf-8";

/* 基本要素 */

body {
    margin: 0;
    padding: 0;
}

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.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

p {
    margin-top: 0;
    line-height: 1.6;
}

img {
    vertical-align: bottom;
}

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

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

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


/* ヘッダー */

header {
    margin: 0 auto;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.87, #b4ddfe), color-stop(0.07, #96bfe0));
    background: -webkit-linear-gradient(top, #0d4996 7%, #96bfe0 87%);
    background: -moz-linear-gradient(top, #0d4996 7%, #96bfe0 87%);
    background: -o-linear-gradient(top, #0d4996 7%, #96bfe0 87%);
    background: -ms-linear-gradient(top, #0d4996 7%, #96bfe0 87%);
    background: linear-gradient(to bottom, #0d4996 7%, #96bfe0 87%);
}

header #header_leftside {
    float: left;
    margin: 0 0 0 10px;
}

header #header_rightside {
    float: right;
    margin: 20px 5px 0;
}

.element-1 p {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(12%);
    -ms-transform: translateY(12%);
    transform: translateY(12%);
}

.element-2 p {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
}


/* ナビゲーション */

#global_navi {
    clear: both;
    overflow: hidden;
    margin: 0 auto;
}

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

#global_navi ul li {
    width: 187px;
    float: left;
    padding: 0;
    margin-right: 1px;
    text-align: center;
}

#global_navi ul li a {
    display: block;
    padding: 4px 0 0;
    background-color: #008000;
    color: #fff;
    text-decoration: none;
}

#global_navi ul li.current a {
    background-color: #00aa00;
}

#global_navi ul li a:hover {
    background-color: #cccc00;
}


/* Hover用ナビゲーション */

@media (min-width: 768px) {
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
}

@media (min-width: 1025px) {
    li.wider {
        width: 140px;
        text-align: center;
    }
}


/* Flexbox コンテンツ */

.wrap {
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: center;
}

.part {
    width: 31%;
    margin: 0 5px 10px;
    height: auto;
    text-align: center;
    border: 1px dotted black;
}

.season {
    width: 48%;
    margin: 0 5px 10px;
    height: auto;
    text-align: center;
    border: 1px dotted blue;
}

.part-edge{
    width: 13%;
    height: auto;    
}

.part-center{
    width: 72%;
    height: auto;    
}


/*「銅像制作」ページのFlexbox */

.state {
    display: flex;
}

@media screen and (max-width: 512px) {
    .state {
        flex-direction: column;
    }
}

.state section {
    flex: 1;
    margin: 5px;
    background: #efd4a7;
    padding: 5px;
}

.state p {
    margin-top: 5px;
    line-height: 1.3em;
}

@media screen and (min-width: 512px) and (max-width: 1024px) {
    .state .col-1 {
        flex: 1.25;
    }
    .state .col-2 {
        flex: 1;
        padding: 5px 0 0 10px;
    }
    .state .col-3 {
        padding: 5px 10px 0 0;
        margin: 50px 10px 0 0;
    }
    .state .col-4 {
        flex: 1;
        padding: 5px 0 0 5px;
        margin: 5px 5px 0 5px;
    }
    .state .col-5 {
        padding: 5px 10px 0 0;
        margin: 60px 10px 0 0;
    }
    .state .col-6 {
        flex: 1.25;
    }
    .state .col-7 {
        flex: 1.25;
    }
    .state .col-8 {
        padding: 5px 0px 0 5px;
        margin: 220px 0px 0 10px;
    }
    .state .col-9 {
        flex: 1;
        padding: 5px 5px 0 0;
        margin: 80px 5px 0 5px;
    }
    .state .col-10 {
        flex: 1;
    }
    .state .col-11 {
        flex: 1.5;
        margin: 50px 0 0 0;
    }
    .state .col-12 {
        margin: 0px 0 0 0;
    }
    .state .col-13 {
        flex: 1.4;
        margin: 100px 0 0 0;
    }
    .state .col-14 {
        flex: 1;
    }
    .state .col-15 {
        flex: 0.3;
    }
    .state .col-16 {
        flex: 0.1;
    }
    .state .col-17 {
        flex: 0.3;
    }
}

@media screen and (min-width: 1025px) {
    .state .col-1 {
        flex: 1.25;
    }
    .state .col-2 {
        flex: 1;
        padding: 5px 0 0 10px;
    }
    .state .col-3 {
        padding: 5px 10px 0 0;
        margin: 70px 10px 0 0;
    }
    .state .col-4 {
        flex: 1;
        padding: 5px 0 0 5px;
        margin: 5px 5px 0 5px;
    }
    .state .col-5 {
        padding: 5px 10px 0 0;
        margin: 150px 10px 0 0;
    }
    .state .col-6 {
        flex: 1.25;
    }
    .state .col-7 {
        flex: 1.25;
    }
    .state .col-8 {
        padding: 5px 0px 0 10px;
        margin: 300px 0px 0 10px;
    }
    .state .col-9 {
        flex: 1;
        padding: 5px 0 0 5px;
        margin: 80px 5px 0 5px;
    }
    .state .col-10 {
        flex: 1;
    }
    .state .col-11 {
        flex: 1.5;
        margin: 50px 0 0 0;
    }
    .state .col-12 {
        margin: 50px 0 0 0;
    }
    .state .col-13 {
        flex: 1.2;
        margin: 150px 0 0 0;
    }
    .state .col-14 {
        flex: 0.9;
    }
    .state .col-15 {
        flex: 0.3;
    }
    .state .col-16 {
        flex: 0.2;
    }
    .state .col-17 {
        flex: 0.3;
    }
}


/* サイドバー */

#sidebar {
    width: 190px;
    float: left;
}


/* パンくずリスト */

#bread-crumb {
    font-size: 14px;
}

#bread-crumb ol {
    list-style: none;
    margin: 0 0 10px 0px;
    padding: 0 0 0 15px;
}

#bread-crumb ol li {
    display: inline;
}

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

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


/* 左サイド */

#side_navi {
    width: 190px;
    float: left;
    clear: both;
    overflow: hidden;
    margin: 0 auto;
}

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

#side_navi ul li {
    width: 190px;
    margin: 0 0 0 1px;
    padding: 0;
    border-radius: 3px;
    text-align: center;
}

#side_navi ul li a {
    display: block;
    padding: 6px 0;
    margin: 0 auto 6px;
    border-radius: 5px;
    background-color: #0f7777;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s linear;
}

#side_navi ul li.current a {
    background-color: #4bb3b3;
}

#side_navi ul li a:hover {
    background-color: #997777;
}


/* サイド バナー */

#side_banner {
    margin-bottom: 30px;
}

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

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

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

#side_contact {
    width: 190px;
    color: #7F7259;
    text-align: center;
    margin: 20px 0;
    border: 2px solid;
}

#side_contact h4 {
    background-color: #b7a077;
    color: #fff;
    padding: 7px;
    font-size: 15px;
}

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

#side_contact address img {
    vertical-align: middle;
    margin-right: 5px;
}

#side_contact .contact_button {
    display: inline-block;
    background: #f1ede4;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f1ede4));
    background: -webkit-linear-gradient(top, #ffffff 0%, #f1ede4 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f1ede4 100%);
    color: #b7a077;
    padding: 10px;
    border: 1px solid #b7a077;
    border-radius: 5px;
    text-decoration: none;
}

#side_contact .contact_button:hover {
    background: #b7a077;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #b7a077), color-stop(100%, #e2cda7));
    background: -webkit-linear-gradient(top, #b7a077 0%, #e2cda7 100%);
    background: linear-gradient(to bottom, #b7a077 0%, #e2cda7 100%);
    color: #fff;
}


/* メイン部分 */

#main {
    width: 570px;
    float: left;
    margin: 0 5px;
}

#annual li {
    display: inline;
}


/* 右カラム */

#right-side {
    width: 190px;
    float: right;
}


/* 右ボックス */

.box-1 {
    text-align: center;
    font-size: 13px;
    color: blue;
    margin: 20px auto 0;
    border: 2px solid white;
    border-radius: 5%;
    padding: 4px 2px;
    background-color: #dcffff;
    width: 160px;
}


/* フッター */

#pageTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

#pageTop a {
    display: block;
    z-index: auto;
    padding: 3px;
    border-radius: 10px;
    width: 75px;
    height: 30px;
    background-color: #6da4a0;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

#pageTop a:hover {
    text-decoration: none;
    opacity: 0.7;
}

footer {
    background-color: #2760a6;
    text-align: center;
}

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: #fff;
}


/* パンくずリスト */

#breadcrumb {
    font-size: smaller;
}

#breadcrumb ol {
    list-style: none;
    margin: 0 0 10px 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: 960px;
    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;
}


/* ニュース */

#news dl {
    overflow: hidden;
}

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

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


/* 講座案内ページ */

#course table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

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

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


/* ギャラリーページ */

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

#gallery ul li {
    width: 220px;
    margin: 0 30px 30px 0;
    padding: 10px 0;
    border: solid 1px #ccc;
    float: left;
    text-align: center;
    color: #b7a077;
    font-weight: bold;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

#gallery ul li:nth-child(3n) {
    margin-right: 0;
}


/* お問い合わせページ */

#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: #fff;
    border-left: 1px solid #ddd;
    margin-left: 13em;
}

.must {
    color: #f00;
}

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

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

#entry #category2,
#entry #category3,
#entry #questionnaire2,
#entry #questionnaire3 {
    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: #fff;
    cursor: pointer;
    transition: background 0.1s linear;
}

#entry #submit_button:hover {
    background: #c7ae81;
}


/* ---------------------------------
メディアクエリー
--------------------------------- */

@media screen and (max-width: 470px) {
    .part {
        width: 95%;
        margin: 0 5px 10px;
        height: auto;
        text-align: center;
        border: 1px dotted black;
    }
    .season {
        width: 95%;
        margin: 0 5px 10px;
        height: auto;
        text-align: center;
        border: 1px solid blue;
    }
}

@media screen and (min-width: 471px) and (max-width: 900px) {
    .part {
        width: 47%;
        margin: 0 5px 10px;
        height: auto;
        text-align: center;
        border: 1px dotted black;
    }
    .part-0 {
        width: 47%;
        margin: 0 5px 10px;
        height: auto;
        text-align: center;
    }
}

@media screen and (min-width: 471px) and (max-width: 600px) {
    .season {
        width: 95%;
        margin: 0 5px 10px;
        height: auto;
        text-align: center;
        border: 1px solid blue;
    }
}

@media screen and (max-width: 767px) {
    img {}
    /* Layout */
    header,
    #global_navi,
    #sidebar,
    #wrapper {
        width: 100%;
    }
    /* ヘッダー */
    header h1 {
        float: none;
        text-align: center;
    }
    header h1 img {
        width: 50%;
    }
    header #header_contact {
        display: none;
    }
    /* ナビゲーション */
    #global_navi ul li {
        width: 50%;
        padding: 0.5px;
        margin: 0;
        box-sizing: border-box;
    }
    #global_navi ul li a {
        margin: 0;
    }
    #global_navi 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_left {
        float: left;
    }
    .side_right {
        float: right;
    }
    .side_center {
        display: inline-block;
    }
    .side_clear {
        clear: both;
    }
    #side_banner ul li {
        text-align: center;
        margin: 11px auto;
    }
    #side_contact address img {
        width: 14px;
        height: 20px;
    }
}