

@charset "utf-8";
/* style.css　CSS Document */

/* 青いお問い合わせボタンの専用デザイン（外部ファイル用） */
.btn-blue {
  background-color: #005bac !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 15px !important;
  font-weight: bold !important;
  line-height: 1.5 !important;
  text-align: center !important;
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
  cursor: pointer !important;
  white-space: normal !important;
  transition: all 0.3s ease !important;
}
.btn-blue:hover {
  background-color: #004584 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
  transform: translateY(-1px) !important;
}*/


.frontCompna input{
	border: 1px solid #0000A0!important; /* 枠線 */
	border-radius: 5px!important;   /* 角丸 */
	background-color: #06F!important;
}


}


/*********************▼*****milanosalone.CSSからの移植***********************************/

#matomi_line-333{
	width: 100%;
	font-size: 14px;
	z-index: 9;
	top: 0px;
	position: relative;
	padding: 5px;
	margin-bottom: 15px;
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #DDDDDD;
	border-bottom-color: #DDDDDD;
}	


/*-----------Q-and A---設置-20251220.---------------------------------------*/
/* =============================================
 * Q&Aセクション カスタムスタイル (2025年版)
 * ============================================= */

/* 1. 全体コンテナ */
.ec-qaSection {
    padding: 40px 0;
    background: #fff;    
}

.ec-qaSection__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 項目間の隙間 */
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Q&Aアイテム（PC2列 / スマホ1列） */
.ec-qaItem {
    width: calc(50% - 10px); /* PCでは横に2つ並べる */
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
    list-style: none; /* デフォルトのマーカー削除 */
    border: 1px solid #666;
}

@media screen and (max-width: 768px) {
.ec-qaItem {
        width: 100%; /* スマホでは横幅いっぱい */
        border: 1px solid #666;
    }
}

/* 3. 質問エリア（summary） */
.ec-qaItem__summary {
    display: flex;
    align-items: center;
    padding: 20px 80px 20px 20px; /* 右側に大きなアイコン用の余白を確保 */
    cursor: pointer;
    position: relative;
    font-weight: bold;
    list-style: none;
    transition: background 0.3s;
    min-height: 80px; /* 大きなアイコンに合わせた高さ */
}

.ec-qaItem__summary::-webkit-details-marker {
    display: none; /* Safari用のマーカー削除 */
}

.ec-qaItem__details[open] .ec-qaItem__summary {
    background: #f8f8f8;
}

/* 4. 「Q」アイコン（サイズ 2.5em） */
.ec-qaItem__q-icon {
    color: #666;
    margin-right: 20px;
    font-size: 3.2em; /* ご要望のサイズ */
    font-weight: 200;        
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1;   
    display: inline-block; 
}

/* 質問テキスト */
.ec-qaItem__question {
	font-size: 1.1em;
	line-height: 1.4;
	font-weight: normal;
}

/* 5. 「＋」「ー」アイコン（サイズ 2.5em相当 / 約40px） */
.ec-qaItem__plus {
    position: absolute;
    right: 25px;
    width: 40px;  /* 2.5em相当の幅 */
    height: 40px; /* 2.5em相当の高さ */
}

.ec-qaItem__plus::before,
.ec-qaItem__plus::after {
    content: "";
    position: absolute;
    background: #333;
    transition: transform 0.3s, opacity 0.3s;
}

/* 横棒（－）の設定 */
.ec-qaItem__plus::before {
    width: 100%;
    height: 4px;   /* 線の太さ */
    top: 18px;     /* 中央配置 (40px-4px)/2 */
    left: 0;
}

/* 縦棒（＋にするための棒）の設定 */
.ec-qaItem__plus::after {
    width: 4px;    /* 線の太さ */
    height: 100%;
    top: 0;
    left: 18px;    /* 中央配置 (40px-4px)/2 */
}

/* アコーディオンが開いた時：縦棒を消して「－」にする */
.ec-qaItem__details[open] .ec-qaItem__plus::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* 6. 回答エリア */
.ec-qaItem__answer {
	padding: 25px;
	display: flex;
	border-top: 1px solid #eee;
	background: #fff;
	line-height: 1.8;
	font-weight: normal;
}

.ec-qaItem__a-icon {
    color: #333;
    font-weight: bold;
    font-size: 1.5em; /* 回答のAは少し控えめなサイズ */
    margin-right: 20px;
    line-height: 1;
}

.ec-qaItem__text {
    margin: 0;
    flex: 1;
}



/*------------画像の横並----20251223---------------*/

    /* 画像を囲むコンテナの設定 */
.image-flex-container {
    display: flex;
    flex-wrap: wrap; /* 幅が足りない時に折り返す設定 */
    justify-content: space-between;
    width: 100%;
    }

    /* PC・タブレット用の設定（横並び 50%） */
.image-item {
  flex: 0 0 50%; /* 隙間を考慮して48%に設定 */
  margin-bottom: 20px;
    }

.image-item img {
  width: 100%;
  height: auto;
  display: block;
    }

    /* スマートフォン用の設定（縦並び 100%） */
    /* 画面幅が768px以下の時に適用されます */
@media (max-width: 768px) {
   .image-item {
            flex: 0 0 100%; /* 横幅いっぱいに広げて縦に並べる */
    margin-bottom: 15px;
        }
    }
	
	
/*------------------Q amd A の回答　エリア　ボタン　縦並び---20251225-------------------*/
	
	
	/* 回答エリアの構成を調整 */
.ec-qaItem__answer {
    display: flex;
    align-items: flex-start;
}

.ec-qaItem__content {
    flex: 1; /* Aアイコンの右側すべてを使う */
}

/* ボタンエリアの設定（縦並びの指示） */
.ec-qaItem__button-area {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    align-items: flex-start; /* 左寄せにする */
    gap: 10px; /* ボタン同士の隙間 */
    margin-top: 15px; /* テキストとの間隔 */
}

/* ボタン自体の装飾（お好みで調整してください） */
.qa-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.2s;
    width: auto; /* 文字数に合わせる。100%にすると横幅いっぱいになります */
}

.qa-btn:hover {
    background-color: #e2e6ea;
}


.ec-qaItem__button-area input{
	font-size: 22px;
	font-weight: 500;
	color: #FFF;
	margin-top: 5px;
	margin-bottom: 10px;
	width: 100%;
        float: ;
	height: auto;
	text-align: center;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	background-color: #FF8000;
	border-radius : 10px;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 15px;
	padding-left: 5px;
	border: 2px solid #FFF;
	z-index: auto;
}


