
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
.fullcontainer {
  overflow: auto;
  scroll-snap-type: y mandatory;
  height: 100vh;
}
#mh1{
  position:relative; /*相対位置*/
  font-size: 2em;
  color:azure;
  top:13%;
  text-align: center;
}
#mh2{
  position:relative; /*相対位置*/
  font-size: 1.3em;
  color:azure;
  top:14%;
  text-align: center;
}

.area1 {
  /* scroll-snap-align: start;*/
  height: 198vh; 
  background-size: cover;
  background-position: center center;
  background-color: #ee827c;
  background-color:#f2a0a1;
  color: #333;
  color: #203744;
  width: auto;
}
.area1 a{
  text-decoration: none;
}
.area1 h2{
  position:relative; /*相対位置*/
  font-size: 5.0em;
  color:azure;
  color: #333;
  top:13%;

  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform:translate(-50%,-50%);
  margin: 0 auto;
  padding: 0;

  text-align: center;
}

#mh1 {
  font-size: 2rem;         /* 基本フォントサイズ */
  text-align: center;      /* 中央寄せ */
  white-space: normal;     /* 折り返し可能にする */
  word-break: break-word;  /* 長い英単語も折り返し */
  max-width: 100%;         /* 画面幅を超えない */
  margin: 0 auto;          /* 中央に配置 */
}

/* スマホ対応 */
@media (max-width: 576px) {
  .area1 h2{
    top:25%;
  }
  #mh1 {
    font-size: 1.2rem;     /* 小さい画面では文字サイズ縮小 */
    line-height: 1.4;      /* 行間を少し広く */
    padding: 0 10px;       /* 左右に余白を確保 */
  }
}


/*=== 9-1-2 丸が動いてスクロールを促す ====*/
/*スクロールダウン全体の場所*/
.scrolldownmaru{
  /*描画位置※位置は適宜調整してください*/
  position:absolute;
  /* bottom:10px; */
  top: 48%;
  left:50%;
  }
  
  /* 丸の描写 */
  .scrolldownmaru:before {
    content: "";
    /*描画位置*/
    position: absolute;
    left:-19px;
    /*丸の形状*/
    width:20px;
    height:20px;
    border-radius: 50%;
    background:#eee;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
    animation:
    circlemove 1.8s ease-in-out infinite,
    cirlemovehide 1.8s ease-out infinite;
  }
  
  /*下からの距離が変化して丸の全体が上から下に動く*/
  @keyframes circlemove{
      0%{bottom:45px;}
     100%{bottom:-5px;}
  }
  
  /*上から下にかけて丸が透過→不透明→透過する*/
  @keyframes cirlemovehide{
      0%{opacity:0}
      50%{opacity:1;}
      80%{opacity:0.9;}
      100%{opacity:0;}
  }
  
 
.triangle{
  /* position:absolute; 相対位置 */
  background-color: #eee;
  width: 36px;
  height: 20px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  display: block;
  margin-left: auto;
  margin-right: auto ;
  margin-top: 400px;
  left:49%;
  margin-bottom: 0px;
}
.triangle2{
  /* position:absolute; 相対位置 */
  background-color: #eee;
  width: 36px;
  height: 20px;
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
  display: block;
  margin-left: auto;
  margin-right: auto ;
  margin-top: 7px;
  left:49%;
  margin-bottom: 0px;
}

.area2 h1{
  position:relative; /*相対位置*/
  top:15%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform:translate(-50%,-50%);
  margin: 0;
  padding: 0;
}

#card-body-big{background-color: #fff; color:#333631;}

.card-title-big{
  color:#333631; font-size: 20px; font-family: メイリオ; margin: -20px 10px 0px 0px ; text-align:right;
}

#card{border-color: #727171;}
#card-header{text-align: right;}

