@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ページ共通
-----------------------------------*/
body {
    font-family: 游ゴシック, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
    background: none;
}
img {
    vertical-align: middle;
}
.tagline {
    font-size: 13px;
    margin-bottom: 0;
}
.appeal {
    background-position: center right;
}
.appeal-content {
    max-width: 95%;
    background: none;
}
.appeal-message {
    margin: 0;
}
.appeal-message h1 {
    font-family: "Noto Serif JP", sans-serif;
    color: #d72b1d;
    font-size: 43px;
}
.entry-title,
.archive-title {
    font-size: 30px;
    letter-spacing: 1px;
}
.archive-title {
    margin-bottom: 25px;
}
img.alignleft {
    margin-bottom: 1.5em;
}
a {
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
}

/* トップページ
-----------------------------------*/
.home .article h1,
.home .date-tags {
    display: none;
}

/* 会の紹介 */
.topAbout {
    max-width: 100%;
    font-family: "Noto Serif JP", sans-serif;
    font-size: 18px;
    font-weight: bold;
    line-height: 2.0;
    margin: 0 auto 60px;
}
.topAbout .inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
}
.topAbout .inner .txt img.pc {
    display: block;
    margin: 0 auto;
}
.topAbout .inner .txt .right {
    text-align: right;
}
.topAbout .sp {
    display: none;
}

/* メニュー */
.topCategory ul {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.topCategory ul li {
    width: 30%;
    margin: 0;
    padding: 0;
}
.topCategory ul li a {
    color: #333333;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.topCategory ul li a h2 {
    font-family: "Noto Serif JP", sans-serif;
    font-size: 21px;
    text-align: center;
    letter-spacing: 2px;
    background: none;
    border: none;
    margin: 1em 0 0;
    padding: 0;
}
.topCategory ul li a h2::before {
    content: none;
}
.topCategory ul li a p  {
    font-size: 15px;
    line-height: 1.6;
    margin: 1.2em;
}

/* 入会募集 */
.topInfo {
    background-color: #eeeeee;
    background-image: url(/wp-content/uploads/2020/12/topInfo-bg.png);
    background-repeat: no-repeat;
    background-position: right center;
    margin: 50px 0 75px;
    padding: 35px;
}
.topInfo h2 {
    font-size: 18px !important;
    font-weight: normal;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0 !important;
    background: none;
    border: none !important;
    margin: 0 0 1.5em !important;
    padding: 0 !important;
}
.topInfo h2::before {
    content: none !important;
}
.topInfo a.btn {
    font-family: "Noto Serif JP", sans-serif;
    width: 490px;
    height: 46px;
    color: #ffffff;
    font-size: 19px;
    font-weight: normal;
    text-align: center;
    line-height: 46px;
    letter-spacing: 2px;
    background-color: #111111;
    border-radius: 0;
    display: table;
    margin: 0 auto;
    padding: 0;
}

/* お知らせ / FB */
.topNews {
    margin-bottom: 80px;
}
.topNews .inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.topNews .inner .news {
    width: calc(100% - 510px);
    max-width: 100%;
    min-height: 298px;
    margin: 0;
    padding: 0;
}
.topNews .inner .news h1 {
    font-size: 24px;
    display: block;
    margin-bottom: 1.5em;
}
.topNews .inner .news dl {
    font-size: 15px;
    margin: 0;
}
.topNews .inner .news dl dt {
    float: left;
    margin: 0;
    padding: 1em 0;
}
.topNews .inner .news dl dd {
    border-bottom: 1px solid #dddddd;
    position: relative;
    margin: 0;
    padding: 0 0 0 9em;
}
.topNews .inner .news dl dd a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    padding: 1em;
}
.topNews .inner .fb {
    width: 450px;
}

