/* ==== 3列レイアウト最小オーバーライド ==== */
:root { 
	/* 右幅・中央幅 */
	--rw: 22.64vw; 
	--cw: 29.31vw;
	
	/* 追記分 */
	--hamburger-size: clamp(0px, 15vw, 80px);  /* ボタン自体の大きさ */
	--hamburger-bar-w: calc(var(--hamburger-size) * 0.55);  /* 線の長さ */
	--hamburger-bar-h: max(2px, calc(var(--hamburger-size) * 0.07)); /* 線の太さ */
	--hamburger-offset: calc(var(--hamburger-size) * 0.22); /* 上下のズレ量 */
}

/* ページ全体のスクロールを滑らかにする */
html {
  scroll-behavior: smooth;
}

/* 固定ヘッダーなどがある場合に、移動先が隠れないよう調整（必要に応じて） */
[id^="st"] {
  scroll-margin-top: 20px; /* 移動した際、上に少し余白を作る */
}

body { margin: 0; }  /* 余白リセット */

/*.sans-serif {
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.serif {
    font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-family: "遊明朝体", YuMincho, 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
}*/

/* --- サイト全体のフォントをモダン化（Noto Sans JP） --- */
body, 
.sans-serif,
.serif,
input, textarea, select, button {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
    
    /* ▼重要：文字詰めをしてモダンに見せる設定 */
    font-feature-settings: "palt"; 
    
    /* 読みやすくする微調整 */
    letter-spacing: 0.05em; /* 文字間を少し空ける */
    line-height: 1.8;       /* 行間を広めに */
    color: #333;            /* 真っ黒より少しグレー寄りの方が今っぽいです */
}

a:link { color:#000; text-decoration: none; }
a:visited { color:#000; text-decoration: none; }
a:hover { color:#000; text-decoration: none; }
a:active { color:#000; text-decoration: none; }
a:focus { outline:none;}

.flex2 {
  display: flex;
  justify-content: space-between; /* 均等に配置 */
  align-items: stretch;            /* 高さを揃える */
  width: 100%;                     /* 親幅いっぱいに */
  gap: 0;                          /* 間をゼロに（必要なら調整） */
  margin: 20px 0;
}

/* 各ボックスは半分の幅 */
.flex2 .contact_link,
.flex2 .contact_link2 {
  flex: 1;                         /* 均等に伸縮 */
  text-align: center;
}

.flex2 .contact_link {
  margin: 0 1% 0 0;
}
.flex2 .contact_link2 {
  margin: 0 0 0 1%;
}


.txtmore {
    font-size: 18px !important;
}


.right {
	text-align: right !important;
}

.left {
	text-align: left !important;
}

.center {
	text-align: center !important;
}

.fcaution { 
	color: #B20000;
	font-weight: bold;
	font-size: 1.1rem;
}

.caution { 
	color: #B20000;
}

.cautionred { 
	color: #FF0000;
}

.cautionbox { 
	padding: 1em;
    border: 1px solid #FF0000;
}


.borderbox {
	border: 1px solid #CCC;
	padding: 10px;
}

.underconst {
    text-align: left;
	border: 1px solid #CCC;
	padding: 20px;
}
@media only screen and (min-width: 769px) {
.underconst {
    text-align: center;
	border: 1px solid #CCC;
	padding: 30px;
}
}


#index .leftcol,
#index .sp_section,
#index .rightcol { position: fixed; top: 0; bottom: 0; }

#index .rightcol { right: 0; width: var(--rw); overflow: auto; background-color: #EBF5FB; }

#index .sp_section {
  right: var(--rw);
  width: var(--cw);
  overflow: auto;      /* 中央だけスクロール */
  z-index: 1;
  background-color: #EDEEEE;

  /* 1) スクロールバーを消す（スクロールは維持） */
  -ms-overflow-style: none;    /* IE/Edge(旧) */
  scrollbar-width: none;       /* Firefox */
}
#index .sp_section::-webkit-scrollbar { width: 0; height: 0; } /* Chrome/Safari */

#index .leftcol {
	left: 0;
	width: calc(100vw - (var(--rw) + var(--cw)));
	overflow: auto;
	background-color: #EBF5FB;
	background-image: url('../../img/2025/common/bg.jpg'); background-position: top center; background-repeat:repeat-x; background-size: auto 100%;
}

/* 2) 中央パネルの左右だけに影を出す（上下は影なし） */
#index .sp_section {
  box-shadow:
    -16px 0 32px rgba(0,0,0,.25),  /* 左側へ */
     16px 0 32px rgba(0,0,0,.25);  /* 右側へ */
}

/* 共通（リセットと基礎） */
.homepage .sp_section_inner ul#indexlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.homepage .sp_section_inner ul#indexlist li {
  width: 100%;
}
.homepage .sp_section_inner ul#indexlist li img {
  width: 100%;
  height: auto;
  display: block;
}

