@charset "utf-8";
/*
Theme Name: dan2026
Theme URI: localhost/dan2026/
Description: Ken Nonoyama Website
*/

/****************************************

	General Setting 

****************************************/
html {
    overflow: scroll;
    scroll-behavior: smooth;
}
body {
    font-family: 'Lato', 'Noto Sans JP', '游ゴシック Medium', '游ゴシック体', 'Yu Gothic Medium', YuGothic, 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;
    font-size: 16px;
    background-color: #FFEFBF;
    line-height: 1.7em;
    margin: 0;
}
p {
    text-align: justify;
    font-size: 16px;
    margin: 0 0 1.6em 0;
}
h1 {
    font-size: 200%
}
h2 {
    font-size: 130%
}
h3 {
    font-size: 110%
}
a,
a:visited {
    color: #8C4600;
}
a:hover {
    color: #da0000;
}
img {
    max-width: 100%;
    height: auto;
    width/***/
    : auto;
    vertical-align: bottom;
}
ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media screen and ( max-width:999px) {
}
/****************************************

	Common Settings 

****************************************/
.container {
    max-width: 1000px;
    margin: 0 auto;
}
.row {
    display: flex;
    justify-content:space-between ;
}
.page-title {
    max-width: 1000px;
    margin: 40px auto;
    padding-left: 1.5rem;
    font-size: 2.4rem;
    line-height: 1.6;
    font-weight: bold;
    border-left: 8px solid #da0000;
}
#post-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 1.5em;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}
.post-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 1.5em;
    margin-bottom: 16px;
}
.news-title {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5em;
}
.main {
    width: 75%;
    background-color: #fff;
    padding: 40px;
    margin-bottom: 60px;
}
.page-img {
    max-width: 1000px;
    margin: 0 auto;
}
.page-img img {
    width: 100%;
}
.notfound {
    font-size: 6rem;
    color: #da0000;
    line-height: 1.6;
}
.wp-block-file__button {
    background-color: #666 !important;
    padding: 0.2rem 1.5rem !important;
    color: #fff !important;
    border: solid 1px #666;
    border-radius: 4px;
    text-align: right;
}
.wp-block-file a {
    font-size: 1rem !important;
}
.search-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #999;
}
.search-item h3 {
    font-size: 1.2rem;
}

@media screen and ( max-width:999px) {
    .container {
        padding: 0 1rem;
    }
    .main {
        width: 100%;
        padding: 20px;
    }
    .row {
        flex-direction: column;
    }
    .page-title {
        margin-left: 16px;
    }
    .post-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
}
@media screen and ( max-width:415px) {
    .container {
        width: 100%;
    }
    .main {
        padding: 1rem;
    }
}

/****************************************

	Header 

****************************************/
.head {
    display: flex;
    justify-content: space-between; 
    max-width: 1000px;
    margin: 0 auto;
    background-color: #FFEFBF;
}
.search {
    display: block;
    margin-top: 12px;
}

@media screen and ( max-width:999px) {
    .head {
        padding: 0 1rem;
    }
}
@media screen and ( max-width:415px) {
    .head {
        flex-direction: column;
    }
}