/* 下層ページ共通
-----------------------------------*/
/* 見出しH2 */
.article h2 {
    font-size: 24px;
    border-top: 3px solid #333333;
    border-bottom: 1px solid #555555;
    border-radius: 0;
    background: none;
    letter-spacing: 1px;
    position: relative;
    margin: 70px 0 20px;
    padding: 20px 15px;
    clear: both;
}
.article h2::before {
    width: 80px;
    height: 3px;
    background: #d72b1d;
    position: absolute;
    content: "";
    top: -3px;
    left: 0;
}

/* 見出しH3 */
.article h3 {
    color: #ffffff;
    font-size: 20px;
    border: none;
    border-radius: 3px;
    background-color: #333333;
    letter-spacing: 1px;
    position: relative;
    margin: 40px 0 30px;
    padding: 15px 20px;
}
.article h3::before {
    border: 12px solid transparent;
    border-top: 12px solid #333333;
    content: "";
    position: absolute;
    top: 100%;
    left: 5%;
}

/* 見出しH4 */
.article h4 {
    font-size: 18px;
    border-top: none;
    border-bottom: 1px solid #555555;
    position: relative;
    margin: 40px 0 10px;
    padding: 0 0 13px 20px;
}
.article h4::after {
    width: 5px;
    height: 70%;
    background-color: #d72b1d;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
}

/* 表 */
table th,
table td,
.scrollable-table th,
.scrollable-table td {
    border: solid 1px #cccccc;
    padding: 1em;
}
table th,
.scrollable-table th {
    background-color: #eeeeee;
}
table.table {
    margin-bottom: 0;
}
table.center td {
    text-align: center;
}
table ul {
    margin: 0;
    padding-left: 1em;
}
table ul li {
    margin: 0;
}
input[type='submit'] {
    color: #ffffff;
    border: 0;
    background-color: #333333;
    margin-bottom: 1em;
}
p.small {
    font-size: 90%;
    margin-top: 1em;
}
.scrollable-table.scroll-hint {
    margin-bottom: 1em;
}
.topInfo p {
    text-align: center;
    margin: 0 0 1.5em;
}

/* 至徳会とは
-----------------------------------*/
#metaslider-id-783 {
    margin-bottom: 50px;
}

/* 道場紹介
-----------------------------------*/
iframe {
    margin-top: 0 !important;
}
.map {
    color: #ffffff;
    font-size: 11px;
    background: #d72b1d;
    text-decoration: none;
    border-radius: 2px;
    display: inline-block;
    position: relative;
    top: -2px;
    padding: 0 5px;
}
.map:hover {
    color: #ffffff;
    opacity: .8;
}

/* 入会お申し込み
-----------------------------------*/
.search-edit,
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
    font-size: 16px;
    padding: .8em;
}
::placeholder {
    color: #999999;
}
dl.faq dt {
    font-weight: bold;
    border-bottom: 1px solid #333333;
    position: relative;
    padding: 15px 0 15px 55px;
}
dl.faq dt::before {
    width: 35px;
    height: 35px;
    background: url(/wp-content/uploads/2020/12/iconQ.png) no-repeat #d72b1d;
    background-size: 35px 35px;
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
}
dl.faq dd {
    position: relative;
    margin: 3px 0 15px;
    padding: 15px 0 15px 55px;
}
dl.faq dd::before {
    width: 35px;
    height: 35px;
    background: url(/wp-content/uploads/2020/12/iconA.png) no-repeat #333333;
    background-size: 35px 35px;
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
}

/* アーカイブ
-----------------------------------*/
.entry-card-title,
.related-entry-card-title {
    line-height: 1.3;
    margin-bottom: 15px;
    padding-top: 5px;
}
.entry-card-snippet,
.related-entry-card-snippet {
    font-size: 0.8em;
    line-height: 1.5;
}

/* サイドエリア
-----------------------------------*/
.sidebar h3 {
    color: #ffffff;
    line-height: 1.25;
    border-radius: 3px;
    background-color: #333333;
    letter-spacing: 1px;
    padding: 15px;
}
aside .textwidget img {
    display: table;
    margin: 0 auto;
}
aside .textwidget p {
    font-size: 14px;
    margin-bottom: 2em;
}
.textwidget.custom-html-widget .fb-page {
    width: 100%;
    max-width: 500px;
    display: block !important;
}

