/*
Theme Name: bohyou
Author: Kuji Hazure
Description: かっこいいテーマ！
*/

.material-symbols-sharp {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 0,
  'opsz' 24;
}

.fill {
  font-variation-settings:
  'FILL' 1;
}

.grecaptcha-badge {visibility: hidden;}

html{
    scroll-behavior: smooth;
}

:root{
    --color-black:#000;
    --color-white:#fff;
    --color-red:#e30000;
    --color-light-gray:#f5f5f5;
    --color-dark-gray:#575757;
    --color-background:#e9e9e9;
    --color-text:#333;
    --color-link:#00788b;
}

body {
    font-family: "Noto Sans JP","Noto Color Emoji", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    line-height:1.75;
    letter-spacing:0.02em;
    font-size:16px;
}

h1,h2,h3,h4,p,span,li{
    color:var(--color-text);
}

h2 {
    font-size: 140%;
    font-weight: 500;
}

h3 {
    font-size: 110%;
}

a {
    text-decoration:none;
    color: var(--color-link);
    transition:.2s;
}

a:hover{
    opacity:.5;
}

br.pc{
    display: block;
}

br.sp{
    display: none;
}

#wpadminbar span {
    color: #90d1cf;
}

@media (max-width: 768px) {
body {
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

h2 {
    font-weight: 500;
    line-height: 1.3;
}

h3 {
    line-height: 1.25;
}

br.pc{
    display:none;
}

br.sp{
    display:block;
}
}


/*header*/
header {
    position:relative;
    height: 90px;
    background: var(--color-white);
    padding: 15px 45px;
    box-shadow: 0 0 8px 0px #00000042;
}

.head-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-left a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

header .head-left a img {
    width: 60px;
}

header h1 {
    font-size: 150%;
    font-weight: 100;
    letter-spacing: 3px;
}

.head-right ul {
    display: flex;
    padding: 0;
    gap: 30px;
}

.head-right li {
    list-style: none;
}

h1 a {
    color: var(--color-black);
}

.sp-foot-menu,.sp-foot-menu-side{
    display:none;
}

.sidebar-close {
    display: none;
}

@media (max-width: 1000px) {
header {
    height: 60px;
    padding: 0;
}

header .head-left a img {
    width: 45px;
}

.head-wrap {
    height: 100%;
    justify-content: center;
}

.head-right {
    display: none;
}

.sp-foot-menu{
    display: block;
    position: fixed;
    z-index: 2;
    bottom: 0;
    width: 100%;
    background: var(--color-white);
    height: 60px;
    box-shadow: 0 0 8px 0px #00000042;
}

.sp-foot-menu ul {
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sp-foot-menu li {
    list-style: none;
    width: 25%;
}

.sp-foot-menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: var(--color-text);
}

.sp-foot-menu-side {
    display:block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 5px 0 #00000033;
    transition: left 0.3s ease;
    z-index: 998;
    padding: 20px;
    box-sizing: border-box;
}

.sp-foot-menu-side.active {
    left: 0;
}

.sp-foot-menu-side ul {
    list-style: none;
    padding: 0;
}

.sp-foot-menu-side ul li {
    margin-bottom: 10px;
}

.sp-foot-menu-side ul.sub-menu{
    padding-left:1em;
}

.sp-foot-menu-side ul.sub-menu li {
    margin-bottom: 0;
    font-size: 95%;
}

.sidebar-close {
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    z-index: 999;
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: left 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close span{
    color:var(--color-white);
}

.sp-foot-menu-side.active ~ .sidebar-close {
    left: 70%;
    opacity: 1;
    visibility: visible;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    display: none;
}
.menu-overlay.active {
  display: block;
}
}

/*main*/
.container {
    padding: 50px 0;
    background: #e9e9e9;
}

.inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main {
    width: 70%;
    background: var(--color-white);
    padding: 30px;
    box-shadow: 0 0 5px 0 #00000033;
}

.main-title {
    text-align: center;
    margin-bottom: 30px;
}

.author-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;
}

.author-title h2 img {
    width: 45px;
    height: auto;
    border-radius: 9em;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.posts-list .post-item {
    display:flex;
    align-items: center;
    gap: 20px;
    background: var(--color-light-gray);
    padding: 15px;
}

.posts-list .post-content {
    display: flex;
    flex-direction: column;
    width:100%;
}

.posts-list .post-thumbnail {
    flex-shrink: 0;
    overflow: hidden;
    width: 250px;
}

.posts-list .post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.posts-list .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    font-size: 0.85em;
    line-height:1em;
}

.posts-list .post-meta a.category {
    color: var(--color-white);
    background: var(--color-black);
    padding: 0.5em 1em;
}

.posts-list .post-meta time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.posts-list .post-meta time span {
    font-size: 1.2em;
}

.posts-list h3.post-title {
    margin: 5px 0;
}

.posts-list p.post-excerpt {
    font-size: 0.85em;
    height:50px;
}

.posts-list .post-author {
    text-align: right;
}

.posts-list .post-author a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size:0.85em;
}

