/*
Theme Name: m_theme
Theme URI:https://manablog.org/manablog-wordpress/
Author: Manabu Bannai
Author URI:https://manablog.org/
Description: none
Version: 1
License: GNU General Public License
*/
/* @import "style.css"; */

/* PC版のロゴ調整用 */
img.pc-logo {
    width: 270px;
}

/* スマホ版のロゴ調整用 */
img.sp-logo {
	width: 210px;
}

/* PC版のタイトルテキストの調整用 */
span.sitename.main {
    color: #313131db;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: .1px;
}

/* スマホ版のタイトルテキストの調整用 */
@media only screen and (max-width: 479px){span.sitename.main {
    color: #fff;
    font-size: 20px;
}}



/* Added static structure fixes */
header .nav.navbar-nav { display: flex; list-style: none; padding: 0; margin: 0; justify-content: center; }
header .nav.navbar-nav li { margin: 0 15px; }
header .nav.navbar-nav a { text-decoration: none; padding: 15px; display: block; }
.thumbnail { width: 100%; height: 200px; display: block; overflow: hidden; }
.thumbnail-img { width: 100%; height: 100%; display: block; background-size: cover; background-position: center; }
.picks .wrap { margin-bottom: 30px; }
article .wrap { margin-bottom: 40px; }
.readmore a { display: inline-block; padding: 10px 20px; background: #67adb5; color: white; text-decoration: none; border-radius: 4px; }
.title a { text-decoration: none; color: #333; }
.cat a { display: inline-block; background: #eee; padding: 2px 8px; margin-right: 5px; text-decoration: none; color: #666; font-size: 0.9em; border-radius: 3px; }
.meta time { color: #999; font-size: 0.9em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-xs-12 { width: 100%; padding: 0 15px; box-sizing: border-box; }
@media (min-width: 768px) { .col-sm-4 { width: 33.3333%; } .col-md-8 { width: 66.6666%; } .col-md-4 { width: 33.3333%; } }



/* Modern Grid and Card Adjustments */
.main-content { padding-right: 30px; }
.section-title { font-size: 24px; border-bottom: 2px solid #67adb5; padding-bottom: 10px; margin-bottom: 20px; color: #333; display: flex; align-items: center; gap: 8px; }

/* Promo Grid */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 40px; }
.promo-card { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 15px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.2s; }
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); }
.promo-img { height: 180px; background-size: cover; background-position: center; border-radius: 4px; margin-bottom: 15px; }
.promo-card h3 { font-size: 18px; margin: 0 0 10px; color: #333; font-weight: bold; }
.promo-card p { font-size: 14px; color: #666; margin-bottom: 15px; line-height: 1.5; }
.btn-amazon { display: inline-block; background: #ff9900; color: #fff; padding: 10px 20px; border-radius: 4px; text-decoration: none; font-weight: bold; width: 100%; box-sizing: border-box; transition: background 0.2s; }
.btn-amazon:hover { background: #e68a00; color: #fff; text-decoration: none; }

/* Articles Grid */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-bottom: 40px; }
.article-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; padding: 0 !important; margin: 0 !important; border: 1px solid #eee; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.article-card .thumbnail { height: 180px; margin: 0; border-radius: 8px 8px 0 0; width: 100%; }
.article-card .card-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.article-card .title { font-size: 18px; line-height: 1.5; margin: 10px 0; flex-grow: 1; font-weight: bold; }
.article-card .title a { color: #222; text-decoration: none; transition: color 0.2s; }
.article-card .title a:hover { color: #67adb5; }
.article-card .description { font-size: 14px; color: #555; margin-bottom: 15px; line-height: 1.6; }
.article-card .readmore { margin-top: auto; text-align: left; }
.article-card .readmore a { display: inline-block; padding: 8px 16px; background: transparent; border: 2px solid #67adb5; color: #67adb5; transition: all 0.2s; border-radius: 4px; font-weight: bold; }
.article-card .readmore a:hover { background: #67adb5; color: #fff; text-decoration: none; }

/* Fix Sidebar Position */
#sidebar { padding-left: 20px; border-left: 1px solid #eee; }
@media (max-width: 991px) {
    .main-content { padding-right: 15px; }
    #sidebar { padding-left: 15px; border-left: none; margin-top: 40px; }
}



/* STYLISH VIBRANT FULL-WIDTH REDESIGN */
body { background-color: #f4f7f6; font-family: 'Helvetica Neue', Arial, sans-serif; }
.container { max-width: 1300px; width: 95%; }
@media (min-width: 992px) {
    .col-md-9 { width: 75%; }
    .col-md-3 { width: 25%; }
}

/* Vibrant Header */
header { background: linear-gradient(135deg, #1f4037 0%, #99f2c8 100%); padding-bottom: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
header .title a.sitename .sitename.main { color: #ffffff; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
header .title span.sitename.sub { color: #f0f0f0; }
header .nav-bg { background: rgba(0,0,0,0.2) !important; border-top: 1px solid rgba(255,255,255,0.1); }
header .nav.navbar-nav a { font-weight: bold; font-size: 16px; letter-spacing: 1px; transition: background 0.3s, color 0.3s; }
header .nav.navbar-nav a:hover { background: rgba(255,255,255,0.2) !important; color: #fff; }

/* Article Cards Styling */
.article-card { border: none !important; border-radius: 12px !important; box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important; transform: translateY(0); transition: all 0.3s ease-in-out !important; }
.article-card:hover { transform: translateY(-8px) !important; box-shadow: 0 15px 30px rgba(0,150,136,0.2) !important; }
.article-card .thumbnail { border-radius: 12px 12px 0 0 !important; }
.article-card .title a { color: #2c3e50; font-size: 1.1em; }
.article-card .title a:hover { color: #16a085; }
.cat a { background: #16a085; color: white !important; font-weight: bold; border-radius: 20px; padding: 4px 12px; font-size: 0.8em; }
.article-card .readmore a { border-color: #16a085; color: #16a085; border-radius: 20px; }
.article-card .readmore a:hover { background: #16a085; color: #fff; }

/* Hero Picks Customization */
.picks .wrap .thumbnail { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.picks .wrap .title a { font-weight: bold; color: #34495e; font-size: 1.1em; display: inline-block; margin-top: 10px; }
.picks .wrap .readmore a { background: #e74c3c; color: white; border-radius: 20px; font-weight: bold; border: none; padding: 8px 20px; box-shadow: 0 4px 10px rgba(231,76,60,0.3); transition: background 0.3s, transform 0.2s;} 
.picks .wrap .readmore a:hover { background: #c0392b; transform: scale(1.05); }

/* Section Titles */
.section-title { color: #2c3e50; border-bottom: 3px solid #16a085; display: inline-block; padding-bottom: 5px; margin-bottom: 30px; font-weight: 800; }

/* Sidebar Updates */
#sidebar { background: #ffffff; padding: 25px !important; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); border: none !important; margin-top: 20px; }
#sidebar h4 span { font-weight: bold; color: #16a085; font-size: 1.2em; }
#sidebar p { color: #555; line-height: 1.7; font-size: 0.95em; }

