*{
  margin:0;
  padding:0;
  box-sizing: border-box;
}
html{
  font-size:10px;
}
body { 
  color: #000;
  font-family: "BIZ UDPGothic", YuGothic, YuGothicM, メイリオ, Meiryo, 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6; 
  transform: rotate(0.05deg);
  -webkit-text-size-adjust: 100%;
}
h1{
  font-size: 4.0rem;
}
h2 {
  margin-bottom: 20px;
  padding: 5px 0 5px 25px;
  display: flex;
  align-items: baseline;
  position: relative;
  border-bottom: 1px solid #CCC;
  font-size: 2.6rem;
}
h2::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 10vw;
  background: #197BAD;
  position: absolute;
  top: calc(50% - 10px);
  left: 0;
}
h2::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 10vw;
  background: #fff;
  position: absolute;
  top: calc(50% - 5px);
  left: 5px;
}
h2 span {
  margin-left: 10px;
  font-size: 1.6rem;
  font-weight: 400;
}
h3{
  font-size: 2.0rem;
  display: flex;
  align-items: center;
}
h3::before {
  content: '';
  display: inline-block;
  margin-right: 5px;
  width: 15px;
  height: 15px;
  background: #197BAD;
}
h4 {
  font-size: 1.8rem;
  border-bottom: 1px solid #CCC;
}
ul,ol{
  list-style: none;
}
/*li,p,a,span{
  font-size:1.6rem;
}*/
img{
  max-width:100%;
  transform: rotate(-0.05deg);
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.right{
  text-align: right;
}

.inner{
  width: 100%;
  max-width:1200px;
  margin:0 auto;
}

#contents{
  padding: 0 0 100px;
  background:#fff;
}

body.fixed {
  height: 100%;
  overflow: hidden;
}

.bold {
  font-weight: 700;
}

.pc{
  display: inline-block;
}
.sp{
  display: none;
}
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mb30 { margin-bottom: 30px; }

@media screen and (max-width: 1200px) {
  .inner {
    width: 100%;
    padding: 0 10px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  h2 {
    font-size: 2.4rem;
    display: block;
  }
  h2::before {
    top: 15px;
  }
  h2::after {
    top: 20px;
  }
  h2 span {
    margin-left: 0;
    display: block;
    font-size: 1.4rem;
  }

  #contents{
    padding: 20px 0 60px;
  }
  
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
}

/*-------------------------------------
  table
-------------------------------------*/ 
table#tbl {
  margin: 10px 0 0;
  width: 100%;
  border-top: 1px solid #CCC;
  border-left: 1px solid #CCC;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1.3rem;
}
table#tbl th {
  padding: 5px;
  background-color: #D7E2F7;
  border-bottom: 1px solid #CCC;
  border-right: 1px solid #CCC;
}
table#tbl td {
  padding: 5px;
  background-color: #fff;
  border-bottom: 1px solid #CCC;
  border-right: 1px solid #CCC;
}
@media screen and (max-width: 1200px) {
  .table-wrap {
    width: 100%;
    overflow: auto;
  }
  .table-wrap table {
    width: auto;
    min-width: 100%;
    max-width: 1200px;
  }
  .table-wrap #tbl {
    width: auto;
  }
  .table-wrap table th, .table-wrap table td {
    white-space: nowrap;
  }
}
/*-------------------------------------
  header
-------------------------------------*/ 
header{
  width: 100%;
  background:#FFFFFF;
  z-index: 99;
  position: relative;
}
header .flex {
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 a {
  color: #000;
  font-size: 4.0rem;
  text-decoration: none;
}
header h1 span {
  display: block;
  color: #197BAD;
  font-size: 1.8rem;
}
header .right {
  position: absolute;
  top: 15px;
  right: 50px;
}
header .right img {
  width: 200px;
}
header .right .fontsize {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.6rem;
  font-weight: 700;
}
header .right ul {
  margin-left: 20px;
  display: flex;
  gap: 6px;
}
header .right button {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none;
}
header .right li button {
  width: 30px;
  height: 30px;
  border: solid 1px #000;
  border-radius: 5px;
  background: #fff;
  font-size: 1.4rem;
  text-align: center;
  line-height: 30px;
}
header .right li button.selectedSize {
  border-color: #666666;
  background: #197BAD;
  color: #fff;
}

/* 20250206 */
header .right li button:hover {
  cursor: pointer;
}
header .right li button.active {
  border-color: #666666;
  background: #197BAD;
  color: #fff;
}
/* /20250206 */

#globalNavi {
  background: #197BAD;
}
#globalNavi>ul{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
#globalNavi>ul>li {
  width: 25%;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  text-align: center;
  border-right: 1px solid #003854;
}
#globalNavi>ul>li a {
  color: #fff;
  text-decoration: none;
}
#globalNavi>ul>li p {
  padding: 10px;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
#globalNavi>ul>li:last-child{
  border-right:none;
}
#globalNavi>ul>li.hav-list {
  position: relative;
  cursor: pointer;
}
#globalNavi>ul>li.hav-list::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 4px solid #fff;
  border-bottom: 0;
  position: absolute;
  left: 50%;
  bottom: 5px;
}
#globalNavi .sub-list {
  display: none;

  background: #fff;
  color: #197BAD;
  width: 100%;
  position: absolute;
  left: 0;
  top: 100%;
}
#globalNavi .hav-list.open .sub-list {
  display: block;
}
#globalNavi .sub-list li {
  border: solid 1px #a4a4a4;
  border-top: none;
  text-align: center;
}
#globalNavi .sub-list li a {
  color: #197BAD;
  display: block;
  padding: 10px 0;
}
#globalNavi .sub-list li a:hover {
  opacity: 0.8;
}



