@charset "UTF-8";
/*
Theme Name:   THE SONIC Child
Theme URI:    https://the-sonic.jp
Description:  THE SONICカスタマイズ用子テーマ
Author:       SONIC Team
Author URI:   https://the-sonic.jp
Template:     thesonic
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

@charset "utf-8";
body {
    background-color: #fff !important;
}

img {
    max-width: 100%;
    vertical-align: top;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.top {
    margin-top: 78px;
}

.top a {
    color: #333;
}

.inner {
    max-width: 1127px;
    margin: 0 auto;
}

.ttl-h2-line {
    position: relative;
    color: #625d56;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.ttl-h2-line::before {
    background-color: #625d56; /* 線の色 */
    border-radius: 5px; /* 線の両端を丸く */
    bottom: -4px; /* 線の位置 */
    content: "";
    height: 2px; /* 線の高さ */
    left: 0; /* 線の中央寄せ */
    position: absolute;
    /* transform: translateX(-50%);  */
    width: 100px; /* 線の長さ */
}

.ttl-h2 {
    max-width: 1127px;
    margin: 0 auto;
    padding: 0 16px;
    color: #625d56;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.metadata {
    padding: 14px 12px;
}

.metadata .title {
    margin: 0;
    height: 4.2em;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.metadata .time {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1em;
    color: #33333361;
}

.cat-right {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 1px 8px;
    background-color: #d8a7b1;
    font-size: 14px;
    color: #fff;
}

.cat-right:hover {
    text-decoration: underline;
}

.cat-left {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 1px 8px;
    background-color: #d8a7b1;
    opacity: 0.9;
    font-size: 14px;
    color: #fff;
}

.cat-left:hover {
    text-decoration: underline;
}

.cat-right a,
.cat-left a {
    color: #fff;
}

@media (min-width: 1030px) {
    #content-in {
        display: block !important;
    }

    #main {
        margin: 108px auto 0 !important;
    }

    #sidebar {
        display: none;
    }
}

#main .kiji-img-img {
    object-fit: contain;
}

@media (max-width: 768px) {
    .top {
        margin-top: 60px;
    }

    #main {
        margin-top: 80px;
    }

    .ttl-h2-line::before {
        bottom: -1px;
    }

    .ttl-h2-line {
        margin: 0 0 16px;
        font-size: 20px;
    }

    .ttl-h2 {
        margin: 0 auto;
        padding: 4px 16px;
        font-size: 20px;
    }

    .cat-right,
    .cat-left {
        padding: 1px 8px;
        font-size: 13px;
    }

    .metadata {
        padding: 10px;
    }

    .metadata .title {
        font-size: 14px;
    }

    .metadata .time {
        margin: 3px 0 6px;
    }

    .wp-block-flexible-table-block-table {
        font-size: 14px;
    }
}

/* fv
**********************************************************
******************************************************************/
.fv-img-sp {
    display: none;
}

@media (max-width: 768px) {
    .fv-img-pc {
        display: none;
    }

    .fv-img-sp {
        display: block;
    }
}

/* pickup
**********************************************************
******************************************************************/
.top .pickup {
    padding: 50px 16px 78px;
}

.pickup-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 14px;
    row-gap: 14px;
    padding: 0;
    letter-spacing: 0.05em;
}

.pickup-list .item {
    position: relative;
    list-style-type: none;
    background-color: #fff;
    box-shadow: 8px 8px 8px -6px rgba(0, 0, 0, 0.3);
}

.pickup-list .item .thumbnail {
    margin-bottom: 0;
}

.pickup-list .item .thumbnail img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
}

@media (max-width: 768px) {
    .top .pickup {
        padding: 20px 16px;
    }

    .pickup-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 12px;
        letter-spacing: 0.05em;
    }
}

/* ranking
**********************************************************
******************************************************************/
.ranking {
    margin: 60px auto 80px;
    padding: 0 16px;
}

.ranking-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 24px;
    row-gap: 26px;
    padding: 0;
    letter-spacing: 0.05em;
}

.ranking-list .item {
    margin: 0;
    box-shadow: 8px 8px 8px -6px rgba(0, 0, 0, 0.3);
}

.ranking-list .ttl {
    margin: 0;
    height: 2.6em;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.ranking-list .ttl-area {
    margin: 0;
    padding: 10px 12px 16px;
    background-color: #fff;
}

.ranking-list article {
    position: relative;
}

.ranking-list .number {
    position: absolute;
    left: 0;
    top: 10px;
    margin: 0;
    padding: 1px 14px 1px 8px;
    border-radius: 0 20px 20px 0;
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3);
}

