<!-- === 1. CSS スタイル === -->
<style>
  /* 全体の枠組み */
  #wrapper {
    width: 640px;
    margin: 0px auto;
    padding: 0px;
    position: relative; /* オーバーレイ配置の基準位置 */
    font-weight: normal;
  }

header {
    position: relative; /* 検索バーをここにぶら下げる */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    padding: 5px 10px;
    background-color: #ffffff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

  /* 1. ヘッダーロゴエリア */
  .header-logo-area {
    position: relative;
    width: 640px;
  }
 
  
  .logo-img {
    max-width: 100%;/* &#128072; 640pxの枠が狭くなっても、ロゴ画像が自動で縮小してはみ出さない */
    height: auto;
    display: block;
  }

  /* ロゴ内の検索ボタン */
  .search-trigger-btn {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(200, 200, 200);
    border-radius: 12px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 12px;
    flex-shrink: 0; /* &#128072; 絶対にボタンが潰されないようにする */
    position: absolute;
    top: 30px;
    left: 83%;
    transition: background-color 0.2s, color 0.2s;
  }
  .search-trigger-btn:hover { /* クラス名を修正 */
    background-color: rgba(102,153,0,0.5);
    color: #ffffff;
  }

  /* 2. ヘッドメニューの画像調整 */
  .head-menu img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* 3. オーバーレイで浮かせる大検索バー */
  .search-box-container {
    display: block;
    position: absolute;
    top: 135px; /* ★ロゴとメニューの下にぴったり重なる位置に固定 */
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100; /* 下の記事より手前に表示 */

    /* アニメーション用（初期状態：透明＋少し上に配置） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease-out;

    /* 見た目のデザイン */
    background: #ffffff;
    border: 1px solid rgb(102,153,0);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  /* ボタンが押された（is-open がついた）とき */
  .search-box-container.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* シュッとスライドして出現 */
  }

  /* 検索エリア内のデザイン */
  .search-guide {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #333;
    text-align: center;
    font-weight: bold;
  }

  .large-search-form {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .large-search-form input[type="text"] {
    flex: 1;
    height: 44px;
    padding: 0 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    box-sizing: border-box;
    background: url('http://www.google.com/cse/intl/ja/images/google_custom_search_watermark.gif') no-repeat scroll left center rgb(255, 255, 255);
  }
  .large-search-form input[type="text"]:focus {
    border-color: #0066cc;
  }
  .large-search-form button {
    height: 44px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background-color: rgb(102,153,0);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
  }