/* フッター
-----------------------------------*/
.footer-bottom {
    margin-bottom: 15px;
}
.footer-bottom-logo {
    bottom: auto;
}

/* スマホ
-----------------------------------*/
.menu-drawer li {
    line-height: 2.0;
}
.menu-drawer .sub-menu {
    margin: 0 0 10px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/*1023px以下*/
@media screen and (max-width: 1023px) {
    .footer {
        margin: 0 0 70px;
        padding: 0;
    }
}

/*834px以下*/
@media screen and (max-width: 834px) {
    .appeal-message h1 {
        font-size: 30px;
    }
    .entry-title,
    .archive-title {
        font-size: 26px;
    }
    .topCategory ul {
        display: block;
    }
    .topCategory ul li {
        width: 90%;
        margin: 0 auto 30px;
    }
    .topInfo a.btn {
        width: 100%;
    }
    .topNews .inner {
        display: block;
    }
    .topNews .inner .news {
        width: 95%;
        margin: 0 auto 35px;
    }
    .topNews .inner .fb {
        width: 100%;
        text-align: center;
    }
    table.form th,
    table.form td {
        font-size: 15px;
    }
    .copyright {
        margin-top: 15px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px) {
    .logo-header span {
        max-width: 70%;
    }
    .appeal-content {
        padding: 2em 0;
    }
    .appeal-message h1 {
        font-size: 20px;
    }
    .entry-title,
    .archive-title {
        font-size: 23px;
        padding: .6em 0;
    }
    .topAbout {
        font-size: 16px;
    }
    .topAbout .inner .txt {
        z-index: 1;
    }
    .topAbout .inner .txt .right {
        margin-right: 85px;
    }
    .topAbout .inner .txt img.pc {
        display: none;
    }
    .topAbout img.sp {
        width: 75px;
        display: table;
        z-index: -1;
        margin-top: -75px;
        margin-left: auto;
    }
    .topInfo {
        background-image: none;
        margin: 30px 0 0;
        padding: 25px;
    }
    .topInfo h2 {
        font-size: 15px !important;
        font-weight: bold;
    }
    .topInfo a.btn {
        font-size: 15px;
    }
    .topNews {
        margin: 40px 0 0;
    }
    .topNews .inner .news h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .topNews .inner .news dl dt {
        float: none;
        padding-bottom: 0;
    }
    .topNews .inner .news dl dd {
        padding: 0;
    }
    .topNews .inner .news dl dd a {
        white-space: normal;
        padding: 0 0 1em;
    }
    .topNews .inner .fb {
        display: none;
    }
    img.alignleft {
        float: none;
        margin: 0;
    }
    .article h2 {
        font-size: 21px;
        padding: 15px;
    }
    table.form {
        max-width: 100%;
    }
    table.form tr {
        width: 100%;
        display: block;
        list-style-type: none;
    }
    table.form th,
    table.form td {
        width: 100%;
        display: list-item;
        border: none;
        padding: 1em;
        box-sizing: border-box;
    }
    table.form th {
        text-align: left;
    }
    dl.faq {
        line-height: 1.6;
    }
    dl.faq dt,
    dl.faq dd {
        padding: 12px 0 12px 45px;
    }
    dl.faq dt::before,
    dl.faq dd::before {
        width: 30px;
        height: 30px;
        background-size: 30px 30px;
    }
    .a-wrap {
        padding: 1.5% 0;
    }
    .entry-card-thumb,
    .related-entry-card-thumb {
        width: 35%;
        margin-right: 13px;
    }
    .entry-card-title,
    .related-entry-card-title {
        font-size: 15px;
    }
    .footer-bottom {
        font-size: 13px;
    }
}