@charset "UTF-8";

/* -------------------------------------------------

 背景色・文字色用カスタム変数定義

------------------------------------------------- */
/* 標準 */
:root {
  --color-text: #333333;														/* 全体の文字色 */
  --color-bg-main: #ffffff;											/* 全体の背景色 */
  --color-bg-pink: #f5e9e9;											/* 背景色（ピンク） */
  --color-bg-cream: #fffaf4;										/* 背景色（薄黄色） */
  --color-card-bg: #ffffff;											/* 背景色（角丸大枠--お知らせ一覧等） */
  --color-accent: #d96b6b;												/* メニューホバー（文字色） */
  --color-accent-hover: #b54848;						/* メニューホバー（点線の色） */
  --color-list-ya: #786448;											/* カテゴリリンクの丸矢印背景色 */
  --color-border: #786448;												/* 線の背景色 */
  --color-title: #432b0c;													/* 見出しの文字色 */
		--color-icon: #432b0c;														/* メニューアイコン・矢印アイコン・arrow背景色 */
  --color-frame: #786448;													/* 線の色（角丸大枠--お知らせ一覧等） */
	 /*--weight-normal: 400;
  --weight-medium: 500;
  --weight-bold: bold;*/
		--logo-top: url('../images/logo.svg');												/* ロゴ（PC用ヘッダー） */
		--logo-bottom: url('../images/f_logo.svg');							/* ロゴ（PC用フッター） */
		--logo-top-sp: url('../images/logo_sp.svg');						/* ロゴ（SP用ヘッダー） */
		--logo-bottomsp: url('../images/f_logo_sp.svg');		/* ロゴ（SP用フッター） */
  --color-f-yajirushi: #333333;																					/* 矢印アイコン（フッター）*/
		--color-f-adwaku: #333333;																								/* 電話・携帯・FAX枠（フッター）*/
		--menu-icon-01: url('../images/news.svg');								/* メニューアイコン（画像） */
		--menu-icon-02: url('../images/riyou.svg');							/* メニューアイコン（画像） */
		--menu-icon-03: url('../images/dantai.svg');						/* メニューアイコン（画像） */
		--menu-icon-04: url('../images/v_week.svg');						/* メニューアイコン（画像） */
		--menu-icon-05: url('../images/saigai.svg');						/* メニューアイコン（画像） */
		--menu-icon-06: url('../images/unei.svg');								/* メニューアイコン（画像） */
		--menu-icon-07: url('../images/gaiyou.svg');						/* メニューアイコン（画像） */
		--menu-icon-08: url('../images/keii.svg');								/* メニューアイコン（画像） */
		--menu-icon-09: url('../images/policy.svg');						/* メニューアイコン（画像） */
		--menu-icon-10: url('../images/v_info.svg');						/* メニューアイコン（画像） */
		--e-mail: url('../images/email.svg');														/* メールアドレス（画像） */
	 --color-a-border: #000000;																								/* a:focus時のキーボードでフォーカス時の枠 */
  --color-btn-border: #786448;																						/* ボタン囲い線の色 */
	 --color-btn-bg: #ffffff;																										/* ボタン背景色 */
	 --color-btn-bg-hover: #f5e9e9;																				/* ボタン背景色（ホバー） */
		--color-primary: #786448;																									/* 検索ボタン背景色（登録団体紹介用） */
		--color-primary-hover: #432b0c;																			/* 検索ボタン背景色hover（登録団体紹介用） */
		--color-primary-focus: #d96b6b;																			/* 検索ボタン背景色focus（登録団体紹介用） */
  --color-list-num: #ffffff;																								/* 箇条書き-丸数字の色 */
  --color-list-num-bg: #786448;																					/* 箇条書き-丸数字の背景色 */
  --color-list-marker: #786448;																					/* 箇条書き-discの色 */
  --color-list-title: #786448;																						/* 箇条書き-文字色 */
		--color-table-th: #f5e9e9;																								/* table thの背景色 */
	 --color-border-keii-l: #d96b6b;																			/* 左下線の色（経緯） */
	 --color-border-keii-r: #cccccc;																			/* 右下線の色（経緯） */
}
@media screen and (max-width: 640px)  {
:root {
		--color-table-th: #ffffff;																								/* table thの背景色 */
}
}

/* 黒背景（ハイコントラスト） */
html[data-theme="black"] {
  --color-text: #ffffff;
  --color-bg-main: #121212;
  --color-bg-pink: #222222;
  --color-bg-cream: #1a1a1a;
  --color-card-bg: #2d2d2d;
  --color-accent: #ff8a8a;
  --color-accent-hover: #ffb3b3;
  --color-list-ya: #444444;
  --color-border: #444444;
  --color-title: #ffffff;
		--color-icon: #ffffff;
  --color-frame: #ffffff;
		--logo-top: url('../images/black_logo.svg');
		--logo-bottom: url('../images/black_f_logo.svg');
		--logo-top-sp: url('../images/black_logo_sp.svg');
		--logo-bottom-sp: url('../images/black_f_logo_sp.svg');
  --color-f-yajirushi: #ffffff;
		--color-f-adwaku: #333333;
		--menu-icon-01: url('../images/black/news.svg');
		--menu-icon-02: url('../images/black/riyou.svg');
		--menu-icon-03: url('../images/black/dantai.svg');
		--menu-icon-04: url('../images/black/v_week.svg');
		--menu-icon-05: url('../images/black/saigai.svg');
		--menu-icon-06: url('../images/black/unei.svg');
		--menu-icon-07: url('../images/black/gaiyou.svg');
		--menu-icon-08: url('../images/black/keii.svg');
		--menu-icon-09: url('../images/black/policy.svg');
		--menu-icon-10: url('../images/black/v_info.svg');
		--e-mail: url('../images/black/email.svg');
	 --color-a-border: #ffffff;
  --color-btn-border: #ffffff;
	 --color-btn-bg: #2d2d2d;
	 --color-btn-bg-hover: #000000;
		--color-primary: #444444;
		--color-primary-hover: #000000;
		--color-primary-focus: #ffff00;
	 --color-list-num: #ffffff;
  --color-list-num-bg: #444444;
  --color-list-marker: #ffffff;
  --color-list-title: #ffffff;
		--color-table-th: #222222;
		--color-border-keii-l: #ffffff;
	 --color-border-keii-r: #666666;
}
@media screen and (max-width: 640px)  {
html[data-theme="black"] {
		--color-table-th: #444444;
}
}

