/* ========================================================= */
/* セクション全体のコンテナ設定 (renovationsSelect, renovationsSelect__inner) */
/* ========================================================= */
.mt50{
 margin-top:50px;
}
@media (max-width: 768px) {
    .mt50{
        margin-top:20px;
    }
}
.renovationsSelect {
    padding: 40px 0; /* セクション上下の余白 */
    /* 必要に応じて背景色やボーダーを設定 */
}

/* 左右のマージンと最大幅の設定 */
.renovationsSelect__inner {
    max-width: 1200px; /* コンテンツの最大幅 */
    margin: 0 auto; /* 左右自動マージンで中央寄せ */
    padding: 0 20px; /* 画面端にくっつかないための内側の余白 */
}

/* ========================================================= */
/* 施工事例セクションの共通設定 */
/* ========================================================= */

/* 見出し「施工事例を見る」のスタイル */
.work-section-title {
    text-align: center;
    font-size: 1.8em; 
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

/* ========================================================= */
/* カードリストと横並びのレイアウト */
/* ========================================================= */

.work-card-list {
    display: flex;
    gap: 20px; /* カード間のスペース */
    justify-content: flex-start; 
    margin-bottom: 40px;
}

/* 各カードのベーススタイル */
.work-card {
    /* 3分割の幅計算 */
    width: calc(33.333% - 13.333px); 
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px; 
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease;
    text-decoration: none; 
    color: inherit;
}

.work-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ========================================================= */
/* 画像の4:3比率固定 */
/* ========================================================= */

/* アイキャッチ画像を囲むラッパー（比率固定のコア部分） */
.work-card .card-thumbnail-wrapper {
    display: block;
    position: relative; 
    width: 100%;
    /* 縦横比を4:3に設定: 3/4 * 100% = 75% */
    padding-top: 75%; 
    overflow: hidden; 
}

/* 画像本体をラッパー内に配置 */
.work-card .card-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をトリミングし、比率内に収める */
    display: block;
}

/* ========================================================= */
/* カード内のコンテンツと情報表示 */
/* ========================================================= */

.work-card .card-content {
    padding: 15px 20px;
}

/* タイトル */
.work-card h3 {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}
.work-card h3 a {
    color: #333;
    text-decoration: none;
}
.work-card h3 a:hover {
    color: #0073aa; 
}

/* タグのコンテナ */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 
    margin-top: 10px;
}

/* 各タグのアイテム */
.tag-item {
    background-color: #e6f7ff; 
    color: #0073aa; 
    font-size: 0.85em;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
}

/* ========================================================= */
/* もっと見るボタン */
/* ========================================================= */

.view-more-container {
    text-align: center;
}

.view-more-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0073aa; 
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
    border: none;
    transition: background-color 0.3s;
}

.view-more-button:hover {
    background-color: #005a87;
}


/* ========================================================= */
/* レスポンシブ対応 (モバイル表示) */
/* ========================================================= */

@media (max-width: 768px) {
    /* モバイルでは左右のpaddingのみを適用 */
    .renovationsSelect__inner {
        padding: 0 15px; 
    }
    
    .work-card-list {
        flex-direction: column; /* 縦積み */
        gap: 15px;
    }
    
    .work-card {
        width: 100%; /* 全幅表示 */
    }
    
    .work-section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
}
/*
リノベーションメニュー
*/
/* ========================================================= */
/* 共通設定 (変更なし) */
/* ========================================================= */
.service-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.service-item {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}
.service-item:last-child {
    border-bottom: none;
}
.service-item__title {
    font-size: 1.6em;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* ========================================================= */
/* PC/タブレットレイアウト (2カラム) */
/* ========================================================= */

.service-item__content {
    display: flex;
    align-items: center; 
    gap: 40px; 
}

/* 🚨【変更点】画像エリアの幅を30%に縮小 */
.service-item__media {
    flex: 0 0 35%; /* 画像エリアの幅を30%に固定 */
    max-width: 35%;
    line-height: 0; 
    
    /* 4:3比率固定のための設定 (画像ラッパーとして機能させる) */
    position: relative; 
    padding-top: calc(35% * 0.75); /* 幅30%に対する高さ75% (4:3) */
    overflow: hidden;
}

/* 画像本体はラッパー内で絶対配置 */
.service-item__media img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover; /* 4:3比率でトリミング */
    display: block;
    border-radius: 4px; 
}

