@charset "UTF-8";

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body{
    color: #333;
    font-size: 3.0rem;
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
*, *::before, *::after{
    box-sizing: border-box;
}

header{
    z-index: 30;
    width: 100%;
    color: #fff;
    background-color: #fff;
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 50px;
    box-shadow: 0px 10px 10px -5px rgba(0,0,0,0.5);
}
.headbar{
    position: relative;
    width: inherit;
    height: 50px;
    background-color: #fff;
    padding: 10px;
}
.home-button{
    display: inline-block;
}
.home-button:hover{
    transition: 0.2s;
    opacity: 0.75;
}
.home-button .logo{
    position: relative;
    width: 150px;
    height: auto;
}
.headbar .text{
    display: inline-block;
    margin: 10px;
    text-decoration: none;
    font-size: 2.0rem;
}



.global-nav{
    width: 100%;
    height: 50px;
    position: relative;
    background-color: #0f1a45;
    text-align: center;
}
.global-nav .nav-item{
    position: relative;
    display: inline-block;
    margin: 0 10px;
}
.global-nav .nav-item a{
    display: inline-block;
    width: auto;
    height: auto;
    line-height: 30px;
    position: relative;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 2.0rem;
    letter-spacing: 1px;
    transform: 0.2s;
}
.global-nav .nav-item.active a{
    border-radius: 8px;
    background-color: #fff450;
    color: #0f1a45;
}
.global-nav .nav-item a:hover{
    color: #fff450;
}
.global-nav .nav-item.active a:hover{
    color: #0f1a45;
}
/* 下線のスタイル */
.global-nav .nav-item a::after {
    background-color: #fff450; /* 下線の色 */
    bottom: -4px; /* 要素の下端からの距離 */
    content: ""; /* 要素に内容を追加 */
    height: 2px; /* 下線の高さ */
    left: 0; /* 要素の左端からの距離 */
    position: absolute; /* 絶対位置指定 */
    transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
    transform-origin: left top; /* 変形の原点を左上に指定 */
    transition: transform .2s; /* 変形をアニメーション化 */
    width: 100%; /* 要素の幅 */
  }
  /* リンクにホバーした際の下線の表示 */
  .global-nav .nav-item a:hover::after {
    transform: scale(1, 1); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
  }
  .global-nav .nav-item.active a:hover::after {
    transform: scale(0, 0); /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
  }



.header-space{
    display: block;
    position: relative;
    width: 100%;
    height: 150px;
}



.page-top-button{
    display: block;
    position: fixed;
    right: 30px;
    bottom: 30px;
    box-shadow: 0px 0px 8px 10px rgba(0,0,0,0.15);
    color: #fff450;
    text-decoration: none;
    background-color: #0f1a45;
    border-radius: 50%;
    text-align: center;
    width: 50px;
    height: 50px;
    transition: 0.2s;
}
.page-top-button:hover{
    color: #0f1a45;
    background-color: #fff450;
}



main{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-decoration: none;
}
main a{
    text-decoration: none;
}
section{
    margin-bottom: 100px;
}
h1{
    font-size: 3.6rem;
    margin-top: 30px;
    margin-bottom: 30px;
    border-bottom: #000 solid 1px;
    width: 100%;
}
h2{
    text-decoration: none;
    font-size: 2.8rem;
    border-left: #0f1a45 solid 5px;
    padding-left: 7px;
}
hr{
    width: 100%;
}
p{
    font-size: 1.8rem;
}
th{
    font-size: 1.8rem;
}
tr{
    font-size: 1.8rem;
}
td{
    font-size: 1.8rem;
}
.hidden{
    display: none;
}
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
.centering{
    text-align: center;
}
.box-item{
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 315px;
    height: 250px;
    text-align: center;
    border-radius: 10%;
    margin-right: 30px;
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.15);
    transition: 0.2s;
}
.box-item:hover{
    box-shadow: 0px 0px 12px 8px rgba(0,0,0,0.15);
}
.box-item .title{
    margin-top: 10px;
    color: #555;
    font-size: 2.2rem;
    line-height: 1.6;
    text-decoration: inherit;
    border: none;
    transition: 0.2s;
}
.box-item .box-item-img{
    width: 275px;
    height: 140px;
    padding: 20px 20px 0px 20px;
}
.box-item .box-item-img img{
    width: auto;
    max-height: 100%;
    max-width: 100%;
}



.head{
    position: relative;
    aspect-ratio: 4/1;
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 30px;
}
.head .top-text{
    position: absolute;
    left: 50%;
    top: 20%;
    color: #ffffef;
    font-size: 4.0rem;
    background-color: rgba(0,0,0,0.8);
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.head .top-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.head .model{
    position: absolute;
    right: 10px;
    bottom: 5px;
    font-size: 1.2rem;
    background-color: black;
    color: white;
}

.news{
    padding: 10px;
    width: 100%;
    height: 300px;
    background-color: skyblue;
}
.others{
    padding: 10px;
    width: 100%;
}
.topic{
    margin-left: 10px;
}







footer{
    background-color: #0f1a45;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    border-top: #fff450 10px solid;
    border-bottom: 10px solid #fff450;
}
.footer-desc{
    font-size: inherit;
}