/* 青背景（ハイコントラスト・ウェブアクセシビリティ考慮） */
html[data-theme="blue"] {
  --color-text: #ffffff;                            /* 【修正】濃い青背景で見やすいよう文字色を白に変更 */
  --color-bg-main: #003366;                         /* 【修正】全体の背景色を眩しさを抑える濃い紺色に変更 */
  --color-bg-pink: #002244;                         /* 【修正】セクション背景（旧ピンク）をさらに濃い紺色に変更 */
  --color-bg-cream: #002b55;                        /* 【修正】セクション背景（旧クリーム）を明度を落とした紺色に変更 */
  --color-card-bg: #1a4975;                         /* 【修正】カード背景（旧白）を背景より少し明るい青に変更 */
  --color-accent: #ffff00;                          /* 【修正】リンク文字等のアクセント色を、紺背景で最も目立つ「黄色」に変更 */
  --color-accent-hover: #ffea00;                    /* 【修正】アクセントホバー色をやや濃い黄色に変更 */
  --color-list-ya: #1a4975;                         /* 【修正】カード等の背景に合わせた青に変更 */
  --color-border: #92bce6;                          /* 全体の区切り線（視認性の良い水色） */
  --color-title: #ffffff;                           /* 【修正】見出しの文字色を白に変更 */
  --color-icon: #ffffff;                            /* 【修正】アイコンや矢印の色を白に変更 */
  --color-frame: #ffffff;                           /* 【修正】お知らせ一覧などの大枠の線の色を白に変更 */
		--logo-top: url('../images/black_logo.svg');
		--logo-bottom: url('../images/black_f_logo.svg');
		--logo-top-sp: url('../images/black_logo_sp.svg');
		--logo-bottom-sp: url('../images/black_f_logo_sp.svg');
  --color-f-yajirushi: #ffffff;                     /* 【追加】フッターの矢印アイコンを白に変更 */
  --color-f-adwaku: #ffffff;                        /* 【修正】フッターの連絡先枠線を白に変更 */
		--menu-icon-01: url('../images/black/news.svg');
		--menu-icon-02: url('../images/black/riyou.svg');
		--menu-icon-03: url('../images/black/dantai.svg');
		--menu-icon-04: url('../images/black/v_week.svg');
		--menu-icon-05: url('../images/black/saigai.svg');
		--menu-icon-06: url('../images/black/unei.svg');
		--menu-icon-07: url('../images/black/gaiyou.svg');
		--menu-icon-08: url('../images/black/keii.svg');
		--menu-icon-09: url('../images/black/policy.svg');
		--menu-icon-10: url('../images/black/v_info.svg');
		--e-mail: url('../images/black/email.svg');
  --color-a-border: #ffff00;                        /* 【修正】キーボードフォーカス枠を最も見えやすい「黄色」に変更 */
  --color-btn-border: #ffffff;                      /* 【修正】ボタンの囲み線を白に変更 */
  --color-btn-bg: #1a4975;                          /* 【修正】ボタン背景色を明るめの青に変更 */
  --color-btn-bg-hover: #002b55;                    /* 【修正】ボタンホバー時の背景色を濃い紺色に変更 */
  --color-primary: #ffff00;                         /* 【修正】検索ボタン背景色を「黄色」に変更（文字色は自動で黒等に反転させてください） */
  --color-primary-hover: #ffea00;                   /* 【修正】検索ボタンホバー背景 */
  --color-primary-focus: #ffffff;                   /* 【修正】検索ボタンフォーカス背景 */
  --color-list-num: #003366;                        /* 【修正】丸数字の「数字自体」の色を紺に変更 */
  --color-list-num-bg: #ffffff;                     /* 【修正】丸数字の「丸の背景」を白に変更して反転 */
  --color-list-marker: #ffffff;                     /* 【修正】箇条書きのドット（disc）の色を白に変更 */
  --color-list-title: #ffffff;                      /* 【修正】箇条書きの文字色を白に変更 */
  --color-table-th: #1a4975;                        /* 【修正】テーブルの見出し背景を少し明るい青に変更 */
  --color-border-keii-l: #ffff00;                   /* 【修正】経緯の左下線を黄色に変更 */
  --color-border-keii-r: #92bce6;                   /* 【修正】経緯の右下線を水色に変更 */
}

@media screen and (max-width: 640px) {
  html[data-theme="blue"] {
    --color-table-th: #002b55;                      /* 【修正】スマホ時の見出し背景を濃い紺色に変更 */
  }
}



/* -------------------------------------------------

 文字サイズ切替

------------------------------------------------- */
html[data-font-size="normal"] {
  font-size: 16px;
}
html[data-font-size="large"] {
  font-size: 19.2px;
}


/* -------------------------------------------------

 ベーススタイル

------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* ヘッダーの高さに合わせて調整 */
}
@media screen and (max-width: 898px) {
		html {
 		 scroll-padding-top: 100px
		}
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg-main);
  /*transition: background-color 0.3s, color 0.3s;*/
		position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;			/*   transparent指定すると色が透明になる   */
}
a {
  -webkit-tap-highlight-color: transparent;			/*  スマホ用  */
		text-underline-offset: 5px; /* 文字から5px下に下線を移動 */
}

/*  a:hover 要素の上にかざした時の動作 ／ a:active 選択時に押し下げた時の動作  */
a:active,
a:hover {
  outline: 0;
}

/*  a:hover 要素の上にかざした時の動作 ／ a:focus 選択後の動作  */
a:hover, a:focus {
  text-decoration: underline;
}
a:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

/*  文字の輪郭をスキップする効果  */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* マウスでクリックした時は枠を出さない */
a:focus:not(:focus-visible) {
  outline: none;
}

/* キーボードでフォーカスした時だけ枠を出す（または他のスタイルを適用） */
a:focus-visible {
  outline: 2px solid var(--color-a-border); /* 黒い枠を出すなど */
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
}

.section {
  padding: 60px 20px;
}
.section-first {
  padding: 0px 20px 60px;
}
@media screen and (max-width: 480px) {
.section-first {
  padding: 30px 20px 60px;
}
}

.section-bg-pink {
  background-color: var(--color-bg-pink);
}

.section-bg-cream {
  background-color: var(--color-bg-cream);
}

.container {
  max-width: 1200px;
		/*width: 100%;*/		/* 追加 */
  margin: 0 auto;
}

