@charset "utf-8";

/* CSS Document */


/*
Theme Name: site2016
Theme URI: localhost/dan2018/
Description: Ken Nonoyama Website
*/


/****************************************
		General Setting 
****************************************/

html {
    overflow: scroll;
}

body {
    font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 16px;
    line-height: 1.7em;
    background-color: #FFDC73;
    margin: 0;
}

.container {
    width: 100%;
}

@media screen and (min-width: 960px) {
    .container {
        width: 960px;
        margin: 0 auto;
    }
}

p {
    font-size: 16px;
    margin: 0 0 0.7em 0;
}

h1 {
    font-size: 200%
}

h2 {
    font-size: 130%
}

h3 {
    font-size: 110%
}

a,
a:visited {
    color: #8C4600;
}

a:hover {
    color: #f00;
}

.clearfix {
    overflow: hidden;
}

*html .clearfix {
    zoom: 1;
}

img {
    max-width: 100%;
    height: auto;
    width/***/
    : auto;
    vertical-align: bottom;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-top: 0.7rem;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    padding: 0rem 0;
}

.center {
    text-align: center !important;
}

.add_border {
    border: 1px solid #999;
}

.wp-block-buttons {
    padding-top: 2rem; 
}
/****************************************
		Header 
****************************************/

#head {
    background-color: #FFDC73;
    z-index: 2;
    position: relative;
}

#header-inner {
    z-index: 2;
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    background-color: #FFDC73;
}

#logo {
    margin: 0 0 0 0.6rem;
    z-index: 2;
}

@media screen and (min-width: 960px) {
    #logo {
        margin: 0 0 0 0;
        z-index: 2;
    }
}

#logo svg {
    width: 240px;
    height: 60px;
    fill: #f00;
}

@media screen and (min-width: 960px) {
    #header-inner {
        width: 960px;
        margin: 0 auto;
    }
}


/****************************************
		Header - Menu Button 
****************************************/

.menu-button {
    width: 100%;
}

.menu-btn {
    position: absolute;
    z-index: 3;
    color: #000;
    display: block;
    font-size: 40px;
}


/****************************************
		Header - Drawer 
****************************************/

label.menu-btn {
    position: absolute;
    top: 14px;
    right: 18px;
}

.whole {
    -webkit-transform: translate3d(0, -255px, 0);
    -moz-transform: translate3d(0, -255px, 0);
    -o-transform: translate3d(0, -255px, 0);
    transform: translate3d(0, -255px, 0);
    -webkit-transition: transform 0.25s linear;
    -moz-transition: transform 0.25s linear;
    -o-transition: transform 0.25s linear;
    transition: transform 0.25s linear;
    z-index: 0;
}

.check:checked~.whole {
    -webkit-transform: translate3d(0, -1px, 0);
    -moz-transform: translate3d(0, -1px, 0);
    -o-transform: translate3d(0, -1px, 0);
    transform: translate3d(0, -1px, 0);
}

.check {
    display: none;
}

nav.drawer-nav li {
    margin-top: 1px;
    height: 38px;
    padding: 12px 0 0 3%;
    background-color: #D9A300;
    z-index: -1;
}

nav.drawer-nav a {
    text-decoration: none;
    display: block;
    color: #FFEFBF;
    font-weight: bold;
}

@media screen and ( min-width:600px) {
    .whole {
        -webkit-transform: translate3d(0, 254px, 0);
        -moz-transform: translate3d(0, 254px, 0);
        -o-transform: translate3d(0, 254px, 0);
        transform: translate3d(0, -1px, 0);
    }
    .menu-btn {
        display: none;
    }
    .drawer-nav {
        display: none;
    }
}


/****************************************
		Header - Search 
****************************************/

div#header-search {
    display: none;
}

