@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: M_PLUS_1p;
    src: url(../font/M_PLUS_1p/MPLUS1p-Regular.ttf);
}

@font-face {
    font-family: Shippori_Mincho;
    src: url(../../font/Shippori_Mincho/ShipporiMincho-Regular.ttf);
}


body {
    font-family: M_PLUS_1p;
}

body {
    background: linear-gradient(#4db7be, #003b46);
  }
/* ハンバーガーメニューボタン */
header h1,h1 + nav {
    display: none;
  }
  

/*ヘッダー*/
header {
    display: flex;
    padding: 1% 2%;
    background-color: #4db7be;
  }
  
  header h1 {
    width: 9%;
  }
  
  header h1 a img {
    width: 100%;
    vertical-align: bottom;
  }
  
  header h1,h1 + nav {
    display: none;
  }
  
  
  .toppage-nav2 {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
    background-color: #4db7be;
  
  }
  
  .drawer img {
    width: 21%;
    margin-top: 1%;
  }
  
  .drawer{
    display: flex;
    padding: 0 1em;
  
  }
  
  /*ハンバーガーの中身*/
  .menu {
    width: 60%;
    position: absolute;
    right: 0;
    background-color:rgba(214, 204, 63, 0.5);
    transition: .5s ease;/*滑らかに表示*/
    transform: translateX(150%);
  }
  
  .menu ul li {
    margin: 1%;
    border-bottom: 2px dotted #CCC;
  }
  
  .menu ul li:last-child {
    border: none;
  }
  
  
  .menu ul li a {
    display: block;
    display: flex;
    color:#7c3131;
    font-size: 3.2vw;
  }
  
  .menu ul li a:hover {
    background-color:rgba(0,0,0,0.5);
    color:rgb(214, 214, 214);
  }
  
  .menu img {
    width: 50px;
  }
  
  .menu ul li a span {
    display: block;
    margin-top: 0.7em;
  }
  
  /*OPEN時の動き*/
  .menu.open {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*右にスライド*/
  }
  
  /*ハンバーガーが✖になるやつ*/
  .Toggle {
    display: block;
    width: 42px;
    height: 42px;
    margin-left: auto;
    margin-right: 3%;
    cursor: pointer;
  }
  
  .Toggle span {
    width: 50px;
    display: block;
    margin-top: 3%;
    position: absolute;
    border-radius: 3vw;
    border-bottom: solid 6px #fbff00;
    -webkit-transition: .35s ease-in-out; /*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;    /*変化の速度を指定*/
    transition: .35s ease-in-out;     /*変化の速度を指定*/
  
  }
  
  .Toggle span:nth-child(1) {
    top:5px;
  }
  
  .Toggle span:nth-child(2) {
    top: 18px;
  }
  
  .Toggle span:nth-child(3) {
    top: 32px;
  }
  
    /* 1番目のspanを-45度にした */
  .Toggle.active span:nth-child(1) {
    top: 18px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  /* 2番目と3番目のspanを45度にした */
  .Toggle.active span:nth-child(2),
  .Toggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  /* めいんびじゅ */
  
  .hd {
    background-image: url(../../images/top-img/top6.jpg);
    background-color: #fff;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 25% ;
    height: 50vw;
  }
  
  .h2-box {
    position: relative;
    margin-top: -15%;
    text-align: center;
    font-family: Grandstander;
    z-index: 0;
  }
  
  .h2-box h2 {
    font-size: 10vw;
    color: #FDFB00;
  }
  
  .h2-box p {
    font-size: 2.5vw;
    color: #ffffff;
  }
  
  svg {
    margin-top: -25%;
    color: #54ABB2;
    z-index: -10;
  }
  
  .pan a {
    color: white;
  }
  
  
  .pan {
    width: fit-content;
    margin-left: 10%;
  }
  
  .pan a {
    text-decoration: none;
    color: white;
  }
  
  .pan+h2 {
    width: 80%;
    margin: 5% auto;
    text-align: center;
    font-size: 4.5vw;
    color: #fff;
  }
  
  .info {
    width: 80%;
    margin-left: 5.5%;
    margin-bottom: 3%;
    color: #fff;
    font-size: 2vw;
  }
  
  
  
  main p:nth-of-type(1) {
    display: none;
  }
  
  
  li {
    list-style-type: none;
  }
  
  a {
    text-decoration: none;
  }
  
  .fa-circle-dot {
    margin-right: 1%;
    color: #ffef6c;
  }
  
  .fa-circle-exclamation {
    color: #ffef6c;
  }


/* news */

.pan {
    width: fit-content;
    margin-left: 10%;
}

.pan a {
    text-decoration: none;
    color: white;
}

main {
    padding-top: 30%;
    padding-bottom: 20%;
}

/* ニュースコンテナ */
.news-container {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10%;
}

.news-container h2 img {
    width: 13%;
    vertical-align: bottom;
    margin-right: 5%;
}


.news-container p {
    display: none;
    width: 40%;
    padding-top: 3%;
    color: #fff;
}

.news-container p a {
    text-decoration: none;
}

/* 見出し */
.news-container h2 {
    width: 90%;
    margin: 5% auto 10% auto;
    text-align: center;
    color: #fff;
    font-size: 8vw;
    font-family: M_PLUS_1p;
}

/* ニュースリスト */
.news-list {
    list-style: none;
    padding: 0;
}

.news-item {
    display: block;
    align-items: center;
    margin: 0 auto;
    padding: 3%;
    font-size: 6vw;
    line-height: 3;
    color: #fff;
    border-bottom: 0.2vw solid #ddd;
}

.news-item img {
    width: 15%;
    vertical-align: bottom;
    border-radius: 0.5vw;
    margin-left: 5%;
    margin-bottom: 7%;
}

.news-item:nth-of-type(1) {
    border-top: 0.1vw solid #ddd;
}

/* カテゴリラベル */
.news-category {
    margin-left: 10%;
    margin-right: 20%;
    padding: 0.6vw 1.8vw;
    border-radius: 2vw;
    font-size: 6vw;
    font-family: M_PLUS_1p;
    color: white;
}

/* カテゴリごとの色分け */
.notice {
    background: #2196f3;
}

.event {
    background: #4caf50;
}

.campaign {
    background: #ff9800;
}

.important {
    background: #f44336;
}

/* ニュースリンク */
.news-item a {
    text-decoration: none;
    color: #fff;
    font-size: 5vw;
    font-family: M_PLUS_1p;
}

/* ページボタン */
.button-flexbox {
    display: flex;
    justify-content: center;
    width: 65vw;
    gap: 3%;
    margin-top: 15%;
    margin-left: auto;
    margin-right: auto;
}

.button-flexbox a {
    text-decoration: none;
    display: inline-block;
    line-height: 2.5;
}

.button-flexbox>div:nth-child(1) {
    width: 8.5vw;
    height: 8.5vw;
    border-radius: 50%;
    line-height: 2.5;
    text-align: center;
    color: #fff;
    font-size: 2.8vw;
    font-weight: bolder;
    background-color: #05428b;
}

.button-flexbox a div {
    width: 8vw;
    height: 8vw;
    border-radius: 50%;
    text-align: center;
    font-size: 2.8vw;
    font-weight: bolder;
    color: #2196f3;
    background-color: #fff;
}

.dot {
    width: 6vw;
    color: #fff;
    font-size: 5vw;
}



footer {
    padding: 5% 7% 1%;
    background-image: url(../../images/bg_footer.webp);
    background-color: #003b46;
    background-size: cover;
    color: #fff;
    font-size: 1.2vw;
}

.menu-area {
    display: flex;
}

.info-images {
    text-align: center;
}

.info-images h2 {
    font-family: Shippori_Mincho;
    font-size: 2vw;
    font-weight: 100;

}

.info-images img {
    margin: 2% 0;
    width: 30%;
    margin-bottom: 10%;
}

.menu-col {
    width: 30%;
    margin-left: 5%;
}

.menu-col a {
    color: white;
}

.menu-list a {
    color: #a7bddd;
}



address {
    font-size: 1.4vw;
    margin-top: 10%;
    line-height: 2;
    font-style: normal;
    /* 斜体をまっすぐにするやつ */
}

footer ul:nth-of-type(1) {
    margin-left: auto;
    margin-right: 5%;
}

footer ul:nth-of-type(2) {
    margin-right: 5%;
}

footer ul:nth-of-type(1) li::before {
    content: "-";
    margin-right: 0.5em;
}

footer ul {
    margin-top: 10%;
}

footer ul li {
    line-height: 2.8;
}

.copyright {
    margin-top: 3%;
    text-align: center;
    font-size: 12px;
}