/* 本文だけに新フォント＋115%のサイズを適用 */
p,
li,
td,
.content,
.text,
.article-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 115%;
  line-height: 1.7;
  color: #333; /* 読みやすい濃いめのグレー */
}

/* 見出しは現状のフォントを維持 */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
}


#read-more, #read-less {
    color: blue;
    cursor: pointer;
    text-decoration: underline;
}

#rinen {
    line-height: 1.6;
}




.ticker-wrapper {
    overflow-x: auto; /* 横スクロール可能にする */
    white-space: nowrap;
    position: relative;
    width: 100%;
    background: #333; /* 背景色 */
    padding: 10px 0;
    scrollbar-width: none; /* Firefox用：スクロールバーを非表示 */
}

.ticker-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari用：スクロールバーを非表示 */
}

/* スクロールする部分 */
.ticker-content {
    display: flex;
    align-items: center;
    gap: 30px; /* リンクの間隔 */
    flex-wrap: nowrap; /* 折り返さない */
    min-width: 200%; /* 2回繰り返して横につなげる */
    animation: marquee 100s linear infinite;
    cursor: grab; /* スクロール可能なことを示す */
}

/* アニメーション定義 */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* 停止時 */
.paused .ticker-content {
    animation-play-state: paused !important;
}


/* モバイル用（スクロール速度を2倍速に） */
@media (max-width: 768px) {
    .ticker-content {
        animation-duration: 40s; /* 50秒で1周（通常の2倍速） */
    }
}

/* TOCとNAVのデザイン */
.toc-wrapper, .nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    color: white;
}

.toc-wrapper a, .nav-wrapper a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap; /* 折り返さない */
}


.form-container {
    max-width: 900px; /* Googleフォームの表示幅を広げる */
    width: 90%; /* 画面サイズに応じて拡大 */
    margin: 0 auto; /* センター寄せ */
    overflow: hidden; /* はみ出し防止 */
}



.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* ヘッダーの高さを調整 */
  background-color: #0047ab; /* ブルーカラー */
  color: white;
  display: flex;
  align-items: left;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* 他の要素の上に表示 */
}



/* リンクをクリックしたときになめらかに移動 */
html {
    scroll-behavior: smooth;
}

/* リンクのスタイルを統一 */
a {
    color: inherit;
    text-decoration: none;/* 下線を消す（任意） */
}

/* 全体のレイアウト */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

/* コンテンツを囲むメインコンテナ */
.container {
    width: 100%;
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 0 0px; /* スマホ時の左右余白を最小限に */
}

/* メニューのスタイル */
.navbar {
    background-color: #444;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* ボタン風のリンク */
.button {
    display: block;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    margin: 10px 0;
    border-radius: 5px;
}

/* 画像のレスポンシブ対応 */
img {
    width: 100%;
    height: auto;
}

/* iPhone向けに特化したメディアクエリ */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 5px; /* スマホではさらに狭く */
    }

    .button {
        font-size: 14px;
        padding: 8px;
    }
}


/* 検索ボックス全体の高さを調整 */
.gsc-input {
    height: 20px !important; /* 高さを小さくする */
    font-size: 12px !important; /* 文字サイズも調整 */
    padding: 2px 5px !important; /* 内側の余白を調整 */
}

/* 検索ボタンの高さも調整 */
.gsc-search-button {
    height: 20px !important;
}

/* 検索フォーム全体を小さく */
.gsc-search-box {
    height: 20px !important;
}
ここまで

header, footer {
    width: 100vw;
    margin: 0;
    padding: 0;
}

header, footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}





* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    font-size: 18px; /* 文字を大きめに */
}

.container {
    max-width: 960px;
    margin: 0 auto;

    padding: 20px 30px; /* 余白を広げる */
    position: relative;
    background: #fff; /* 本文エリアの背景は白 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 軽い影をつけて浮き上がらせる */
    border-radius: 5px; /* 角を少し丸く */
}



/* ① 両側に縦線を追加 */
.container::before,
.container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px; /* 縦線の太さ */
    background: #AFC9A6; /* 縦線の色（薄いモスグリーン） */
}

