/*
Theme Name: 咲笑会テーマ
Theme URI: https://sakushokai.jp
Author: Sakushokai
Author URI: https://sakushokai.jp
Description: 東京都大田区の結婚相談所 咲笑会のカスタムテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sakushokai
*/

/* WordPress用追加スタイル */
.blog-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-section h2 {
    text-align: center;
    font-family: "游明朝", "Yu Mincho", serif;
    font-size: 28px;
    margin-bottom: 30px;
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-card .content {
    padding: 20px;
}

.blog-post-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.blog-post-card h3 a {
    color: #333;
    text-decoration: none;
}

.blog-post-card h3 a:hover {
    color: #e91e63;
}

.blog-post-card .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-post-card .excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    background: #e91e63;
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 15px;
}

.read-more-btn:hover {
    background: #c2185b;
    color: #fff;
}

/* 記事ページ */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-post-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: "游明朝", "Yu Mincho", serif;
}

.post-meta {
    color: #999;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.post-body {
    line-height: 1.8;
    font-size: 16px;
}

.post-body p {
    margin-bottom: 1.5em;
}

.post-body img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

/* 基本設定 */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* タブレット (1024px以下) */
@media screen and (max-width: 1024px) {
    .area-container {
        flex-direction: column;
    }
    
    .area-main {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .area-sub {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 40px;
    }
    
    .t0-b-headerCombi2__bd > div {
        flex-direction: column;
    }
    
    .t0-b-headerCombi2__col1,
    .t0-b-headerCombi2__col2,
    .t0-b-headerCombi2__col3 {
        width: 100% !important;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .t0-b-footerCombi > div {
        flex-direction: column;
    }
    
    .t0-b-footerCombi__col1,
    .t0-b-footerCombi__col2,
    .t0-b-footerCombi__col3 {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマートフォン (768px以下) */
@media screen and (max-width: 768px) {
    /* ヘッダー */
    .area-header-inner2 {
        padding: 10px;
    }
    
    .t0-b-headerUnit-siteTitle__bd-siteName span {
        font-size: 24px !important;
    }
    
    .t0-b-headerUnit-siteTitle__bd-note {
        font-size: 14px !important;
    }
    
    .t0-b-headerUnit-siteTitle__ft {
        font-size: 12px !important;
    }
    
    .t0-b-headerUnit-siteTitle__bd-logo img {
        max-width: 80px;
    }
    
    /* ナビゲーションメニュー */
    .t0-b-headerMenu16 ul {
        flex-direction: column;
    }
    
    .t0-b-headerMenu16 li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    
    .t0-b-headerMenu16 li a {
        padding: 15px;
        display: block;
    }
    
    /* メインビジュアル */
    .t0-b-headerFullWidthMedia3 {
        min-height: 200px !important;
        background-size: cover;
        background-position: center;
    }
    
    /* メインコンテンツ */
    .area-main-inner2 {
        padding: 15px;
    }
    
    .t0-b-lv1H-mainH3__bd {
        font-size: 22px !important;
    }
    
    .t0-b-lv1H-mainH3__bd span[style*="font-size:28px"] {
        font-size: 20px !important;
    }
    
    .t0-b-wysiwyg,
    .t0-b-wysiwyg6 {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .t0-b-wysiwyg p,
    .t0-b-wysiwyg6 p {
        text-align: left !important;
    }
    
    /* YouTube動画 */
    .t0-b-freeHtml iframe {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }
    
    /* セクション見出し */
    .t0-b-lv2H9 h2 {
        font-size: 28px !important;
    }
    
    .t0-b-lv2H9__caption-lower {
        font-size: 16px !important;
    }
    
    /* 選ばれる理由 */
    .t0-b-lv4H-num2Icon2__h {
        font-size: 18px !important;
    }
    
    .t0-b-fullWidthFrame7,
    .t0-b-fullWidthFrame9,
    .t0-b-fullWidthFrame10 {
        padding: 30px 15px !important;
    }
    
    /* ボタン */
    .t0-b-navBItem2,
    .t0-b-navBItemCaptioned,
    .t0-b-navBItemCaptioned2 {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .t0-b-navBItem2__inner,
    .t0-b-navBItemCaptioned__inner,
    .t0-b-navBItemCaptioned2__inner {
        padding: 15px 20px !important;
        font-size: 14px !important;
    }
    
    /* ブログセクション */
    .blog-section {
        padding: 30px 15px;
    }
    
    .blog-section h2 {
        font-size: 22px;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-post-card img {
        height: 180px;
    }
    
    .blog-post-card .content {
        padding: 15px;
    }
    
    .blog-post-card h3 {
        font-size: 16px;
    }
    
    .read-more-btn {
        display: block;
        text-align: center;
        padding: 12px 20px;
    }
    
    /* お知らせ */
    .t0-b-flow2LeftToRight__row {
        flex-direction: column;
    }
    
    .t0-b-flow2LeftToRight__box {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .t0-b-flow2LeftToRight__arrow {
        display: none;
    }
    
    .t0-b-labeledList4 table,
    .t0-b-labeledList4 tr,
    .t0-b-labeledList4 th,
    .t0-b-labeledList4 td {
        display: block;
        width: 100%;
    }
    
    .t0-b-labeledList4 th {
        margin-bottom: 5px;
    }
    
    /* サイドバー */
    .area-sub {
        padding: 15px;
    }
    
    .t0-b-sideBox3 {
        margin-bottom: 20px;
    }
    
    .t0-b-sideBoxIconText-tel__bd span:last-child {
        font-size: 24px !important;
    }
    
    /* フッター */
    .area-footer-inner3,
    .area-footer-inner4 {
        padding: 20px 15px;
    }
    
    .t0-b-footerUnit-siteTitle__bd-siteName span {
        font-size: 22px !important;
    }
    
    .t0-b-footerUnit-navList ul {
        padding-left: 0;
    }
    
    .t0-b-footerUnit-navList li {
        margin-bottom: 10px;
    }
    
    .t0-b-footerMenuWithCp3 p {
        font-size: 12px;
    }
    
    /* 記事詳細ページ */
    .single-post-content {
        padding: 20px 15px;
    }
    
    .single-post-content h1 {
        font-size: 22px;
    }
    
    /* グリッドレイアウト */
    .t0-b-grid2Cols__bd,
    .t0-b-grid3Cols__bd {
        flex-direction: column;
    }
    
    .t0-b-grid2Cols__box,
    .t0-b-grid3Cols__box {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    /* 画像グリッド */
    .t0-b-flow4LeftToRight__row {
        flex-wrap: wrap;
    }
    
    .t0-b-flow4LeftToRight__box {
        width: 50% !important;
    }
    
    /* 問い合わせボタン（ヘッダー） */
    .t0-b-headerUnit-contact-navB14,
    .t0-b-headerUnit-contact-navB12 {
        margin: 5px 0;
    }
    
    .t0-b-headerUnit-contact-navB14__inner,
    .t0-b-headerUnit-contact-navB12__inner {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
}

/* 小型スマートフォン (480px以下) */
@media screen and (max-width: 480px) {
    .t0-b-headerUnit-siteTitle__bd-siteName span {
        font-size: 20px !important;
    }
    
    .t0-b-lv1H-mainH3__bd {
        font-size: 18px !important;
    }
    
    .t0-b-lv2H9 h2 {
        font-size: 24px !important;
    }
    
    .t0-b-flow4LeftToRight__box {
        width: 100% !important;
    }
    
    .blog-post-card img {
        height: 150px;
    }
}

/* ハンバーガーメニュー強化 */
.t0-b-headerMenu16--fixDisplay label {
    display: block;
    cursor: pointer;
    padding: 15px;
    background: #e91e63;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

@media screen and (min-width: 769px) {
    .t0-b-headerMenu16--fixDisplay label {
        display: none;
    }
    
    .t0-b-headerMenu16--fixDisplay > div {
        display: block !important;
    }
}

@media screen and (max-width: 768px) {
    .t0-b-headerMenu16--fixDisplay .on-off:not(:checked) ~ div {
        display: none;
    }
    
    .t0-b-headerMenu16--fixDisplay .on-off:checked ~ div {
        display: block;
    }
}

/* フローティングボタン（スマホ用） */
@media screen and (max-width: 768px) {
    .area-float-bottom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        padding: 10px;
        z-index: 1000;
        display: flex;
        gap: 10px;
    }
    
    .area-float-bottom a {
        flex: 1;
        text-align: center;
        padding: 12px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        font-size: 14px;
    }
    
    .area-float-bottom a.male {
        background: #2196f3;
        color: #fff;
    }
    
    .area-float-bottom a.female {
        background: #e91e63;
        color: #fff;
    }
    
    /* フッターの余白（フローティングボタン分） */
    .area-footer {
        padding-bottom: 70px;
    }
}