/****************************************

	Nav Main 

****************************************/
.nav-main {
    background-color: #fff;
    background-color: #a87e01;
}
.nav-main ul {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.nav-main li {
    width: calc(100% / 5);
    height: 40px;
    border-right: 1px solid #fff;
}
.nav-main li:first-child {
    border-left: 1px solid #fff;
}
.nav-main a {
    display: block;
    color: #fff;
    text-align: center;
    line-height: 40px;
}
.nav-main a:hover {
    color:#666;
    background-color:#FFE599;
}

@media screen and ( max-width:999px) {
    .nav-main {
        display: none;
}
@media screen and ( max-width:415px) {
    }
}

/****************************************

    Slide Menu 

****************************************/
.nav-slide {
    display: none;
}
.menu-button {
    display: none;
}

@media (max-width: 999px) {
    .nav-slide {
        display: block;
        width: 320px;
        position: fixed;
        top: 0;
        right: -320px;
        background: #666;
        height: 100%;
        padding-top: 3rem;
        z-index: 1;
    }
    .nav-slide a{
        color: #fff;
    }
    .nav-slide ul {
        margin: 0.2rem 0 0 3rem;
        list-style: none;
        padding: 0;
    }
    .nav-slide li {
        margin-bottom: 40px;
        color: #fff;
    }
    .menu-button {
        display: block;
        font-size: 0.9rem;
        position: absolute;
        top: 18px;
        right: 1rem;
        z-index: 2;
        position: fixed;
    }
    .menu-button::after {
        content: "menu";
        border: 1px solid #666;
        border-radius: 0.2rem;
        padding: 0.2rem 0.8rem 0.3rem 0.8rem;
    }
    body.open .menu-button::after {
        content: "×";
        color: #fff;
        border: none;
        font-size: 2rem;
    }
}

@media (max-width: 415px) {
    .nav-slide {
        width: 100vw;
        right: -100vw;
    }
}

/****************************************

	Breadcrumb 

****************************************/
.breadcrumb {
    max-width: 1000px;
    margin: 16px auto;
    display: flex;
    flex-wrap: wrap;
}
.breadcrumb li {
    margin-right: 8px;
}
.breadcrumb a {
    text-decoration: underline;
}

@media screen and ( max-width:999px) {
    .breadcrumb {
        padding: 0 1rem;
    }
}

/****************************************

	Search Form 

****************************************/
.searchform {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 1px solid #999;
    border-radius: 3px;
    background-color: #fff;
}

.searchfield {
    width: 250px;
    height: 28px;
    padding: 2px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
    background-color: #fff;
}

.searchsubmit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 30px;
    border: none;
    background-color: #999;
    color: #fff;
    cursor: pointer;
}
.material-symbols-outlined {
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

@media screen and ( max-width:999px) {
    .searchform {
        margin-right: 6rem;
    }
}
@media screen and ( max-width:415px) {
    .searchform {
        margin-right: 0rem;
    }
}

/****************************************

	Page Navi 

****************************************/
.pagenavi {
    width: 100%;
    height: 40px;
}

/****************************************

	Home 

****************************************/
.post-whatsnew img {
    border: none;
}
.post-whatsnew h2 {
    margin: 0 0 0px 0;
}
.post-whatsnew p.post-date {
    margin: 0 0 10px 0;
}
.main-visual {
    width: 1000px;
    height: auto;
    margin: 60px 0;
}
.member-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 12px;
}
.member-nav a:hover {
    opacity: 0.8;
    background-color: #FFD24D;
}
.member-nav p {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    background-color:#a87e01;
    color: #fff;
    padding: 6px 0 8px 0;
    margin-bottom: 1rem;
}
.top-panel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #fff;
    padding: 0 1em;
}
.top-panel-item {
    width: calc((100% - 32px) / 3);
    height: auto;
    border: 1px solid #a87e01;
    margin-top: 1rem;
}
.top-panel-item:first-of-type {
    width: calc((100% - 8px) * 2 / 3);
}
.top-panel-item h2 {
    text-align: center;
    background: #a87e01;
    height: 36px;
    line-height: 32px;
    color: #fff;
    font-size: 1.2em;
    margin: 0;
}
.top-panel-item p {
    text-align: left;
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}
.whatsnew {
    padding: 1rem;
}
.whatsnew-inner {
    display: flex;
    justify-content: space-between;
}
.whatsnew-thumbnail {
    width: 210px;
    height: 180px;
}
.whatsnew-text {
    width: 360px;
}
.link {
    display: flex;
    justify-content: space-between;
    background: #fff;
    flex-wrap: wrap;
    padding: 1rem;
    margin-bottom: 40px;
}
.link-item {
    width: calc((100% - 32px) / 3);
}
.link-item img {
    margin-top: 16px;
    width: 100%;
}

@media screen and (max-width: 999px) {
    .main-visual {
        width: 100%;
        margin: 40px 0;
    }
    .member-nav p {
        font-size: 1rem;
    }
    .whatsnew-thumbnail {
    width: 120px;
    height: 90px;
    }
    .whatsnew-text {
    width: 65%;
    }
}
@media screen and (max-width: 415px) {
    .member-nav {
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 20px;
    }
    .top-panel {
        flex-direction: column;
    }
    .top-panel-item {
        width: 100%;
    }
    .top-panel-item:first-of-type {
    width: 100%;
    }
    .whatsnew-inner {
        flex-direction: column;
    }
    .whatsnew-thumbnail {
    width: 100%;
    height: auto;
    margin: 1rem 0;
    }
    .whatsnew-text {
    width: 100%;
    }
    .link-item {
    width: calc((100% - 16px) / 2);
    }
}

