/*
Theme Name: Maison Media
Theme URI: 
Author: 
Description: オリジナルファッションメディアテーマ
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: maison-media
*/

/* --- 共通・変数設定 --- */
:root { --accent: #000; --sub: #888; --border: #eee; --bg-gray: #fcfcfc; }
* { box-sizing: border-box; }
body { font-family: 'Noto Sans JP', sans-serif; margin: 0; color: #333; line-height: 1.6; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { width: 100%; height: auto; object-fit: cover; display: block; }

/* --- ヘッダー・検索 --- */
.header { padding: 30px 0 10px; position: relative; border-bottom: 1px solid var(--border); text-align: center; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 38px; letter-spacing: 4px; font-weight: 600; }
.header-right { position: absolute; top: 15px; right: 20px; display: flex; gap: 15px; font-size: 11px; font-weight: bold; }
.search-area { margin: 25px 0; }
.search-area input {
    width: 300px; padding: 12px 25px; border: 1px solid #ddd; border-radius: 30px; outline: none; background: #f9f9f9;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); font-size: 14px;
}
.search-area input:focus { width: 450px; background: #fff; border-color: #000; box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-2px); }

/* --- ナビゲーション --- */
.main-nav { border-bottom: 1px solid var(--border); width: 100%; }
.main-nav ul { display: flex; justify-content: center; list-style: none; margin: 0; padding: 15px 0; gap: 40px; width: 100%; }
.main-nav a { font-weight: 700; font-size: 13px; letter-spacing: 1.5px; }

/* --- スライダー --- */
.slider-wrap { position: relative; width: 100%; height: 500px; overflow: hidden; margin-top: 10px; }
.slider-inner { display: flex; transition: transform 0.6s ease; height: 100%; }
.slide { min-width: 100%; height: 100%; position: relative; display: block; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-txt { position: absolute; bottom: 30px; left: 20px; background: rgba(255,255,255,0.95); padding: 25px; max-width: 500px; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background: #fff; border: none; width: 40px; height: 40px; cursor: pointer; border-radius: 50%; z-index: 10; box-shadow: 0 2px 5px rgba(0,0,0,0.1); font-size: 16px; }
.prev { left: 10px; } .next { right: 10px; }

/* --- メインレイアウト（2カラム） --- */
.main-layout-grid { display: grid; grid-template-columns: 1fr 300px; gap: 60px; margin-top: 50px; margin-bottom: 80px; }
.sec-title { border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 25px; font-size: 18px; font-weight: 900; letter-spacing: 1px; }

/* リストスタイル */
.list-item { display: flex; gap: 25px; margin-bottom: 35px; align-items: flex-start; }
.list-thumb { width: 220px; aspect-ratio: 16 / 10; flex-shrink: 0; overflow: hidden; background: #000; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-content h3 { font-size: 17px; margin: 0 0 10px; line-height: 1.5; }
.list-content p { font-size: 13px; color: #777; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more-btn-small { display: block; text-align: center; padding: 12px; border: 1px solid #000; font-weight: bold; margin-top: 10px; font-size: 11px; }

/* 本日更新 */
.today-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 60px; }
.today-card img { height: 200px; width: 100%; object-fit: cover; margin-bottom: 12px; }

/* --- サイドバー --- */
.side-sec { margin-bottom: 45px; }
.side-head { border-left: 4px solid #000; padding-left: 10px; font-weight: bold; margin-bottom: 18px; font-size: 14px; }

/* 季節アイテム */
.seasonal-stack { display: flex; flex-direction: column; gap: 15px; margin-bottom: 15px; }
.seasonal-rect { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; position: relative; border: 1px solid #eee; }
.seasonal-rect img { width: 100%; height: 100%; object-fit: cover; }
.seasonal-label { position: absolute; bottom: 0; width: 100%; background: rgba(0,0,0,0.6); color: #fff; font-size: 10px; text-align: center; padding: 5px 0; font-weight: bold; letter-spacing: 1px; }

/* 人気記事 */
.rank-list { list-style: none; padding: 0; font-size: 12px; line-height: 1.8; }
.rank-item { margin-bottom: 12px; border-bottom: 1px solid #f9f9f9; padding-bottom: 8px; display: flex; align-items: flex-start; }
.rank-num { font-family: 'Cormorant Garamond'; color: #ccc; font-weight: bold; margin-right: 12px; font-size: 18px; line-height: 1; }
.rank-item a { color: #333; }

/* キーワード */
.kw-list-vertical { display: flex; flex-direction: column; gap: 8px; }
.kw-list-vertical a { font-size: 13px; color: #555; padding: 8px 10px; background: #f8f8f8; border-radius: 4px; border-left: 0px solid #000; transition: 0.2s; }
.kw-list-vertical a:hover { background: #eee; border-left-width: 4px; padding-left: 15px; color: #000; }

/* SNS */
.sns-vertical { display: flex; flex-direction: column; gap: 10px; }
.sns-vertical a { display: flex; align-items: center; gap: 15px; font-size: 12px; font-weight: bold; padding: 12px; border: 1px solid #eee; background: #fff; }
.sns-vertical a i { width: 20px; text-align: center; font-size: 18px; }

.recruit-banner { background: #000; color: #fff; padding: 25px; text-align: center; margin-top: 20px; }

/* --- 記事ページ --- */
.article-hero { height: 80vh; background-size: cover; background-position: center; position: relative; }
.article-title-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; text-align: center; width: 80%; }
.article-title-box h1 { font-size: 40px; margin: 10px 0 0; }
.article-content { max-width: 700px; margin: 80px auto; padding: 0 20px; font-size: 18px; line-height: 2; }
.article-content img { margin: 30px 0; }

/* カテゴリーページ */
.cat-title { font-family: 'Cormorant Garamond'; font-size: 40px; text-align: center; border-bottom: 1px solid #000; padding-bottom: 20px; margin-bottom: 50px; }
.article-list { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.article-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-card h2 { font-size: 18px; margin: 12px 0 8px; }
.article-card p { font-size: 13px; color: #777; }

/* --- フッター --- */
.site-footer { border-top: 1px solid #eee; padding: 80px 0 40px; background: #fff; }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.f-col h5 { font-size: 13px; margin-bottom: 20px; border-bottom: 1px solid #000; padding-bottom: 5px; }
.f-col ul { list-style: none; padding: 0; font-size: 12px; color: #666; line-height: 2.5; }
.service-icon-list i { color: #555; font-size: 14px; width: 20px; text-align: center; margin-right: 8px; }
.f-copy { text-align: center; margin-top: 50px; font-size: 10px; color: #ccc; }

/* --- WordPress本文エリア --- */
.entry-content { max-width: 700px; margin: 0 auto; padding: 40px 20px; font-size: 16px; line-height: 2; }
.entry-content img { max-width: 100%; height: auto; }

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .main-layout-grid { grid-template-columns: 1fr; }
    .list-item { flex-direction: column; }
    .list-thumb { width: 100%; }
    .header-right { position: static; justify-content: center; margin-bottom: 15px; }
    .f-grid { grid-template-columns: 1fr 1fr; }
    .article-list { grid-template-columns: 1fr; }
    .search-area input:focus { width: 90%; }
}
@media (max-width: 480px) {
    .f-grid { grid-template-columns: 1fr; }
    .today-grid { grid-template-columns: 1fr; }
    .slider-wrap { height: 300px; }
}