/* 先頭画像（main.png）用スタイル */
.homepage .sp_section_inner ul#indexlist li:first-child {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* PC時デフォルト */
  overflow: hidden;
}

.homepage .sp_section_inner ul#indexlist li:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 以降の画像（index01.svgなど）はそのまま100% */
.homepage .sp_section_inner ul#indexlist li:not(:first-child) img {
  width: 100%;
  height: auto;
}

/* スマホ時（～834px） */
@media (max-width: 834px) {
  .homepage .sp_section_inner ul#indexlist li:first-child {
    aspect-ratio: 1 / 1; /* スマホ時に1:1へ */
  }
}

/* -------------------------------------------------- */
/* header */
/* -------------------------------------------------- */

#index .sp_section header { display: none; }
@media (max-width: 834px) {
	#index .sp_section header { display: none; }
	/*#index .sp_section header { position: absolute; display: block; z-index: 100; }*/
}



/* -------------------------------------------------- */
/* footer */
/* -------------------------------------------------- */
footer {
	text-align: center;
}

footer .logo_city img {
	width: 25%;
	height: auto;
}

footer p {
	font-size: 0.9em;
}

footer .name strong {
	font-weight: normal;
	letter-spacing: 0.3em;
	font-size: 1.1em;
}

footer .copyright {
	font-size: 1.0em;
}


/* -------------------------------------------------- */
/* left */
/* -------------------------------------------------- */
#index .leftcol ul {
    width: 96vw;
    margin: 0 auto;
	list-style: none;
}

#index .leftcol ul li {
    /*margin-right: 18px;*/
    float: left;
    margin-top: 20px;
    /*margin-left: 1vw;*/
    /*border: 1px solid #000;*/
}
#index .leftcol ul li:nth-child(even) {
    margin-left: 4vw;
}

#index .leftcol ul li:nth-of-type(2n) { 
    margin-right: -4px;
}
#index .leftcol ul li .box {
	height: 70vw; /* 380px */
    width: 45.4vw; /*280px;*/
    border: 1px solid #544A41;
    border-radius: 10px;
	/*background-image: url(../img/index/top_06_aboutomura.jpg);
    background-size: 280px 280px;
    background-repeat: no-repeat;
    padding-top: 280px;*/
}

#index .leftcol ul li img {
   height: 45.4vw; /*49vw;*/ /*280px;*/
   width: 45.4vw; /*49vw;*/ /*280px;*/
   object-fit: cover;
   border-radius: 10px 10px 0 0;
}

#index .leftcol ul li .papa {
	/*background-image: url(../../../img/index/top_02_papa.jpg);*/
	background-image: url(../../../img/2025/index/icon_papa.png);
    background-size: 9.6vw 9.6vw; /*60px 60px;*/
    background-repeat: no-repeat;
    background-position: right 10px bottom 6px;
}

#index .leftcol ul li .mama {
	/*background-image: url(../../../img/index/top_02_mama.jpg);*/
	background-image: url(../../../img/2025/index/icon_mama.png);
    background-size: 9.6vw 9.6vw; /*60px 60px;*/
    background-repeat: no-repeat;
    background-position: right 10px bottom 6px;
}

#index .leftcol ul li .hajime {
	/*background-image: url(../../../img/index/top_02_hajime.jpg);*/
	background-image: url(../../../img/2025/index/icon_hajime.png);
    background-size: 9.6vw 9.6vw; /*60px 60px;*/
    background-repeat: no-repeat;
    background-position: right 10px bottom 6px;
}

#index .leftcol ul li .sakura {
	/*background-image: url(../../../img/index/top_02_sakura.jpg);*/
	background-image: url(../../../img/2025/index/icon_sakura.png);
    background-size: 9.6vw 9.6vw; /*60px 60px;*/
    background-repeat: no-repeat;
    background-position: right 10px bottom 6px;
}

/*#index .leftcol ul li .hinata {
	background-image: url(../../../img/index/top_02_hinata.jpg);
    background-size: 9.6vw 9.6vw;
    background-repeat: no-repeat;
    background-position: right 10px bottom 6px;
}

#index .leftcol ul li .mirai {
	background-image: url(../../../img/index/top_02_mirai.jpg);
    background-size: 9.6vw 9.6vw;
    background-repeat: no-repeat;
    background-position: right 10px bottom 6px;
}*/


