/* ================================================================
   ツチフォト各メニューページ用 共通フォント設定
================================================================ */

/* -------- 共通 -------- */

body {
  background-color: #f7f7f7;
  font-size: 12pt;
  text-align: center; /* 中央寄せ追記 */
  margin: auto
}

/* -------- ヘッダー -------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,247,247,0.5);
  backdrop-filter: blur(4px);
}

/* ロゴ */

.site-logo img {
  height: 30px;
  transition: all 0.3s ease;
}

/* スクロール後 ロゴ*/
.site-header.is-scrolled .site-logo img {
  height: 26px; /* 実サイズで縮める */
}

/* スクロール後 ヘッダー部余白*/

.site-header.is-scrolled .header-inner {
  padding: 10px 20px;
}


/* 中身 */


.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}



/* ヘッダー内リンク */
.site-header .nav-links a {
  text-decoration: none;
  color: #4b4b4b;   /* 通常時：落ち着いた濃グレー */
  transition: color 0.2s ease;
}


/* visited  */
.site-header .nav-links a:visited {
  color: #4b4b4b;
}

/* hover時 */
.site-header .nav-links a:hover {
  color: #f86363;   /* アクセント色 */
  text-decoration: none; /* underlineしない */
}

.nav-links {
  position: relative;
}

/* ドロップメニュー全体 */
.dropdown {
  position: relative;
  display: inline-block;
}

/* プルダウン本体 */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  max-height: calc(100vh - 120px); /* 変更 画面高さに応じて制限 */
  overflow-y: auto;  * 変更  */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 999;
}

/* ドロップメニューリンク */
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f2f2f2;
}

/* ホバーで表示 */
.dropdown:hover .dropdown-menu {
  display: block;
}

}
/* ---- タイトル用 ---- */


h1 {
  margin: 10px 0 30px;
  text-align: center;

  position: relative;
  padding-left: 16px;
  margin: 40px 0 10px;
  font-size: 1.9rem;
  font-weight: 800;
  color: #2b2b2b;
}



h2 {
  margin: 10px 0 30px;
  text-align: center;
  position: relative;
  padding-left: 12px;
  color: #3a5f5a;
}


.title-wrap {
  position: relative;
  display: inline-block;
  padding-left: 16px;
}

.title-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1.1em;
  background-color: #008000;
  border-radius: 2px;
}




/* ---- 文章囲い用 ---- */

.intro {
  max-width: 680px;
  margin: 0 auto;
}


/* ---- テーブル ---- */

table {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 6px;
}


td, th { 
font-size: 12pt;
}


/* ---- 色クラス ---- */
.color-White { color: #FFFFFF; }
.color-gray1 { color: #004D99; }
.color-gray2 { color: #808080; }
.color-gray3 { color: #555555; }
.color-green { color: #004400; }
.color-orange { color: orange; }
.color-orange2 { color: #FF6000; }
.color-red { color: #ee2200; }


/* ---- フォントサイズ ---- */
.fs-s  { font-size: 10pt; }   /* size=1 に相当する目安 */
.fs-m  { font-size: 12pt; }   /* size=2 */
.fs-l  { font-size: 14pt; }   /* size=3（標準） */
.fs-lb  { font-size: 14pt; font-weight: 700;}   /* size=3（標準） */
.fs-xl { font-size: 18pt; }   /* size=4 */


.map-image {
  margin: 2em 0;
}




/* --------------------------------
   メディアクエリ
-------------------------------- */
@media screen and (max-width: 480px) {
    /* iPhone SE / 14 / 14 Pro / Pro Max 全対応 */
}

@media screen and (min-width: 481px) and (max-width: 900px) {
}


@media screen and (min-width: 901px) and (max-width: 1024px) {
    /* iPad / Android タブレット */
}


@media screen and (min-width: 1025px) {
  /* PC */
}

/* --------------------------------
   リンクなど
-------------------------------- */


a:link,a:active,a:visited {text-decoration:none; color:#1155dd;}

a:hover {text-decoration:underline; color:#f86363;}

a.link-accent,
a.link-accent:visited {
  color: #e0ffff;
}

a.link-accent:hover {
  color: #f86363;
  text-decoration: underline;
}