.section-title {
		color: var(--color-title);
  font-size: 1.4rem;
  margin-bottom: 15px;
  position: relative;
		font-weight: bold;	
		display: flex;
		align-items:center;
		line-height: normal;
}
.st_icon {
		width: 28px;
		margin-right: 10px;
}
.custom-svg {
		width: 28px;
  height: auto;
  fill: var(--color-icon);
}
.custom-svg.va10px {
	vertical-align: -10px;
}
.custom-svg.va5px {
	vertical-align: -5px;
}
@media screen and (max-width: 898px) {
.section-title.two {
		align-items:flex-start !important;
		line-height: 1.2 !important;
}
}
@media screen and (max-width: 480px) {
.section-title {
  font-size: 1.2rem;
		line-height: 1.2;
  margin-bottom: 10px;
}
.st_icon {
		width: 24px;
}
.custom-svg {
  width: 24px;
}
}

.pc-only {
  display: block;
}

.sp-only,.sp-only02 {
  display: none !important;
}
@media screen and (max-width: 898px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: flex !important;
  }
  .sp-only02 {
    display: block!important;
  }
}



/* ==========================================
   PC版 画面右側追従ボタン (上から220px)
========================================== */
.floating-sns-bar {
  position: fixed;
  top: 220px;
  right: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.15);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  overflow: hidden;
}
@media print {			/* 印刷用 */
  .floating-sns-bar {
    position: absolute !important;
  }
}

.floating-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s;
}

.floating-btn:hover {
  filter: brightness(0.9);
}

/* サイト内検索ボタン（黄） */
.btn-search {
  background-color: #ffcc00;
  color: #333333;
  padding: 12px 10px;
  gap: 8px;
  border: 1px solid #111111;
}
a:hover.btn-search {
		text-decoration: none !important;
}

.icon-search {
  width: 22px;
  height: 22px;
  stroke: #333333;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* Facebookボタン（青） */
.btn-facebook {
  background-color: #1877f2;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-left: 1px solid #111111;
  border-right: 1px solid #111111;
  border-bottom: 1px solid #111111;
}

.btn-facebook svg {
  width: 28px;
  height: 28px;
}

/* Instagramボタン（グラデーション） */
.btn-instagram {
  background: #ffffff;
  color: #d62976;
  width: 50px;
  height: 50px;
  border-left: 1px solid #111111;
  border-right: 1px solid #111111;
  border-bottom: 1px solid #111111;
}

.btn-instagram svg {
  width: 28px;
  height: 28px;
}


/* ==========================================
   アクセシビリティツールバー
========================================== */
.accessibility-bar {
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #333333;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.acc-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.acc-label br {
  display: none;
}
@media screen and (max-width: 359px) {
.acc-label br {
  display: block;
		line-height: 0 !important;
}
}
.acc-buttons {
  display: flex;
  gap: 4px;
}

.btn-acc {
  border: 1px solid var(--color-btn-border);
  background-color: var(--color-btn-bg);
  color: var(--color-text);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-acc:hover {
  opacity: 0.8;
  background-color: var(--color-btn-bg-hover);
}

.btn-acc.active {
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  border-color: var(--color-primary);
}

/* 青背景（ハイコントラスト）時のアクティブボタン視認性補正 */
html[data-theme="blue"] .btn-acc.active {
  color: #000000; /* 背景が黄色の場合は文字を黒にして見やすくする */
}

.pc-accessibility-bar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}
@media print {
.pc-accessibility-bar {
  top: 70px !important;
}
}

.sp-accessibility-bar {
  display: none;
}

/* 1. ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  /*width: 260px;*/
  width: 312px;
  height: 100vh;
  background-color: var(--color-bg-main);
  z-index: 1000;
  box-shadow: 2px 0 10px rgba(0,0,0,0.05);
  padding: 10px 20px 100px 20px;
  overflow-y: auto;
}
@media screen and (max-width: 898px) {
  .site-header {
    width: 100%;
    height: 70px;
    padding: 0 0 0 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
}
@media screen and (max-width: 480px) {
  .site-header {
    padding: 0 0 0 4px;
  }
}
@media print {			/* 印刷用 */
  .site-header {
    position: absolute !important;
  }
}


.header-inner {
  display: flex;
  flex-direction: column;
}
@media screen and (max-width: 898px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
  }
}

.logo {
		width: 240px;
		margin: 0 auto 10px;
}
.logo a {
 background-image: var(--logo-top);
	width: 240px;
	height: 176px;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 240px 176px;
 overflow: hidden;
 text-indent: 100%;
 white-space: nowrap;
	display: block;
}
.logo a:hover {
	text-decoration: none !important;
 opacity: 0.7;
 filter: alpha(opacity=70);
 -moz-opacity: 0.7;
	transition: .3s;
}
@media screen and (max-width: 898px) {
.logo {
		width: 240px;
		margin: 0;
}
.logo a {
 background-image: var(--logo-top-sp);
	width: 240px;
	height: 40px;
	background-size: 240px 40px;
}	
}
@media screen and (max-width: 480px) {
.logo {
		width: 200px;
		margin: 0;
}
.logo a {
 background-image: var(--logo-top-sp);
	width: 200px;
	height: 32px;
	background-size: 200px 32px;
}	
}
@media screen and (max-width: 374px) {
.logo {
		width: 170px;
		margin: 0;
}
.logo a {
 background-image: var(--logo-top-sp);
	width: 170px;
	height: 27px;
	background-size: 170px 27px;
}	
}


/* 左のナビゲーションメニュー */
.site-nav ul {
  display: flex;
  flex-direction: column;
  /*gap: 12px*/;
}

.site-nav a {
  /*font-size: 0.92rem;*/
  font-size: 1.1rem;
  font-weight: 500;
		line-height: normal;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 8px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 4px dotted var(--color-border);
}

.site-nav a:hover {
		text-decoration: none !important;
}
/*.site-nav a:hover {
		text-decoration: none !important;
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}*/
@media (hover: hover) {
  .site-nav a:hover {
				text-decoration: none !important;
 		 color: var(--color-accent);
 		 border-bottom-color: var(--color-accent);
		}
}

.site-nav a.bb_none {
  border-bottom: none;
}

@media screen and (max-width: 898px) {
  .site-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-bg-main);
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .site-nav ul {
    overflow-y: auto;
    padding-bottom: 20px;
  }

  .site-nav.is-active {
    right: 0;
  }
}
@media screen and (max-width: 480px) {
  .site-nav ul {
    padding-bottom: 40px;
  }
	
}


