@charset "UTF-8";
/*!
Theme Name: Simplicity2
*/

/************************************
** 基本設定（General Setting）
************************************/
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  overflow-x:hidden;
}

body{
  font-family:"Noto Sans JP", sans-serif;
  color:#371c14;
  background:#f6f2ea;
  font-size:18px;
  line-height:1.9;
  -webkit-text-size-adjust:100%;

}

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

a{
  text-decoration:none;
  color:inherit;
}

ul{
  list-style:none;
}

figure,
main figure{
  margin: 0;
}

.article{
  font-size:16px;
  line-height:170%;
}

/*記事・カテゴリ中の画像を要素内に収める*/
.article img,
.category-description img,
.wp-caption,
.hover-image{
  max-width:100%;
  height:auto;
}

.aligncenter{
  clear:both;
}

.cf:after{
  content: "";
  clear: both;
  display: block;
}


/* =====================================================
   ヘッダー全体の固定とレイアウト調整
===================================================== */
#header {
position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
background-color: #fff !important;
height: 90px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

#header-in {
  max-width: 1200px;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px;
  float: none !important;
}

/* 上部キャッチコピー */
.header-area {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 4px;
}

.header-area p {
  padding:0 0 10px 0;
  font-size: 11px;
  font-weight: 700;
  color: #371c14;
}

/* ナビゲーション（ロゴとグローバルメニューの横並び） */
.header-nav {
  width: 100%;
 max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_logo img {
  width: 75px;
  height: auto;
  margin: 0;
}

/* グローバルナビ（PC用） */
.gnav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.gnav li {
  position: relative;
  list-style: none;
}

.gnav a,
.gnav button {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #371c14;
  font-family: "Noto Sans JP", sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ドロップダウン */
.arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #ffbb27;
  transition: .3s;
}

.has-dropdown.active .arrow {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 40px;
  left: 0;
  width: 220px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 100;
}

.has-dropdown.active .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
}

.dropdown a:hover {
  background: #f6f1e8;
}

/* ハンバーガーボタン（初期は非表示） */
.hamburger {
  display: none;
}


/* =====================================================
   スマホ用メニュー（オーバーレイ & モバイルナビ）
===================================================== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1100;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  padding: 60px 20px 20px;
  transition: 0.3s;
  z-index: 1200;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
}

.mobile-close span {
  position: absolute;
  top: 14px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #371c14;
}

.mobile-close span:first-child {
  transform: rotate(45deg);
}

.mobile-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav ul {
  margin-top: 20px;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  font-weight: 700;
  color: #371c14;
}

.mobile-utility {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-utility a {
  display: block;
  padding: 10px 15px;
  background: #f6f2ea;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
  color: #371c14;
}


/************************************
** スマホ表示時の切り替え（メディアクエリ）
************************************/
@media (max-width: 768px) {
  body {
    padding-top: 110px;
  }
  
	

  .header-nav .gnav {
    display: none;
  }
  
  .hamburger{
display: flex; 
    width: 40px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hamburger span:not(.hamburger-text){
  position:absolute;
  left:0;
  width:100%;
  height:3px;
  background:#371c14;
  border-radius:10px;
  transition:.3s;
}

.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:9.5px; }
.hamburger span:nth-child(3){ bottom: 22px; /* 三本線の下側の位置調整 */ }

.hamburger.active span:nth-child(1){
  transform:rotate(45deg);
  top:9.5px;
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg);
  bottom: 22px;
}

/* 追加：三本線の下の「MENU」のスタイル */
.hamburger-text {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size:10px;       /* 小さな文字サイズ */
  font-weight: 700;      /* 太字（必要に応じて調整） */
  color: #371c14;        /* 文字色 */
  line-height: 1;
  letter-spacing: 0.05em;
  pointer-events: none;  /* クリックイベントを親ボタンに透過させる */
}

}


/************************************
** 見出し（H1-6）
************************************/
h1, h2, h3, h4, h5, h6{
  line-height:130%;
  color:#333;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6{
  position:relative;
  margin-top:35px;
  margin-bottom:20px;
}

.article h1 {
  margin-top:30px;
  margin-bottom:20px;
  font-size: 30px;
  line-height:117%;
}

#archive-title{
  padding-bottom:20px;
  font-size:26px;
}

.article h2 {
  border-left:1px solid #000;
  margin: 40px -29px 20px;
  padding:25px 30px;
  font-size:26px;
}

.article h3{
  font-size:23px;
  border-bottom:5px solid #e7e7e7;
  padding:10px 0;
}

.article h4, .article h5, .article h6{
  font-size:20px;
  padding:8px 0;
}

.article h4{
  border-bottom:5px dashed #eee;
}

.entry-content{
  margin-bottom: 60px;
}


/************************************
** アンカー
************************************/
a {
  color: #2098A8;
  word-wrap: break-word;
}

a:hover {
  color: #C03;
}


/************************************
** レイアウト（Layout）
************************************/
#container {
  padding:0;
  margin: 0 auto;
}