.ec-qaItem__button-area-aoiro input{
	font-size: 22px;
	font-weight: 500;
	color: #FFF;
	margin-top: 5px;
	margin-bottom: 10px;
	width: 100%;
        float: ;
	height: auto;
	text-align: center;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	background-color: ;
	border-radius : 10px;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 15px;
	padding-left: 5px;
	border: 2px solid #FFF;
	z-index: auto;
	background-color: #307fb8;
}
/*------20261005----追加------------------------------------*/


/* 1** 説明文のスタイル */
.magazine-desc {
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 15px 0 10px 0 !important;
  color: #333333 !important;
  text-align: left !important;
}

/* 2** 価格（24px）と消費税（12px）を綺麗に横並びにする（Flexbox） */
.magazine-price-row {
  display: flex !important;
  align-items: baseline !important; /* 文字の下揃え */
  gap: 8px !important;              /* 金額と消費税の間隔 */
  margin-bottom: 7px !important;
}
.price-amount {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #000000 !important;        /* 金額の文字色（黒） */
}

.designbooks-title {
	font-size: 24px !important;
	font-weight: 400 !important;
	color: #000000 !important;        /* 金額の文字色（黒） */
	line-height: 1.3em !important;
}



.designbooks-title-ms {
	font-size: 24px !important;
	font-weight: 400 !important;
	color: #000000 !important;        /* 金額の文字色（黒） */
	line-height: 1.3em !important;
	width: 30% !important;
	margin-right: 30% !important;
	margin-left: 30% !importan;
}




.price-tax {
	font-size: 12px !important;
	color: #666666 !important;        /* 消費税の文字色（グレー） */
	line-height: 1.2em!important; 
	height: 14px!important; 
	width: auto!important; 
}

.price-ant {
	font-size: 12px !important;
	color: #0066CC !important;        /* 消費税の文字色（グレー） */
	line-height: 1.2em!important; 
	height: 12px!important; 
	width: auto!important; 
	font-weight: 500!important; 
}


/* 3*** 注文ボタン（input[type="button"] のグレー背景を強制上書き） */
.magazine-btn-area {
  text-align: center !important;    /* ボタンを中央に配置 */
  margin-top: 10px !important;
}

/* 3*** 注文ボタン（input[type="button"] のグレー背景を強制上書き） */
.magazine-btn-area-ms {
	text-align: center !important;
	width: 30%;
	margin-right: 50px;
	margin-left: 100px;
}






input.qa-btn {
	background-color: #005bac !important; /* 鮮やかな青色 */
	color: #ffffff !important;           /* 文字色を確実な白に固定 */
	border: none !important;
	font-size: 15px !important;
	font-weight: bold !important;
	line-height: 1.5 !important;
	text-align: center !important;
	display: inline-block !important;
	width: 100% !important;              /* 幅をいっぱいに広げる */
	max-width: 300px !important;
	border-radius: 4px !important;
	box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
	cursor: pointer !important;
	white-space: normal !important;
	transition: all 0.3s ease !important;
	-webkit-appearance: none !important; /* スマホやブラウザ特有のデザインをリセット */
	appearance: none !important;
	padding-top: 12px;
	padding-right: 8px;
	padding-bottom: 12px;
	padding-left: 8px;
}
/* ボタンにマウスを乗せたとき（ホバー効果） */
input.qa-btn:hover {
  background-color: #0072d6 !important; /* 少し明るい青に変化 */
  opacity: 0.9 !important;
}

/* ==========================================================
   トップページ上部ボタンのオレンジ色を強制的に復元する設定
   ========================================================== */
/* ※上部ボタンの本来のクラス名が分からないため、ページ全体の上部ボタン（雑誌エリア以外）を元のオレンジ色（#ff9900など）に固定します */

/* もし上部ボタンに「qa-btn」という共通クラスが使われている場合の対策 */
body :not(.magazine-btn-area) > input.qa-btn {
  background-color: #ff9900 !important; /* ★ここにお手元の元のオレンジ色のカラーコード（例: #ff9900 や #e67e22 など）を入れてください */
  color: #ffffff !important;           /* 文字色は白 */
  border: none !important;
}


/*==================================================
  フリーダイヤル固定バー（スマホ：受話器復活＆電話連動版）
==================================================*/

/* [PC版] 外枠の配置設定 */
.custom-header-tel {
    position: fixed !important;
    top: 10px !important;       
    right: 20px !important;     
    left: auto !important;
    z-index: 999999 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 0 !important;       
    padding: 6px 12px !important;
    background: #ffffff !important; 
    border: 1px solid #eee !important;
    border-radius: 4px !important;
}

/* 横並び設定 */
.custom-header-tel a.tel-fixed-inner {
    text-decoration: none !important;
    color: #545353 !important; 
    display: flex !important;
    flex-direction: row !important; 
    align-items: center !important; 
}

/* [PC版] 受話器アイコンのサイズ */
.custom-header-tel .tel-icon {
    display: inline-block !important; 
    width: 26px !important;  
    height: 26px !important; 
    margin-right: 8px !important; 
    stroke-width: 1.5 !important; /* 線描を細く */
    flex-shrink: 0 !important;   
}

/* [PC版] 電話番号の文字設定 */
.custom-header-tel .tel-num {
	font-size: 22px !important;
	font-weight: 300 !important;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif !important;
	display: inline-block !important;
	white-space: nowrap !important;
}

/* [PC版] スマホ用テキストは非表示 */
.custom-header-tel .tel-text {
    display: none !important;
}