.service-item__body {
    flex: 1; /* 残りの幅 (70% - gap) を占める */
    font-size: 16px;
    font-weight: 500;
    line-height: 2.1;
}

/* 画像とテキストの順番を反転させるためのクラス */
.service-item--reverse .service-item__content {
    flex-direction: row-reverse; 
}


/* ========================================================= */
/* レスポンシブ対応 (スマートフォン) - 変更なし */
/* ========================================================= */

@media (max-width: 768px) {
    .service-item {
        padding: 30px 0;
    }
    
    /* 縦積みに変更 */
    .service-item__content,
    .service-item--reverse .service-item__content {
        flex-direction: column; 
        gap: 20px; 
    }
    
    /* スマホ時は画像エリアを全幅に戻す */
    .service-item__media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        order: -1; 
        
        /* スマホ時の4:3比率の再計算 (幅100%に対する高さ75%) */
        padding-top: 75%; 
    }
    
    .service-item--reverse .service-item__media {
        order: 1; 
    }
    
    .service-item__body {
        order: 0; 
    }

    .service-item--reverse .service-item__body {
        order: 0; 
    }

    .service-item__title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
}
/*
 how to
*/
/* ========================================================= */
/* フローセクション全体のコンテナ設定 */
/* ========================================================= */
.flow-section {
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

/* フローアイテムごとのコンテナ */
.flow-item {
    padding: 30px 0;
    border-top: 1px solid #ddd; 
}
.flow-item:last-child {
    border-bottom: 1px solid #ddd; 
}

/* ========================================================= */
/* PC/タブレットレイアウト (2カラム) */
/* ========================================================= */

.flow-item__content {
    display: flex;
    align-items: center; 
    gap: 30px; 
    flex-direction: row; 
}

/* テキストエリア */
.flow-item__body {
    flex: 1; 
    padding-right: 20px; 
}

/* 画像エリア */
.flow-item__media {
    flex: 0 0 45%; 
    max-width: 45%;
    line-height: 0; /* 画像の下の余白を削除 */
}

/* 【追加】画像本体のスタイル */
.flow-item__media img {
    width: 100%;
    height: auto;
    display: block;
    /* 必要であればここで画像の角丸などを設定 */
}

/* フローアイテムの見出し */
.flow-item__title {
    font-size: 1.4em;
    font-weight: bold;
    color: #0073aa; 
    margin-bottom: 15px;
    border: 1px solid #0073aa; 
    display: inline-block; 
    padding: 5px 10px;
}

/* ========================================================= */
/* レスポンシブ対応 (スマートフォン) */
/* ========================================================= */

@media (max-width: 768px) {
    .flow-item {
        padding: 20px 0;
    }
    
    /* 縦積みに変更 (画像が下、テキストが上) */
    .flow-item__content {
        flex-direction: column; 
        gap: 20px; 
    }
    
    /* テキストエリアの余白をリセット */
    .flow-item__body {
        padding-right: 0;
        order: 0; 
    }
    
    /* 画像エリアを全幅に変更し、下に配置 */
    .flow-item__media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        order: 1; 
    }
}
/*
目次
*/

/* ========================================================= */
/* フローナビゲーション（目次）のスタイル */
/* ========================================================= */

.flow-nav {
    margin: 60px auto 40px; 
    text-align: center;
    overflow-x: auto; 
    padding-bottom: 15px; 
}

.flow-nav__list {
    display: flex;
    justify-content: center; 
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap; 
    flex-wrap: nowrap; 
    
    background-color: #ffffff; 
    border-radius: 15px; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); 
    padding: 15px 10px;
}