#index .leftcol ul li .box p {
    width: 40vw; /*200px;*/
    margin: 0;
    padding: 10px 10px 0px 10px;
    /*font-size: 13px;*/
    font-size: 1.6vw; /* 3.6vw;*/
    line-height: 140%;
}

#index .leftcol ul li .box p.date {
    margin: 0;
    padding: 10px 0 0 10px;
    /*font-size: 9px;*/
    font-size: 1.2vw; /*2.5vw;*/
}


#index .leftcol ul li a.nav {
    border: 1px solid #544A41;
    border-radius: 10px;
	display: block;
	text-indent: -9999px;
	background-position: center center;
    background-repeat: no-repeat;
	height: 86px;
    background-size: auto 30px;
}
#index .leftcol ul li.nav_09a a {
	height: 28vw; /*180px;*/
    width: 43vw; /*280px;*/
    /*border: 1px solid #000;*/
	background-image: url(../../../img/index/top_03_insta.jpg);
    background-size: 43vw 28vw;
}
#index .leftcol ul li.nav_90a a {
	height: 28vw; /*180px;*/
    width: 43vw; /*280px;*/
	background-image: url(../../../img/index/top_04_seikyu.jpg);
    background-size: 43vw 28vw;
}
main ul li.nav_91a a {
	height: 28vw; /*180px;*/
    width: 43vw; /*280px;*/
	/*background-image: url(../img/index/top_05_cooking.jpg);*/
	background-image: url(../../../img/index/top_05_suppro.jpg);
    background-size: 43vw 28vw;
}

@media only screen and (min-width: 769px) {
/* ===== float → flex（3列）＋上下左右同じ余白 ===== */
:root{
  --gap-x: 0.6vw; /* 列間(左右) */
  --gap-y: 1.0vh; /* 行間(上下) */
}

#index .leftcol ul {
  margin-top: 20vh;
  width: 60%;
  margin-left: auto;              /* ← 左右中央寄せ（任意） */
  margin-right: auto;

  background-color: #FFF;
  /*border: 1px solid #000;*/
  box-sizing: border-box;

  display: flex;
  flex-wrap: wrap;

  /* 要素間の余白 */
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);

  /* 外周（上下左右）にも同じ余白を付与 → 見かけ上“上下左右すべて同じ” */
  padding: var(--gap-y) var(--gap-x);
}

/* 3列固定： (100% - 列間×2) / 3
   ※ 外周は padding で確保しているので計算に含めない */
#index .leftcol ul li {
  flex: 0 0 calc((100% - 2 * var(--gap-x)) / 3);
  max-width: calc((100% - 2 * var(--gap-x)) / 3);
  list-style: none;
  margin: 0 !important;   /* 旧float調整の打ち消し */
  float: none !important;
}

/* 旧レイアウトの微調整は不要なので無効化 */
#index .leftcol ul li:nth-child(even),
#index .leftcol ul li:nth-of-type(2n),
#index .leftcol ul li:nth-of-type(3n) { margin: 0 !important; }

/* カード本体は列幅に追従 */
#index .leftcol ul li .box {
  width: 100%;
  height: 11.8vw;
  border: 1px solid #544A41;
  border-radius: 0.5vw;
  background-color: #FFF;
  background-repeat: no-repeat;
  background-position: right 10px bottom 10px;
}

/* 画像は崩れ防止の正方形トリミング */
#index .leftcol ul li img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 0.5vw 0.5vw 0 0;
}

/* 背景スタンプ（そのまま維持） */
#index .leftcol ul li .papa   { background-image: url(../../../img/2025/index/icon_papa.png);   background-size: 30px 30px; }
#index .leftcol ul li .mama   { background-image: url(../../../img/2025/index/icon_mama.png);   background-size: 30px 30px; }
#index .leftcol ul li .hajime { background-image: url(../../../img/2025/index/icon_hajime.png); background-size: 30px 30px; }
#index .leftcol ul li .sakura { background-image: url(../../../img/2025/index/icon_sakura.png); background-size: 30px 30px; }
/*#index .leftcol ul li .hinata { background-image: url(../../../img/index/top_02_hinata.jpg); background-size: 30px 30px; }
#index .leftcol ul li .mirai  { background-image: url(../../../img/index/top_02_mirai.jpg);  background-size: 60px 60px; }*/
/*#index .leftcol ul li .papa   { background-image: url(../../../img/index/top_02_papa.jpg);   background-size: 30px 30px; }
#index .leftcol ul li .mama   { background-image: url(../../../img/index/top_02_mama.jpg);   background-size: 30px 30px; }
#index .leftcol ul li .hajime { background-image: url(../../../img/index/top_02_hajime.jpg); background-size: 30px 30px; }
#index .leftcol ul li .sakura { background-image: url(../../../img/index/top_02_sakura.jpg); background-size: 30px 30px; }
#index .leftcol ul li .hinata { background-image: url(../../../img/index/top_02_hinata.jpg); background-size: 30px 30px; }
#index .leftcol ul li .mirai  { background-image: url(../../../img/index/top_02_mirai.jpg);  background-size: 60px 60px; }*/