/* ==================================================
   [スマホ版] ブラウザの横幅を「768px以下」に狭めた時の最終調整
   ※メニューの外（ヘッダー）に常に露出し、三本線の左横に固定します
================================================== */
@media screen and (max-width: 768px) {
    
    /* 画面全体（fixed）に対して、高めのヘッダー内に常に固定する設定 */
    .custom-header-tel {
        position: fixed !important;    /* 基準を画面全体に戻し、常に出しっぱなしにします */
        top: 25px !important;          /* 【調整】高さ60pxのヘッダー内で綺麗に中央に見える高さにしました。ずらす場合はここを変更してください */
        right: 65px !important;        /* 三本線アイコン（右端）の「左横」に綺麗に並ぶ距離 */
        left: auto !important;
        transform: translateY(-50%) !important; /* 縦方向のズレを自動で微調整 */
        z-index: 999999 !important;    /* メニューやヘッダーの裏に隠れないよう、一番手前に引き出します */
        
        /* 不要な背景や枠線を消して、スマホのヘッダーに自然に馴染ませます */
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        display: block !important;     /* 非表示（隠れるバグ）を強制解除 */
        visibility: visible !important;
    }

    /* 「受話器 ＋ スマートホーン」の強制横並び設定 */
    .custom-header-tel a.tel-fixed-inner {
        display: flex !important;
        flex-direction: row !important; /* 確実に1行で横並び */
        align-items: center !important; 
        justify-content: flex-end !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }

    /* スマホヘッダーに並ぶ、線の細い受話器アイコン */
    .custom-header-tel .tel-icon {
        display: inline-block !important; /* 【復活】文字だけでなく、受話器もスマホ画面に表示します */
        width: 16px !important;  /* 日本語文字に合わせたスマートなサイズ */
        height: 16px !important;
        margin-right: 4px !important; /* アイコンと文字の間の隙間 */
        stroke-width: 1.5 !important; /* ご要望の「細い線」をしっかり維持 */
        stroke: #545353 !important;   /* 文字と同じ上品なグレーに統一 */
        flex-shrink: 0 !important;
    }

    /* 「スマートホーン」の日本語文字設定 */
    .custom-header-tel .tel-text {
        display: inline-block !important; 
        font-size: 14px !important;  
        color: #545353 !important;   
        font-weight: bold !important; /* くっきり太字 */
    }

    /* スマホ版では電話番号（数字：0120...）は完全に非表示にして隠す */
    .custom-header-tel .tel-num {
        display: none !important;
    }
}


/* ==========================================================
   スマートフォン用の画像表示修正（画像が上下に切れる現象を解決）
   ========================================================== */
@media screen and (max-width: 767px) {
  /* 雑誌の画像が入る枠の高さ設定を解除し、自動調整にします */
  .DesignbooksLinkItemImg {
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /* 画像そのものが横幅いっぱいに綺麗に縮小されるようにします */
  .DesignbooksLinkItemImg img {
    position: static !important; /* パソコン用の絶対配置（中央切り抜き）を解除 */
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* 画像全体を枠内に収める設定 */
    transform: none !important;
  }
}

/* ===============スマトホーンの解像度=フリーダイヤル=を表示させない2026/10/10============= */

@media screen and (max-width: 768px) {
  .custom-header-tel {
	display: none !important;
	background-color: #FF0;
	height: auto;
	width: 100%;
	position: relative;
  }
  }
  
#waku-foot {
    position: static !important; /* パソコン用の絶対配置（中央切り抜き）を解除 */
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* 画像全体を枠内に収める設定 */
  }
  
  
  /* ==========================================================================
   フォトギャラリー（3カラムブロック）のスタイル
   ========================================================================== */

/* パソコンやタブレットなどの広い画面での設定 */
.gallery-container {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1600px; /* 広がりすぎるのを防ぐ */
  margin: 0 auto;    /* 中央寄せ */
  box-sizing: border-box;
}
.gallery-item {
	flex: 1;
	text-align: left;
	box-sizing: border-box;
}

.Accommodation.gallery-item-pan {
	flex: 1;
	text-align: left;
	box-sizing: border-box;
	padding-right: 15px;
	padding-left: 15px;
	background-color: #6CF;
}




.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
  border-radius: 4px; /* 画像の角を少し丸く */
}
.gallery-title {
	font-size: 22px;
	font-weight: 500;
	color: #333333;
	margin: 0 0 6px 0;
	padding: 0 4px;
	line-height: 1.4;
}
.gallery-desc {
	font-size: 17px;
	color: #333333;
	margin: 0;
	padding: 0 4px;
	line-height: 1.3;
}

/* スマートフォン（画面幅768px以下）での設定 */
@media screen and (max-width: 768px) {
  .gallery-container {
    flex-direction: column; /* 縦並びに変更 */
    gap: 30px; /* 縦並び時の間隔 */
  }
  .gallery-item {
    width: 100%;
  }
}





/* ==========================================================================
   セクション（インナーブロック）の左右余白と中央寄せ設定
   ========================================================================== */
   
.frontBusinessInner {
  width: 100%;
  max-width: 1700px;     /* パソコン表示時のコンテンツの最大横幅 */
  margin: 0 auto;        /* ★これで左右に均等な余白ができ、中央に寄ります */
  padding: 0 4%;         /* スマホやタブレットで見たときに画面端にピタッとくっつくのを防ぐ余白 */
  box-sizing: border-box;
  
  /* レイアウト用の既存コード（左右2カラムを並べるための参考設定） */
  display: flex;
  justify-content: space-between;
}

/* 左右の要素が崩れないようにするためのベース設定 */
.frontBusinessInner__left,
.frontBusinessInner__right {
  box-sizing: border-box;
}




/* ─── ★ここから先ほどお渡ししたコードを上書き・追加する ★ ─── */
 
 /* スマートフォン（画面幅768px以下）での設定 */
@media screen and (max-width: 768px) {
 
  .frontBusinessInner {
    flex-direction: column; 
    padding: 0; 
  }

  .frontBusinessInner__left {
    width: 100% !important;     
    height: 250px;              
    background-size: cover;     
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    margin-bottom: 20px;        
  }

  .frontBusinessInner__right {
    width: 100% !important;
    padding: 0 20px;            
  }
  /* ─────────────────────────────────────────────── */
}


/* ギャラリー内のボタンを横幅いっぱいにする設定 */

.white-line {
	border: none;                 /* 元々のブラウザの線を消す */
	border-top: 2px solid #fff;            /* 上下の余白を20px空け、左右は中央配置に */
	width: 60%;                  /* 線の長さを横幅いっぱいに（お好みで 50% などに調整可能） */
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: 0%;
}


