@charset "utf-8";
/* CSS Document */

/*
Theme Name: nono2026
Author: Ken Nonoyama
Theme URI: http://ken-nonoyama.com/
Description: Ken Nonoyama Website
*/

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

	General Setting 

****************************************/
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}
body {
    font-family: メイリオ, Meiryo, 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 16px;
    box-sizing: border-box;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}
p {
    margin-bottom: 1rem;
}
h1,
h2,
h3,
h4 {
    font-weight: bold;
    margin-bottom: 0.5em;
}
h1 {
    font-size: 2.4rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.4rem;
    padding-left: 1em;
    border-left: 4px solid #06C;
}
h4 {
    font-size: 1.2rem;
}
a,
a:visited {
    color: #06C;
}
a:hover {
    color: #f00;
}
img {
    max-width: 100%;
    height: auto;
    width/***/
    : auto;
    vertical-align: bottom;
}
section:not(:last-child) {
    margin-bottom: 80px;
}

@media (max-width: 999px) {
    body {
        padding: 0 16px;
    }
}
@media (max-width: 415px) {
    body {
        padding: 0 12px;
    }
}

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

    Common Settings 

****************************************/
.container {
    max-width: 1000px;
    margin: 0 auto;
}
.row {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}
.main_row {
    flex: 13;
}
.top_row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.mb-40 {
    margin-bottom: 40px;
}
.page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    height: 60px;
    border: solid #aaa 1px;
    margin: 0 auto 40px auto;
    background: linear-gradient(to bottom, #eee 50%, #ddd 50%);
}
.page-title h2 {
    font-size: 1.8rem;
    padding-left:2rem;
    margin: 0;
    color: #fff;
    text-shadow: 2px 2px 0 #999, -2px -2px 0 #999, -2px 2px 0 #999, 2px -2px 0 #999, 0px 2px 0 #999, 0 -2px 0 #999, -2px 0 0 #999, 2px 0 0 #999;
}
.page-title p {
    font-size: 2rem;
    font-family: 'Arial Narrow Bold', sans-serif;
    color: #aaa;
    padding-right: 2rem;
    margin: 0;
}
.section-title {
    font-size: 2.4em;
    margin-bottom: 40px;
}
.post-title {
    font-size: 1.4em;
    margin-bottom: 20px;
}
.post-date {
    color: #fff;
    background-color:#06C ;
    text-align: right;
    padding:2px 2rem 2px 0;
    font-size: 1.1rem;
}
.list-styled {
    list-style: disc;
    padding-left: 1rem;
}
.transition {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

@media (max-width: 999px) {
    .row {
        gap: 40px;
    }
}
@media (max-width: 415px) {
    .row, .main_row, .top_row {
        display: block;
    }
}

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

    Header 

****************************************/
.head {
    position: relative;
    max-width: 1000px;
    height: 320px;
    margin: 0 auto;    
}
.header-upper {
    height: 100px;
}
.header-upper p {
    text-align: right;
    padding-top: 50px;
    font-size: 1.2em;
}
.header-lower {
    height: 150px;
    background: linear-gradient(#73b3fa, #426099);
}
.header-lower p {
    text-align: right;
    padding: 12px 40px 0 0;
    font-size: 1.2em;
}
.header-lower a {
    color: #fff;
}
.sns {
    font-size: 1.4em;
    padding: 0 0 0 16px;
}
.phone {
    font-size: 1.3em;
    font-weight: bold;
}
.main-img {
    position: absolute;
    left: 0;
    bottom: 70px;
    width: 27%;
}
.main-logo {
    width: 19%;
    position: absolute;
    left: 180px;
    top: 40px;
}
.main-name {
    width: 35%;
    position: absolute;
    left: 180px;
    top: 120px;
}

@media (max-width: 999px) {
    .head {
        height: 280px;
    }
    .main-img {
        bottom: 30px;
        width: 32%;
    }
    .header-lower p {
        padding-top: 12px;
        text-align: right;
    }
    .main-logo {
        width: 20%;
        left: 150px;
        top: 50px;
    }
    .header-upper p {
        padding-top: 60px;
        font-size: 15px;
        text-align: right;
    }
    .main-name {
        width: 32%;
        left: 130px;
        top: 160px;
    }
}
@media (max-width: 415px) {
    .head {
        height: 320px;
    }
    .header-upper p {
        padding-top: 54px;
        font-size: 14px;
        text-align: center;
    }
    .header-lower p {
        font-size: 15px;
    }
    .main-img {
        width: 45%;
        bottom: 70px;
    }
    .main-logo {
        width: 35%;
        left: 20px;
        top: 16px;
    }
    .main-name {
        width: 60%;
        left: 120px;
        top: 160px;
    }
}

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

    Main Nav 

****************************************/
.main {
    width: auto;
}
.main-nav {
    width: 100%;
    margin-top: 2px;
}
.main-nav ul {
    display: flex;
    justify-content: space-between;
}
.main-nav li {
    width: calc(100% / 7 - 1px);
}
.main-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: linear-gradient(#73b3fa, #426099);
}
.main-nav a:hover {
    background: linear-gradient(#65fdfe, #659acc);
}

@media (max-width: 999px) {
    .main-nav {
        display: none;
    }
}
/****************************************

    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;
    }
}
/****************************************

    Search Form 

****************************************/
/*フォーム全体*/
.search_form {
    position: relative;
    margin-left: 640px;
}
/*検索ボックス*/
#sbox {
    position: absolute;
    top: 0;
    left: 0px;
    outline: 0;
    height: 28px;
    padding: 0 10px;
    background: #eee;
    -webkit-appearance: none;
}
/*検索ボタン*/
#sbtn {
    width: 80px;
    height: 30px;
    position: absolute;
    left: 236px;
    top: -1px;
    background: #7fbfff;
    border: none;
    color: #fff;
    font-weight: normal;
    font-size: 16px;
    text-align: center;
}
/*検索ボタンマウスオーバー時*/
#sbtn:hover {
    color: #666;
}
@media (max-width: 999px) {
    .search_form {
        margin: 40px 0 0 400px;
    }
}
@media (max-width: 415px) {
    .search_form {
        margin: 120px 0 0 40px;
    }
}

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

    What's New 