/* ナビゲーションメニュー（左アイコン） */
.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-icon);
  transition: stroke 0.2s;
		margin-left: 5px;
}
.mn_icon {
		/*width: 100%;*/
}
.svg_01 {
	width: 20px;
 height: auto;
	background-image: var(--menu-icon-01);
	background-size: 20px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
	margin-left: 5px;
}
.svg_02 {
	width: 28px;
 height: auto;
	background-image: var(--menu-icon-02);
	background-size: 28px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
}
.svg_03 {
	width: 26px;
 height: auto;
	background-image: var(--menu-icon-03);
	background-size: 26px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
}
.svg_04 {
	width: 36px;
 height: auto;
	background-image: var(--menu-icon-04);
	background-size: 36px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
	margin-left: -7px;
}
.svg_05 {
	width: 26px;
 height: auto;
	background-image: var(--menu-icon-05);
	background-size: 26px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
	margin-left: 1px;
}
.svg_06 {
	width: 32px;
 height: auto;
	background-image: var(--menu-icon-06);
	background-size: 32px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
	margin-left: -2px;
}
.svg_07 {
	width: 24px;
 height: auto;
	background-image: var(--menu-icon-07);
	background-size: 24px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
}
.svg_08 {
	width: 20px;
 height: auto;
	background-image: var(--menu-icon-08);
	background-size: 20px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-left: 2px;
}
.svg_09 {
	width: 20px;
 height: auto;
	background-image: var(--menu-icon-09);
	background-size: 20px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-left: 5px;
}
.svg_10 {
	width: 26px;
 height: auto;
	background-image: var(--menu-icon-10);
	background-size: 26px auto;
	background-position: 0 0;
	background-repeat: no-repeat;
	display: block;
	margin-right: 0px;
}

/* モズィー */
.character_mozzy {
	width: 254px;
	margin: 20px 0 0;
	text-align: center;
}
.character_mozzy img {
	width: 100px;
	margin-bottom: 10px;
}
.character_mozzy p {
	font-size: 0.80rem;
	font-weight: 500;
	line-height: 1.2;
}
.sp_898 {		/* モズィー用 */
	display: none;
}
@media screen and (max-width: 898px) {
.sp_898 {		/* モズィー用 */
	display: block;
	order: 2;
}
.character_mozzy {
	width: 200px;
	margin: 0px auto 30px;
	text-align: center;
}	
.character_mozzy img {
	width: 100px;
	margin-bottom: 10px;
}
.character_mozzy p {
	font-size: 0.6rem;
}
}

/* 出雲市バナー（PC用） */
.ba_izumo img {
	width: 254px;
	margin: 0px 0;
	border: 1px solid #cccccc;
}


/* 右側 */
main, footer {
  margin-left: 312px;
}
@media screen and (max-width: 898px) {
	  main, footer {
    margin-left: 0;
  }
}

/* メインビジュアル（画像スライダー） */
.main-visual {
  position: relative;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 898px) {
  .main-visual {
    margin-top: 70px;
    height: 65vh;
  }
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlider 15s infinite ease-in-out;
}

.slide-1 {
  background-image: url('../images/topimg/topimage01.jpg');
  animation-delay: 0s;
}

.slide-2 {
  background-image: url('../images/topimg/topimage02.jpg');
  animation-delay: 5s;
}

.slide-3 {
  background-image: url('../images/topimg/topimage03.jpg');
  animation-delay: 10s;
}

@media screen and (max-width: 768px) {
.slide-1 {
  background-image: url('../images/topimg/topimage01_s.jpg');
}

.slide-2 {
  background-image: url('../images/topimg/topimage02_s.jpg');
}

.slide-3 {
  background-image: url('../images/topimg/topimage03_s.jpg');
}
}

@keyframes fadeSlider {
  0% { opacity: 0; }
  10% { opacity: 1; }
  33% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; }
}

@media print {
  /* 1. 外枠の高さを印刷に適した固定値（例: 350px）にする */
  .main-visual {
    height: 650px !important; /* 好みの高さに調整してください */
    min-height: 0 !important;
    display: block !important; /* 印刷時のレイアウト崩れ防止 */
  }

  /* 2. アニメーションを止め、1枚目の画像を強制表示する */
  .slide {
    animation: none !important; /* アニメーションを停止 */
    opacity: 0 !important;      /* 一旦すべて非表示に */
  }

  /* 3. 印刷したい1枚目の画像（slide-1）だけを表示し、歪みを防ぐ */
  .slide-1 {
    opacity: 1 !important; /* 1枚目だけを確実に表示 */
    position: relative !important; /* レイアウトを安定させる */
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important; /* 拡大・トリミングさせず綺麗に収める */
    background-repeat: no-repeat !important;
    
    /* 背景画像を強制的に印刷する設定 */
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
}



/* キャッチコピー（画像スライダー上表示） */
.mv-container {
  position: relative;
  z-index: 2;
  padding: 0 5%;
  width: 100%;
  margin-bottom: 40px;
  pointer-events: none;
}
@media screen and (max-width: 480px) {
	.mv-container {
   padding: 0 4%;
  }
}

/* 表示位置 */
.mv-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  /*gap: 12px;*/
  gap: 30px;
  opacity: 0;
  animation: fadeInUpLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.8s forwards;
}
@media screen and (max-width: 898px) {
		.mv-copy {
  		gap: 24px;
		}
}
@media screen and (max-width: 480px) {
		.mv-copy {
  		gap: 18px;
		}
}

/* 文章+背景画像 */
.copy-line {
  color: #111111;
  font-size: 1.9rem;
  font-weight: 700;
  padding: 12px 34px 12px 14px;
  line-height: 1.3;
  display: inline-block;
  white-space: nowrap;
		background-image:url("../images/bg_catchphrase.svg");
		/*background-size: 20px auto;*/
		background-position: right top;
		background-repeat: no-repeat;
}
.copy-line02 {
  color: #111111;
  font-size: 1.9rem;
  font-weight: 700;
  padding: 12px 34px 12px 14px;
  line-height: 1.3;
  display: inline-block;
  white-space: nowrap;
		background-image:url("../images/bg_catchphrase.svg");
		/*background-size: 20px auto;*/
		background-position: right top;
		background-repeat: no-repeat;
		margin-left: 30px;
}
@media screen and (max-width: 898px) {
  .copy-line,.copy-line02 {
    font-size: 1.6rem;
    padding: 8px 28px 8px 18px;
  }
		.copy-line02 {
				margin-left: 20px;
		}
}
@media screen and (max-width: 480px) {
	.copy-line,.copy-line02 {
    font-size: 1.25rem;
    padding: 6px 22px 6px 14px;
    white-space: normal;
  }
		.copy-line02 {
				margin-left: 10px;
		}
}