/* テキストは列幅に追従 */
#index .leftcol ul li .box p {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  font-size: 0.6vw;
  line-height: 140%;
  box-sizing: border-box;
}
#index .leftcol ul li .box p.date {
  margin: 0;
  padding: 0 10px;
  font-size: 0.5vw;
}


}


/* -------------------------------------------------- */
/* right */
/* -------------------------------------------------- */
/* =========================================================
   - .nav-sns: 上部アイコン
   - .nav-main: メインメニュー
   ========================================================= */

:root{
  --ink:#111;
  --muted:#6c7a80;
  --accent:#f0bac2;      /* ピンクピル */
  --bg:#eaf0f5;
  --ring:#9fb7c4;

  --sns-size: 40px;     /* ボタン径 */
  --sns-ring: 0px;      /* 枠線の太さ（border） */
  --icon-pad: 0px;      /* アイコンの余白（内側スペース） */

  /* ▼メニューのロゴサイズ（共通） */
  --menu-logo-min-w: 110px;   /* 最小幅（スマホなど） */
  --menu-logo-max-w: 300px;   /* 最大幅（PCなど） */
  --menu-logo-ratio: 5.5;     /* 横:縦の比率（だいたい横長なら 5?6 くらい） */
}

/*.leftcol{
  background: var(--bg);
  padding: 16px 14px 24px;
  border-radius: 12px;
}*/


#index .rightcol_inner {
	margin: 0vh 10%;
}

/* ---------------- SNS部 ---------------- */
/* ボタン */
.nav-sns{
  display:flex; gap:12px; margin:6px 0 18px; padding:0; list-style:none; justify-content: center;
}
.nav-sns a{
  position:relative;
  display:inline-block;
  width:var(--sns-size);
  height:var(--sns-size);
  border:var(--sns-ring) solid var(--ring);
  border-radius:50%;
  background:#fff;
  color:var(--ink);
  font-size:0; /* 視覚テキストは消す（DOMには残す） */
}

/* ← ここがポイント：内側に“絶対配置”した箱をマスクの基準にする */
.nav-sns a::before{
  content:"";
  position:absolute;
  /* 枠線 + 余白ぶんだけ内側にオフセット（＝自動的に正方形を確保） */
  inset: calc(var(--sns-ring) + var(--icon-pad));
  /* マスクでSVGを中央フィット */
  background: currentColor;
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center;  mask-position:center;
  -webkit-mask-size:contain;      mask-size:contain;
}

/* アイコン別SVGパス */
.nav-sns li:nth-child(1) a::before{
  mask-image: url(../../img/2025/common/icon_instagram.svg);
  -webkit-mask-image: url(../../img/2025/common/icon_instagram.svg);
}
.nav-sns li:nth-child(2) a::before{
  mask-image: url(../../img/2025/common/icon_facebook.svg);
  -webkit-mask-image: url(../../img/2025/common/icon_facebook.svg);
}
.nav-sns li:nth-child(3) a::before{
  mask-image: url(../../img/2025/common/icon_youtube.svg);
  -webkit-mask-image: url(../../img/2025/common/icon_youtube.svg);
}

/* ---------------- メインメニュー ---------------- */
.nav-main{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 25px; /*10px*/
}

.nav-main {
/*border: 1px solid #000;*/
}

.nav-main > li{
  position: relative;
  padding-left: 18px;
}

/* ピンクのピル＋ドット */
/*.nav-main > li::before{
  content:"";
  position: absolute;
  left: 0; top: .35em;
  width: 10px; height: 18px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 22%, #333 38%, transparent 39%) 50% 20% / 6px 6px no-repeat,
    var(--accent);
}*/

/* 英字タイトル */
.nav-main > li > a{
  display: inline-block;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  line-height: 1.2;
}

/* SVG文字を使う場合（例: home など） */
/* 先頭から 10 個目までの li > a.as-svg にだけ適用 */
.nav-main > li:nth-child(-n + 10) > a.as-svg {
  display: block;
  font-size: 0;

  /* 共通の横幅（既存の変数をそのまま利用） */
  width: clamp(var(--menu-logo-min-w), 20vw, var(--menu-logo-max-w)) !important;

  /* 共通アスペクト比で高さも固定 */
  aspect-ratio: var(--menu-logo-ratio) / 1 !important;

  /* 背景画像の描画ルールを統一 */
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: auto 100% !important;
}