****************************************/
.whatsnew {
    width: 660px;
    height: 240px;
    border: 2px solid #659acc;
    border-radius: 8px;
}
.whatsnew-title {
    height: 40px;
    background-color:#659acc;
    line-height: 40px;
    padding-left: 20px;
    color: #ffffff;
    font-size: 20px;
}
.whatsnew ul {
    padding: 0.2rem 1rem 1rem 2rem;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 180px;
}
.whatsnew li {
    display: flex;
}
.whatsnew li div {
    color: #f00;
    margin-right: 20px;
    font-weight: bold;
    font-size: 14px;
}

@media (max-width: 999px) {
    .whatsnew {
        width: calc((100vw / 3 * 2) - 20px);
        margin-bottom: 20px;
    }
    .whatsnew ul {
        padding-left: 1rem;
    }
}
@media (max-width: 415px) {
    .whatsnew {
        width: 100%;
        margin-bottom: 20px;
    }
    .whatsnew ul {
        padding-left: 1rem;
    }
}

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

    Box Main 

****************************************/
.box-main {
    width: 660px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px 0;
}
.main-panel {
    position: relative;
    width: 320px;
    border: 1px solid #659acc;
    background: linear-gradient(90deg, #fff, #659acc);
    margin-bottom: 20px;
}
.main-panel-img {
    width: 50%;
}
.main-panel-logo {
    position: absolute;
    right: 12px;
    bottom: 12px;
    height: 80px;
}
.main-panel-activity,
.main-panel-report,
.main-panel-policy,
.main-panel-assembly  {
    width: 320px;
    position: absolute;
    right: 12px;
    bottom: 12px;
    height: 80px;
    background-repeat: no-repeat;
    background-position-x: right;
}
.main-panel-activity {
    background-image: url(images/activity.svg);
}
.main-panel-report {
    background-image: url(images/report.svg);
}
.main-panel-policy {
    background-image: url(images/policy.svg);
}
.main-panel-assembly  {
    background-image: url(images/assembly.svg);
}
a:hover .main-panel-activity {
    background-image: url(images/activity_on.svg);
}
a:hover .main-panel-report {
    background-image: url(images/report_on.svg);
}
a:hover .main-panel-policy {
    background-image: url(images/policy_on.svg);
}
a:hover .main-panel-assembly {
    background-image: url(images/assembly_on.svg);
}

@media (max-width: 999px) {
    .box-main {
        width: calc((100vw / 3 * 2) - 20px);
    }
    .main-panel {
        width: calc((100vw /3) - 20px);
        border: 1px solid #659acc;
        background: linear-gradient(90deg, #fff, #659acc);
        margin-bottom: 20px;
    }
    .main-panel-img {
        width: 40%;
    }
}
@media (max-width: 415px) {
    .box-main {
        width: 100%;
        gap: 2%;
    }
    .box-main a {
        width: 49%;
    }
    .main-panel {
        width: 100%;
        margin-bottom: 10px;
    }
    .main-panel-img {
        width: 49%;
    }
    .main-panel-activity,
    .main-panel-report,
    .main-panel-policy,
    .main-panel-assembly  {
        height: 49%;
    }
}

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

    Link Panel 

****************************************/
.link {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    }
.link-panel {
    height: 100px;
    position: relative;
    border: solid 1px #999;
}
.link-panel img {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
}    

@media (max-width: 999px) {
    .link {
        gap: 10px;
    }
    .link-panel {
        aspect-ratio: 3.2 / 1;
        height: 100%;
    }
}
@media (max-width: 415px) {
    .link {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .link-panel {
        aspect-ratio: 3.2 / 1;
        height: 100%;
    }
}

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

    Weekly Report 

****************************************/
.weekly_report {
    height: 600px;
    width: 320px;
    overflow: hidden;
    background-color:#BDE2FA;
    padding: 30px;
}
.weekly_report img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.weekly_report h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    background-color:#f04;
    color: #fff;
    padding-top: 4px;
}
.line_submit {
    margin-top: 20px;
    height: 90px;
    background-color: #fff;
    aspect-ratio: 26 / 9;
}

@media (max-width: 999px) {
    .weekly_report {
        margin-bottom: 40px;
        width: calc(100vw / 3);
        height: auto;
        padding: 20px;
    }
    .weekly_report h2 {
        font-size: 1rem;
    }
.line_submit {
    height: auto;
}
}
@media (max-width: 415px) {
    .weekly_report {
        width: 100%;
        height: auto;
        padding-bottom: 54px;
        padding: 30px;
    }
}

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

    Post 

****************************************/
.readmore {
    margin: 0;
    text-align: right;
}
.flex_postlink {
    display: flex;
    justify-content: space-between;
}
.post figure {
    margin: 2rem 0;
}
.border {
    border: 1px solid #999;
}
ol.lists {
    margin: 0 0 2rem 0.5rem;
}
ol.lists li {
    list-style: decimal;
}
.post-list {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 80px;
}
.post-list-thumbnail {
    flex: 1;
}
.post-list-text {
    flex: 1;
}
.post-list-text a {
    text-decoration: underline;
}

@media (max-width: 415px) {
    .post {
        width: 100%;
    }
    .post-list {
        display: block;
    }
    .post-list-thumbnail {
        width: 100%;
        margin-bottom: 20px;
    }
    .post-list-thumbnail img {
        width: 100%;
    }
    .post-list-text {
        width: 100%;
    }
}
/****************************************

    Profile 

****************************************/
.sub-img {
    float: right;
    width: 160px;
    padding: 0 0 20px 40px;
}
.sub-img img {
    margin-bottom: 12px;
}
figcaption {
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 415px) {
}

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

    Policy 

****************************************/
.policy img {
    border: 1px solid #999;
    padding: 20px;
    margin-bottom: 20px;
}
.gallery {
    display: flex;
    gap: 20px;
}
.gallery img {
    width: calc((100% / 2) - 20px);
    flex: 1;
    padding: 0;
}

@media (max-width: 415px) {
}
/****************************************

    Report 

****************************************/
.download {
    display: block;
    width: 240px;
    height: 60px;
    border: #06C 2px solid;
    border-radius: 4px;
    text-align: center;
    line-height: 60px;
    margin-left: auto;
}
.download a:hover {
    color: #06C;
}
.report ul {
    list-style-type: disc;
    padding-left: 1rem;
    margin-bottom: 40px;
}
.report img {
    border: 1px solid #aaa;
}
.article {
    margin-bottom: 80px;
}
.wp-block-buttons,
.wp-block-button {
    display: flex !important;
    justify-content: flex-end !important;
    padding-top: 1rem;
}
.wp-block-button__link {
    border-radius: 4px !important;
    background-color: #fff !important; 
}

@media (max-width: 415px) {
    .report {
        width: 100%;
    }
}

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

    Consultation 

****************************************/
.consultation {
    width: 700px;
}
.consultation dl {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}
.consultation dt {
    flex: 1;
    height: 60px;
    text-align: center;
    line-height: 60px;
    background-color: #659acc;
    color: #fff;
    margin-right: 30px;
    font-size: 20px;
}
.consultation dd {
    flex: 2;
    font-weight: bold;
    font-size: 18px;
    width: auto;
}
.consultation ul {
    margin-bottom: 40px;
}
.number {
    background-color: #06C;
    font-size: 2rem;
    text-align: center;
    padding: 0.5rem 0;
    color: #fff;
    margin-bottom: 80px;
}
.consulting-form {
    border: 1px solid #999;
    padding: 40px;
}
.consulting-form textarea {
    border: 1px solid #999;
}
.wpcf7-text {
    border: 1px solid #999;
}
.wpcf7-submit {
    border: 1px solid #999;
    background-color: #eee;
    padding: 0 12px;
    font-size: 14px;
}
.number::before {
    content: "☎ "
}

@media (max-width: 415px) {
    .consultation {
        width: 100%;
    }
    .consulting-form {
        padding: 20px;
    }
    .wpcf7-text, .wpcf7-textarea {
        width: 100%;
    }

}
/****************************************

    Sidebar 

****************************************/
.sidebar {
    font-size: 14px;
    width: 240px;
    background-color: #BDE2FA;
    padding: 1.4rem;
    box-sizing: border-box;
    flex: 4;
}
#sidebar ul {
    margin: 0 0 2rem 0;
}
#sidebar li {
    margin: 0 0 0.2rem 0rem;
    list-style: none;
}
#sidebar li li {
    background-image: url(images/arrow.png);
    background-repeat: no-repeat;
    background-position: -2px;
    background-size: 12px;
    padding: 0 0 0 1rem;
}
#sidebar a {
    text-decoration: none;
}
#sidebar h2 {
    font-size: 1rem;
    border-bottom: 1px dotted #426099;
    margin-bottom: 12px;
}

@media (max-width: 999px) {
    .sidebar {
        width: 100%;
    }
}
@media (max-width: 415px) {
    }
}

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

    Pagenavi 

****************************************/
.wp-pagenavi {
}
.current,
.first,
.last,
.larger,
.smaller,
.nextpostslink,
.previouspostslink
 {
    display: inline-block;
    width: 30px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    margin-right: 8px;
    border: #06C 1px solid;
    margin-right: 8px;
}
.current {
    background-color: #06C;
    color: #fff;
}
.first, .last {
    width: 60px;
}

@media (max-width: 415px) {
    .wp-pagenavi {
        margin-bottom: 60px;
    }
    .current,
    .larger,
    .smaller,
    .nextpostslink,
    .previouspostslink
    {
        width: 20px;
        height: 28px;
        text-align: center;
        line-height: 28px;
        margin-right: 8px;
        border: #06C 1px solid;
        margin-right: 8px;
        font-size: 14px;
    }
    .first, .last {
        height: 28px;
        line-height: 28px;
    }
}

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

    Footer 

****************************************/
.foot {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 3px solid #7fbfff;
}