/* スマートフォン（画面幅768px以下）での設定 */
@media screen and (max-width: 768px) {
	.white-line {
	border: none;                 /* 元々のブラウザの線を消す */
	border-top: 2px solid #fff;            /* 上下の余白を20px空け、左右は中央配置に */
	width: 85%;                  /* 線の長さを横幅いっぱいに（お好みで 50% などに調整可能） */
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: 2%;
}


.gallery-wrapper-book {
	font-family: 'Raleway', 'Noto Sans JP', sans-serif;
	width: 100%;
	max-width: 1800px;
	box-sizing: border-box;
	color: #333333;
	line-height: 1.6;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 40px;
	padding-right: 0;
	padding-bottom: 40px;
	padding-left: 0;
	background-color: #F90;	
	
	
	
}







}


/* 見出し（h2）だけをシャネル風のスタイリッシュなゴシック体に指定 */
.mainvisualTextInner h2 {
  /* 英数字や記号にRaleway、日本語にNoto Sans JPのゴシック体を適用 */
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  
  /* 文字の太さ（400=標準、700=太め。お好みで300の細めにしても綺麗です） */
  font-weight: 400;
  
  /* 高級感を出すために、文字の間隔を少し広げる */
  letter-spacing: 0.05em;
  
  /* ゴシック体で引き立つように、文字の影を調整 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 本文（p）は元の明朝体（Noto Serif JP）のまま維持する指定 */
.mainvisualTextInner p {
  font-family: 'Noto Serif JP', serif;
}




/* ==========================================
   フォントファミリー共通設定
   日本語：Noto Sans JP（ゴシック）
   英数字・記号：Raleway
========================================== */
.gallery-wrapper {
	font-family: 'Raleway', 'Noto Sans JP', sans-serif;
	width: 100%;
	max-width: 1800px;
	box-sizing: border-box;
	color: #333333;
	line-height: 1.6;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 40px;
	padding-right: 0;
	padding-bottom: 40px;
	padding-left: 0;
	
	
	
	
}










/* 英数字指定用クラス */
.gallery-wrapper .en-text {
  font-family: 'Raleway', sans-serif;
}

/* ==========================================
   ヘッダー部分（全体タイトル・3行詳細説明）
========================================== */
.gallery-header {
  text-align: center;
  margin-bottom: 40px;
  width: 100%;
}

/* フォトギャラリーブロック全体の説明タイトル26px */
.gallery-main-title {
	font-weight: 4「投資対効果(ROI)を最大化する営業プロモーション」へ00;
	margin-bottom: 16px;
	letter-spacing: 0.05em;
	width: 100%;
	height: auto;
	
	 font-size: 3.2rem;
  display: block;
  margin: 0 0 5px;
  line-height: 1.4;

}

/* 3行程の詳細説明14px */
.gallery-main-desc {
	font-size: 14px;
	max-width: 1400px;
	margin: 0 auto;
	text-align: left; /* スマホ・PC双方で読みやすいよう左寄せ（中央寄せにしたい場合はcenterに変更） */
	font-weight: 400;
	color: #555555;
	line-height: 1.6em;
}

/* ==========================================
   ギャラリーコンテナ（3カラム・レスポンシブ）
========================================== */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* アイテム間の隙間 */
  width: 100%;
}