@media (max-width: 834px) {
.nav-main > li:nth-child(-n + 10) > a.as-svg {
  width: clamp(var(--menu-logo-min-w), 80vw, var(--menu-logo-max-w)) !important;
}
}


/* 念のため、home（1番目）がどこかで個別指定されていても上書き */
.nav-main > li:first-child > a.as-svg {
  width: clamp(var(--menu-logo-min-w), 20vw, var(--menu-logo-max-w)) !important;
  aspect-ratio: var(--menu-logo-ratio) / 1 !important;
  background-size: auto 100% !important;
}
@media (max-width: 834px) {
.nav-main > li:first-child > a.as-svg {
  /*width: clamp(var(--menu-logo-min-w), 40vw, var(--menu-logo-max-w)) !important;*/ /* スマホ実機での表示崩れへの対処療法です。ご容赦ください。 */
  width: clamp(var(--menu-logo-min-w), 80vw, var(--menu-logo-max-w)) !important;
}
}

.nav-main > li:nth-child(1) > a.as-svg{
  background-image:url(../../img/2025/common/menu00.png);
}
.nav-main > li:nth-child(2) > a.as-svg{
  background-image:url(../../img/2025/common/menu01.png);
}
.nav-main > li:nth-child(3) > a.as-svg{
  background-image:url(../../img/2025/common/menu02.png);
}
.nav-main > li:nth-child(4) > a.as-svg{
  background-image:url(../../img/2025/common/menu03.png);
}
.nav-main > li:nth-child(4) > ul > li:nth-child(1) > a.as-svg{
  background-image:url(../../img/2025/common/menu03_01.png);
}
.nav-main > li:nth-child(4) > ul > li:nth-child(2) > a.as-svg{
  background-image:url(../../img/2025/common/menu03_02.png);
}
.nav-main > li:nth-child(4) > ul > li:nth-child(3) > a.as-svg{
  background-image:url(../../img/2025/common/menu03_03.png);
}
.nav-main > li:nth-child(4) > ul > li:nth-child(4) > a.as-svg{
  background-image:url(../../img/2025/common/menu03_04.png);
}
.nav-main > li:nth-child(5) > a.as-svg{
  background-image:url(../../img/2025/common/menu04.png);
}
.nav-main > li:nth-child(5) > ul > li:nth-child(1) > a.as-svg{
  background-image:url(../../img/2025/common/menu04_01.png);
}
.nav-main > li:nth-child(5) > ul > li:nth-child(2) > a.as-svg{
  background-image:url(../../img/2025/common/menu04_02.png);
}
.nav-main > li:nth-child(5) > ul > li:nth-child(3) > a.as-svg{
  background-image:url(../../img/2025/common/menu04_03.png);
}
.nav-main > li:nth-child(6) > a.as-svg{
  background-image:url(../../img/2025/common/menu05.png);
}
.nav-main > li:nth-child(7) > a.as-svg{
  background-image:url(../../img/2025/common/menu06.png);
}
.nav-main > li:nth-child(8) > a.as-svg{
  background-image:url(../../img/2025/common/menu07.png);
}
.nav-main > li:nth-child(9) > a.as-svg{
  background-image:url(../../img/2025/common/menu08.png);
}
.nav-main > li:nth-child(10) > a.as-svg{
  background-image:url(../../img/2025/common/menu09.png);
}
.nav-main > li:nth-child(11) > a.as-svg{
  background-image: url(../../img/2025/common/menu10.png);
  background-repeat: no-repeat;     /* ← 繰り返しなし */
  background-position: center;      /* ← 中央配置 */
  background-size: contain;         /* ← 縦横比を保ちつつ、a要素内にフィット */
  width: 100%;                      /* ← a要素幅いっぱいに表示 */
  height: 100%;                     /* ← a要素高さいっぱいに表示 */
  display: block;                   /* ← ブロック化で領域確保 */
  font-size: 0;  
}

/* 他の項目も同様に追加 */