.flow-nav__list li {
    display: flex;
    align-items: center;
    padding: 0; 
    position: relative; /* ラインの基準点とする */
}

/* 🚨【ラインの追加】li要素の後にラインを挿入 */
.flow-nav__list li::after {
    content: '';
    display: block;
    width: 30px; /* ラインの長さ */
    height: 2px; /* ラインの太さ */
    background-color: #008080; /* ラインの色 */
    margin: 0 10px; /* ラインの左右マージン */
}

/* 🚨【ラインの終点】最後の項目にはラインを表示しない */
.flow-nav__list li:last-child::after {
    display: none;
}


/* ナビゲーションリンク（全体）*/
.flow-nav__list a {
    writing-mode: vertical-rl; 
    text-orientation: upright; 
    
    display: flex; 
    justify-content: center; 
    align-items: center;    
    
    position: relative; 
    text-decoration: none;
    
    height: 220px; /* PCでの高さ */
    flex-shrink: 0; /* PC幅で縮まないようにする */
    
    padding: 15px 8px; 
    border-radius: 10px; 
    background-color: #fcfcfc; 
    border: 1px solid #eee; 
    transition: all 0.3s ease;
}

.flow-nav__list a:hover {
    background-color: #eaf8ff; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px); 
}

/* 数字の頭揃えと強調 */
.flow-nav__list a .step-num {
    writing-mode: horizontal-tb; 
    text-orientation: mixed;
    
    position: absolute; 
    top: 5px; 
    left: 5px; 
    
    font-size: 1.6em; 
    color: #008080; 
    font-weight: 900;
    padding: 2px;
}

/* テキストの配置調整 */
.flow-nav__list a .step-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    
    margin-top: 25px; 
    
    color: #555; 
    font-weight: 500;
    font-size: 1em;
}

/* ========================================================= */
/* フローアイテム（コンテンツ本体）のスタイル */
/* ========================================================= */

.flow-section {
    max-width: 1000px; 
    margin: 40px auto; 
    padding: 0 20px; 
}

/* アンカーリンクの飛び先調整 */
.flow-item {
    padding: 30px 0;
    border-top: 1px solid #ddd; 
}
.flow-item:last-child {
    border-bottom: 1px solid #ddd; 
}

/* フローアイテムの見出し */
.flow-item__title {
    font-size: 1.4em;
    font-weight: bold;
    color: #0073aa; 
    margin-bottom: 15px;
    border: 1px solid #0073aa; 
    display: inline-block; 
    padding: 5px 10px;
}

/* PC/タブレットレイアウト (2カラム) */
.flow-item__content {
    display: flex;
    align-items: center; 
    gap: 30px; 
    flex-direction: row; 
    flex-wrap: nowrap; /* PC幅で折り返さないようにする */
}
.flow-item__body {
    flex: 1; 
    padding-right: 20px; 
}
.flow-item__media {
    flex: 0 0 45%; 
    max-width: 45%;
    line-height: 0; 
    flex-shrink: 0; /* PC幅で画像が予期せず小さくなるのを防ぐ */
}
.flow-item__media img {
    width: 100%;
    height: auto;
    display: block;
}
    .recruit .flowDetail {
        background-color: #f3f3f3;
        padding: 74px 0 30px;
    }
/* ========================================================= */
/* レスポンシブ対応 (スマートフォン) - 安定化ブロック */
/* ========================================================= */