@media screen and (max-width: 1200px) {
  main {
    padding-top: 80px;
  }
  header{
    position: fixed;
  }
  header .flex {
    padding: 0 100px 0 20px;
    height: 80px;
    align-items: center;
    border-bottom: solid 1px #eeeeee;
  }
  header h1{
    font-size: 2.7rem;
    line-height: 1.4;
  }
  header h1 a {
    font-size: 2.7rem;
  }
  header h1 span {
    font-size: 1.6rem;
  }
  .sp-nav {
    display: none;
    width: 100%;
    position: fixed;
    top: 80px;
    left: 0;
    z-index: 99;
  }
  header.open .sp-nav {
    display: block;
  }
  header .right {
    padding: 0 10px;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f7ff;
    position: static;
    top: auto;
    left: auto;
  }
  header .right .oitalink {
    display: flex;
    align-items: center;
  }
  header .right .fontsize {
    display: none;
  }
  header .right li button {
    width: 25px;
    height: 25px;
    line-height: 25px;
  }
  #globalNavi {
    width: 100%;
    height: auto;
  }
  #globalNavi ul {
    height: auto;
    flex-direction: column;
  }
  #globalNavi > ul > li {
    width: 100%;
    border-right: none;
    border-bottom: solid 1px #fff;
  }
  #globalNavi > ul > li p {
    padding: 20px;
    justify-content: flex-start;
  }
  #globalNavi > ul > li.hav-list::after {
    position: absolute;
    right: 20px;
    top: 30px;
    left: auto;
    bottom: auto;
  }
  #globalNavi .sub-list {
    position: static;
  }
  #globalNavi .sub-list li a {
    padding: 10px 20px;
    text-align: left;
  }
}
@media screen and (max-width: 768px) {
  main {
    padding-top: 60px;
  }
  header .flex {
    height: 60px;
    padding-right: 70px;
    padding-left: 10px;
  }
  header h1 {
    font-size: 2.7rem;
  }
  header h1 a {
    font-size: 2.7rem;
  }
  header h1 span{
    font-size: 1.4rem;
  }
  .sp-nav {
    top: 60px;
  }
  header .right ul{
    margin-left: 0;
  }
}

/*-------------------------------------
  footer
-------------------------------------*/ 
footer{
  background: #197BAD;
  color:#fff;
}
footer .inner{
  padding: 30px 10px;
}
footer .flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .footer_left{
  margin-right: 40px;
  display: flex;
  font-size: 1.6rem;
}
footer .footer_left dt {
  padding: 30px 30px 30px 0;
  border-right: solid 1px #fff;
}
footer .footer_left dd {
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
footer .footer_right{
  text-align: right;
  font-size: 1.6rem;
}
footer .copyright {
  margin-top: 30px;
  text-align: right;
  font-size: 1.4rem;
}
@media screen and (max-width: 1080px) {

}
@media screen and (max-width: 768px) {
  footer .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .footer_left {
    margin-right: 0;
    flex-direction: column;
  }
  footer .footer_left dt {
    padding: 0;
    border: none;
    font-size: 1.8rem;
  }
  footer .footer_left dd {
    padding: 10px 0 20px;
    display: block;
  }
  footer .footer_left dd a {
    color: #fff;
    text-decoration: none;
  }
  footer .footer_right {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  footer .copyright {
    text-align: center;
    font-size: 1.2rem;
  }
}


/*-------------------------------------
  sp_menu
-------------------------------------*/ 
#sp_menu {
  display: none;
}
#overlay {
  display: none;
}

@media screen and (max-width: 1200px) {
  #sp_menu {
    width: 80px;
    height: 80px;
    display: block;
    background: #197bad;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
  }
  #sp_menu span {
    display: inline-block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition:  all .3s;
    transform-origin: center;
  }
  #sp_menu.open span:first-of-type {
    transform: rotate(45deg) translate(6px,6px);
  }
  #sp_menu.open span:nth-of-type(2){
    opacity: 0;
  }
  #sp_menu.open span:last-of-type {
    transform: rotate(-45deg) translate(6px,-6px);
  }

  body.fixed #overlay {
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 98;
  }
}
@media screen and (max-width: 768px) {
  #sp_menu {
    width: 60px;
    height: 60px;
  }
}


/*-------------------------------------
  お知らせ・発令情報
-------------------------------------*/ 
#news {
  margin-bottom: 50px;
  padding: 30px 0;
  background: #E7F7FF;
}
#news dl {
  display: flex;
  font-weight: bold;
}
#news dt {
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
#news dd {
  padding: 20px 20px 20px 30px;
  width: calc(100% - 190px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#news .news01 {
  margin-bottom: 15px;
}
#news .news01 dt {
  background: #DA1E1E;
  color: #fff;
}
#news .news01 dd {
  background: #FFE3E3;
  color: #DA1E1E;
}
#news .news02 dt {
  background: #7ACDF9;
}
#news .news02 dd {
  background: #fff;
}

@media screen and (max-width: 768px) {
  #news dt {
    width: 90px;
    font-size: 1.6rem;
  }
  #news dd {
    width: calc(100% - 90px);
    padding: 15px;
  }
  #news {
    padding: 20px 0;
  }
}