.nav-main > li > span{
  display: block;
  margin-top: 6px;
  margin-left: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* サブメニュー */
.nav-main > li > ul{
  list-style: none;
  margin: 10px 0 0 2px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.nav-main > li > ul > li > a{
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  position: relative;
  padding-left: 14px;
}
.nav-main > li > ul > li > a::before{
  content:"";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ボタン（最下段） */
.nav-main > li:last-child > a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  /*border-radius: 999px;*/
  border: none;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;    /* ボタンの最大幅 */
  margin: 20px auto 0 auto; /* 自動中央寄せ */
  transition: background-color 0.2s ease, color 0.2s ease;
}


/* hover時の軽い反応 */
.nav-main > li:last-child > a:hover {
  /*background: var(--accent);*/
  color: #fff;
}

/* 矢印アイコン */
.nav-main > li:last-child > a::after {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  /*mask: url(/assets/svg/arrow-right.svg) no-repeat center / contain;
  -webkit-mask: url(/assets/svg/arrow-right.svg) no-repeat center / contain;*/
}

/* --- 2階層目（サブメニュー）のサイズ調整とドット削除 --- */

/* 1. 2階層目のサイズを小さく上書き */
.nav-main > li > ul > li > a.as-svg {
  margin-left: 10px; /* 少し右にずらして階層感を出す */
  display: block;
  font-size: 0;

  /* 共通の横幅（既存の変数をそのまま利用） */
  width: clamp(var(--menu-logo-min-w), 15vw, var(--menu-logo-max-w)) !important;

  /* 共通アスペクト比で高さも固定 */
  aspect-ratio: var(--menu-logo-ratio) / 1 !important;

  /* 背景画像の描画ルールを統一 */
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: auto 100% !important;
}
@media (max-width: 834px) {
.nav-main > li > ul > li > a.as-svg {
  /*width: clamp(var(--menu-logo-min-w), 26vw, var(--menu-logo-max-w)) !important;*/ /* スマホ実機での表示崩れへの対処療法です。ご容赦ください。 */
  width: clamp(var(--menu-logo-min-w), 50vw, var(--menu-logo-max-w)) !important;
}
}


/* 2. サブメニューのピンクのドット（::before）を消す */
/* 画像化している(as-svgクラスがある)場合のみ、既存のドットを非表示にします */
.nav-main > li > ul > li > a.as-svg::before {
  display: none !important;
}

/* 3. 階層全体の余白調整 */
.nav-main > li > ul {
  gap: 4px; /* サブメニュー間の上下間隔を少し詰める */
}

/* hover */
.nav-sns a:hover,
.nav-main a:hover { opacity: .7; }







/* =========================
   モバイル：全画面メニュー + 兄弟セレクタ制御（:has不要）
   ========================= */
@media (max-width: 834px){

  /* 中央コンテンツは全幅（既存のPC用固定指定を打ち消し） */
  #index .sp_section {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    box-shadow: none !important;
  }
  #index .sp_section main,
  #index .sp_section_inner {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
  }

  /* 左カラムは不要 */
  #index .leftcol { display: none !important; }

  /* もし .sp_section_inner 内に “ダミーの .rightcol” があるなら隠す */
  .sp_section_inner > .rightcol { display: none !important; }

  /* ハンバーガー（右上固定・レスポンシブ） */
.hamburger{
  position: fixed;
  top: min(12px, 3vw);
  right: min(12px, 3vw);
  width:  var(--hamburger-size);
  height: var(--hamburger-size);

  /* ↓ ボタンを丸くしない（背景・丸枠なし） */
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  display: grid;
  place-items: center;
  z-index: 3000;
  cursor: pointer;
}

  .hamburger span,
  .hamburger::before,
  .hamburger::after{
    content: "";
    grid-area: 1 / 1;
    width:  var(--hamburger-bar-w);
    height: var(--hamburger-bar-h);
    background: #C0C0C0;
    border-radius: 999px;
    transition: transform .25s ease, opacity .25s ease;
  }

  .hamburger::before{
    transform: translateY(calc(-1 * var(--hamburger-offset)));
  }
  .hamburger::after{
    transform: translateY(var(--hamburger-offset));
  }

  /* 背景オーバーレイ */
  .menu-overlay{
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
    z-index: 2998;
  }

  /* ★ 本命の .rightcol（後者ブロック）＝全画面メニュー */
  /*   既存のPC用固定幅( var(--rw) など ) を徹底的に上書き */
  #index .rightcol{
    position: fixed !important;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw !important;
    height: 100dvh !important;
    background: #EBF5FB;
    overflow-y: auto;
    transform: translateY(-100%);      /* 初期は隠す */
    transition: transform .4s ease;
    z-index: 2999;
    padding: 60px 24px 80px; box-sizing: border-box;
  }
  
	/* 入力チェック時に .pc_section の中の .rightcol を開く */
	#nav-toggle:checked ~ .pc_section .rightcol{
	  transform: translateY(0);
	}

  /* 閉じる（×）ボタン：開いた時だけ表示 */
  .menu-close{
    position: fixed;
    top: min(12px, 3vw);   /* hamburger と同じ位置に */
    right: min(12px, 3vw);
    width:  var(--hamburger-size);   /* hamburger と同じ大きさ */
    height: var(--hamburger-size);
    border-radius: 50%;              /* 丸いままでよければ残す */
    background: rgba(0,0,0,.05);
    display: none;
    place-items: center;
    z-index: 3001;
    cursor: pointer;
  }
  .menu-close::before,
  .menu-close::after{
    content:"";
    position:absolute;
    width:  var(--hamburger-bar-w);  /* 線の長さもハンバーガーと揃える */
    height: var(--hamburger-bar-h);
    background:#111;
    border-radius:2px;
  }
  .menu-close::before{ transform: rotate(45deg); }
  .menu-close::after { transform: rotate(-45deg); }

  /* 開閉制御は :has を使って “文書内どこにある #nav-toggle でも反応” させる */
  body:has(#nav-toggle:checked) #index .rightcol { transform: translateY(0); }
  body:has(#nav-toggle:checked) .menu-overlay { opacity:1; pointer-events:auto; }
  body:has(#nav-toggle:checked) .menu-close { display:grid; }
  body:has(#nav-toggle:checked) .hamburger { opacity:0; pointer-events:none; }

  /* メニュー展開中は背景スクロール停止 */
  body:has(#nav-toggle:checked){ overflow: hidden; }
}

/* PCではハンバーガー／オーバーレイ／閉じるを非表示 */
@media (min-width: 835px){
  .hamburger, .menu-overlay, .menu-close{ display:none !important; }
}


/* =========================
   トップページのメニュー画像配置
   ========================= */

#indexlist li {
	margin-bottom: 16px;
}


/* --- フッターナビ共通設定 --- */
.footer-nav-area {
  margin-top: 60px;
  padding: 0; /* 背景色は下の要素で分けるため、ここでは0に */
}

/* 3枚のバナー */
.f-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 5% 40px; /* 左右マージンを確保 */
}
.f-banners-top {
  display: flex;
  gap: 10px;
}
.f-banners img { width: 100%; height: auto; display: block; }

/* SNSアイコンの中央配置修正 */
.f-sns-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 10px; /* ロゴとの間隔を詰める */
}
.f-sns-wrapper .nav-sns {
  margin: 0; /* 既存の nav-sns のマージンをリセット */
  padding: 0;
  display: flex;
  gap: 15px;
}

/* おおむら暮らしロゴの拡大 */
.f-logo {
  text-align: center;
  margin-bottom: 40px; /* 下のサイトマップとの間隔 */
}
.f-logo img {
  width: 90%; /* 横幅を広く */
  max-width: 500px; /* PCでの最大幅を調整 */
  height: auto;
}

/* サイトマップエリアの背景色再現 */
.f-sitemap-bg {
  background-color: #EBF5FB; /* 画像の水色背景を適用  */
  padding: 40px 5%;
  border-top: 1px solid #CCC;
}

/* 2列のテキストリンク */
.f-text-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 600px; /* 中央寄せにするための最大幅 */
  margin: 0 auto;
}
.f-link-col {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 48%;
}
.f-link-col > li {
  margin-bottom: 15px;
  font-size: 14px;
  position: relative;
  padding-left: 28px; /* アイコン分のスペース */
  /*font-weight: bold;*/
}