@media (max-width: 768px) {
    .recruit .flowDetail {
        padding: 30px 10px;
    }
    /* --- 1. ナビゲーション修正 --- */
    .flow-nav {
        padding-left: 0;
        padding-right: 0;
    }
    .flow-nav__list {
        padding: 8px; 
    }
    .flow-nav__list li{
        width:50px;
        left:4px;
    }
    .flow-nav__list li::after {
        width: 5px; /* スマホでラインを短く */
        margin: 0 5px;
    }
    .flow-nav__list a {
        height: 150px; 
        font-size: 0.9em;
        padding: 10px 4px;
        flex-shrink: 0; 
    }
    
    /* スマホで数字とテキストの配置を調整 */
    .flow-nav__list a .step-num {
        top: 5px; 
        left: 5px; 
        font-size: 1.2em;
        padding:0;
    }
    .flow-nav__list a .step-text {
        margin-top: 15px; 
        font-size: 0.9em;
    }

    /* --- 2. フローアイテム（コンテンツ本体）修正 --- */
    .flow-item__content {
        flex-direction: column; /* 縦積みに強制 */
        flex-wrap: wrap; 
    }
    
    .flow-item__body {
        padding-right: 0;
        order: 0;
    }
    
    .flow-item__media {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%; 
        order: 1; 
        flex-shrink: 1; 
    }
    
    .flow-item__media img {
        width: 100%;
        height: auto;
    }
    
    .flow-item__title {
        font-size: 1.2em;
    }
}
/*

price

*/

/* --- [work_accordion] ショートコード専用 CSS (最終版 - レスポンシブ対応) --- */

/* 1. 基本設定 (モバイルファースト) */
.work-accordion-wrapper {
    margin-bottom: 20px ;
    border: 1px solid #ddd ;
    border-radius: 5px ;
    background: #fff ;
    overflow: hidden ;
}
.work-accordion-wrapper .work-details {
    margin: 0 ;
}
.work-accordion-wrapper .work-summary-title-only { /* バー */
    display: flex ;
    align-items: center ;
    padding: 15px ;
    cursor: pointer ;
    list-style: none ;
    background-color: #f7f7f7 ; 
}
.work-accordion-wrapper .work-title-display { /* バータイトル */
    margin: 0 ;
    font-size: 18px ;
    font-weight: bold ;
    flex-grow: 1 ;
    display: flex ;
    justify-content: space-between ;
    align-items: center ;
}
.work-accordion-wrapper .icon-toggle::before { content: '+' ; }
.work-accordion-wrapper .work-details[open] .icon-toggle::before { content: '-' ; }

/* 4. 開いた中身のメインエリア - モバイル設定 (縦並び、画像が上に来る) */
.work-accordion-wrapper .work-content-area {
    display: flex ;
    flex-direction: column ; /* ★モバイル: 縦に並べる */
    padding: 0 20px 20px ;
    background: #fafafa ;
    align-items: stretch ; /* 高さの基準を揃える */
}

/* 6. 右側：アイキャッチ画像エリア (モバイル時は上へ) */
.work-accordion-wrapper .work-post-header-right.image-only {
    order: -1 ; /* ★モバイル: 画像を一番上 (テーブルの上) に配置 */
    flex: none ;
    width: 100% ; /* スマホ幅いっぱい */
    margin-bottom: 20px ;
    text-align: center ; 
}
.work-accordion-wrapper .work-content-thumb { /* 画像コンテナ */
    width: 100% ; 
    height: 0 ; 
    padding-top: 75% ; /* ★モバイル: 4:3 比率固定 */
    position: relative ; 
    margin: 0 auto ; 
    overflow: hidden ;
    border: 1px solid #eee ;
}
.work-accordion-wrapper .work-content-thumb img {
    width: 100% ;
    height: 100% ;
    position: absolute ;
    top: 0 ;
    left: 0 ;
    object-fit: cover ; 
    display: block ;
    max-width: 100% ; 
}

/* 5. 左側：カスタムフィールド情報エリア (モバイル時は下へ) */
.work-accordion-wrapper .work-post-content {
    order: 0 ; /* ★モバイル: 画像の下に配置 */
    flex: none ;
    width: 100% ;
    padding-right: 0 ;
}
.work-accordion-wrapper .repair-description {
    margin-top: 0 ; 
    font-size: 14px ;
    display: flex ;
    flex-direction: column ; /* ★モバイル: 縦に並べる */
    padding: 20px ;
    border-top: 1px solid #eee ;
    background: #fafafa ;
    align-items: stretch ; /* 高さの基準を揃える */
}
.work-accordion-wrapper .repair-meta-table { /* テーブル */
    width: 100% ;
    border-collapse: collapse ;
    border: 1px solid #ccc ;
    font-size: 14px ;
    table-layout: fixed ; 
    margin-bottom: 0 ;
}
.work-accordion-wrapper .repair-meta-table th {
    background-color: #f0f0f0 ;
    width: 30% ; 
    font-weight: bold ;
    color: #333 ;
}
.work-accordion-wrapper .repair-meta-table th,
.work-accordion-wrapper .repair-meta-table td {
    padding: 8px 10px ;
    border: 1px solid #ccc ;
    text-align: left ;
}