.posts-list .post-author a span {
    font-size: 1.4em;
}

.post-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.post-pagination .page-numbers {
    display: inline-block;
    background: var(--color-light-gray);
    padding: 0.25em 0.75em;
}

.post-pagination .page-numbers.current {
    background: var(--color-black);
    color: var(--color-white);
}

@supports not (aspect-ratio: 16 / 9) {
    .post-thumbnail img {
        height: 0;
        padding-top: calc(9 / 16 * 100%);
    }
}

@media (max-width: 1200px) {
.inner {
    width: 100%;
    padding: 0 30px;
}
}

@media (max-width: 1000px) {
.inner {
    flex-direction: column;
    gap: 30px;
    padding: 0;
}

#container{
    padding:30px 0;
}

main {
    width: 100%;
}

aside {
    width: 100%;
}

.posts-list .post-item {
    flex-direction: column;
}

.posts-list h3.post-title {
    margin: 10px 0;
}

.posts-list p.post-excerpt{
    height:auto;
}
}

@media (max-width: 726px) {
main{
    padding: 30px 16px;
}
}


/*aside*/
aside {
    width: 28%;
    background: var(--color-white);
    padding: 30px;
    box-shadow: 0 0 5px 0 #00000033;
}

aside .side-content {
    margin-bottom: 30px;
}

aside .side-content:last-child {
    margin-bottom: 0;
}

aside .title {
    margin-bottom: 10px;
    text-align: center;
}

aside .title h2{
    font-size:1.25em;
}

aside .profile .img {
    text-align: center;
    margin-bottom: 7px;
}

aside .profile .img a {display: inline-block;}

aside .profile .img a img {
    width: 175px;
}

aside .profile .txt {
    text-align: center;
    margin-bottom: 7px;
    padding: 0 15px;
}

aside .profile .txt p {
    font-size: 0.85em;
}

aside .profile .sns {
    text-align: center;
}

aside .profile .sns a.x-icon {
    background: var(--color-black);
}

aside .profile .sns a.icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

aside .profile .sns a.x-icon img {
    width: 18px;
}

aside .side-content ul{
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

aside .side-content li {
    list-style: none;
    background: var(--color-light-gray);
    padding: 3px 10px;
}

@media (max-width: 1000px) {
aside {
    width: 100%;
}

aside .title {
    margin-bottom: 15px;
}

aside .profile .img {
    margin-bottom: 10px;
}

aside .profile .txt {
    margin-bottom: 10px;
}

aside .profile .txt h3 {
    margin-bottom: 5px;
}
}

/*button*/
.btn-wrap {
    text-align: center;
    margin-top: 15px;
}

.btn-wrap a.btn {
    display: inline-block;
    position: relative;
    font-size: 100%;
    width: 300px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 10px;
    border-radius: 5px;
}

.btn-wrap a.btn:after {
    content: '\e5cc';
    font-family: 'Material Symbols Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 125%;
    line-height: 1em;
    position: absolute;
    right: 15px;
    top: calc(50% - 0.5em);
    transition: .3s;
}

.btn-wrap a.btn:hover::after {
    right: 10px;
}

/*footer*/
footer {
    background: var(--color-white);
    text-align: right;
    padding: 20px;
}

@media (max-width: 1000px) {
footer {
    text-align: center;
    font-size: 0.85em;
    margin-bottom: 60px;
}
}

/*lower*/
main .main-content section {
    margin-bottom: 30px;
}

.main-content h3 {
    margin-bottom: 15px;
    text-align: center;
}

/*about*/
main .main-content section.about-section {
    text-align: center;
    border-bottom: 1px dotted var(--color-dark-gray);
    margin-bottom: 0;
    padding: 30px;
}

main .main-content section.about-section:first-child {
    padding-top: 0;
}

main .main-content section.about-section:last-child {
    border-bottom: 0;
}

.about-member-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
}

.about-member-wrap .about-member-list {
    width: calc(50% - 7.5px);
    padding: 15px;
    background: var(--color-light-gray);
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.about-member-wrap .about-member-list img {
    width: 35%;
}

.about-member-list-txt {
    text-align: left;
}


.about-member-wrap .about-member-list .about-member-list-txt p {
    font-size: 85%;
}

.about-member-wrap .about-member-list .about-member-list-txt h4 {
    margin-bottom: 5px;
}

.btn-wrap a.btn.x-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-size: 85%;
}

.btn-wrap a.btn.x-btn img {
    width: 1.75em;
}

@media (max-width: 726px) {
main .main-content section.about-section {
    padding: 30px 15px;
}

.about-member-wrap .about-member-list {
    width: 100%;
}

.about-member-wrap .about-member-list img {
    aspect-ratio: 1/1;
    width: auto;
    max-height: 100px;
}
}