@keyframes fadeInUpLeft {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@media print {
  /* 1. キャッチコピー全体を囲むコンテナの調整 */
  .mv-container {
    position: absolute !important; /* スライダーの上に重ねる */
    top: 50% !important;           /* 縦中央に配置 */
    transform: translateY(-50%) !important; /* 縦中央ぴったりに合わせる */
    margin-bottom: 0 !important;
    z-index: 10 !important;
  }

  /* 2. アニメーションを停止し、文字を最初から確実に表示する */
  .mv-copy {
    opacity: 1 !important;         /* 確実に表示 */
    animation: none !important;    /* アニメーションによるズレを防止 */
    gap: 15px !important;          /* 印刷用に少しコンパクトにする（お好みで） */
  }

  /* 3. 背景の装飾（svg画像）を印刷時にも強制表示 */
  .copy-line, .copy-line02 {
    font-size: 1.4rem !important;  /* 印刷用紙に合わせて文字を少し小さく */
    padding: 8px 24px 8px 12px !important; /* 余白も少しタイトに */
    
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
  }
  
  /* 2行目の左インデント（ズレ）が大きすぎる場合はここで微調整 */
  .copy-line02 {
    margin-left: 15px !important; 
  }
}


/* 写真下部のアニメーション波SVG */
.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}
.wave-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 898px) {
  .wave-svg {
    height: 80px;
  }
}
@media screen and (max-width: 480px) {
  .wave-svg {
    height: 50px;
  }
}

.wave-path {
  animation: waveMove 6s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes waveMove {
  0% { d: path("M 0 75 Q 180 20 360 75 T 720 75 T 1080 75 T 1440 75 L 1440 150 L 0 150 Z"); }
  50% { d: path("M 0 75 Q 180 120 360 75 T 720 75 T 1080 75 T 1440 75 L 1440 150 L 0 150 Z"); }
  100% { d: path("M 0 75 Q 180 20 360 75 T 720 75 T 1080 75 T 1440 75 L 1440 150 L 0 150 Z"); }
}


/* お知らせ+ピックアップ+Facebook（トップページ用） */
.news-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.news-content {
    position: relative;
  }
@media screen and (max-width: 1100px) {
.news-wrapper {
    grid-template-columns: 1fr;
  }
.news-content {
    margin-bottom: 0px;
  }
}


/* ピックアップ（トップページ用） */
.pickup-box {
  background-color: var(--color-card-bg);
  padding: 15px 20px;
  border-radius: 20px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 3px solid var(--color-frame);
  box-shadow: 4px 4px 0px 0px var(--color-frame);
		position: relative;
	z-index: 1;
}

/* 人々のイラスト（ウェーブsvgで表示） */
.ill_people01 {
	position: absolute;
	z-index: 0;
	top:0px;
	right:-13px;
}
.ill_people01 img {
	width: 237px;
	height: 70px;
}

.ill_people02_01 {
	position: absolute;
	z-index: 1;
	top:-10px;
	right:350px;
}
.ill_people02_01 img {
	width: 103px;
	height: 58px;
}

.ill_people02_02 {
	position: absolute;
	z-index: 1;
	top:-10px;
	right:200px;
}
.ill_people02_02 img {
	width: 75px;
	height: 52px;
}
.ill_people02_03 {
	position: absolute;
	z-index: 1;
	top:-15px;
	right:50px;
}
.ill_people02_03 img {
	width: 72px;
	height: 65px;
}

.ill_people03_01 {
	position: absolute;
	z-index: 1;
	top:0px;
	left:150px;
}
.ill_people03_01 img {
	width: 81px;
	height: 50px;
}

.ill_people03_02 {
	position: absolute;
	z-index: 1;
	top:10px;
	left:350px;
}
.ill_people03_02 img {
	width: 76px;
	height: 50px;
}

.ill_people03_03 {
	position: absolute;
	z-index: 1;
	top:0px;
	left:450px;
}
.ill_people03_03 img {
	width: 81px;
	height: 50px;
}
@media screen and (max-width: 898px) {
.ill_people03_01 {
	top:-10px;
	left:50px;
}

.ill_people03_02 {
	top:0px;
	left:150px;
}

.ill_people03_03 {
	top:-10px;
	left:250px;
}
}
@media screen and (max-width: 480px) {
.ill_people01 {
	top:14px;
	right:-4px;
}
.ill_people01 img {
	width: 136px;
	height: 40px;
}
	
.ill_people02_01 {
	top:-5px;
	right:150px;
}
.ill_people02_01 img {
	width: 53px;
	height: 30px;
}

.ill_people02_02 {
	top:-5px;
	right:80px;
}
.ill_people02_02 img {
	width: 43px;
	height: 30px;
}
.ill_people02_03 {
	top:0px;
	right:10px;
}
.ill_people02_03 img {
	width: 33px;
	height: 30px;
}
.ill_people03_01 {
	top:-10px;
	left:30px;
}
.ill_people03_01 img {
	width: 49px;
	height: 30px;
}

.ill_people03_02 {
	top:0px;
	left:100px;
}
	.ill_people03_02 img {
	width: 46px;
	height: 30px;
}

.ill_people03_03 {
	top:-10px;
	left:200px;
}
.ill_people03_03 img {
	width: 49px;
	height: 30px;
}
}


/* お知らせ（トップページ、お知らせページ用） */
.news-box {		/* 枠 */
  background-color: var(--color-card-bg);
  padding: 15px 20px;
  border-radius: 20px;
  border: 3px solid var(--color-frame);
  box-shadow: 4px 4px 0px 0px var(--color-frame);
}

/* お知らせ一覧ボタン（テキストリンク） */
.btn_news {
	display: flex;
	justify-content: flex-end;
	margin: 15px 0;
}
.btn_news a {
	display: block;
	position: relative;
}

/* お知らせ一覧ボタン横の矢印（右側） */
.news_arrow {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 2px;
  margin: 3.6px 0 3.6px 5px;
  border-radius: 9999px;
  background-color: var(--color-icon);
}
.news_arrow::before,
.news_arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 7px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--color-icon);
  transform-origin: calc(100% - 1px) 50%;
}
.news_arrow::before {
  transform: rotate(45deg);
}
.news_arrow::after {
  transform: rotate(-45deg);
}