/****************************************

	Post 

****************************************/
.post {
    width: 75%;
    padding: 40px;
    background-color: #fff;
    margin: 0 0 60px 0;
    border-bottom: 1px dotted #666;
}
.post h3 {
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.7;
    padding: 0.4rem 0 0.6rem 1.5rem;
    border-left: solid 6px #da0000;
    border-bottom: solid 1px #da0000;
    margin: 0 0 1.6em 0;
}
.post h4 {
    margin: 0 0 1.6em 0;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.7;
}
.post img {
    margin: 20px 0;
}
.post-panel {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #666;
}
.post-panel-thumbnail {
    flex: 2;
    height: auto;
}
.post-panel-text {
    flex: 3;    
}
.post-index {
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
    border-bottom: 1px dotted #666;
}
.post-date {
    text-align: right !important;
    font-size: 14px;
    margin: 0 0 20px 0;
}
.readmore {
    display: block;
    text-align: right;
    text-decoration: underline;
}
.readmore-c {
    display: block;
    text-align: center;
    padding: 8px 0;
    text-decoration: underline;
}
.header-image {
    margin: 0;
}

@media screen and (max-width: 999px) {
    img.header-image {
        margin: 0 0 1.5rem 0;
    }
    .post {
        width: 100%;
        padding: 20px;
    }
}
@media screen and (max-width: 415px) {
    .post-panel {
        flex-direction: column;
        gap: 20px;
    }
    .post-panel-thumbnail img {
        width: 100%;
    }
    .post {
        padding: 1rem;
    }
}

/****************************************

	Mmember 

****************************************/
.member section {
    display: flex;
    justify-content: space-between;
    border: 1px solid #8C4600;
    margin-bottom: 60px;
    padding: 20px;
}
.member h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 60px;
}
.member ul {
    padding-left: 1rem;
    margin-bottom: 40px;
}
.member li {
    list-style: disc;
}
.member_img {
    width: 30%;
}
.member_img img {
    width: 100%;
    height: auto;
}
.member_header {
    display: flex;
    justify-content: space-between;
}
.socialicon {
    font-size: 24px;
    margin-top: 44px;
}
.socialicon i {
    margin-left: 0.7em;
}
.member_text {
    width: 65%;
}
.member dl {
    margin-bottom: 40px;
}
.member dt {
    font-size: 20px;
    margin-bottom: 8px;
    color: #8C4600;
    border-bottom: solid 1px #8C4600;
    padding-bottom: 12px;
}
.member dt i {
    width: 1rem;
    margin-right: 16px;
}
.i_homepage {
    color: #8C4600;
}
.i_twitter {
    color: #000;
}
.i_facebook {
    color: #0866ff;
}
.i_instagram {
    color: #e93679;
}
.i_line {
    color: #06c755;
}

@media screen and (max-width: 415px) {
    .member section {
        flex-direction: column;
    }
    .member_header {
        flex-direction: column;
    }
    .member_text {
        width: 100%;
    }
    .member_img {
        width: 100%;
    }
    .member h3 {
        margin-bottom: 0px;
    }
}

