@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

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


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

main {
    background: linear-gradient(#4db7be, #003b46);
}

/* ハンバーガーメニューボタン */
.toppage-nav2 {
    display: none;
}

/*ヘッダー*/
header {
    display: flex;
    padding: 1% 2%;
    font-weight: 600;
    background-color: #4db7be;
}

header h1 {
    width: 9%;
}

header h1 a img {
    width: 100%;
    vertical-align: bottom;
}

/* ナビ */
nav {
    width: 74%;
    margin-top: 1%;
    margin-left: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    width: 20%;
    border-right: 2px solid #fff;
}

nav ul li:last-child {
    border-right: none;
}

nav ul li a {
    display: block;
    text-decoration: none;
    text-align: center;
    font-size: 1.2vw;
    color: white;
}

nav ul li a img {
    display: block;
    width: 5vw;
    height: 5vw;
    margin-left: auto;
    margin-right: auto;
}

nav ul li a:hover {
    color: #EBF11D;
}

nav ul li a:hover img {
    animation: purun 0.8s linear 0s 1;
}

@keyframes purun {
    0% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }

    15% {
        transform: scale(0.9, 0.9) translate(0%, 5%);
    }

    30% {
        transform: scale(1.3, 0.8) translate(0%, 10%);
    }

    50% {
        transform: scale(0.8, 1.3) translate(0%, -10%);
    }

    70% {
        transform: scale(1.1, 0.9) translate(0%, 5%);
    }

    100% {
        transform: scale(1.0, 1.0) translate(0%, 0%);
    }
}



li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.fa-circle-dot {
    margin-right: 1%;
    color: #ffef6c;
}

.fa-circle-exclamation {
    color: #ffef6c;
}

/* 固定化ラッコ */
.character01 {
    width: 20%;
    height: 100px;
    position: fixed;
    bottom: 20%;
    left: 0;
    cursor: pointer;
    z-index: 999;
}

.character02 {
    width: 8%;
    height: 100px;
    position: fixed;
    bottom: 8%;
    right: 3%;
    cursor: pointer;
    z-index: 999;
}

.character01 img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.character02 img {
    width: 100%;
    height: auto;
}
  

.character01 :hover img {
    content: url('../../images/rakko-stick02.png');
    width: 100%;
    animation: bounce 0.6s infinite;     /* ぴょんぴょんアニメーション */
}
  
@keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
}




/* メインビジュアル */

.hd {
    background-image: url(../../images/top-img/top6.jpg);
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 25%;
    height: 25vw;
}

.h2-box {
    position: relative;
    margin-top: -5%;
    text-align: center;
    font-family: Grandstander;
    z-index: 0;
}

.h2-box h2 {
    font-size: 5.5vw;
    color: #FDFB00;
}

.h2-box p {
    font-size: 1.6vw;
    color: #ffffff;
}

svg {
    margin-top: -25%;
    color: #54ABB2;
    z-index: -10;
}

/* ぱんくず */
.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;
  }
  


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

.news-container h2 img {
    width: 7%;
    vertical-align: bottom;
    margin-bottom: 1%;
    margin-right: 3%;
}


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

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

/* 見出し */
h2 {
    width: 50%;
    margin: 5% auto;
    text-align: center;
    color: #fff;
    font-size: 3vw;
    font-family: M_PLUS_1p;
}

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

.news-item {
    display: flex;
    align-items: center;
    gap: 2vw;
    padding: 1vw;
    line-height: 1.7;
    color: #fff;
    border-bottom: 0.1vw solid #ddd;
}

.news-item img {
    width: 6%;
    border-radius: 0.5vw;
    margin-left: 3%;
}



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

/* カテゴリラベル */
.news-category {
    padding: 0.6vw 1.8vw;
    border-radius: 0.5vw;
    font-size: 1.2vw;
    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: 1.2vw;
    font-family: M_PLUS_1p;
}

.news-item a:hover {
    color: #519DF9;
    text-decoration: underline;
}

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

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

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

.button-flexbox>div:nth-child(4) {
    line-height: 2.5;
}

.button-flexbox a div {
    width: 3vw;
    height: 3vw;
    border-radius: 50%;
    text-align: center;
    color: #2196f3;
    background-color: #fff;
}

.dot {
    color: #fff;
}


/* フッター */


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;
}