@media screen and ( min-width:600px) {
    div#header-search {
        display: block;
        margin: 14px 0.6rem 0 0;
    }
    #s {
        width: 200px;
        height: 1.5rem;
        border-top: 1px solid #999;
        border-right: none;
        border-bottom: 1px solid #999;
        border-left: 1px solid #999;
    }
    #searchsubmit {
        padding: 0.1rem 0.8rem;
        font-family: fontello;
    }
    #search #searchform {
        position: relative;
    }
}

#searchform input[type=submit] {
    -webkit-appearance: none;
    border-radius: 0;
    background-color: #ddd;
    height: 1.7rem;
}

@media screen and ( min-width:960px) {
    div#header-search {
        margin: 14px 0rem 0 0;
    }
}


/****************************************
		Header - Main Nav 
****************************************/

#main-nav {
    display: none;
}

@media screen and (min-width: 768px) {
    #main-nav {
        display: block;
        background: #D9A300;
    }
}

#main-nav ul {
    display: flex;
    justify-content: space-between;
}

#main-nav ul li {
    width: 20%;
}

#main-nav a {
    display: block;
    height: 32px;
    text-decoration: none;
    text-align: center;
    color: #fff;
    padding-top: 0.4em;
}

li.menu-item {
    border-left: 1px solid #FFDC73;
}

li.menu-item:last-child {
    border-right: 1px solid #FFDC73;
}

#main-nav a:hover {
    background-color: #FFE599;
    color: #666;
}


/****************************************
		Content 
****************************************/

div.main {
    width: 100%;
    background-color: #fff;
}

div.main-inner {
    padding: 1rem;
}

div.main-inner h3 {
    margin: 40px 0 20px 0;
    border-left: 5px solid #F00;
    border-bottom: 1px solid #f00;
    padding: 10px 0 5px 10px;
}

div.main-inner li {
    list-style: disc;
    margin: 0 0 0 20px;
}

@media screen and ( min-width:960px) {
    div.main {
        width: 73%;
        margin: 0 0 20px 0;
    }
    div.main-inner {
        padding: 2rem;
    }
}

h2.titlebar-title {
    color: #fff;
    background-color: #D9A300;
    padding: 0.4rem 1rem;
    margin: 0 0 4rem 0;
}


/****************************************
		Breadcrumb 
****************************************/

div#breadcrumb {
    padding: 0.6em 5%;
    background-color: #FFE599;
}

div#breadcrumb li {
    float: left;
    margin: 0 0.4rem 0 0;
}

@media screen and ( min-width:980px) {
    div#breadcrumb {
        padding: 0.6em 0;
        background-color: #FFDC73;
    }
}


/****************************************
		Post 
****************************************/

article.post {
    padding: 0 2% 30px 2%;
    margin: 0 0 60px 0;
    border-bottom: 1px dotted #666;
}

article.post:last-child {
    padding: 0 0 0px 0;
    margin: 0 0 0px 0;
    border-bottom: none;
}

article.post p {
    margin-bottom: 1.5em;
}

article.post h4 {
    margin: 0 0 20px 0;
}

article.post h5 {
    margin: 0 0 10px 0;
    padding: 4px 20px;
    background-color: #FFDC73;
}

article.post-index {
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
    border-bottom: 1px dotted #666;
}

article.post img {
    margin: 20px 0;
}

p.post-date {
    text-align: right !important;
    font-size: 14px;
    margin: 0 0 20px 0;
}

article.post h2,
article.post-index h2,
article.post-whatsnew h2 {
    margin: 0 0 5px 0;
}

article.post h2 a,
article.post-index h2 a,
article.post-whatsnew h2 a {
    text-decoration: none;
}

div.thumbnail-box {
    float: left;
    width: 200px;
    height: 150px;
    margin: 0 20px 0px 0;
}

p.readmore {
    text-align: right;
    margin: 5px 0 0 0;
}

p.readmore:before {
    font-family: 'fontello';
    color: #D9A300;
    content: '\61';
    margin: 0 0.3em 0 0;
}

img.header-image {
    margin: 0;
}

.post li li li{
    list-style: katakana;
}