.container::before {
    left: 0;
}

.container::after {
    right: 0;
}


/* ② 余白の背景色を薄いモスグリーンに */
body {
    background: #E8F0E5; /* 全体の背景を薄いモスグリーン */
}

.container {
    background: #fff; /* 本文エリアは白 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 軽い影をつけて浮き上がらせる */
    border-radius: 5px; /* 角を少し丸く */
    padding: 20px 30px;
    margin-bottom: 20px; /* ヘッダーの下に間隔を追加 */

}


}












.main-content {
    font-size: 18px; /* 本文エリアの文字サイズを指定 */
}

.header {
    display: flex;
    align-items: center; /* 高さをそろえる */
    justify-content: center;; /* 中央に配置 */
    padding: 0px;
    border-bottom: 1px solid #eee;
    background-color: #717A78; /* グレイッシュなグリーン寄りのライトグレー#717A78に変更 */
}


.logo {
    width: 100px; /* ロゴのサイズ調整 */
    height: auto; /* 縦横比を維持 */
}



★
.company-name {
    display: flex;
    justify-content: center;; /* 中央に配置 */
    transform: translateX(-50%);
    text-align: center;


}

.company-name h1 {
    font-size: 40px;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* ほんのり影をつけて読みやすく */
    margin: 10px 0; /* 上下に少し余白を追加 */
}

.nav {
    display: flex;
    gap: 15px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}


.header-right {
    display: flex;
    flex-direction: column;
    align-items: center; /* 横方向の中央寄せ */
    justify-content:  flex-end; /* 縦方向の下端寄せ */
    height: 100%;
    text-align: center; /* 文字を中央寄せ */
}

.header-right .bottom-text {
    width: 100%; /* 余白を均等にするために追加 */
}

.company-name {
    text-align: center;
    margin-bottom: 5px;
}



.header img {
    width: 100px; /* お好みのサイズに調整 */
    height: auto; /* 縦横比を維持 */
}

/* ナビゲーション */
.nav-wrapper {
    background: #333;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center; /* PCでは中央寄せ */
    padding: 10px 0;
}


/* ======= 目次（TOC）スタイル修正 ======= */
.toc-wrapper,  {
    padding: 5px 0;  /* 上下の余白を小さくする */
    margin-bottom: 2px; /* 間隔を狭くする */
    background: #AFC9A6 !important; /* 上品な薄いモスグリーン */
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center; /* PCでは中央寄せ */
    width: 100%;
}

.toc {
    display: flex;
    gap: 30px;
    padding: 0 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
    width: fit-content; /* コンテンツ幅に合わせる */
    margin: 0 auto; /* ★追加 → 中央寄せ */
}

.toc::-webkit-scrollbar {
    display: none;
}

/* ここを修正 */
.toc a {
    color: #333 !important; /* 文字色を固定 */
    text-decoration: none;
    padding: 3px 20px;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}


/* 未訪問、訪問済み、ホバー、クリック時すべて統一 */
.toc a:visited {
    color: #555555 !important;
}

.toc a:hover {
    color: #555555 !important;
}

.toc a:active {
    color: #555555 !important;
}

/* 下線のアニメーション */
.toc a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #555555;
    transition: width 0.3s, left 0.3s;
}

.toc a:hover::after {
    width: 100%;
    left: 0;
}


/* レスポンシブ対応 */
@media (max-width: 500px) {


/* スマホ用（さらに間隔を詰める） */
    .toc-wrapper, .nav-wrapper {
        padding: 3px 0;
        margin-bottom: 1px;
    }

    .toc, .nav {
        gap: 5px; /* モバイルではさらに狭く */
    }

    .toc a, .nav a {
        padding: 1px 8px; /* さらにコンパクトに */
    }
}

.company-name h1 {
    font-size: 16px; /* フォントサイズを調整 */
    color: white;
    font-weight: bold;
}

    .toc-wrapper {
        justify-content: flex-start; /* スマホではスクロールのため左寄せ */
    }

    .toc {
        gap: 20px; /* スマホでは間隔を少し狭める */
    }
}

