
/* ================================================================
   ※ツチフォトindexページ仕様 共通フォント設定
================================================================ */

body { 
background-color: #f7f7f7;
  font-size: 14pt;
text-align: center; /* 中央寄せ追記 */
}




/* ---- ヘッダー ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,247,247,0.3); /* 透明にする度合い */
  backdrop-filter: blur(4px); /* ぼかし度合い */
  transition: padding 0.3s ease;
}

/* ロゴ */
.site-logo img {
  height: 50px;
  transition: height 0.3s ease;
}

/* スクロール後 ロゴ*/
.site-header.is-scrolled .site-logo img {
  height: 30px; /* 実サイズで縮める */
}

/* スクロール後 ヘッダー部余白*/

.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;   /* 通常時：落ち着いた濃グレー */
  font-size: 1.1em;
  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 {
    color: #FF6000;
    font-size: 30pt;
    font-family:  "BIZ UDPGothic", "Meiryo", "Yu Gothic",  "Hiragino Sans", Arial, sans-serif;
    font-weight: 900;
   }

h2, h3 {
    color: orange;
    font-size: 20pt;
    font-family:  "BIZ UDPGothic", "Meiryo", "Yu Gothic",  "Hiragino Sans", Arial, sans-serif;
    font-weight: 700;
}

.area-title {
  position: relative;
  padding-left: 14px;
  color: #ffffff;
  font-size: 1.00em;
}

.area-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #ffffff;
}




/* ---- 文章囲い用 ---- */

.intro {
  max-width: 800px;
  margin: 0 auto;
}

/* ---- テーブル ---- */

table.block{ margin-bottom: 5px; }

td, th { 
    color: #000000;
    font-size: 14pt; 

}


/* ---- 色クラス ---- */
.color-White { color: #FFFFFF; }
.color-gray1 { color: #004D99; }
.color-gray2 { color: #808080; }
.color-green { color: #004400; }

/* ---- フォントサイズ  ---- */
.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 */




/* --------------------------------
   メディアクエリ
-------------------------------- */
@media screen and (max-width: 480px) {
    /* iPhone SE / 14 / 14 Pro / Pro Max 全対応 */
table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@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 */
}

/* --------------------------------
   リンクなど ※indexページ仕様
-------------------------------- */

td.menulink:hover {
  background-color: #eef2f1;
  transition: background-color .25s ease;
}

td.menulink a {
  display: flex;
  flex-direction: column; /* 高さはHTML上の複数パターンに対応 */
  justify-content: center; /* 縦中央 */
  align-items: center;     /* 横中央 */
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #222222;
  transition: color .15s ease;
}

td.menulink:hover a {
  color: #f86363;
  text-decoration: none;
}


a:link {text-decoration:none; color:#4b4b4b;}
a:visited {text-decoration:none; color:#4b4b4b;}

a:hover {text-decoration:underline; color:#f86363;}