@media screen and (min-width: 960px) {
    img.header-image {
        margin: 0 0 1.5rem 0;
    }
}


/****************************************
		Page Navi 
****************************************/

div#pagenavi {
    width: 640px;
}


/****************************************
		Home 
****************************************/

div#top-inner {
    width: auto;
    background-color: #fff;
    padding: 10px;
}

article.post-whatsnew img {
    border: none;
}

article.post-whatsnew h2 {
    margin: 0 0 0px 0;
}

article.post-whatsnew p.post-date {
    margin: 0 0 10px 0;
}

@media screen and ( min-width:980px) {
    div#top-inner {
        padding: 20px;
        margin: 0 0 20px 0;
    }
}


/****************************************
		Home - Main Visual 
****************************************/

@media screen and (min-width: 960px) {
    div#main-visual {
        width: 960px;
        height: auto;
    }
}


/****************************************
		Home - Member Nav 
****************************************/

#member-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#member-nav a:hover {
    opacity: 0.8;
    background: #FFD24D;
}

@media screen and (min-width: 544px) {
    #member-nav {
        display: flex;
        justify-content: space-between;
    }
}


/****************************************
		Home - Column 
****************************************/

#top-panel {
    display: block;
    background: #fff;
    padding: 1em;
}

.top-panel-item {
    border: 1px solid #D9A300;
    margin-bottom: 1rem;
}

.top-panel-item:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    #top-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }
    .double {
        grid-column: 1 / 3;
    }
    .top-panel-item {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 960px) {
    #top-panel {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.top-panel-item h2 {
    text-align: center;
    background: #D9A300;
    height: 2rem;
    color: #fff;
    font-weight: normal;
    padding-top: 0.2em;
    font-size: 1.2em;
    margin: 0;
}

.top-panel-item p {
    text-align: left;
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

#link-panel {
    display: block;
    background: #fff;
    padding: 1em;
}

.link-item {
    margin-bottom: 1rem;
}

.link-item img {
    width: 100%;
}


@media screen and (min-width: 544px) {
    #link-panel {
        display: grid;
        gap: 1em;
        grid-template-columns: 1fr 1fr;
    }
    .link-item {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 768px) {
    #link-panel {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


/****************************************
		Members 
****************************************/

div#member-list {
    display: none;
}

div#member-map {
    display: block;
    width: auto;
    margin: 0 0 30px 0;
    padding: 0 5%;
}

div.member-label {
    width: 100%;
    height: auto;
}

div.member-label ul li {
    float: left;
    width: 20%;
}

@media screen and ( min-width:720px) {
    div#member-map {
        width: 640px;
    }
    div.member-label {
        width: 640px;
    }
    div.member-label ul li {
        float: left;
        width: 128px;
    }
}

@media screen and ( min-width:980px) {
    div#member-map {
        display: none;
    }
    div#member-list {
        display: block;
        position: relative;
        width: 980px;
        height: 800px;
        margin: 0 0 30px 0;
    }
    img.map-default {
        position: absolute;
        left: 0px;
        z-index: -1;
    }
    #member-list a {
        background-repeat: no-repeat;
        display: block;
        text-indent: -9999px;
        transition: all 0.3s ease;
    }
    #member-list a .member-01 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        background-image: url(images/member-01.jpg);
    }
    #member-list a:hover .member-01 {
        background-position: 0 80px;
    }
    #member-list a .member-02 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 90px;
        background-image: url(images/member-02.jpg);
    }
    #member-list a:hover .member-02 {
        background-position: 0 80px;
    }
    #member-list a .member-03 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 270px;
        background-image: url(images/member-03.jpg);
    }
    #member-list a:hover .member-03 {
        background-position: 0 80px;
    }
    #member-list a .member-04 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 360px;
        background-image: url(images/member-04.jpg);
    }
    #member-list a:hover .member-04 {
        background-position: 0 80px;
    }
    #member-list a .member-05 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 450px;
        background-image: url(images/member-05.jpg);
    }
    #member-list a:hover .member-05 {
        background-position: 0 80px;
    }
    #member-list a .member-06 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 540px;
        background-image: url(images/member-06.jpg);
    }
    #member-list a:hover .member-06 {
        background-position: 0 80px;
    }
    #member-list a .member-07 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 630px;
        background-image: url(images/member-07.jpg);
    }
    #member-list a:hover .member-07 {
        background-position: 0 80px;
    }
    #member-list a .member-08 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 180px;
        background-image: url(images/member-08.jpg);
    }
    #member-list a:hover .member-08 {
        background-position: 0 80px;
    }
    #member-list a .member-09 {
        width: 300px;
        height: 80px;
        position: absolute;
        left: 680px;
        top: 720px;
        background-image: url(images/member-09.jpg);
    }
    #member-list a:hover .member-09 {
        background-position: 0 80px;
    }
    #member-list a:hover .map {
        position: absolute;
        top: 0px;
        display: block;
    }
    #member-list a .map {
        display: none;
    }
}