/* ======================================================= */
/* 8. PC表示用メディアクエリ (幅 768px 以上で適用) */
/* ======================================================= */
@media (min-width: 768px) {

    /* 4. 開いた中身のメインエリア - PC設定 (横並び、高さ一致) */
    .work-accordion-wrapper .work-content-area {
        flex-direction: row ; /* ★PC: 横に並べる */
        align-items: stretch ; /* ★PC: 高さを自動で揃える */
    }

    /* 5. 左側：カスタムフィールド情報エリア - PC設定 */
    .work-accordion-wrapper .work-post-content {
        order: 0 ; /* テーブルを左に */
        flex: 1 ; /* スペースを占有 */
        width: auto ;
        padding-right: 30px ;
        /* テーブルのトップを揃えるために、説明文の上にマージンを入れない */
        margin-top: 0 ;
    }
    .work-accordion-wrapper .repair-description {
        margin-top: 0 ;
    }


    /* 6. 右側：アイキャッチ画像エリア - PC設定 */
    .work-accordion-wrapper .work-post-header-right.image-only {
        order: 1 ; /* 画像を右に */
        flex: 0 0 200px ; /* 幅を固定 */
        margin-bottom: 0 ;
        
        /* ★重要: 画像コンテナが左側のテーブルと同じ高さになるように Flex を使用 */
        display: flex ;
        flex-direction: column ;
        /* align-items: flex-start;  */ /* 画像のスタート位置を揃えるため、親の align-items: stretch を利用 */
    }

    /* 7. 中身のアイキャッチ画像（右側に配置） - PC設定 */
    .work-accordion-wrapper .work-content-thumb {
        width: 100% ; 
        height: 100% ; /* ★PC: 親要素の高さまで強制的に広げる */
        padding-top: 0 ; /* ★PC: 固定比率を解除し、高さ追従に切り替え */
        margin: 0 auto 0 auto ; 
        border: 1px solid #eee ;
        
        /* 画像のトップを揃えるために、画像コンテナの開始位置を調整 */
        align-self: flex-start ;
    }

    .work-accordion-wrapper .work-content-thumb img {
        height: 100% ; /* 画像も高さ100%で親要素に追従 */
        object-fit: cover ; 
    }
    
    .work-accordion-wrapper .no-image-placeholder {
        height: 100% ;
        padding-top: 0 ;
        line-height: normal ;
        display: flex ;
        align-items: center ;
        justify-content: center ;
    }
}
/*

blog

*/
.blog {
padding: 40px 20px 30px;
}
.blog__category, .blog__date {
color: #505050;
font-size: 12px;
font-weight: 500;
}
.blog__inner {
max-width: 780px;
margin: 40px auto auto;
}
.blog__text {
max-width: 780px;
font-size: 14px;
font-weight: 500;
text-align: justify;
line-height: 40px;
margin: 70px auto 0;
}
.blogList .blogListTrack__list {
display: grid;
grid-template-columns: repeat(3, 1fr);
place-items: center;
gap: 30px 20px;
margin-top: 60px;
}
.bread {
  font-size:12px;
}
/*

work

*/
.work {
padding: 216px 20px 90px;
}
h3.jirei {
font-size: 20px;
font-weight: bold;
text-align: center;
margin-top: 20px;
}
@media (min-width: 768px) {
h3.jirei {
font-size: 30px;
margin-top: 50px;
}
}

/* ベースのテーブルスタイル */
.work__info-table {
  width: 80%; 
  border-collapse: collapse; 
  margin: 1.5em auto; 
  font-size: 16px; 
}