/****************************************

	Activity 

****************************************/
.question-answer {
    background: #E5E5E5;
    padding: 2rem;
    margin: 3rem 0 4rem 0;
    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 {
    line-height: 2.4;
    margin-left: 1rem;
    padding-bottom: 1rem;
    font-weight: bold;
    font-size: 1.2rem;
    list-style: decimal;
}
.question-index ul {
    counter-reset: number 0;
    padding-left: 0;
}
.question-index li li {
    line-height: 1.6;
    list-style: none;
    padding-left: 0rem;
    padding-bottom: 0;
    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;
}

@media screen and (max-width: 415px) {
    .question-answer {
        padding: 1rem;
    }
}
/****************************************

	News 

****************************************/
.main_news {
    width: 100%;
    background-color: #fff;
    padding: 40px;
    margin-bottom: 60px;
}
.news-panel {
    margin-bottom: 80px;
}
.news-panel img {
    border: 1px solid #999;
}
.news-row li {
    width: calc((100% - 60px) / 3);
}
.news-row {
    display: flex;
    justify-content: start;
    gap: 30px;
    flex-wrap: wrap;
}
.post_news img {
    border: 1px solid #999;
    margin-bottom: 40px;
}
.post_news ul {
    margin-bottom: 40px;
}
.post_news li {
    list-style: disc;
    margin-left: 1.5rem;
    line-height: 2;
}

@media screen and (max-width: 415px) {
    .main_news {
        padding: 1rem;
    }
    .news-row li {
        width: 100%;
    }
}

/****************************************

	Consultation 

****************************************/
.consultation h3 {
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.4em 0 0.6em 1em;
    margin-bottom: 30px;
    border-left: solid 8px #da0000;
    border-bottom: solid 1px #da0000;
}
.consultation h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.consultation dl {
    margin-bottom: 60px;
}
.consultation dt {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
    background-color: #a87e01;
    padding: 0.3em 0 0.4em 1em;
}
.consultation dd {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}
.consultation ul {
    margin-bottom: 60px;
}
.consultation li {
    list-style-type: disc;
    margin-left: 1.4em;
}
.consultation i {
    margin-right: 0.8em;
}
.consultation section {
    margin-bottom: 60px;
}
.wpcf7-form {
    border: 1px dotted #666;
    padding: 20px;
}
.wpcf7-form p {
    margin: 0 0 1em 0;
}
.wpcf7-submit {
    background-color: #999;
    color: #fff;
    width: 80px;
    padding: 4px 0;
    border-radius: 4px;
    text-align: center;
}
.wpcf7-form-control {
    border: 1px dotted #666;
}
.wpcf7-textarea {
    border: 1px dotted #666;
    width: 99%;
}
.info p {
    padding-left: 1rem;
    margin-bottom: 2rem;
}

/****************************************

	Topics 

****************************************/
.topics {
    background-image: url(images/topics-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.topics img {
    height: auto;
    object-fit: cover;
    object-position:center 
}
.post-topics {
    width: 75%;
    padding: 40px;
    background-color: #fff;
    margin: 0 0 60px 0;
    border-bottom: 1px dotted #666;
}
.topics-intro {
    margin: 60px 0; 
}
.topics-intro h3, .topics-index h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px; 
}
.topics-content p {
    text-indent: -1rem;
    padding-left: 1rem;
}
.topics-content h3 {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.7;
    padding: 0.4rem 0 0.6rem 1.5rem;
    border-left: solid 6px #da0000;
    border-bottom: solid 1px #da0000;
    margin: 4rem 0 1.6em 0;
}
.topics-content h4 {
    margin:  3rem 0 2rem 0;
    padding-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.7;
    border-bottom: 1px solid #000;
}
.topics-index ul ul {
    padding-left: 1rem;
    font-weight: normal;
}
.topics-index ul {
    text-decoration: underline;
    font-weight: bold;
}
.topics-index li {
    margin-bottom: 0.5rem;
}

/****************************************

	Sidebar 

****************************************/
.sidebar {
    width: 20%;
    background-color: #FFE599;
    margin-bottom: 60px;
}
.sidebar-title {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 0 10px 1.5rem;
    background-color: #a87e01;
    color: #fff;
}
.sidebar a {
    display: block;
    padding: 20px 0 20px 1.5rem ;
    border-bottom: 1px solid #D9A300
}
.sidebar a:hover {
    background-color: #faeab8e0
}
.sidebar ul {
    margin-bottom: 60px;
}
.monthly {
    padding: 20px 0 20px 1.5rem;
    cursor: pointer;
}
.monthly a {
    display: block;
}

@media screen and (max-width: 999px) {
    .sidebar {
        display: none;
    }
}

/****************************************

	Footer 

****************************************/
.foot {
    background: #a87e01;
    text-align: center;
    padding: 20px 0 40px 0;
}
.foot p {
    text-align: center;
}
.footer-nav {
    max-width: 1000px;
    margin: 0 auto;
}
.footer-nav ul {
    display: flex;
    justify-content: space-between;
}
.footer-nav li {
    width: 20%;
}
.footer-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    border-left: 1px solid #dddddd;
}
.footer-nav a:last-child {
    border-right: 1px solid #dddddd;
}
.foot img {
    width: 40%;
    padding: 40px 0;
}
.foot-lower {
    max-width: 1000px;
    margin: 0 auto;
    color: #fff ;
}

@media screen and (max-width:999px) {
.foot img {
    width: 70%;
    padding: 20px 0;
}
}
@media screen and (max-width:415px) {
    .footer-nav {
        display: none;
    }
}
