@charset "utf-8";

/*
Theme Name: Voice-webtry
Theme URI: https://voiceofmen.jp
Description: Voice-webtry
Version: 1.0
Author: Webtry_Hachisuga
Author URI: https://webtry.net
*/

/*全体*/
.wrapper {
    margin: 0 2%;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
/*ヘッダー*/
.header_container {
    background-color: #0D0116;
}
.logo img {
    width: 55px;
    height: auto;
}
.site-top_container {
    display: flex;
    justify-content: space-between;
}
#site-title {
    display: block;
    margin: 0 auto;
}
#site-title h1 {
    text-align: center;
    margin: 0.2rem 0 ;
    font-size: 1.2rem;
}
#site-title img {
    width: 95%;
}
#site-title p {
    font-size: 0.8rem;
    text-align: center;
    margin-top: -5px;
    font-weight: bold;
    color: white;
}
#main-menu {
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
}
#main-menu ul {
    display: flex;
    justify-content: center;
}
#main-menu ul li {
    list-style: none;
    border-right: solid 1px #dcdcdc;
    padding: 0 20px;
    white-space: nowrap;
}
#main-menu ul li:last-child {
    border-right: none;
}
#main-menu ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}
#main-menu ul li a:hover {
    color: #ffdfad;
}
/*ハンバーガーメニュー*/
.btn-menu {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    z-index: 4000;
    position: relative;
    padding-right: 0.5rem;
}
.btn-menu span {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #ccad00;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.menu_container {
    display: flex;
    width: 60px;
}
/*モバイルメニュー*/
#menu-panel {
    background-color: rgba(0, 0, 0, 0.85);
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 3000;
    padding: 4rem 2rem 4rem 2rem;
    width: max(34vw, 20.7rem);
    height: 85vh;
    box-shadow: 0 0 2rem black;
    translate: 100vw;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    margin: 1.3rem 0.5rem;
}
.menu-list li a {
    color: #ccad00;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bolder;
    line-height: 1.6rem;
}
.menu-list li a:hover {
    font-size: 1.7rem;
}
/* ×（バツ）に変形 */
.btn-menu.active span:nth-child(1) {
    transform: rotate(30deg) translate(5px, 5px);
  }
  .btn-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .btn-menu.active span:nth-child(3) {
    transform: rotate(-30deg) translate(7.2px, -7.2px);
}
/*ヘッダー固定*/
.menubar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* 必要に応じて調整（他要素より前面に） */
    background-color: rgba(30, 30, 30, 0.95); /* 任意。透過を避けるために追加推奨 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 任意：見た目強調用 */
}
/*main*/
.thumbnail img {
    width: 15vw;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    object-fit: cover;
}
.news {
    display: flex;
    justify-content: left;
    padding-top: 0.5rem;
    gap: 0.6rem;
    border-bottom: solid 1px #dcdcdc;
}
.thumbnail {
    width: 15vw;
    height: 15vw;
}
.news-text_container {
    display: grid;
    align-items: center;
    padding: 0.5rem 0;
}
.news-title h3 {
    font-size: 1rem;
    font-weight: bold;
}
.news-title h3 a {
    text-decoration: none;
    color: black;
}
.news-title h3 a:hover {
    color: blue;
}
.news-text {
    font-size: 0.9rem;
    line-height: 1.2rem;
}
.news-text a {
    text-decoration: none;
    color: black;
}
.news-text a:hover {
    color: blue;
}
.pagination {
    text-align: center;
    padding-top: 1rem;
}
/*aside*/
.aside-title h2 {
    border-left: 5px solid blue;
    padding: 0 0.5em;
}
.aside-title {
    margin-top: 3rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}