.work__info-table th,
.work__info-table td {
  padding: 10px 15px; 
  border: 1px solid #ddd;
  line-height: 1.6;
}

.work__info-table th.work__info-title {
  width: 30%; 
  text-align: left; 
  background-color: #f7f7f7; 
  font-weight: bold; 
}

.work__info-table td.work__info-content {
  width: 70%; 
  text-align: left;
}

.work__info-table tr:nth-child(even) {

}
.work__info-table tr:nth-child(even) td {
  background-color: #ffffff; 
}
.work__info-table tr:nth-child(odd) td {
  background-color: #fcfcfc; 
}
.workBefore__image_box,.workAfter__image_box{
 display:flex;
}

.workBefore__title_new,.workAfter__title_new{
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #1c1c1c;
  font-family: "Manrope", sans-serif;
  font-size: 70px;
  font-weight: bold;
}
@media (max-width: 768px) {
 .workBefore__title_new,.workAfter__title_new{
  font-size: 30px;
 }
}
.workBefore__image_box,.workAfter__image_box{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.swiper-slide_x {
  width: calc((100% - 40px) / 3);
  height: 0;
  padding-bottom: calc(((100% - 40px) / 3) / 3 * 4);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.swiper-slide_x img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .swiper-slide_x {
    /* 2列の場合の幅とPadding Hackを再計算 */
    /* 2列なので、合計20pxのgap（間の1つ）を引いて2で割ります */
    width: calc((100% - 20px) / 2);
    height: 0;
    
    /* 新しい幅に対して3:4を適用 (幅 / 3 * 4) */
    padding-bottom: calc(((100% - 20px) / 2) / 3 * 4); 
    
    /* 縦のgapはそのまま */
    margin-bottom: 20px;
  }
}
/*
FVの高さ調整
*/
 .recruit__fv,.workList__fv,.newsList__fv {
  height: 500px;
 }
@media (max-width: 768px) {
 .recruit__fv,.workList__fv,.newsList__fv {
  height: 150px;
 }
}

/* ========================================================= */
/* Header dropdown (こだわり配下) - PCは hover でプルダウン */
/* ========================================================= */

/* PCのみ hover 展開。スマホは details のクリック開閉を維持 */
@media (min-width: 769px) {

  /* ドロップダウンの基準 */
  .header__nav .header__menu--dropdown {
    position: relative;
    display: inline-block;
  }

  /* summary を通常のメニュー見た目に寄せる */
  .header__nav .header__menu--dropdown > summary.header__menu {
    list-style: none;
    cursor: pointer;
  }
  /* Safari/Chrome のマーカーを消す */
  .header__nav .header__menu--dropdown > summary::-webkit-details-marker {
    display: none;
  }

  /* サブメニュー（初期は非表示） */
  .header__nav .header__submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;

    min-width: 220px;
    padding: 10px;

    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
  }

  /* hover / キーボード操作時に表示 */
  .header__nav .header__menu--dropdown:hover .header__submenu,
  .header__nav .header__menu--dropdown:focus-within .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* サブメニューのリンク */
  .header__nav .header__submenu-item {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;

    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;

    transition: all 0.2s ease;
  }

  /* hover時のトーン（ew_library.cssのhover表現に寄せる） */
  .header__nav .header__submenu-item:hover,
  .header__nav .header__submenu-item:focus {
    background-color: #eaf8ff;
    color: #0073aa;
    outline: none;
  }

  /* details の open 状態に依存させない（hoverで出すため） */
  .header__nav .header__menu--dropdown[open] .header__submenu {
    /* hoverでの表示制御を優先するため、ここでは何もしない */
  }
}

/* ========================================================= */
/* （任意）スマホ：こだわり配下を少し見やすく */
/* ========================================================= */
@media (max-width: 768px) {
  .slide__nav .slide__submenu {
    padding-left: 10px;
	  color:white;
  }
  .slide__nav .slide__submenu-item {
    display: block;
    grouping: normal;
    padding: 10px 0;
  }
}