.card-title{font-size: 21px;}
.card-title img {font-size: 21px;
  width:16px;
  height:16px;text-align: right;}

  .card-text{
    margin: 10px 0px 0px 0px;  /*上右下左*/
    font-family: "メイリオ";
  }
  
  #mainpic{
      position:relative; /*相対位置*/
      
      margin-top: 0%;
    }
  #mainpic .mainpic-brand{
      position:absolute; /*相対位置*/
      font-weight: bold;
      font-size: 2.5em;
      color:azure;
      top:12%;
      left: 50%;
      -ms-transform: translate(-50%,-50%);
      -webkit-transform: translate(-50%,-50%);
      transform:translate(-50%,-50%);
      margin: 0;
      padding: 0;
    }
  #mainpic p{
      position:absolute; /*相対位置*/
      line-height: 1.0em;
      font-size: 1.5em;
      color:azure;
      top:20%;
      left: 50%;
      -ms-transform: translate(-50%,-50%);
      -webkit-transform: translate(-50%,-50%);
      transform:translate(-50%,-50%);
      margin: 0;
      padding: 0;
    }
  #mainpic img{
      width: 100%;
      height: 30%;
    }
  #hero-image{
      background-image: url(/static/img/firstbridge_lanikai.webp);
    }
  /*768px以下は現在地表示のテキストを非表示*/
  @media screen and (max-width:912px) { 
    #mh1{
      position:relative; /*相対位置*/
      font-size: 1.5em;
      color:azure;
      top:13%;
      text-align: center;
    }
    #mh2{
      position:relative; /*相対位置*/
      font-size: 0.8em;
      color:azure;
      top:14%;
      text-align: center;
    }
    .scrolldownmaru{
      top: 52%;
      left:50%;
    }
    .triangle{
      margin-top: 520px;
      left:43%;
    }
    #mainpic p{
      display: none;
    }
    #mainpic .mainpic-brand{
      font-size:1.4em;
    }
    .card-title-big{
     
      font-size:0.9em;
    }
    .area1 h2{
      font-size: 3.0em;
    }
    are5{
      height: 2500vh;
    }
    
  }

  table{
  width: 100%;
  border-collapse:separate;
  border-spacing: 0;
}

table th:first-child{
  border-radius: 5px 0 0 0;
}

table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

table th{
  text-align: center;
  color:white;

  background: #727171;
  
  border-left: 1px solid #727171;
  border-top: 1px solid #727171;
 
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  width: 25%;
  padding: 10px 0;
}

table td{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  width: 25%;
  padding: 10px 0;
}

table td:last-child{
  border-right: 1px solid #a8b7c5;
}

table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

/* リンク一覧テーブル: 行全体をクリック対象にする */
.link-table tbody tr:hover {
  background-color: #eef2f5;
}
.link-table td a {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.link-table td a:hover {
  color: #3c6690;
}
.link-table .table-link-icon {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: middle;
  opacity: 0.6;
}


.balloon2-left {
  position: relative;
  display: inline-block;
  margin: 0.5em 0 1.5em 15px;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #3d3b3b;
  font-size: 16px;
  background: #FFF;
  border: solid 1px #808080;
  box-sizing: border-box;
  border-radius: 10px;
  line-height: 2.0;
  background-color: rgb(244, 233, 246);
  background-color: rgb(250, 248, 248);
}

.balloon2-left:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  margin-top: -8px;
  border: 8px solid transparent;
  border-right: 8px solid #FFF;
  z-index: 2;
}

.balloon2-left:after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -10px;
  border: 10px solid transparent;
  border-right: 10px solid #808080;
  z-index: 1;
}

.balloon2-left p {
  margin: 0;
  padding: 0;
}


/*News Table 列幅*/
.column-domain {
    width: 20%;
}

.column-news {
    width: 60%;
    text-align: left; /* セル内のテキストを左寄せ */
    padding-left: 10px;
}

.column-date {
    width: 20%;
}

/*画像の文字回り込み解除*/
.keymawarikomi {
  width: 25%;
  height: 25%;
  }

.keymawarikomi img {
  float: left;
  width: 20%;
  height: 20%;
  margin-left: 10px;

  }



  
.scroll-indicator {
  position: absolute;
  bottom: 50px; /* 画面下からの位置を調整 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  z-index: 10; /* 他のコンテンツの上に表示 */
}

.scroll-indicator p {
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

.arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(45deg);
    opacity: 1;
  }
  40% {
    transform: translateY(-10px) rotate(45deg);
    opacity: 0.5;
  }
  60% {
    transform: translateY(-5px) rotate(45deg);
    opacity: 0.7;
  }
}
  