/* --- サイトマップ アイコン画像化の完全版 --- */

/* 1. 全アイコン共通設定 */
.f-link-col > li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  /* 50%ではなく、1行目のテキストの高さ（上端）に合わせる */
  top: 2px; 
  width: 20px;
  height: 20px;
  border: none !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 2. 各アイコンの画像指定 */
.has-icon-house::before  { background-image: url(../../img/2025/common/list_icon_01.png); }
.has-icon-map::before    { background-image: url(../../img/2025/common/list_icon_02.png); }
/*.has-icon-plane::before  { background-image: url(../../img/2025/common/list_icon_03.png); }*/
.has-icon-smile::before  { background-image: url(../../img/2025/common/list_icon_04.png); }
.has-icon-camera::before { background-image: url(../../img/2025/common/list_icon_05.png); }
.has-icon-bell::before   { background-image: url(../../img/2025/common/list_icon_06.png); }
.has-icon-q::before      { background-image: url(../../img/2025/common/list_icon_07.png); }
.has-icon-form::before   { background-image: url(../../img/2025/common/list_icon_08.png); }
.has-icon-family::before { background-image: url(../../img/2025/common/list_icon_09.png); }

/* 3. 飛行機アイコン（移住について）の個別調整 */
.has-icon-plane::before {
  background-image: url(../../img/2025/common/list_icon_03.png);
  /* デザイン画像に合わせて、少し上、あるいは左に微調整が必要な場合 */
  top: 2px !important; 
  left: -2px !important; 
}