.thumbnail-rec img {
    width: 15vw;
    height: 15vw;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    object-fit: cover;
}
.news-rec {
    display: flex;
    justify-content: left;
    padding-top: 0.5rem;
    gap: 0.6rem;
    border-bottom: solid 1px #dcdcdc;
}
.thumbnail-rec {
    width: 15vw;
}
.news-text_container-rec {
    display: grid;
    align-items: center;
    padding: 0.5rem 0;
}
.news-title-rec h3 {
    font-size: 1rem;
    font-weight: bold;
}
.news-title-rec h3 a {
    color: black;
    text-decoration: none;
}
.news-title-rec h3 a:hover {
    color: blue;
}
.news-text-rec {
    font-size: 0.9rem;
    line-height: 1.2rem;
}
/*****投稿ページ*****/
.single-title h1 {
    margin-top: 1rem;
}
.single-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}
.single-text {
    font-size: 0.9rem;
    line-height: 1.7rem;
}
.single-thumbnail p {
    font-size: 0.8rem;
    color: #696969;
}
.single-thumbnail {
    padding-top: 0.7rem;
    padding-bottom: 2rem;
}
.meta {
    display: flex;
    align-items: center;
    gap: 1rem; /* 日付とカテゴリの間隔 */
    font-size: 0.8rem;
    color: #696969;
    padding-top: 0.4rem;
}

.meta .category a {
    color: #696969;
    text-decoration: none;
}

.meta .category a:hover {
    text-decoration: underline;
}

/*フッター*/
footer {
    padding-top: 50px;
}
#footer-menu ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
#footer-menu ul li {
    font-size: 0.7rem;
    list-style: none;
    margin-bottom: 0.5rem;
}
#footer-menu ul li a {
    text-decoration: none;
    color: black;
}
#footer-menu ul li a:hover {
    color: #0539b3;
}
#footer-menu ul li::before {
    content: "|";
    padding: 0 0.5rem;
    color: #888;
}
#footer-menu ul li:first-child::before {
    content: ""; /* 最初の要素だけバーを非表示 */
}
#copyright {
    text-align: center;
    padding: 2rem 0;
    font-size: small;
}
/**/
/*コメント*/
.comments-area {
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 30px;
  }
  
  .comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #ccc;
  }
  
  .comment-form input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 8px 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .comment-form input[type="submit"]:hover {
    background-color: #555;
  }
  /**/
  /*お問い合わせ*/
  /* フォーム全体 */
  #contact-form {
    margin: 50px 3%;
  }
  .contact-title {
    text-align: center;
    padding: 1rem 0;
  }
.wpcf7 form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  /* ラベル */
  .wpcf7 form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
  }
  
  /* テキスト・メール・題名などの入力欄 */
  .wpcf7 form input[type="text"],
  .wpcf7 form input[type="email"],
  .wpcf7 form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    appearance: none;
    box-sizing: border-box;
    background: #fff;
    transition: border-color .3s ease;
  }
  
  /* フォーカスした時 */
  .wpcf7 form input[type="text"]:focus,
  .wpcf7 form input[type="email"]:focus,
  .wpcf7 form textarea:focus {
    outline: none;
    border-color: #0078ff;
  }
  
  /* テキストエリア */
  .wpcf7 form textarea {
    height: 160px;
    resize: vertical;
  }
  
  /* それぞれの項目の下に余白 */
  .wpcf7 form p {
    margin-bottom: 24px;
  }
  
  /* エラー表示 */
  .wpcf7-not-valid-tip {
    color: #d9534f;
    font-size: 14px;
    margin-top: 6px;
  }
  
  .wpcf7 form .wpcf7-response-output {
    padding: 12px;
    border-radius: 6px;
    margin-top: 20px;
  }
  
  /* 送信ボタン */
  .wpcf7 form input[type="submit"] {
    background: #0078ff;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
  }
  
  .wpcf7 form input[type="submit"]:hover {
    background: #005fcc;
  }
/**/
/*AboutUs*/
/* 固定ページ全体 */
.page-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 20px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}

/* 見出し（Gutenbergブロック） */
.page-content .wp-block-heading h1,
.page-content .wp-block-heading h2,
.page-content .wp-block-heading h3,
.page-content .wp-block-heading h4 {
    font-weight: 500;
    line-height: 1.4;
    margin: 2.5rem 0 1rem;
}