.nav {
    display: flex;
    gap: 30px; /* メニュー間の間隔を調整 */
   padding: 3px 20px;
    overflow-x: auto; /* スマホで横スクロール */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: 100%;
}

.nav::-webkit-scrollbar {
    display: auto;
}

.nav a {
    color: white;
    text-decoration: none;
   padding: 3px 20px;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
    flex-shrink: 0;
    white-space: nowrap;
}

.nav a:hover {
    color: #f8f8f8;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s, left 0.3s;
}

.nav a:hover::after {
    width: 100%;
    left: 0;
}

/* フッター */


.footer {
    display: block !important;  /* フッターを確実に表示 */
    background: #555555 !important; /* 黒背景 */
    color: white !important; /* 白文字 */
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    font-size: 100%;
    width: 100%;
}




.footer {
    background: #333 !important; /* 確実に */
    color: white !important; /* 文字色を確実に白に */
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

/* フッターの上下や両側の背景色も黒に統一 */
body {
    background: #E8F0E5; /* 全体の背景 */
}

.container {
    background: #fff; /* 本文エリアの背景 */
    padding: 20px 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* フッターを確実に黒背景にする */
.footer-wrapper {
    background: #333 !important;
    padding: 0;
}

★ 




/* レスポンシブ */
@media (max-width: 768px) {
    /* ヘッダーを縦並びに */
    .header {
        flex-direction: column; /* 上下に並べる */
        align-items: center;
        padding: 10px 0;
    }


    /* 会社名を中央揃え */
    .company-name {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 10px;
    }







    .nav-wrapper {
        justify-content: flex-start; /* スマホではスクロールのため左寄せ */
    }

    .nav {
        gap: 10px; /* スマホでは間隔を少し狭める */
    }

    body {
        font-size: 16px; /* スマホではさらに少し大きく */
    }
}

@media screen and (max-width: 768px) { 
    .main-content {
        font-size: 16px; /* スマホでは文字サイズを小さく */
    }

    .footer {
        font-size: 100%; /* スマホでは文字サイズを小さく */
    }
}

@media screen and (max-width: 500px) { 
    .main-content {
        font-size: 14px; /* スマホでは文字サイズを小さく */
    }

    .footer {
        font-size: 100%; /* スマホでは文字サイズを小さく */
    }
}


/* スマホ表示時だけヘッダーの文字サイズを小さくする */
@media screen and (max-width: 768px) {
  .company-name h1 {
    font-size: 20px !important;
  }
  .company-name h1 span {
    font-size: 16px !important;
  }
}

html {
  scroll-behavior: smooth;
}



****
/* 写真＋テキストの横並び（PC用） */
.profile-section {
  display: flex;
  flex-wrap: wrap;         /* 幅が狭いときは折り返す */
  align-items: flex-start;
  gap: 20px;               /* 写真とテキストの間隔 */
  margin: 20px 0;
}

/* 並び順（PCでは写真が右・テキストが左） */
.profile-photo {
  order: 2;
}
.profile-text {
  order: 1;
  flex: 1;                 /* テキスト部分を広げる */
  min-width: 250px;        /* 折り返す基準幅 */
}

/* 写真のスタイル（PC用） */
.profile-photo img {
  width: 180px;            /* PCでの適度なサイズ */
  height: auto;
  border-radius: 8px;      /* 少し丸み */
  max-width: 100%;         /* はみ出し防止 */
}

/* スマホ（768px以下）では縦並びに */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    order: 1;              /* スマホでは写真を上に */
  }
  .profile-text {
    order: 2;
    text-align: left;      /* テキストは読みやすく左寄せ */
  }

  .profile-photo img {
    width: 60%;            /* スマホでは画面幅に応じて大きめ */
    max-width: 280px;      /* やりすぎ防止 */
    margin-bottom: 15px;
  }
}
.profile-section {
  display: flex;
  justify-content: flex-end; /* 写真を右寄せ */
  align-items: center;
  gap: 20px; /* 写真とテキストの間隔 */
}

.profile-photo {
  order: 2; /* 写真を右に配置 */
}

.profile-text {
  order: 1; /* テキストを左に配置 */
}
*******