/****************************************
		Members - SNS 
****************************************/

div#sns {
    margin: 30px 0 0px 0;
}

div#sns i.icon-home-1 {
    color: #D9A300;
}

div#sns i.icon-twitter {
    color: #55ACEE;
}

div#sns i.icon-facebook-squared {
    color: #44609D;
}


/****************************************
		Whatsnew 
****************************************/

div#whatsnew {
    padding: 0 1rem;
    text-align: left;
}

div#whatsnew h3 {
    font-size: 1.2rem;
    margin-bottom: 0rem;
}

div#whatsnew h3 a {
    text-decoration: none;
}


/****************************************
		Activities 
****************************************/

.question-answer {
    background: #E5E5E5;
    padding: 2rem;
    margin-bottom: 4rem;
    border-radius: 0.4rem;
    border-radius: 0.5rem;
}

.question-answer p {
    font-size: 0.9rem;
}

.question-answer:last-child {
    margin: 0;
}

.question-answer p:last-child {
    margin: 0;
}

.question-index {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.question-index ol {
    padding-left: 1rem;
}

.question-index a {
    text-decoration: none;
}

.question-index ol li {
    padding-bottom: 2rem;
    font-weight: bold;
    font-size: 1rem;
    list-style: decimal;
}

.question-index ul {
    counter-reset: number 0;
    padding-left: 0;
}

.question-index li li {
    list-style: none;
    display: block;
    padding-bottom: 0;
    padding-left: 0rem;
    font-weight: normal;
    font-size: 1rem;
}

.question-index li li::before {
    counter-increment: number 1;
    content: "（" counter(number) "）";
    margin-left: -2rem;
}

.question-index ol ul ol {
    counter-reset: kana 0;
}

.question-index li li li::before {
    counter-increment: kana 1;
    content: counter(kana, katakana) "、";
    margin-left: -2rem;
}


/****************************************
		Consulttation 
****************************************/

form.wpcf7-form p {
    margin: 0 0 1em 0;
}

textarea.wpcf7-textarea {
    width: 99%;
}

form.wpcf7-form img.ajax-loader {
    margin: 0 auto;
}

#contact-form {
    border: 1px dotted #666;
    padding: 20px;
    margin: 40px 0 0 0;
}


/****************************************
		Dan-news 
****************************************/

div#article-dan-news img {
    border: 1px solid #666;
    margin: 30px 0 0 0;
}

div#article-dan-news li {
    list-style: none;
    margin: 0;
}

div#article-dan-news li {
    padding-left: 1.3em;
    text-indent: -1.3em;
}

div#article-dan-news li:before {
    content: '\70';
    margin: 0 0.3em 0 0;
    font-family: 'fontello';
    color: #D9A300;
}

.news li {
    list-style: circle;
}


/****************************************
		Sidebar 
****************************************/

aside#side {
    display: none;
}

