@charset "UTF-8";
/* CSS Document */

/*
Theme Name: original
*/

/* --------------------------------------------------
  共通コンテナ・レイアウト調整
-------------------------------------------------- */
#blog-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 40px 10px;
}

#blog-content article {
    margin: 0 auto 80px;
    background: #fff;
}

/* --------------------------------------------------
  見出し・タイトル装飾
-------------------------------------------------- */
/* 記事一覧のタイトルリンク */
#blog-content h3 {
    font-size: 28px;
    font-family: "じゅん 101", "新丸ゴ B", "メイリオ", sans-serif;
    line-height: 1.4;
    font-weight: bold;
    color: #13846d; /* トンマナ：深緑 */
    text-align: left;
    margin: 0 0 20px;
    padding: 0 0 15px;
    border-bottom: dashed #62C9B5 2px; /* トンマナ：ミントグリーンの破線 */
}

#blog-content h3 a {
    color: #13846d;
    transition: opacity 0.3s;
}

#blog-content h3 a:hover {
    color: #62C9B5;
    opacity: 0.8;
}

/* 記事本文内の各見出し（h4, h5, h6）の標準化 */
.wp-detail h4 {
    font-size: 22px;
    color: #13846d;
    border-left: solid #62C9B5 6px;
    padding: 5px 0 5px 15px;
    margin: 40px 0 20px;
    font-family: "じゅん 101", "新丸ゴ B", sans-serif;
}

.wp-detail h5 {
    font-size: 18px;
    color: #333;
    background: #E0F4F0; /* トンマナ：薄ミントグリーン背景 */
    padding: 10px 15px;
    margin: 30px 0 15px;
    border-radius: 4px;
}

/* --------------------------------------------------
  メタ情報（日付など）
-------------------------------------------------- */
#blog-content .e_date {
    font-size: 14px;
    color: #62C9B5; /* トンマナ：ミントグリーン */
    font-weight: bold;
    margin-bottom: 20px;
}

/* --------------------------------------------------
  本文テキスト・画像・パーツ装飾
-------------------------------------------------- */
.wp-detail {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.wp-detail p {
    margin-bottom: 1.5em;
}

/* 投稿内画像 */
.wp-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* サイト全体の角丸トンマナに追従 */
    margin: 15px 0;
}

/* 強調文字 */
.wp-detail em, 
.wp-detail strong {
    font-style: normal;
    font-weight: bold;
    color: #13846d;
    background: linear-gradient(transparent 60%, #fad164 40%); /* 既存お知らせ等のアンダーライン再現 */
}

/* --------------------------------------------------
  ページネーション / ボタンパーツ
-------------------------------------------------- */
/* ページャー全体の装飾 */
.pager {
    text-align: center;
    margin: 40px 0;
}

.pager a, 
.pager span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #62C9B5;
    border-radius: 4px;
    color: #62C9B4;
    background: #fff;
    font-size: 14px;
}

.pager span.current {
    background: #62C9B4;
    color: #fff;
    font-weight: bold;
}

.pager a:hover {
    background: #E0F4F0;
    color: #13846d;
}

/* 詳細ページのナビゲーション（一覧へ戻る / 前へ次へ） */
.b_box {
    border-top: 1px solid #ddd;
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ichiran a {
    display: inline-block;
    background-color: #62C9B4;
    color: #fff;
    padding: 10px 30px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.ichiran a:hover {
    opacity: 0.8;
}

.prenex a {
    color: #13846d;
    font-weight: bold;
    margin: 0 10px;
}

.prenex a:hover {
    color: #62C9B5;
}

/* --------------------------------------------------
  スマートフォン表示（max-width: 480px）
-------------------------------------------------- */
@media screen and (max-width: 480px) {
    #blog-content {
        padding: 20px 15px;
    }
    #blog-content h3 {
        font-size: 20px;
    }
    .wp-detail h4 {
        font-size: 18px;
    }
    .b_box {
        flex-direction: column;
        gap: 20px;
    }
}

/* --------------------------------------------------
  カスタム投稿（blog）専用：プルダウン横並び（上部）
-------------------------------------------------- */

/* コンテンツ上部のウィジェットエリア全体のレイアウト（Flexboxを使用） */
.wp-detail-guide1 {
    width: 100%;
    margin-bottom: 40px; /* 下部コンテンツ（記事一覧）との余白 */
    padding: 0;
}

.wp-detail-guide1 ul {
    display: flex;
    justify-content: space-between; /* 左右に等間隔で配置 */
    gap: 20px; /* プルダウン同士の間の余白 */
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

/* 各プルダウンを囲む li 要素（均等に50%ずつ割り振る設定） */
.wp-detail-guide1 li[class^="widget_blog_"] {
    flex: 1; /* 2つの要素を同じ横幅にする */
    margin: 0;
    padding: 0;
    background: transparent;
}

/* フォーム自体の余白リセット */
.wp-detail-guide1 li[class^="widget_blog_"] form {
    margin: 0;
    padding: 0;
    width: 100%;
}

/* プルダウン本体のスタイリング */
.wp-detail-guide1 li[class^="widget_blog_"] select {
    width: 100%;
    height: 46px; /* 押しやすい高さ */
    padding: 0 35px 0 12px;
    font-size: 15px;
    color: #444;
    font-family: "メイリオ", Meiryo, sans-serif;
    border: 2px solid #E0F4F0; /* 薄ミントグリーンの枠線 */
    border-radius: 6px;
    background-color: #fff;
    /* ブラウザ標準の矢印をリセット */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* カスタム矢印（ミントグリーン） */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2362C9B5' d='M6 8.8L1.1 3.9c-.4-.4-.4-1 0-1.4s1-.4 1.4 0L6 6l3.5-3.5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L6 8.8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px auto;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* プルダウンホバー・フォーカス時のエフェクト */
.wp-detail-guide1 li[class^="widget_blog_"] select:focus,
.wp-detail-guide1 li[class^="widget_blog_"] select:hover {
    outline: none;
    border-color: #62C9B5; /* トンマナ：ミントグリーン */
    box-shadow: 0 0 5px rgba(98, 201, 181, 0.2);
}

/* --------------------------------------------------
  スマートフォン表示（max-width: 480px）の時は縦並びにする
-------------------------------------------------- */
@media screen and (max-width: 480px) {
    .wp-detail-guide1 {
        margin-bottom: 25px;
    }
    
    /* 横並びを解除して縦並び（垂直）に切り替え */
    .wp-detail-guide1 ul {
        flex-direction: column;
        gap: 12px; /* 縦に並んだときの間隔 */
    }
    
    .wp-detail-guide1 li[class^="widget_blog_"] select {
        height: 42px;
        font-size: 14px;
    }
}