/* 各ギャラリーアイテムの枠 */
.gallery-item {
  flex: 1;
  min-width: 300px; /* カラムが崩れないための最小幅 */
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 画像表示エリア（アスペクト比を統一して綺麗に並べる設定） */
.gallery-img-box {
  width: 100%;
  aspect-ratio: 3 / 2; /* 3:2の比率で画像を統一 */
  overflow: hidden;
  background-color: #f5f5f5;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* マウスホールド時のちょっとしたアニメーション */
.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

/* コンテンツエリア */
.gallery-content {
  padding: 20px;
  flex-grow: 1; /* ボタンの位置を最下部で揃えるための設定 */
  display: flex;
  flex-direction: column;
}

/* タイトルスタイル */
.gallery-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #111111;
}

/* 開催日スタイル */
.gallery-date {
  font-size: 13px;
  font-weight: 700;
  color: #e60012; /* アクセントカラー（赤系） */
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e5e5e5;
}

/* 各テキスト説明 */
.gallery-desc {
  font-size: 13.5px;
  color: #444444;
  margin: 0 0 12px 0;
}

.gallery-sub-desc {
  font-size: 13px;
  color: #666666;
  margin-top: auto; /* 下部に寄せる */
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

/* 箇条書き用スタイル */
.gallery-list {
  font-size: 13px;
  color: #444444;
  margin: auto 0 0 0;
  padding-left: 20px;
  list-style-type: disc;
}

.gallery-list li {
  margin-bottom: 8px;
}

.gallery-list li:last-child {
  margin-bottom: 0;
}

/* ==========================================
   お問合せボタンエリア（上下余白）
========================================== */
.magazine-btn-area {
  padding: 20px;
  margin-top: auto; /* 常にカードの最下部に配置 */
  text-align: center;
}

/* ボタン自体のスタイリング（環境に合わせて微調整してください） */
.qa-btn {
  width: 100%;
  padding: 14px 20px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background-color: #222222; /* 黒ベースのシックなボタン */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.qa-btn:hover {
  background-color: #444444;
}

.qa-btn:active {
  transform: scale(0.98);
}

/* ==========================================
   レスポンシブ対応（スマートフォン解像度設定）
========================================== */
@media screen and (max-width: 768px) {
  .gallery-wrapper {
    padding: 24px 16px;
  }
  
  .gallery-main-title {
    font-size: 22px; /* スマホで見やすいサイズに縮小 */
  }
  
  .gallery-main-desc {
    font-size: 13px; /* スマホでの可読性を考慮 */
  }

  .gallery-container {
    flex-direction: column; /* 1カラム（縦並び）に変更 */
    gap: 20px;
  }
  
  .gallery-item {
    width: 100%; /* 横幅100%に */
    min-width: 100%;
  }
}



/* ==========================================
   フォトギャラリーブロック 1200x800画像最適化・完全高さ均一化CSS
========================================== */

/* 1. 外枠コンテナ：3つのカードの高さを強制的に一致させる */
.gallery-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important; /* 左右のカードの全体の高さを統一 */
  gap: 24px !important;
  width: 100% !important;
}

/* 2. 各カード枠 */
.gallery-item {
  flex: 1 !important;
  min-width: 300px !important;
  display: flex !important;
  flex-direction: column !important;
}

/* 3. 画像を内包するブロック（ここが文字量でズレるのを防ぐため、高さをアスペクト比で固定） */
.gallery-item img,
.gallery-item a img,
.gallery-item div img,
.gallery-img {
  display: block !important;
  width: 100% !important;
  height: auto !important;          /* 高さは横幅の縮尺に自動追従させる */
  aspect-ratio: 1200 / 800 !important; /* 元画像と同じ「3:2」の比率を強制適用し、高さを完全に揃える */
  object-fit: cover !important;     /* 万が一の表示ズレ時も画像が歪まないように保護 */
}

/* 4. スマートフォン表示（画面幅768px以下）でのレスポンシブ対応 */
@media screen and (max-width: 768px) {
  .gallery-container {
    flex-direction: column !important;
  }
  .gallery-item {
    width: 100% !important;
  }
  .gallery-item img,
  .gallery-item a img,
  .gallery-item div img,
  .gallery-img {
    aspect-ratio: 1200 / 800 !important; /* スマホ画面でも1200x800の綺麗な比率を維持 */
  }
}


.mainvisualTextInner{
	max-width: 1200px;
	margin-left: 0%;
	margin-right: auto;
	width: 100%;
}


@media screen and (max-width: 768px) {
	
	.mainvisualTextInner{
	max-width: 1200px;
	margin-left: 0%;
	margin-right: auto;
	width: 100%;
	line-height: 0em;
}

}


<!-- HTML内に直接書ける、スマホ専用の調整コード（外部CSSは不要です） -->
  /* 画面の横幅が767px以下のとき（スマホ）の指示 */
  @media (max-width: 767px) {
    .custom-slider-title {
      line-height: 1.2em !important; /* スマホで行間をキュッと狭くします */
    }
    .custom-slider-title br.xs_space {
      display: none !important; /* スマホのときだけ、不要な空行（隙間）を消します */
    }
  }


@media (min-width:768px) and (max-width:991px) {
.hidden-sm {
	display: none!important
}
}
@media (max-width:767px) {
.hidden-xs {
	display: none!important
}
}








/*-----20261030-----------------------------------------------------------------------*/

/* ==========================================================================
   新設：グローバル見本市ブロック全体スタイル（CSS管理・中央寄せ完全版）
   ========================================================================== */

/* ブロック内の要素すべての幅計算を狂わせないための記述 */
.GlExBlock,
.GlExBlock * {
  box-sizing: border-box;
}

/* 全体の外枠 */
.GlExBlock {
  width: 100%;
  padding: 60px 0;
  background-color: #ffffff;
}

/* 完全に中央寄せし、大画面解像度（1800px）まで対応させるコンテナ */
.GlExContainer {
  width: 100%;
  max-width: 1800px; /* 1800px幅制限 */
  margin: 0 auto;    /* 完全に中央寄せ */
  padding: 0 4%;     /* 左右の美しいマージン */
}

/* 💡1. 導入・解説エリアを綺麗に中央配置（センター寄せ）にする */
.GlExHeader {
  width: 100%;
  max-width: 1000px;  /* 導入文章が横に広がりすぎて読みづらくなるのを防ぐ推奨サイズ */
  margin: 0 auto 50px auto; /* ヘッダー全体を中央寄せ、下に50pxの余白 */
  text-align: center; /* 💡テキストを中央揃えに設定 */
}

.GlExMainTitle {
	font-size: 32px;
	line-height: 1.5;
	color: #333333;
	margin-bottom: 35px;
	font-weight: 400;
	background-color: #FFF;
	width: 100%;
}

.GlExSubText {
	display: block;
	font-size: 32px;
	color: #333333;
	letter-spacing: 0.1em;
	margin-bottom: 10px;
	font-weight: 400;
}

.GlExHighlight {
	color: #333333;
	font-size: 24px;
}

/* 💡導入テキストのパラグラフ設定 */
.GlExIntroText p {
	font-size: 20px;
	line-height: 1.8;
	color: #444444;
	margin-bottom: 24px;
	text-align: left; /* 💡各プランの解説文自体は左詰めで読みやすさを維持（中央寄せが良い場合はcenterに変更可能） */
	background-color: #FFF;
}

/* リスト・アイテムコンテナ */
.GlExList {
  width: 100%;
}

.GlExItem {
  width: 100%;
  margin-bottom: 30px;
}

/* 💡3. リンクを削除しても絶対に段下がりを起こさず、画像と並列にするインライン型フレックス */
.GlExCard {
  display: flex !important;
  flex-direction: row !important; /* 強制的に横並び */
  flex-wrap: nowrap !important;    /* 💡絶対に下に回り込ませない（改行禁止） */
  justify-content: flex-start;
  align-items: flex-start;        /* 文章の下の無駄な余白を即座にカット */
  width: 100%;
  background-color: #fcfcfc;
  border: 1px solid #eef2f5;
  border-radius: 8px;
  overflow: hidden;
  cursor: default;
}

/* 正確に30%の幅にホールドする画像エリア */
.GlExImgArea {
  width: 30% !important;
  min-width: 30% !important; /* 縮み防止 */
  max-width: 30% !important;
  overflow: hidden;
  background-color: #eaeaea;
  flex-shrink: 0 !important; /* 💡絶対に潰さない */
  aspect-ratio: 4 / 3;         /* 20261031-4 / 3; 訂正------ */
}

.GlExImgArea img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  object-position: center top; 
}

/* 正確に70%の幅に収めるテキストエリア */
.GlExTextArea {
  width: 70% !important;
  min-width: 70% !important;
  max-width: 70% !important;
  padding: 24px 30px;
  flex-shrink: 1 !important;
}

.GlExIconText {
  display: block;
  font-size: 17px;
  color: #333333;
  margin-bottom: 12px;
  line-height: 1.5;
}

.GlExIconText strong {
  font-weight: bold;
}

.GlExTextArea p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #666666;
  margin: 0;
}


/* ==========================================================================
   📱 スマートフォン解像度対応20261021訂正（768px以下になった時だけ縦並びにスイッチ）
   ========================================================================== */