.page-content h1 {
    font-size: 1.5rem;
    border-left: 5px solid #6c63ff;
    padding-left: 0.5rem;
}
.page-content h2 {
    font-size: 1.7rem;
}
.page-content h3 {
    font-size: 1.4rem;
}
.page-content h4 {
    font-size: 1.2rem;
}

/* 段落（p） */
.page-content .wp-block-paragraph {
    margin-bottom: 1.5rem;
}

/* 画像 */
.page-content .wp-block-image {
    margin: 2rem 0;
    text-align: center;
}
.page-content .wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* リスト */
.page-content .wp-block-list ul,
.page-content .wp-block-list ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.page-content .wp-block-list li {
    margin: 0.4rem 0;
    font-weight: bolder;
    margin-left: 3rem;
}

/* 引用 */
.page-content blockquote {
    border-left: 4px solid #6c63ff;
    padding-left: 1rem;
    margin: 2rem 0;
    color: #555;
    font-style: italic;
}

/* ボタン */
.page-content .wp-block-button__link {
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
}

/* 幅広・全幅 */
.page-content .alignwide {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.page-content .alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}


@media (max-width: 1023px) {
    .pc {
        display: none !important;
    }
}
@media (min-width: 1024px) {
    .mb {
        display: none !important;
    }
    /*ヘッダー*/
    .header_container {
        display: flex;
        justify-content: space-between;
    }
    .site-top_container {
        width: 70%;
    }
    .logo img {
        width: 110px;
    }
    #site-title {
        margin: 0 0 10px 20%;
    }
    #site-title h1 {
        font-size: 2.5rem;
    }
    #main-menu {
        padding-bottom: 2rem;
        padding-top: 2.5rem;
        display: block;
        margin: 0 auto;
    }
    #main-menu ul li a {
        font-size: 1.1rem;
    }
    /*main*/
    .news_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        margin: 50px 0;
    }
    .thumbnail {
        width: 10vw;
        height: auto;
    }
    .thumbnail img {
        width: 10vw;
        aspect-ratio: 16/9;
    }
    /*aside*/
    .recommend_container {
        margin: 150px 0;
    }
    .recommend {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    .thumbnail-rec {
        width: 10vw;
    }
    .thumbnail-rec img {
        width: 10vw;
        height: 5.625vw;
        aspect-ratio: 16/9;
    }
    /*サイドバー*/
    .aside-container {
        margin-top: 100px;
        max-height: calc(100vh);
        position: sticky;
        top: 22vh;
    }
    .aside-menu-list {
        font-size: 1.1rem;
        list-style: none;
        background-color: #e6e6fa;
        padding: 1.2rem 0;
    }
    .aside-menu-list li {
        line-height: 1.4rem;
        padding: 0.5rem 1.2rem;
    }
    .aside-menu-list li a {
        text-decoration: none;
    }
    /*PC画面*/
    .pc-view-outer {
        display: flex;
        margin: 0 13%;
        position: relative;
        gap: 7%;
    }
    .main-container {
        width: 80%;
    }
    .aside-container {
        width: 20%;
    }
    /***投稿ページ***/
    .single-page {
        margin: 120px 30%;
    }
    .single-text {
        font-size: 1rem;
        line-height: 1.9rem;
    }
    .single-thumbnail img {
        height: 20vw;
    }
    /*フッター*/
    #footer-menu ul li {
        font-size: 1rem;
    }
    #copyright {
        font-size: 0.9rem;
    }
    /**/
    /*お問い合わせ*/
    #contact-form {
        display: block;
        width: 30%;
        margin: 80px auto;
    }
      .wpcf7 form input[type="submit"] {
        width: auto;
        min-width: 200px;
        display: block;
        margin: 0 auto;
      }
    /**/
    /*AboutUs*/
    .page-content h1 {
        font-size: 2rem;
    }
}