/* お知らせ一覧（日付+カテゴリ名+タイトル） */
.news-list {
  background-color: var(--color-card-bg);
  padding: 0px 5px;
		width: 100%;
}
.news-list li {
  padding: 12px 0;
  border-bottom: 1px dotted var(--color-border);
  display: flex;
  gap: 15px;
}
.news-list li:last-child {
  border-bottom: none;
}

.date {	/* 日付 */
  font-size: 1rem;
  white-space: nowrap;
		flex-basis: 90px;
}

.category {	/* カテゴリ */
		flex-basis: 100px;
}
.categoryWaku {
		width: 100%;
  background: var(--color-bg-pink);
  font-size: 0.7rem;
		line-height: 1.2;
  padding: 5px 5px;
  border-radius: 5px;
  /*white-space: nowrap;*/
		text-align: center;
		display: block;
}

.news-title {	/* タイトル */
  font-size: 1rem;
		flex-basis:calc(100% - 110px);
}
@media screen and (max-width: 480px) {
  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
		.date {
				flex-basis: 100%;
				margin-bottom: 5px;
		}
		.category {
				flex-basis: 100%;
				margin-bottom: 5px;
		}
		.categoryWaku {
				width: 100px;
		}
		.news-title {
				flex-basis:100%;
		}
}


/* お知らせ一覧（2階層ページ用（日付+タイトル）） */
.parts_box {
		margin: 30px 0;
}
.parts_box02 {
		margin: 30px 0 40px 5px;
}
@media screen and (max-width: 480px) {
.parts_box02 {
		margin: 30px 0 0px 5px;
}
}

.news-list02 {
		width: 100%;
  padding-left: .2em;
		margin: 10px 0;
}
.news-list02 li {
		margin-bottom: 15px;
		display:flex;
}
.news-list02 li a {
		margin-bottom: 10px !important;
  padding: .1em .1em .1em 0em;
		text-decoration: underline;
}
.news-list02 li a:hover {
		text-decoration: none;
}
@media screen and (max-width: 480px) {
.news-list02 {
  padding-left: 0;
		/*margin: 30px 0;*/
}
.news-list02 li {
		flex-direction: column;
		font-size: 0.9rem;
}
.news-list02 li a {
		font-size: 0.9rem;
}
}

/* Facebook */
.fb-placeholder {
  background: var(--color-card-bg);
  padding: 15px;
  border-radius: 20px;
		max-width: 340px !important;
		width: 100% !important;
  text-align: center !important;
		/*width: 100%;
		overflow: auto;*/
}
.fb-page {
  width: 100% !important;
  height: 500px !important;
		margin:0 auto !important;
}
@media screen and (max-width: 1100px) {
		.fb-placeholder {
				max-width: 100% !important;
				width: 100% !important;
		}
		.fb-page {
				text-align: center !important;
				margin:0 auto !important;
		}
}

/* Instagram（トップページのみSP/TB） */
.t_sns a {
	display: flex;
	margin: 30px auto;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}
.t_sns a .img img {
	width: 44px;
	margin-right: 15px;
}
.t_sns a .name  {
	line-height: normal;
}
.t_sns a .name br  {
	display: block;
}
@media screen and (max-width: 370px) {
	.t_sns a {
		font-size: 0.9rem;
		margin: 30px auto;
}
.t_sns a .img img {
	width: 34px;
	margin-right: 10px;
}
.t_sns a .name  {
	line-height: normal;
}
}

/* セクション区切り（ウェーブsvg） */
/* 波ディバイダー */
.wave-divider-static,
.wave-divider-about-top,
.wave-divider-about-bottom,
.wave-divider-footer-pc,
.wave-divider-footer-sp,
.wave-divider-footer-sp-middle {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 5;
}

.wave-divider-static svg,
.wave-divider-about-top svg,
.wave-divider-about-bottom svg,
.wave-divider-footer-pc svg,
.wave-divider-footer-sp svg,
.wave-divider-footer-sp-middle svg {
  width: 100%;
  height: 4vw;
  min-height: 25px;
  max-height: 50px;
  display: block;
}

.wave-divider-static {
  background-color: var(--color-bg-cream);
  margin-top: -1px;
}

.wave-divider-about-top {
  background-color: var(--color-bg-cream);
  margin-bottom: -1px;
}

.wave-divider-about-bottom {
  background-color: var(--color-bg-cream);
  margin-top: -1px;
}

.wave-divider-footer-pc {
  background-color: var(--color-bg-cream);
  margin-bottom: -1px;
  display: block;
}

.wave-divider-footer-sp,
.wave-divider-footer-sp-middle {
  display: none;
}



/* ボランティア活動 */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1300px) {
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
}
@media screen and (max-width: 480px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}

.activity-card {
  background-color: var(--color-card-bg);
  border-radius: 20px;
  text-align: center;
		border: 3px solid var(--color-frame);
  box-shadow: 4px 4px 0px 0px var(--color-frame);
}

.activity-card  a {
 padding: 25px 30px;
	margin:0;
	width:100%;
	text-decoration:none;
	position: relative;
	-webkit-transition: all .3s;
 							 transition: all .3s;
	display: flex;
	flex-flow: column wrap;			
  }
.activity-card:hover {
	transform: translate(2px, 2px);
	transition: .3s;
  }

.activity-card .icon {
  margin:0 auto 10px;
		display: flex;
		justify-content: center;
		align-items: center;
}
.activity-card .icon._-01 {
		width: 82px;
		height: 62px;
}
.activity-card .icon._-02 {
		width: 64px;
		height: 62px;
}
.activity-card .icon._-03 {
		width: 100px;
		height: 62px;
}
.activity-card .icon._-04 {
		width: 56px;
		height: 62px;
}

.activity-card .card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
		color:var(--color-title);
}

.activity-card .card-text {
  font-size: 0.88rem;
  /*opacity: 0.9-;*/
  text-align: left;
	line-height: 1.3;
}


/* 運営委員会について */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /*gap: 40px;*/
  gap: 60px;
  align-items: start;
}
@media screen and (max-width: 1300px) {
.about-wrapper {
  grid-template-columns: 1fr;
  gap: 20px;
}
}
@media screen and (max-width: 898px) {
  /*.about-wrapper {
    grid-template-columns: 1fr;
  }*/
}