@media screen and (max-width: 768px) {
  .GlExBlock {
    padding: 40px 0 !important;
  }

  .GlExContainer {
    padding: 0 20px !important;
  }
  
  .GlExMainTitle {
    font-size: 20px !important;
  }
  
  /* スマホでは縦並びに切り替える */
  .GlExCard {
    display: block !important;
  }
  
  /* 💡【今回のスマホ画像見切れを解決するコアブロックはここです】
     スマホ環境に切り替わった時、高さ「height: 180px;」の固定を完全に解除（auto化）し、
     スマホの横幅100%に対しても、正しい「4:3」の比率で自動計算して縦幅を広げるように命令します。 */
  .GlExImgArea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    aspect-ratio: 4 / 3 !important; /* 💡スマホ側の画像エリアにも4:3を強制適用します */
    position: relative !important;
    height: auto !important;        /* 💡これまでの180px固定をここで完全に打ち消します */
  }
  
  .GlExImgArea img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; 
    object-position: center center !important; /* 💡スマホの画角に合わせて、画像の中心（center）を狙って映します */
  }
  
  /* スマホ用の文章エリア */
  .GlExTextArea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 24px 20px !important;
  }
  
  .GlExIconText {
    font-size: 15px !important;
  }
}






/*************************************************************************************************/




/*-----------ボタン--20261028----------------------------------*/

/* 1. ボタンのベース設定（文字や全体の形） */


.btn-ms {
	position: relative;          /* アニメーションの基準点にする設定 */
	overflow: hidden;            /* はみ出た色を隠す設定（必須） */
	display: inline-block;          /* ボタンの余白 */
	background-color: #FFFFFF;   /* 普段の背景色（黒） */
	color: #000000 !important;   /* 文字の色（白） */
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	border-radius: 5px;         /* 丸み */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	z-index: 1;                  /* 文字が背景色の下に隠れないようにする */
	width: 100%;
	padding-top: 4px;
	padding-right: 16px !important;
	padding-bottom: 50px !important;
	padding-left: 36px;
	border: 1px solid #333;
	height: 50px !important;
}

/* 2. 背景で左から右へ広がる「色」の仕込み（まだ見えない状態） */
.btn-ms::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #8080FF;   /* ★クリックした時に広がる背景色（お好きな色に） */
	transform: scaleX(0);        /* 最初は横幅を「ゼロ」にして隠しておく */
	transform-origin: left;      /* 左側を固定して広がる起点にする */
	z-index: -1;                 /* 文字の後ろ側に配置する */
}

/* 3. 【重要】クリックした瞬間、左から右へ色を広げて「固定」する */
.btn-ms:active::before {
  animation: strokeRight 1.0s ease forwards; /* 0.4秒かけてアニメーションし、最後の状態で固定 */
}

/* 4. 左から右へ100%まで広がるアニメーションの命令 */
@keyframes strokeRight {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);      /* 横幅いっぱいに色が広がる */
  }
}

/* 5. パソコンでマウスを乗せたときの浮き上がり（お好みで） */
.btn-ms:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-ms {
	position: relative;          /* アニメーションの基準点にする設定 */
	overflow: hidden;            /* はみ出た色を隠す設定（必須） */
	display: inline-block;          /* ボタンの余白 */
	background-color: #FFFFFF;   /* 普段の背景色（黒） */
	color: #000000 !important;   /* 文字の色（白） */
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	border-radius: 5px;         /* 丸み */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	z-index: 1;                  /* 文字が背景色の下に隠れないようにする */
	width: 100%;
	padding-top: 14px;
	padding-right: 36px;
	padding-bottom: 30px;
	padding-left: 36px;
	border: 1px solid #333;
	height: 50px;	
}



.btn-ms {
	position: relative;          /* アニメーションの基準点にする設定 */
	overflow:hidden;            /* はみ出た色を隠す設定（必須） */
	display: inline-block;          /* ボタンの余白 */
	background-color: #FFFFFF;   /* 普段の背景色（黒） */
	color: #000000 !important;   /* 文字の色（白） */
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	border-radius: 5px;         /* 丸み */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
	z-index: 1;                  /* 文字が背景色の下に隠れないようにする */
	padding-top: 14px;
	padding-bottom: 14px;
	border:1px solid #333;
	height: 50px;
	
}
}



/*********************************************************************/

/* ==========================================================================
   追加：文章エリア内 専用レスポンシブボタン設定（白ベース＆左スライドアニメーション）
   ========================================================================== */

/* ボタンを囲むコンテナ */
.GlExBtnWrap {
  width: 100% !important;
  margin-top: 20px !important;
  display: block !important;
}