.rank1 .number {
    background: linear-gradient(to left, #ffeb00, #fffcd5, #ffeb00);
}

.rank2 .number {
    background: linear-gradient(to left, #afafaf, #f7f7f7, #afafaf);
}

.rank3 .number {
    background: linear-gradient(to left, #ffc033, #ffecc1, #ffc033);
}

.rank1 .number a,
.rank2 .number a,
.rank3 .number a {
    text-decoration: none;
}

.rank4 .number,
.rank5 .number,
.rank6 .number {
    background: linear-gradient(to left, #000000, #6f6f6f, #000000);
}

.rank4 .number,
.rank5 .number,
.rank6 .number {
    color: #fff;
    text-decoration: none;
}

.ranking-list img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
}
@media (max-width: 768px) {
    .ranking-list {
        grid-template-columns: 1fr;
        row-gap: 26px;
        letter-spacing: 0.05em;
    }

    .ranking {
        margin: 30px auto 46px;
    }

    .ranking-list .ttl {
        font-size: 14px;
    }
}

/* new-article
**********************************************************
******************************************************************/
.new-article {
    margin-bottom: 80px;
}

.ttl-h2-container {
    background: #d8a7b1;
    color: #625d56;
}

.new-article-inner {
    margin: 56px auto 60px;
    padding: 0 16px;
}

.new-article-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 14px;
    row-gap: 14px;
    padding: 0;
    letter-spacing: 0.05em;
}

.new-article .metadata {
    margin: 0;
}

.new-article-list .item {
    position: relative;
}

.new-article-list .item .item-inner {
    display: grid;
    grid-template-columns: 40% 60%;
    box-shadow: 8px 8px 8px -6px rgba(0, 0, 0, 0.3);
}

.new-article-list img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    height: 100%;
}

.new-article .new-article-list .ttl {
    margin: 0;
    height: 4em;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.new-article .time {
    margin-bottom: 0;
}

.btn {
    border: 2px solid #d8a7b1;
    color: #d8a7b1;
    border-radius: 20px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.btn:hover {
    opacity: 0.6;
}

.top .btn-rink {
    display: block;
    margin: 40px auto;
    padding: 3px auto;
    max-width: 800px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .new-article {
        margin-bottom: 60px;
    }

    .new-article-list {
        grid-template-columns: 1fr;
        row-gap: 14px;
    }

    .new-article-inner {
        margin: 32px auto 60px;
    }

    .new-article .new-article-list .ttl {
        font-size: 14px;
    }

    .btn {
        font-size: 18px;
    }
}

/* 記事一覧
**********************************************************
******************************************************************/
.main-h2.kiji-list-heading-mark2,
.main-h2.kiji-list-heading-mark1 {
    padding: 8px;
    font-weight: 600;
    color: #625d56;
    background-color: #d8a7b1;
    border-radius: 10px;
    border: none;
}

.def-mode article {
    box-shadow: 8px 8px 8px -6px rgba(0, 0, 0, 0.3);
}

.def-mode .main-kiji .linkarea {
    padding-bottom: 16px;
}

.def-mode .main-kiji .kiji-cat {
    padding: 1px 8px;
    border-radius: 0;
    left: 0;
    background-color: #d8a7b1;
}

.def-mode .main-kiji .kiji-date {
    margin: 10px 0 4px;
    padding-left: 8px;
    text-align: left;
    line-height: 1em;
}

.def-mode .main-kiji .kiji-text {
    padding: 0 8px 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

/* 投稿
**********************************************************
******************************************************************/
.entry-header .entry-title {
    padding: 10px 0 6px;
    font-size: 1.48em;
    line-height: 1.4;
    font-weight: 600;
}

.entry-header .breadcrumb {
    padding: 0;
}

.entry-header .entry-header-item {
    padding: 4px 0;
}

.single .entry-content {
    padding: 16px 0;
}

/* 目次 */
/* .mkj.mkj-style2 {
  border: none;
  max-width: 100%;
} */

/* .mkj .mkj-title {
  border-top: 1px solid #001d38;
  border-bottom: 1px solid #001d38;
} */

.mkj .mkj-list-child-3 {
    padding-left: 10px;
    /* 	line-height: 1.4; */
}

.mkj .mkj-content:after {
    display: none;
}

.mkj .mkj-list-child-3 li {
     margin-bottom: 8px;
    font-weight: 500;
}

/* .mkj.mkj.mkj-style2 .mkj-list li ol a {
  font-weight: 400;
} */

@media (max-width: 768px) {
    .mkj .mkj-list-child-3 {
        padding-left: 8px;
    }
    .entry-header .entry-title {
        font-size: 1.14em;
    }

    .entry-content .entry-letterbody h3 {
        margin: 40px 0 10px;
        font-size: 1.14em;
        line-height: 1.4;
    }

    .entry-letterbody p {
        font-size: 14px;
    }

    .wp-block-table {
        font-size: 14px;
    }

    .mkj .mkj-title {
        font-size: 17px;
    }
    /*   .mkj.mkj.mkj-style2 .mkj-list-nonum {
    font-size: 15px;
  } */
}

/* お問い合わせフォーム
**********************************************************
******************************************************************/
.wpcf7 .form {
    display: block;
}

.wpcf7 .wpcf7-submit {
    background-color: #1a5eac;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: none;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border: none;
    color: #dc3232;
}

@charset "utf-8";
#header .header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 16px;
    background-color: #fff;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0px 8px 8px -6px rgba(0, 0, 0, 0.3);
}
.header .logo {
    max-width: 300px;
}
.header a {
    font-size: 24px;
}
.header a img {
    width: 214px;
    vertical-align: middle;
}
/* ハンバーガーメニュー */
.drawer__button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 3rem;
    height: 54px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
}
.drawer__button > span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2px;
    background-color: #d8a7b1;
    transform: translateX(-50%);
}
.drawer__button > span:first-child {
    transform: translate(-50%, calc(-50% - 0.5rem));
    transition: transform 0.3s ease;
}
.drawer__button > span:nth-child(2) {
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
.drawer__button > span:last-child {
    transform: translate(-50%, calc(-50% + 0.5rem));
    transition: transform 0.3s ease;
}
.drawer__button.active > span:first-child {
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: #1a5eac;
}
.drawer__button.active > span:nth-child(2) {
    opacity: 0;
}
.drawer__button.active > span:last-child {
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: #1a5eac;
}
.drawer__nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}
.drawer__nav.active {
    opacity: 1;
    visibility: visible;
}
.drawer__nav__inner {
    position: relative;
    width: 40%;
    height: 100%;
    background-color: #fff;
    opacity: 0.9;
    padding: 5rem 1.5rem 1rem;
    margin: 0 0 0 auto;
    overflow: scroll;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.drawer__nav.active .drawer__nav__inner {
    transform: translateX(0);
}
.drawer__nav__menu {
    list-style: none;
    padding-left: 0;
}
.drawer__nav__link {
    display: block;
    margin-bottom: 10px;
    padding: 0.6rem;
    border-bottom: 1px solid #1a5eac;
    color: #1a5eac;
    text-align: left;
}
.active {
    height: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .drawer__nav__inner {
        width: 80%;
    }

    .header .logo {
        max-width: 200px;
    }

    .drawer__button {
        height: 36px;
    }
}

.footer .footer-inner {
    position: relative;
    padding: 32px 16px 16px;
    background: #f7e6e8;
    border-top: 4px solid #d8a7b1;
}

.logo-area {
    text-align: center;
}
.logo-area a img {
    width: 214px;
}

.footer .logo {
    max-width: 300px;
}

.footer-menu {
    display: flex;
    row-gap: 8px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 20px 0 4px;
    padding-left: 0;
    list-style-type: none;
    font-size: 15px;
}

.footer-menu .footer-menu-item {
    padding-left: 16px;
    padding-right: 16px;
    border-left: 1px solid #fff;
    line-height: 1;
}

.footer-menu .footer-menu-item a {
    color: #212121;
}

.footer-menu .footer-menu-item:first-child {
    padding-left: 0;
    border-left: none;
}

.footer-menu .footer-menu-item:last-child {
    padding-right: 0;
}

.footer .footer-copy {
    margin-bottom: 0;
    padding: 10px;
    font-size: 14px;
    background-color: #000000;
    color: #fff;
    text-align: center;
}

@media (max-width: 768px) {
    .footer .footer-inner {
        padding: 36px 16px 12px;
    }
    .footer .logo {
        max-width: 240px;
    }
    .footer-menu {
        display: block;
        margin: 32px 0 4px;
        padding-left: 0;
        list-style-type: none;
        font-size: 13px;
    }

    .footer-menu .footer-menu-item {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 16px;
        border-left: none;
        line-height: 1;
    }

    .footer .footer-copy {
        font-size: 12px;
    }
}

.prevnext-img {
    flex-basis: 46%;
}
.kanren-kiji-2yokocard .kiji-img {
    width: 174px;
}
@media screen and (max-width: 767px) {
    .prevnext-img {
        flex-basis: 55%;
    }
}

.sns {
    margin: 2em 0;
}
.sns ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding-left: 0;
}
.sns li {
    list-style: none;
    width: 40px;
}
.top .breadcrumb {
    color: #625d56;
    font-size: 14px;
}

.top .breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.top .breadcrumb-sep,
.top .breadcrumb-current {
    color: inherit;
}