@media screen and ( min-width:980px) {
    aside#side {
        display: block;
        width: 25%;
    }
    div#side-inner ul {
        margin: 0 0 30px 0;
    }
    div#side-inner li li {
        padding-left: 1.3em;
        text-indent: -1.3em;
    }
    div#side-inner ul ul ul.children {
        margin-bottom: 0;
    }
    .widget h2 {
        font-size: 16px;
        font-weight: normal;
        color: #fff;
        height: 26px;
        background-color: #D9A300;
        padding: 4px 0 0 20px;
        margin: 0 0 10px 0;
        /* Firefox v1.0+ */
        -moz-border-radius: 2%;
        /* Safari v3.0+ and by Chrome v0.2+ */
        -webkit-border-radius: 2%/26%;
        /* Firefox v4.0+ , Safari v5.0+ , Chrome v4.0+ , Opera v10.5+  and by IE v9.0+ */
        border-radius: 2%/26%;
    }
    .widget_recent_entries li:before,
    .widget_archive li:before,
    .widget_categories li:before {
        font-family: 'fontello';
        color: #D9A300;
    }
    .widget_recent_entries li:before {
        content: '\61';
    }
    .widget_archive li:before,
    .widget_categories li:before {
        content: '\61';
        margin: 0 0.3em 0 0;
    }
    .widget_link_banner li {
        margin: 0 0 10px 0;
    }
    div#member-banner li {
        margin: 0 0 10px 0;
    }
    div#member-banner a {
        background-repeat: no-repeat;
        display: block;
        text-indent: -9999px;
    }
    div#member-banner a .member-01 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-01.jpg);
    }
    div#member-banner a:hover .member-01 {
        background-position: 0 80px;
    }
    div#member-banner a .member-02 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-02.jpg);
    }
    div#member-banner a:hover .member-02 {
        background-position: 0 80px;
    }
    div#member-banner a .member-03 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-03.jpg);
    }
    div#member-banner a:hover .member-03 {
        background-position: 0 80px;
    }
    div#member-banner a .member-04 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-04.jpg);
    }
    div#member-banner a:hover .member-04 {
        background-position: 0 80px;
    }
    div#member-banner a .member-05 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-05.jpg);
    }
    div#member-banner a:hover .member-05 {
        background-position: 0 80px;
    }
    div#member-banner a .member-06 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-06.jpg);
    }
    div#member-banner a:hover .member-06 {
        background-position: 0 80px;
    }
    div#member-banner a .member-07 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-07.jpg);
    }
    div#member-banner a:hover .member-07 {
        background-position: 0 80px;
    }
    div#member-banner a .member-08 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-08.jpg);
    }
    div#member-banner a:hover .member-08 {
        background-position: 0 80px;
    }
    div#member-banner a .member-09 {
        width: 300px;
        height: 80px;
        background-image: url(images/member-09.jpg);
    }
    div#member-banner a:hover .member-09 {
        background-position: 0 80px;
    }
}


/****************************************
		Footer 
****************************************/

#foot {
    background: #D9A300;
    margin-top: 0em;
    text-align: center;
    padding: 1rem 0 3rem 0;
}

@media screen and (min-width:960px) {
    #foot {
        margin-top: 1em;
    }
}

#footer-nav {
    display: none;
    margin-bottom: 1rem;
}

@media screen and (min-width:768px) {
    #footer-nav {
        display: block;
    }
}

#footer-nav ul {
    display: flex;
    justify-content: space-between;
}

#footer-nav a {
    display: block;
    width: 20%;
    color: #fff;
    text-decoration: none;
    border-left: 1px solid #dddddd;
}

#footer-nav a:last-child {
    border-right: 1px solid #dddddd;
}

#footer-nav a:hover {
    color: #f00;
}

#foot svg {
    width: 320px;
    height: auto;
    fill: #fff;
    margin: 2rem 0;
}

.copyright,
.address {
    font-size: 0.9em;
}