.about-text {
  font-size: 1.2rem;
		font-weight: 500;
  line-height: 1.8;
}
@media screen and (max-width: 898px) {
.about-text {
  font-size: 1rem;
  line-height: 1.8;
}
}

.about-text p {
  margin-bottom: 15px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (max-width: 480px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: var(--color-card-bg);
  border-radius: 20px;
  border: 3px solid var(--color-frame);
  box-shadow: 4px 4px 0px 0px var(--color-frame);
}

.about-card a {
 padding: 20px;
	margin:0;
	width:100%;
	text-decoration:none;
	position: relative;
	-webkit-transition: all .3s;
 							 transition: all .3s;
	display: flex;
	flex-flow: column wrap;			
  }
.about-card:hover {
	transform: translate(2px, 2px);
	transition: .3s;
  }

.about-card .card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
		color:var(--color-title);
		text-align: center;
}

.about-card .card-text {
  font-size: 0.85rem;
  /*opacity: 0.9;*/
}


/* タイトル横の矢印（左側） */
.about_arrow {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 3px;
  margin: 6.2px 7px 6.2px 0;
  border-radius: 9999px;
  background-color: var(--color-icon);
}

.about_arrow::before,
.about_arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  right: 0;
  width: 12px;
  height: 3px;
  border-radius: 9999px;
  background-color: var(--color-icon);
  transform-origin: calc(100% - 1.5px) 50%;
}

.about_arrow::before {
  transform: rotate(45deg);
}

.about_arrow::after {
  transform: rotate(-45deg);
}


/* アクセス */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
@media print {
  /* 地図を囲むコンテナやiframe自体の高さを印刷用に固定する */
  iframe[src*="google.com/maps"] {
    width: 100% !important;
    height: 400px !important; /* 印刷時の好みの高さ */
    max-width: 100% !important;
    display: block !important;
  }
  
  /* 上述の画像潰れ対策もセットで記述 */
  iframe[src*="google.com/maps"] img,
  .gm-style img {
    max-width: none !important;
    max-height: none !important;
  }
}


/* フッター */
.site-footer {
  background-color: var(--color-bg-pink);
  /*padding: 50px 20px 20px;*/
  padding: 50px 20px 50px;
}
@media screen and (max-width: 898px) {
  .site-footer {
    padding: 0;
    background-color: transparent;
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
		font-weight:500;
}
@media screen and (max-width: 898px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
}

.footer-info-wrap {
  /*width: 40%;*/
  flex-basis: 500px;
		padding-right: 5%;
		margin-right: 5%;
		border-right: 4px dotted var(--color-border);
}
@media screen and (max-width: 1240px) {
		.footer-info-wrap {
		  flex-basis: 400px;
		}
}
@media screen and (max-width: 1100px) {
		.footer-info-wrap {
  		flex-basis: 400px;
				/*padding-right: 2%;
				margin-right: 2%;*/
		}
}
@media screen and (max-width: 898px) {
  .footer-info-wrap {
    /*order: 3;*/
    order: 4;
    width: 100%;
				margin: 0 auto;
    background-color: var(--color-bg-pink);
    padding: 30px 20px 0px 20px;
				border-right: none;
				display: flex;
				flex-direction: column;
				align-items: center;
  }
}


.footer-logo {
		width: 324px;
  margin-bottom: 15px;
}
.footer-logo a {
 background-image: var(--logo-bottom);
	width: 324px;
	height: 49px;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: 324px 49px;
 overflow: hidden;
 text-indent: 100%;
 white-space: nowrap;
	display: block;
}
.footer-logo a:hover {
	text-decoration: none !important;
 opacity: 0.7;
 filter: alpha(opacity=70);
 -moz-opacity: 0.7;
	transition: .3s;
}
@media screen and (max-width: 1100px) {
		.footer-logo {
				width: 240px;
		}
		.footer-logo a {
		 background-image: var(--logo-bottom);
			width: 240px;
			height: 36px;
			background-size: 240px 36px;
		}
}


.footer-address {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-address .mb10px {
	margin-bottom: 10px;
}
.footer-address .flex {
	display: flex;
	margin-bottom: 10px;
}
.footer-address .flex .icn_waku {
	width: 40px;
	background-color: #ffffff;
	border-radius: 30px;
	border: 1px solid #999999;
	padding: 2px 0px;
	font-size: 0.7rem !important;
	display: flex;
	justify-content: center;
	align-items:center;
	margin-right: 10px;
	line-height: 1 !important;
	color: var(--color-f-adwaku);
}
.footer-address .flex .tel,
.footer-address .flex .smartphone,
.footer-address .flex .fax{
	font-size: 1.2rem;
	line-height: 1 !important;
}
.footer-address .flex .mail{
	/*margin-top: -10px !important;*/
	background-image: var(--e-mail);
	background-repeat: no-repeat;
	width: 220px;
	height: 13px;
 overflow: hidden;
 text-indent: 100%;
 white-space: nowrap;
	display: block;	
	margin-top: 2px;
}
.footer-address .open {
	display: flex;
	margin-bottom: 10px;
}
.footer-address .open dt {
	flex-basis: 80px;
}
.footer-address .open dd {
	flex-basis:calc(100% - 80px);
}
@media screen and (max-width: 1100px) {
		.footer-address .open {
			flex-direction: column;
		}
		.footer-address .open dt {
			flex-basis: 100%;
		}
		.footer-address .open dd {
			flex-basis:100%;
		}
}

.footer-nav-wrap {
  /*width: 50%;*/
		flex-basis:calc(100% - 500px);
  display: flex;
  gap: 40px;
}
@media screen and (max-width: 1240px) {
		.footer-nav-wrap {
				flex-basis:calc(100% - 400px);
		}
}
@media screen and (max-width: 1100px) {
		.footer-nav-wrap {
				flex-basis:calc(100% - 400px);
				flex-direction: column;
		}
}
@media screen and (max-width: 898px) {
  .footer-nav-wrap {
				flex-basis:100%;
    order: 1;
    background-color: var(--color-bg-main);
    padding: 30px 20px;
				width: 420px;
				margin: 0 auto;
				flex-direction:row;
  }
}
@media screen and (max-width: 480px) {
  .footer-nav-wrap {
				width: 100%;
  }
}
@media screen and (max-width: 400px) {
  .footer-nav-wrap {
				width: 180px;
    padding: 30px 0px;
				flex-direction:column;
				align-items:flex-start;
  }
}
	
	
.footer-nav-col {
  flex: 1;
}
.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-col a {
  font-size: 0.9rem;
}
.footer-nav-col a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  /*opacity: 0.8;*/
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* メニュー横の矢印（左側） */
.f_mn_arrow {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 2px;
  margin: 3.6px 5px 3.6px 0;
  border-radius: 9999px;
  background-color: var(--color-f-yajirushi);
}
.f_mn_arrow::before,
.f_mn_arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 7px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--color-f-yajirushi);
  transform-origin: calc(100% - 1px) 50%;
}
.f_mn_arrow::before {
  transform: rotate(45deg);
}
.f_mn_arrow::after {
  transform: rotate(-45deg);
}