/*single*/
.single-header {
    margin-bottom: 30px;
}

.single-header-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    font-size: 80%;
}

.single-header-top a.category {
    color: var(--color-white);
    background: var(--color-black);
    padding: 0.5em 1em;
}

.single-title h2 {
    font-size: 175%;
    font-weight: 700;
}

.single-time time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.single-time time span {
    font-size: 1.2em;
}

.single-title {
    text-align: left;
    margin: 7px 0;
}

.single-author {
    text-align: left;
}

.single-author a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.single-author .avatar {
    border-radius: 9em;
    width: 50px;
    height: auto;
}

.single-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    margin-top: 15px;
}

.thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*article*/
.entry-content {
    text-align: left;
}

.entry-content h2,.entry-content h3,.entry-content p {
    margin-bottom: 1em;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

hr.wp-block-separator {
    border-top: 1px dotted var(--color-dark-gray);
    margin: 1.5em 0;
}

.wp-block-embed iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.next-page {
    text-align: center;
    margin: 1.5em 0;
}

.next-page a {
    display: inline-block;
    color: var(--color-white);
    background: var(--color-black);
    width: 300px;
    padding: 10px;
    border-radius: 5px;
}

span.pager-numbers {
    display: flex;
    gap: 8px;
}

.post-pagination .post-page-numbers{
    display: inline-block;
    background: var(--color-light-gray);
    padding: 0.25em 0.75em;
}

.pager-numbers span.current{
    display: inline-block;
    padding: 0.25em 0.75em;
    color: var(--color-white);
    background: var(--color-black);
}

.post-pagination span.is-disabled {
    display: none;
}

.sns-share {
    margin-top: 3em;
    display: flex;
    justify-content: flex-end;
}

.sns-share p {
    color: var(--color-dark-gray);
    margin-right: 0.5em;
    display: flex;
    align-items: center;
}

.sns-share p span {font-size: 1em;margin-left: 3px;}

.wp-block-image :where(figcaption) {
    color: var(--color-dark-gray);
    text-align: center;
    font-size: 0.85em;
}

@media (max-width: 728px) {
.sns-share {
    flex-direction: column;
    align-items: center;
}

.sns-share p span {
    display: none;
}

.sns-share p {
    margin-bottom: 5px;
}
}

.lkc-card{
    padding:1em;
}

.lkc-external-wrap {
    max-width: 525px;
    margin-bottom: 1em !important;
}

.lkc-internal-wrap {
    max-width: 525px;
    margin-bottom: 1em !important;
}

.lkc-date {
    padding: 0 !important;
    margin-bottom: 0.5em !important;
}

.linkcard {
    width: 100%;
}

.lkc-title {
    margin-bottom: 0.5em;
}

.lkc-thumbnail {
    width: 25% !important;
    height: auto !important;
}

.linkcard img {
    width: 100% !important;
    height: auto !important;
}

/*contact*/
.wpcf7-form .require {
    display: inline-block;
    font-size: 75%;
    color: var(--color-red);
    background: var(--color-white);
    border: 1px solid var(--color-red);
    padding: 0 0.75em;
    border-radius: 9em;
    margin-left: 0.5em;
}

.wpcf7-form input {
    width: 100%;
    border: 1px solid var(--color-dark-gray);
    margin-top: 10px;
    border-radius: 5px;
}

.wpcf7-form p {
    margin-bottom: 1.5em;
}

.wpcf7-form p.cat-title {
    margin-bottom: 10px;
}

.wpcf7-form .wpcf7-list-item {
    width: calc(50% - 0.5em);
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    background: var(--color-background);
    padding: 7px 10px;
    border-radius: 5px;
}

.wpcf7-form .category input {
    width: auto;
    margin: 0;
    margin-right: 0.25em;
    cursor: pointer;
}

.wpcf7-form span.category {
    display: flex;
    width: 100%;
    gap: 1em;
    margin-top: 10px;
}

.wpcf7-form textarea {
    width: 100%;
    border: 1px solid var(--color-dark-gray);
    margin-top: 10px;
    border-radius: 5px;
}

.wpcf7-form input.wpcf7-submit {
    border: none;
    color: var(--color-white);
    background: var(--color-black);
    padding: 0.5em;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

.wpcf7-form input.wpcf7-submit:hover {
    opacity: .5;
}

/*404*/
.notfound main {
    text-align: center;
}

.notfound main h2 {
    font-size: 700%;
    font-weight: bold;
    line-height: 1.1;
    color: var(--color-black);
    margin-bottom: 30px;
}

.notfound main h2 span {
    display: block;
    font-size: 38%;
    color: var(--color-black);
}

.notfound main span.mark404 {
    font-size: 400%;
    line-height: 1;
    color: var(--color-black);
}

.notfound main p {
    margin-bottom: 30px;
}