/* 4. 全体的な余白の微調整 */
.f-link-col > li {
  padding-left: 30px !important; /* アイコンの右側に少し余裕を持たせる */
}

/* サブリンク（2階層目）の調整 */
.f-sub-link {
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0;
}
.f-sub-link li {
  margin-bottom: 8px;
  font-size: 13px;
  color: #333;
  padding-left: 0;
  font-weight: normal;
}

/* スマホ表示のレスポンシブ調整 */
@media (max-width: 480px) {
  /*.f-banners-top { flex-direction: column; }*/
  .f-text-link { flex-direction: column; gap: 0; }
  .f-link-col { width: 100%; margin-bottom: 20px; }
  .f-logo img { width: 95%; }
}




/* 親のリスト：インラインの position: relative; display: inline-block; を再現 */
.video-overlay-item {
  position: relative !important;
  display: inline-block !important;
  width: auto !important;           /* 強制的な幅拡大を阻止 */
}

/* 2枚目（オーバーレイ）：インラインの絶対配置とサイズを再現 */
.video-overlay-item .badge-image {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 80% !important;           /* 成功した 80% 指定を維持 */
  height: auto !important;
  z-index: 10 !important;
  aspect-ratio: auto !important;   /* 他の img 指定をリセット */
}


/* --- トップへ戻るボタン --- */
.pagetop_btn {
    display: none;          /* 最初は非表示 */
    position: fixed;        /* 画面に固定 */
    bottom: 20px;           /* 下からの位置 */
    right: 20px;            /* 右からの位置（スマホ用デフォルト） */
    width: 50px;
    height: 50px;
    background-color: #72B7B2; /* サイトのテーマカラー（緑） */
    border-radius: 50%;     /* 丸くする */
    text-decoration: none;
    z-index: 1000;          /* 他の要素より手前に */
    opacity: 0.9;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.pagetop_btn:hover {
    background-color: #5aa09b; /* ホバー時の色 */
    transform: translateY(-2px);
}

/* 矢印アイコン（CSSで描画） */
.pagetop_btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-top: 3px solid #fff;  /* 白い線 */
    border-right: 3px solid #fff;
    transform: translate(-50%, -30%) rotate(-45deg); /* 中央配置＆上向き回転 */
}

/* PC表示時（右カラムがある場合）の位置調整 */
@media (min-width: 835px) {
    .pagetop_btn {
        /* 右カラム(--rw)の幅 + 20px の位置に配置 */
        right: calc(var(--rw) + 20px); 
    }
}
/* --- スマホ時だけ、トップへ戻るボタンの位置を調整 --- */
@media (max-width: 834px) {
    .pagetop_btn {
        /* 固定メニューの高さ（約90px）＋余白（20px）＝ 110px くらい上に配置 */
        bottom: 120px !important; 
    }
}

/* --- スマホ用固定フッターメニュー --- */
/* PCでは完全に非表示 */
.mobile-fixed-footer {
    display: none;
}

/* --- モバイル固定フッター：表示の強制とデザイン修正 --- */
@media screen and (max-width: 834px) {
    /* 1. バー全体を水色にし、確実に表示させる */
    .mobile-fixed-footer {
        display: block !important;    /* 非表示設定を強制上書き */
        visibility: visible !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #81D0D8 !important; /* 画像の水色 */
        padding: 8px 0 calc(8px + env(safe-area-inset-bottom)) !important;
        z-index: 9999 !important;      /* 最前面に配置 */
    }

    /* 2. アイコンを等間隔（4列）に配置 */
    .mff-list {
        display: flex !important;
        justify-content: space-around !important; /* 均等配置 */
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mff-list li {
        flex: 1 !important; /* 4つを均等な幅にする */
        width: auto !important;
        max-width: none !important;
        list-style: none !important;
        list-style-type: none !important;		
		list-style-image: none !important;
    }

    /* 3. 個別のボタン背景（水色の四角）を透明にする */
    .mff-btn {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background-color: transparent !important; /* 背景色を透明化 */
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        height: 48px !important;
        margin: 0 !important;
    }

    /* 4. アイコン画像のサイズ調整 */
    .mff-btn img {
        width: 40px !important;
        height: 40px !important;
        opacity: 0.9 !important;
        object-fit: contain !important;
    }
}