/* 出雲市バナー（フッター用） */
.ba_izumo_f {
	width: 180px;
	margin: 20px 0;
}
@media screen and (max-width: 898px) {
.ba_izumo_f {
	border: 1px solid #cccccc;
}
}

.f_sns {
	display: flex;
}
.f_sns a {
	width: 30px;
	margin-right: 15px;
}
.f_sns a:last-child {
	margin-right: 0px;
}
@media screen and (max-width: 400px) {
.f_sns {
	justify-content: center;
}
}

/* ==========================================
   レスポンシブスタイル (タブレット・スマホ)
========================================== */
@media screen and (max-width: 898px) {

  /* SPヘッダー右側ボタン群 (検索 + メニュー) */
  .sp-header-controls {
    display: flex;
    height: 100%;
  }

  /* SP用 検索ボタン (黄色) */
  .sp-search-btn {
    background-color: #ffcc00;
    color: #333333;
    border: none;
    width: 70px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    font-family: inherit;
  }
  a:hover.sp-search-btn {
			text-decoration: none !important;
  }

  .sp-search-btn svg {
    width: 20px;
    height: 20px;
    stroke: #333333;
  }

  .sp-search-btn span {
    font-size: 0.75rem;
    font-weight: 700;
  }

  /* ハンバーガーボタン (茶色背景・縦積み構成) */
  .hamburger-btn {
    background-color: #432918;
    color: #ffffff;
    border: none;
    width: 70px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger-icon {
    width: 24px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s;
  }

  .menu-label {
    font-size: 0.7rem;
    font-weight: 500;
  }

  .hamburger-btn.is-active .hamburger-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger-btn.is-active .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.is-active .hamburger-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  
  .pc-accessibility-bar {
    display: none;
  }

  .sp-accessibility-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 10px 15px;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
    gap: 12px;
  }







  .wave-divider-footer-pc {
    display: none;
  }
  
  .wave-divider-footer-sp {
    display: block;
    background-color: var(--color-bg-main);
    margin-top: -1px;
  }



	
  .wave-divider-footer-sp-middle {
    display: block;
    /*order: 2;*/
    order: 3;
    width: 100%;
    background-color: var(--color-bg-main);
    margin-bottom: -1px;
  }


	
  .copyright {
    background-color: var(--color-bg-pink);
    margin-top: 0px;
				padding-bottom: 40px;
  }
}




@media screen and (max-width: 480px) {


  .sp-accessibility-bar {
    padding: 8px 10px;
    gap: 8px;
    font-size: 0.75rem;
  }

  .btn-acc {
    padding: 3px 8px;
    font-size: 0.75rem;
  }
}


/* イラストを画面の一番手前・最下部に固定する */
.foreground-town {
  position: absolute;   /* 画面の一番下に常に固定（スクロールしても追従） */
  bottom: 0;
  left: 0;
  width: 100%;       /* 画面の左端から右端まで広げる */
  height: 40px;     /* ★イラストの表示させたい高さを指定 */
  
  /* イラストのリピート設定 */
  background-image: url('../images/bg_machi.svg');
  background-repeat: repeat-x;     /* 横方向に無限リピート */
  background-position: left bottom; /* 左下を基準に並べる */
  background-size: auto 100%;      /* 高さを150pxに合わせ、横幅は比率を保つ */
  
  /* 重ね順の指定 */
  z-index: 999;     /* 他のあらゆる要素よりも上に重ねる */
 	/*z-index: 9990;*/ 
	
  /* 貫通設定 */
  pointer-events: none; /* ★イラストの後ろにあるボタンやリンクをクリックできるようにする */
}

/* レスポンシブ対応（スマホ画面） */
@media (max-width: 768px) {
  .foreground-town {
    height: 40px; /* スマホでは街並みを少し低くして画面を広く保つ */
  }
  
  /* メインコンテンツがイラストに完全に隠れてしまうのを防ぐ余白 */
  /*main {
    padding-bottom: 120px; 
  }*/
}


/* ページトップ */
.page-top {
  position: fixed; /* 画面に対して位置を固定 */
  right: 20px;     /* 右からの距離 */
  bottom: 20px;    /* 下からの距離 */
  z-index: 9991;     /* 他の要素に埋もれないようにする */
  
  /* ボタンのデザイン（見た目） */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.3s;
}

.page-top:hover {
  opacity: 0.8;
}

/* スマホなど画面幅が狭い場合の調整（例：768px以下） */
@media screen and (max-width: 768px) {
  .page-top {
    right: 15px;  /* スマホでは右側の余白を少し狭くする */
    bottom: 15px; /* スマホでは下側の余白を少し狭くする */
    width: 40px;  /* サイズを少し小さくする */
    height: 40px;
    font-size: 10px;
  }
}



/*その他
---------------------------------------------------------------------------*/
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.r02 {text-align: right !important;}
@media (max-width: 480px) {
	.r02 {text-align: left !important;}
}
.m60-auto {margin: 60px auto !important;}
@media (max-width: 768px) {
	.m60-auto {margin: 40px auto 60px !important;}
}
.mt0 {margin-top: 0px !important;}
.mt20 {margin-top: 20px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb2rem {margin-bottom: 2rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.ml-1rem {margin-left: -1rem !important;}
@media (max-width: 480px) {
		.ml-1rem {margin-left: 0 !important;}
}
.mj_spacing {letter-spacing: 1em !important;text-indent: 1em !important;}
@media (max-width: 640px) {
		.mj_spacing {letter-spacing: 1em !important;text-indent: 0em !important;}
}

.indent {
  padding-left: 1em !important;  /* 全体に1文字分の余白を作る */
  text-indent: -1em !important;  /* 1行目だけを1文字分左に戻す */
}

.ws {max-width: 600px; width: 100%;display: block;}
.wl {width: 100%;display: block;}
