@charset "UTF-8";

/* ====== 共通 ====== */

a:hover {
  text-decoration: none;
  opacity: 0.8;
}

header .navbar-brand {
  width: 20%;
}

header .navbar-brand .logo {
  width: 100%;
}

header .tel {
  font-size: 2rem;
  color: #fff;
}

header .tel a {
  color: #fff;
}

.float-right-img {
    float: right; /* 要素を右に浮動化させる */
    margin: 0 0 10px 15px; /* 上右下左の順に余白を設定 */
    /* 例: 上0px、右0px、下10px、左15px。 */
    /* 左側の余白は文章との間隔になります */
    width: 200px; /* 画像の幅を指定（必要に応じて） */
    height: auto; /* 高さは自動調整 */
}

.image-frame {
    border: 1px solid #cccccc;      /* 細いグレーの枠 */
    border-radius: 8px;             /* 角を少し丸める */
    padding: 5px;                   /* 枠と画像本体の間に余白 */
    background-color: #ffffff;      /* 背景を白にする (任意) */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* 薄い影 */
    transition: transform 0.3s;     /* ホバー時のアニメーション準備 */
}

/* マウスカーソルが乗ったときの効果 */
.image-frame:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 影を濃くする */
    transform: translateY(-5px);               /* 画像を少し持ち上げる */
}

/* ====== TOTOP ====== */
/* ページトップ */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 80%;
}

#page-top a {
  background: #666;
  text-decoration: none;
  color: #fff;
  width: 100px;
  padding: 25px 0;
  text-align: center;
  display: block;
  border-radius: 10px;
}

#page-top a:hover {
  text-decoration: none;
  background: #999;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled).active {
  color: #6c757d !important;
}

/* ====== TOP IMAGE ====== */

header.top-page {
  height: 70vh;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
}

.jumbotron {
  background-image: url(../img/top-image.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}

.jumbotron .bg-rgba {
  background-color: rgba(255, 255, 255, 0.9);
}

.jumbotron h1 {
  word-wrap: break-word;
}

.jumbotron h2 {
  line-height: 1.8rem;
}

/* ====== TOPPAGE SECTION ====== */

#sec1 .card:nth-of-type(2) {
  border-left: none;
  border-right: none;
}

.ttl-bdr {
  font-size: 3rem;
  line-height: 1.5;
  position: relative;
  margin-bottom: 50px;
}

.ttl-bdr::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 5px solid #000;
  width: 12%;
  margin: 0 auto -15px;
}

#sec3 {
  background-image:;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


#sec3 .card-text {
 height: 150px;
}


#sec4 table {
  width: 99%;
  background-color: #fff;
  font: 12px;
  color: #666;
  table-layout: fixed;
  border-collapse: collapse;
  margin:auto;
}

#sec4 table th,
#sec4 table td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
}

#sec4 table th {
  background-color: #597594;
  color: #fff;
}

#sec4 table td {
  width: 70%;
}

#sec4 table td:nth-child(7n) {
  background-color: #5197E0;
  color: #fff;
}

#sec4 table td:nth-child(7n+1) {
  background-color: #FF8A8C;
  color: #fff;
}

.update-list {
    /* リストのデフォルトスタイルをリセット */
    list-style: none; /* リストの「・」を非表示にする */
    padding: 0;
    margin: 0;
}

.update-list li {
    /* 各リストアイテムのスタイル */
    display: flex; /* Flexboxを適用して子要素を横並びにする */
    align-items: flex-start; /* 項目が複数行になっても日付と上端を揃える */
    padding: 8px 0;
    border-bottom: 1px dashed #eee; /* 区切り線 */
}

.update-list li:last-child {
    border-bottom: none; /* 最後の項目には区切り線をつけない */
}

.date {
    /* 日付部分のスタイル */
    flex-shrink: 0; /* 日付の幅を固定し、縮まないようにする */
    width: 120px; /* 日付の表示幅 */
    font-weight: bold;
    color: #666;
    margin-right: 15px; /* 日付と項目の間の余白 */
}

.update-list a {
    /* 項目（リンク）のスタイル */
    text-decoration: none; /* リンクの下線を消す */
    color: #333;
    line-height: 1.6;
    flex-grow: 1; /* 残りのスペースを全て使用する */
}

.update-list a:hover {
    color: #007bff; /* マウスオーバー時の色 */
}

.simple-link-list {
    list-style: disc; /* 標準の黒丸「・」を表示する */
    padding-left: px; /* 左側にパディングを設定する */
    margin-bottom: 30px; /* 下にスペースを空ける */
}

.simple-link-list li {
    margin-bottom: 8px;
}

.simple-link-list a {
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    /* 詳細リンクのようなブロック要素の装飾は適用しない */
}

.simple-link-list a:hover {
    color: #007bff; /* ホバーで色を変える */
    text-decoration: underline; /* ホバーで下線を出す */
}




/* ====== SNS ====== */
.social img {
  width: 36px;
  height: 36px;
}

/* ====== SNS ====== */

iframe {
  width: 100%;
  height: 450px;
}

/* ====== FOOTER ====== */
.footer-logo {
  width: 50%;
}

/* =============================================
メディアクエリ
============================================= */

/* 大デバイス（デスクトップ, 1200px 未満）
==============================================*/
@media screen and (max-width: 1199.98px) {
  .herounit h1 {
    margin-top: 10rem;
  }
}

/* END */
/* 中デバイス（タブレット, 992px 未満）
==============================================*/
@media screen and (max-width: 991.98px) {
  .container {
    max-width: 740px;
  }
}

/* END */
/* 小デバイス（横向きモバイル, 768px 未満）
==============================================*/
@media screen and (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
  }

  #sec3 {
    background-image: none;
  }

  header .navbar-brand {
    width: 70%;
  }

  header .navbar-brand .logo {
    width: 100%;
  }

  header .navbar-nav {
    border-top: 1px solid #fff;
  }

  .footer-logo {
    width: 100%;
  }

}

/* END */
/* 極小デバイス（縦向きモバイル, 576px 未満）
==============================================*/
@media screen and (max-width: 575.98px) {
  .display-3 {
    line-height: 0.8em;
  }

  .display-4 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

/* END */