#body-in{
width: 1070px;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 0 !important; /* #body-inの余白は消す */

}

#body{
margin-top: 0;

  padding-top:120px !important; /* ここで固定ヘッダー分の余白を確実に確保する */
}

#main {
  float: left;
  box-sizing: border-box;
  width: 740px;
  padding: 20px 29px;
  border:1px solid #ddd;
  background-color:#fff;
  border-radius: 4px;
  margin-bottom: 30px;
  position: relative;
}

#sidebar {
  float: right;
  width: 300px;
  margin-bottom: 30px;
padding: 0 10px;
}

/* 各ウィジェット（ブロック）ごとの余白 */
#sidebar .widget {
  padding:10px;
  margin-bottom: 30px; /* ウィジェット同士の間隔を広げる */
}

/* ウィジェットの見出し（背景色ありのデザイン） */
#sidebar .widget h2 {
  background-color: #fff; /* サイト全体の背景色と合わせた優しい色味 */
  color: #371c14;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 16px;
  margin: -20px -20px 20px -20px; /* ウィジェットの余白ギリギリまで背景を広げる */
  border-radius: 4px 4px 0 0; /* 上部だけ角丸にする */
  border-left: 4px solid #ffbb27; /* 左側にアクセントカラーのライン */
  border-bottom: 1px solid #ddd;
}

/* リスト項目の上下の余白（窮屈さを解消） */
#sidebar .widget ul li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee; /* 項目ごとの区切り線 */
}

#sidebar .widget ul li:last-child {
  border-bottom: none;
}

.clear{
  clear:both;
}


/* =====================================================
   7. フッター
===================================================== */
.site-footer {
  width:100%;
  background-color:#EFEBE4;
  padding:60px 20px 0;
}

.footer-sns {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  margin-bottom: 15px;
}

.footer-sns a {
  color: #333;
  font-size: 2.5rem;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.footer-sns a:hover {
  opacity:0.6;
}

.footer-inner {
  max-width:1200px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:40px;
}

.footer-section {
  flex:1;
  min-width:250px;
}

.footer-logo {
  max-width:150px;
  margin-bottom:20px;
}

.footer-address {
  line-height:1.8;
  color:#333;
}

.footer-title {
  font-size:1.1rem;
  border-bottom:1px solid #333;
  padding-bottom:10px;
  margin-bottom:15px;
}

.footer-links {
  list-style:none;
  padding:0;
}

.footer-links li {
  margin-bottom:10px;
}

.footer-links a {
  text-decoration:none;
  color:#333;
}

.footer-bottom {
  background-color:#FFC132;
  color:#fff;
  text-align:center;
  padding:20px;
  margin-top:40px;
}
/* スマホ時のフッターレイアウト調整 */
@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    gap: 30px;
  }
}


/************************************
** トップへ戻るボタン（#page-top）の修正
************************************/
#page-top {
position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  z-index: 99999 !important;
}

#page-top a {
  display: block;
  width: 44px;
  height: 44px;
  background-color: #555;
  color: #fff;
  text-align: center;
  line-height: 44px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0; /* 元の文字を隠す */
}

/* FontAwesomeなどのアイコンで上向き矢印を表示する場合 */
#page-top a::before {
  content: "\f106"; /* FontAwesomeの上向き矢印コード */
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  line-height: 44px;
}


/* 個別記事ページなどでも強制的にヘッダーを表示させる */
body.single #header,
#header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


/************************************
** スマホ時：記事(article)まわりの調整
************************************/
@media (max-width: 768px) {
  #body-in {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
  }

  #main,
  #sidebar {
    float: none;
    width: 100%;
  }

  #main {
    padding: 16px 16px;
    margin-bottom: 20px;
  }

  #sidebar {
    padding: 0;
  }

  /* 記事本文 */
  .article {
    font-size: 15px;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* 見出し：PC用のマイナスマージンを解除 */
  .article h1 {
    font-size: 22px;
    margin: 20px 0 16px;
  }

  .article h2 {
    font-size: 19px;
    margin: 32px 0 16px;
    padding: 14px 16px;
  }

  .article h3 {
    font-size: 17px;
    padding: 8px 0;
  }

  .article h4,
  .article h5,
  .article h6 {
    font-size: 16px;
  }

  /* 画像・表・埋め込みのはみ出し防止 */
  .article img,
  .article iframe,
  .article video {
    max-width: 100%;
    height: auto;
  }

  .article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .entry-content {
    margin-bottom: 40px;
  }
	
 .article .post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
  }
  .article .post-meta span,
  .article .post-meta a {
    font-size: 12px;
  }

  /* レビュー星 */
  .article .review-rating {
    margin: 4px 0 8px;
    font-size: 14px;
  }

  /* タグ */
  .article .footer-post-meta .post-tag {
    display: block;
    margin-bottom: 6px;
    line-height: 1.8;
  }

  /* 記事一覧表示(article-list)のとき */
  .article-list .entry-title {
    font-size: 18px;
  }
  .article-list .entry-content {
    margin-bottom: 24px;
  }
}