/* 💡ボタン本体の設定（背景は白色ベース / アニメーションの仕掛けを内包） */
.GlExBtn {
	display: block !important;
	width: 30% !important;        /* PCでは文章エリアに対して30%の幅 */
	min-width: 160px !important;  /* 最低限の横幅保証 */
	padding: 12px 0 !important;   /* ボタンの厚み */
	font-size: 14px !important;
	font-weight: 400 !important;
	text-align: center !important;
	text-decoration: none !important;
	border-radius: 4px !important;
	/* 💡【ご指定1：背景色は白色】 */
	background-color: #ffffff !important;
	/* 💡【ご指定2：左から#8080FFに変わる仕掛け】
     初期状態では白色を100%表示し、色の変化（#8080FF）を左側の見えない場所に2倍のサイズで仕込んでおきます */
	background-image: linear-gradient(to right, #8080FF 50%, #ffffff 50%) !important;
	background-size: 200% 100% !important;
	background-position: right bottom !important; /* 最初は右半分の白を映す */
	/* 💡高級感を引き立てる枠線と文字色（テーマの青） */
	border: 1px solid #000000 !important;
	color: #333333 !important;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important; /* 白ボタンに映える薄い影 */
	/* 💡0.4秒かけて左から滑らかに色を移動させる設定 */
	transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* 💡【アニメーション発動】：マウスを乗せた時（ホバー・クリック時）の動き */
.GlExBtn:hover {
  /* 💡背景のポジションを左側に一瞬で移動させ、左から#8080FFの色が滑り込む演出をします */
  background-position: left bottom !important; 
  
  /* 色が反転した際に見えなくならないよう、文字色をパッと白色に変えます */
  color: #ffffff !important; 
  border-color: #8080FF !important; /* 枠線も合わせて変色 */
  
  transform: translateY(-2px) !important; /* 軽く上に浮き上がる */
  box-shadow: 0 6px 15px rgba(128, 128, 255, 0.3) !important; /* 影を#8080FFの光に変化 */
}

/* ==========================================================================
   📱 スマホ解像度対応（768px以下になったらボタンを100%いっぱいに広げる）
   ========================================================================== */
@media screen and (max-width: 768px) {
  .GlExBtn {
    width: 100% !important;     /* スマホでは横幅いっぱいの100% */
    max-width: 100% !important;
    padding: 14px 0 !important; /* タップしやすい厚み */
    font-size: 15px !important;
  }
}



/* ==========================================================================
   追加：Accommodation（２０２６１０３１追加訂正）スマホ解像度での100%強制対応
   ========================================================================== */
@media screen and (max-width: 768px) {
  
  /* セクション全体の横幅干渉をシャープにリセット */
  .Accommodation {
    width: 100% !important;
    display: block !important;
    padding: 40px 0 !important;
  }
  
  .gallery-wrapper {
    width: 100% !important;
    padding: 0 20px !important; /* スマホ左右の余白 */
    display: block !important;
  }
  
  /* ギャラリーを囲むコンテナのフレックス横並びを縦1列に強制解除 */
  .gallery-container {
    display: flex !important;
    flex-direction: column !important; /* 💡横並びから縦1列に変更 */
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* 💡【超重要】：各カード枠をスマホいっぱいの100%の横幅にします */
  .gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 30px !important; /* カードとカードの間の上下の隙間 */
    display: block !important;
    float: none !important;
  }
  
  /* 画像もカード幅いっぱいの100%表示にします */
  .gallery-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* ボタンエリアの幅調整 */
  .magazine-btn-area,
  .magazine-btn-area .qa-btn,
  .magazine-btn-area .btn-ms {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}




.kisen {
	outline: 0;
	height: 3px;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	margin-bottom: 7px;
}

.kisen_red{
	outline: 0;
	height: 3px;
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	margin-bottom: 10px;
	border-bottom-color: #F00;
}






/*------------投稿記事ポンタ設定20261105-----------------------------*/

/* 1. ボタンを囲む枠の共通設定 */
.custom-contact-box {
	display: block;
	width: 97% !important;
	max-width: 97% !important;
	box-sizing: border-box !important;
	text-align: center !important;
	height: auto !important;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 30 !important;
	padding-bottom: 30 !important;
	padding-left: 0;
}

/* 2. 【スマホ環境（標準）】の設定 */
.custom-contact-btn {
	display: block;
	width: 250px !important;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	box-sizing: border-box;
	text-align: center;
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 5px !important;
	/*  スマホでの見た目：文字を白、背景を最初から #94a7f2 に */
	color: #ffffff !important;    /* 文字色を「白色」に固定 */
	background-color: #4868EA !important; /* 背景色を最初から青紫に固定 */
	border: 1px solid #666666;
	/* スマホではアニメーションの余韻を残さない設定 */
	transition: none !important;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding: 12px;
	height: auto;  /*******ホタン高さ***************************/
}

/* 3. 【PC環境のみ】に適用する設定（画面幅が768px以上のとき） */
@media screen and (min-width: 768px) {
  .custom-contact-btn {
        width: 60% !important;     /* PC：横幅60% */
        /*  PCでの見た目：元のデザイン（文字はグレー、背景は白）に戻す */
        color: #FFFFFF !important;
        background-color: #5b6db0 !important;
        transition: color 0.9s ease !important; /* 文字色が変わるスピード */
  }

  /* PCのみ：左から右へ #94a7f2 に染まるアニメーションを表示する */
  .custom-contact-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #94a7f2;
        z-index: -1;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.9s ease-out;
  }

  /* PCのみ：ホバーしたときにアニメーションを動かす */
  .custom-contact-btn:hover::before {
    transform: scaleX(1);
  }
}




/*---------------20261106----------------------

.custom-contact-btn {
  /* 1) ボタンの周りに薄い影を付ける 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.30);


}
--------*/

/* 1. ボタンを囲む親要素（div）の横幅を強制的に100%にする */
.custom-contact-btn {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* 2. ボタン本体（input）を親要素いっぱいに広げ、スマホでの文字はみ出しも防ぐ */
.custom-contact-btn input[type="button"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important; /* 枠線や余白を含めて100%に収める */
  font-size: 22px;
  font-weight: 500;
  color: #FFF !important;
  background-color: #5B5BAE;
  border: 2px solid #FFF;
  border-radius: 30px;
  margin: 5px auto 10px auto !important;
  padding: 12px 10px !important;
  height: auto !important;
  text-align: center;
  white-space: normal !important; /* スマホで文字が長い場合に自動改行させる */
  line-height: 1.4 !important;
  cursor: pointer;
}

/* 3. スマホ画面（768px以下）でのボタン文字サイズ微調整 */
@media screen and (max-width: 768px) {
  .custom-contact-btn input[type="button"] {
    font-size: 16px !important; /* 22pxだとスマホでは大きすぎてはみ出るため調整 */
    padding: 12px 8px !important;
  }
}






/* スマートフォン画面（横幅767px以下）での左右10px余白設定 */
@media (max-width: 767px) {
  /* 1. 上の特別ブロック（featured-top-block）の左右に10px余白をとる */
  .Accommodation .featured-top-block {
    width: calc(100% - 20px) !important; /* 画面幅から左右10pxずつ引いた幅 */
    max-width: calc(100% - 20px) !important;
    margin-left: 25px !important;
    margin-right: 25px !important;
    box-sizing: border-box !important;
  }

  /* 2. 下の3ブロック（gallery-container）もスマホで左右10px余白をとる場合 */
  .Accommodation .gallery-container {
    width: calc(100% - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    box-sizing: border-box !important;
  }
}















/* =========================================
   PC表示（768px以上）：既存メガメニューと同じ位置・幅で4列表示
========================================= */
@media screen and (min-width: 768px) {
  .globalNav > ul > li.newsNavItem {
    display: block;
  }

  /* サブメニュー外枠（既存 .globalNavContents と同じ基準で配置） */
  .globalNav > ul > li.newsNavItem > ul.newsSubMenu {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    position: fixed;
    
    /* ▼ 画面最上部（TOP）からの距離（調整した数値があればここに入れてください） */
    top: 70px; 
    left: 0;
    width: 100%;
    padding: 38px calc((100% - 1200px) / 2 + 60px);
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    z-index: 100;
    
    /* 初期状態は非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  /* 画面幅が1200px以下のPC・タブレット時の左右余白調整 */
  @media screen and (max-width: 1200px) {
    .globalNav > ul > li.newsNavItem > ul.newsSubMenu {
      padding: 38px 38px;
    }
  }

  /* ホバー時に表示 */
  .globalNav > ul > li.newsNavItem:hover > ul.newsSubMenu {
    opacity: 1;
    visibility: visible;
  }

  /* 4列のカード設定 */
  .globalNav > ul > li.newsNavItem > ul.newsSubMenu > li {
    width: calc(25% - 18px);
    list-style: none;
    margin: 0;
  }

  .globalNav > ul > li.newsNavItem > ul.newsSubMenu > li > a {
    display: block;
    text-decoration: none;
    color: #0D1D19;
    transition: opacity 0.3s;
  }

  .globalNav > ul > li.newsNavItem > ul.newsSubMenu > li > a:hover {
    opacity: 0.7;
    color: #1C6555;
  }

  /* 画像エリア（中の画像サイズに合わせて自動で伸縮） */
  .newsSubMenu__img {
    width: auto;
    height: auto;
    margin: 0 auto 12px auto;
    background-color: transparent;
    text-align: center;
  }

  /* 画像本体（実際のサイズをそのまま反映） */
  .newsSubMenu__img img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: inline-block;
  }

  /* タイトル・説明文 */
  .newsSubMenu__title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 6px 0;
    line-height: 1.4;
  }

  .newsSubMenu__desc {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555555;
    margin: 0;
  }
}

/* =========================================
   スマホ表示（767px以下）2026/11/16：画像非表示・クリックで開閉
========================================= */
@media screen and (max-width: 767px) {
  /* 1) 画像を確実に非表示にする */
  .globalNav .newsSubMenu__img,
  .globalNav .newsSubMenu__img img,
  .globalNav .newsSubMenu .gallery-img {
    display: none !important;
  }

  /* 親メニュー「現地イベント」に開閉用の矢印アイコン（＋／－）を表示 */
  .globalNav > ul > li.newsNavItem > a {
    position: relative;
  }

  .globalNav > ul > li.newsNavItem > a::after {
    content: "＋";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: bold;
    color: #0A342E;
  }

  /* 開いた時のアイコン変更 */
  .globalNav > ul > li.newsNavItem.is-open > a::after {
    content: "－";
  }

  /* 2) サブメニュー本体（初期状態は閉じる） */
  .globalNav > ul > li.newsNavItem > ul.newsSubMenu {
    display: none;
    background-color: #F7F7F7;
    padding: 0;
    margin: 0;
  }

  /* クリックされて「is-open」クラスが付いたら表示する */
  .globalNav > ul > li.newsNavItem.is-open > ul.newsSubMenu {
    display: block;
  }

  .globalNav > ul > li.newsNavItem > ul.newsSubMenu > li {
    list-style: none;
    border-bottom: 1px solid #CCCCCC;
  }

  .globalNav > ul > li.newsNavItem > ul.newsSubMenu > li > a {
    display: block;
    text-decoration: none;
    padding: 15px 25px 15px 40px;
    color: #0A342E;
  }

  .newsSubMenu__title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 4px 0;
    line-height: 1.4;
  }

  .newsSubMenu__desc {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #444444;
    margin: 0;
  }
}




/* =========================================
   国際見本市：PC表示（768px以上）6つ横並びテキストのみ
========================================= */
@media screen and (min-width: 768px) {
  .globalNav > ul > li.fairNavItem {
    display: block;
  }

  /* サブメニュー外枠 */
  .globalNav > ul > li.fairNavItem > ul.fairSubMenu {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	position: fixed;
	top: 60px; /* ←「現地イベント」で調整したtopの数値と合わせてください */
	left: 0;
	width: 100%;
	padding: 30px calc((100% - 1200px) / 2 + 60px);
	background-color: #EEEEFF;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	z-index: 100;
	/* 初期状態は非表示 */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	font-weight: 400;
  }

  /* 画面幅1200px以下のPC・タブレット時の左右余白調整 */
  @media screen and (max-width: 1200px) {
    .globalNav > ul > li.fairNavItem > ul.fairSubMenu {
      padding: 30px 38px;
    }
  }

  /* ホバー時に表示 */
  .globalNav > ul > li.fairNavItem:hover > ul.fairSubMenu {
    opacity: 1;
    visibility: visible;
  }

  /* 6列の均等配置 */
  .globalNav > ul > li.fairNavItem > ul.fairSubMenu > li {
    width: calc((100% - 80px) / 6); /* 6等分（gap 16px × 5個分 = 80pxを引く） */
    list-style: none;
    margin: 0;
    text-align: center;
  }

  .globalNav > ul > li.fairNavItem > ul.fairSubMenu > li > a {
	display: block;
	text-decoration: none;
	color: #0D1D19;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.5;
	padding: 10px 5px;
	transition: opacity 0.3s, color 0.3s;
  }

  .globalNav > ul > li.fairNavItem > ul.fairSubMenu > li > a:hover {
    opacity: 0.7;
    color: #1C6555;
  }
}

/* =========================================
   国際見本市：2026/11/16スマホ表示（767px以下）クリックで開閉・縦並び
========================================= */
@media screen and (max-width: 767px) {
  /* 親メニュー「国際見本市」に開閉アイコン（＋／－）を表示 */
  .globalNav > ul > li.fairNavItem > a {
    position: relative;
  }

  .globalNav > ul > li.fairNavItem > a::after {
    content: "＋";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: bold;
    color: #0A342E;
  }

  .globalNav > ul > li.fairNavItem.is-open > a::after {
    content: "－";
  }

  /* サブメニュー本体（初期状態は閉じる） */
  .globalNav > ul > li.fairNavItem > ul.fairSubMenu {
    display: none;
    background-color: #F7F7F7;
    padding: 0;
    margin: 0;
  }

  /* クリックされて「is-open」クラスが付いたら縦並びで表示 */
  .globalNav > ul > li.fairNavItem.is-open > ul.fairSubMenu {
    display: block;
  }

  .globalNav > ul > li.fairNavItem > ul.fairSubMenu > li {
    list-style: none;
    border-bottom: 1px solid #CCCCCC;
  }

  .globalNav > ul > li.fairNavItem > ul.fairSubMenu > li > a {
    display: block;
    text-decoration: none;
    padding: 15px 25px 15px 40px;
    color: #0A342E;
    font-size: 1.4rem;
    line-height: 1.4;
  }
}


