*,
*:before,
*:after {
    box-sizing: border-box;
}

html {
    font-size: 5.05vw;
    scroll-behavior: smooth;
}

body {
    font-family: 'ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN',
    "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic,
    "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.8;
    letter-spacing: .8px;
    word-break: break-all;
    color: #333;
    font-size: 0.16rem;
}

a {
    text-decoration: none;
}

p {
    font-size: 0.2rem;
}

img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

hr {
    margin: 0.3rem;
}

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/* header */
.menu {
    list-style: none;
    display: flex;
    padding: 0;
}

header {
    text-align: center;
    margin: 1.5% auto 1.5% auto;
}

header h1 {
    font-size: 0.5rem;
    text-align: left;
    margin-left: 2%;
    color: dodgerblue;
    width: 30%;
    margin-top: 2%;
}

.title {
    display: flex;
    width: 95%;
}

.sns {
    margin-left: auto;
    margin-top: 1.5%;
    width: 70%;
    text-align: right;
}

.sns span {
    font-size: 0.7rem;
}

.sns img {
    width: 7%;
    margin: 0 0.5%;
}

.sns_sp {
    display: none;
}

nav ul {
    width: 100%;
    margin: 0 auto;
}

nav li {
    font-size: 0.4rem;
    margin: 0 auto;
    width: 100%;
}

.nav-item ul {
    background-color: #e2ffff;
    width: 150%;
}

.menu {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 0 auto;
}

.menu > li {
    float: left;
    width: 20%;
    line-height: 50px;
}

.menu > li a {
    display: block;
    
}

.menu > li a:hover {
    color: #999;
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin-left: -25%;
}

ul.menu__third-level {
    display: none;
}

.menu > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menu:before,
.menu:after {
    content: " ";
    display: table;
}

.menu:after {
    clear: both;
}

.menu {
    *zoom: 1;
}

.menu > li.menu__single {
    position: relative;
}

li.menu__single ul.menu__second-level {
    position: absolute;
    top: 40px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menu__single:hover ul.menu__second-level {
    top: 50px;
    visibility: visible;
    opacity: 1;
}

ul.sale_item_header{
    width: 250%;
}

.header-img {
    background-image: url(img/top/air.gif);
    height: 25px;
    border: 0;
}

.burger-btn {
    display: none;
}

.top-image {
    width: 60%;
    margin: 0 auto 3% auto;
}

.top-image img {
    width: 100%;
}

nav a {
    text-decoration: none;
    color: black;
}

header a:hover {
    opacity: 0.6;
}

/* carousel */
.carousel-inner {
    margin: 0 auto;
    width: 50%;
    height: 100%; 
}

.carousel span {
    background-color: black;
    width: 25%;
    height: 10%;
    border-radius: 50%;
}

.carousel-control-prev-icon ,.carousel-control-next-icon{
    background-size: 50%;
}

/* news */
.news, .sale , .purpose{
    background-color: #e2ffff;
    padding: 2%;
    margin-bottom: 2%;
}

.news {
    margin-top: 2%;
}

h2 {
    font-size: 0.4rem;
}

.news .inner {
    width: 100%;
}

.news li {
    display: flex;
    width: 100%;
    border-bottom: 1px solid gray;
    padding-top: 1%;
    padding-bottom: 1%;
}

.day {
    font-size: 0.25rem;
    margin: 0 1%;
}

.label {
    font-size: 0.25rem;
    margin: 0 1%;
    padding: 0 2%;
    border-radius: 5%;
    width: 10%;
    text-align: center;
}

.other {
    background-color: lightgray;
}

.document {
    background-color: #fff352;
}

.picture {
    background-color: #e17b34;
}

.text {
    font-size: 0.25rem;
    margin: 0 1%;
}

/* sale */
.sale .inner {
    width: 100%;
    
}

.sale a {
    color:black;
    font-size: 0.3rem;
}

.sale a:hover {
    color: red;
}

.sale-block {
    display: flex;
}

.sale-item {
    width: 20%;
    margin: 0 2%;
}

.sale-item p {
    text-align: center;
    font-size: 0.3rem;
}

.sale-item img {
    object-fit: cover;
    width: 100%;
    height: 80%;
}

.sale_item_menu {
    display: flex;
    font-size: 0.3rem;
    margin-bottom: 3%;
}

.menu_prev {
    margin-right: auto;
}

.menu_after {
    margin-left: auto;
}

/* purpose */
.section {
    margin: 5%;
    background-color: #e2ffff;
    padding: 2%;
    margin-bottom: 2%;
}

.section .inner {
    width: 100%;
}

.section h2 {
    padding-bottom: 1%;
    border-bottom: 3px solid #F9A4A5;
}

.section p {
    font-size: 0.3rem;
}

/* contents */
.contents .inner {
    display: flex;
}

.sale_item_img {
    width: 35%;
}

.sale_item_img_text {
    margin-top: 5%;
}

.sale_item_img p {
    font-size: 0.25rem;
    margin-bottom: 2%;
}

.sale_item_img a {
    font-size: 0.25rem;
}

.sale_item_text {
    width: 60%;
    margin-left: 5%;
}

/* document_block */
.document_block {
    display: flex;
    flex-wrap: wrap;
}

.document_block_figure {
    width: 18%;
    margin: 0 1%;
}

.document_block_figure p {
    font-size: 0.22rem;
    text-align: center;
}

h3 {
    font-size: 0.3rem;
}

.d_nopicture .document_block_figure p{
    font-size: 0.18rem;
}

.document_block_movie {
    width: 33%;
    height:300px;
}

.document_block_movie iframe {
    width:90%;
    height:80%;
}

video {
    width: 300px;
    height: 200px;
}

/* phase_block */
.phase_block {
    display: flex;
    flex-wrap: wrap;
}

.phase_block_figure {
    width: 18%;
    margin: 0 1%;
}

.phase_block_figure p {
    font-size: 0.22rem;
    text-align: center;
}

/* link */
.link a {
    font-size: 0.5rem;
}

/* footer */
footer {
    background-color: silver;
    height: 100px;
}

.inner {
    width: 90%;
}

.copyright {
    text-align: center;
    line-height: 100px;
    font-size: 0.3rem;
}

.page-top {
    font-size: 12px;
    font-weight: bold;
    display: block;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    background-color: #ccc;
}

#page_top{
    width: 80px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #88e0e0;
    opacity: 0.9;
    border-radius: 50%;
}

#page_top a{
    position: relative;
    display: block;
    width: 100%;
    padding-top: 100%;
    text-decoration: none;
}

#page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 40px;
    color: #fff;
    position: absolute;
    width: 80px;
    height: 70px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}