@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    background-attachment: fixed;
    background-size: cover;
    background-image: url(../images/background.jpg);
}

/* ↓ヘッダー↓ */

header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1vw 0 1vw 0;
    background-color: #1760a0;
}

h1 {
    width: 30%;
    margin-left: 3%;
    margin-right: 5%;
}

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

.nav-width {
    width: 59%;
    margin-right: 3%;
}

nav .main-ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
}

nav .main-ul .main-li .main-a {
    display: block;
    line-height: 2;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.8vw;
}

nav .main-ul .main-li a:hover {
    color: palegreen;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.sub-ul {
    position: absolute;
    width: 100%;
    list-style-type: none;
    opacity: 0;
    transition: 0.5s;
}

.sub-ul .sub-li a {
    display: block;
    line-height: 2;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.8vw;
    background-color: rgb(23,130,160,0.8);
}

.sub-ul .sub-li a:hover {
    color: palegreen;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.pull {
    position: relative;
    overflow: hidden;
}

.pull:hover {
    overflow: visible;
}

.pull:hover .sub-ul {
    opacity: 1;
    transition: 0.5s;
}

/* ↑ここまで　ヘッダー↑ */

/* ↓カニとイワナの追従アニメーション↓ */

.fixed-crab {
position: fixed; /* 追従させる為にfixedの値を記述します */
z-index: 99999; /* 他の要素の下に隠れないように全面配置させます */
top: 7vw; /* 上から7vwのところにバナーを配置します */
right: 1.5vw; /* 右から1.5vwのところにバナーを配置します */
}

.fixed-crab-width {
width: 17vw; /* バナーの横幅を指定してあげます */
}

.fixed-crab {
    animation: floating-X 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-X {
  0% {
    transform: translateX(-3%);
  }
  100% {
    transform: translateX(3%);
  }
}

.fixed-fish {
position: fixed; /* 追従させる為にfixedの値を記述します */
z-index: 99999; /* 他の要素の下に隠れないように全面配置させます */
bottom: 4vw; /* 下から4vwのところにバナーを配置します */
left: 3vw; /* 左から3vwのところにバナーを配置します */
}

.fixed-fish-width {
width: 8vw; /* バナーの横幅を指定してあげます */
}

.fixed-fish {
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

@keyframes floating-y {
  0% {
    transform: translateY(-7%);
  }
  100% {
    transform: translateY(7%);
  }
}

/* ↑ここまで　カニとイワナの追従アニメーション↑ */

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

.main-visual-box {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.main-visual-box img {
    width: 100%;
    vertical-align: bottom;
}

.main-visual-box p:nth-of-type(1) {
    position: relative;
    bottom: 38vw;
    right: -30vw;
    width:fit-content;
    padding: 0 2vw 0 2vw;
    line-height: 2.2;
    font-size: 3vw;
    font-weight: bold;
    background-color: rgb(255,255,255,0.5);
}

.main-visual-box p:nth-of-type(2) {
    position: relative;
    bottom: 37vw;
    right: -25vw;
    width:fit-content;
    padding: 0 2vw 0 2vw;
    line-height: 2.2;
    font-size: 3vw;
    font-weight: bold;
    background-color: rgb(255,255,255,0.5);
}

.main-visual-box p:hover {
    opacity: 0;
    transition: 1s;
}

/* ↑ここまで　メインビジュアル↑ */

/* ↓水族館外観↓ */

main {
    width: 85%;
    margin-top: 2vw;
    margin-left: auto;
    margin-right: auto;
}

.aquarium {
    display: flex;
    margin-top: -8vw;
}

.building {
    width: 50%;
}

.building img {
    width: 100%;
}

.ito {
    width: 50%;
    background-color: rgb(250,250,250,0.4);
}

.ito p {
    font-size: 1.4vw;
}

.aquarium h2 {
    width: 100%;
    margin-top: 1.5vw;
    margin-bottom: 1.5vw;
    line-height: 2;
    font-size: 2.2vw;
    text-align: center;
}

.aquarium p {
    width: 100%;
    padding: 1%;
    line-height: 1.7;
    font-size: 1.4vw;
    text-align: center;
}

/* ↑ここまで　水族館外観↑ */

/* ↓お知らせ↓ */

.row {
    width: 65%;
    margin: 5vw auto;
    border-collapse: collapse;
    border: 1px solid #000;
}


table.row th,table.row td{
    width: 100%;
    display: block;
}

table.row th {
    line-height: 2.1;
    font-size: 1.8vw;
    background-color: blue;
    color: aliceblue;
    border: 1px solid #000;
}

table.row td {
    line-height: 2.1;
    font-size: 1.6vw;
    background-color: aliceblue;
    color: #000;
    border: 1px dotted #202020;
}

/* ↑ここまで　お知らせ↑ */

/* ↓疑似体験コーナー */

.experience {
    padding: 2vw;
    background-color: rgb(250,250,250,0.4);
}

.experience h2 {
    margin-bottom: 2vw;
    text-align: center;
    font-size: 2.5vw;
    background-color: palegreen;
}

main section p {
    text-align: center;
    font-size: 1.8vw;
}

.experience-flexbox {
    display: flex;
    width: 100%;
    margin-top: 3vw;
}

figure {
    width : calc(100% / 3)
}

.season {
    margin-left: 3vw;
    margin-right: 3vw;
}

.experience-flexbox h3{
    margin: 1vw 0;
    font-size: 1.6vw;
    text-align: center;
}

figure img {
    width: 100%;
    vertical-align: bottom;
}

.experience-flexbox p {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.3vw;
}

.experience-flexbox2 {
    display: flex;
    width: 100%;
    margin-top: 3vw;
}

.tropicalfish {
    margin-left: 3vw;
    margin-right: 3vw;
}

.experience-flexbox2 h3{
    margin: 1vw 0;
    font-size: 1.6vw;
    text-align: center;
}

figure img {
    width: 100%;
    vertical-align: bottom;
}

.experience-flexbox2 p {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.3vw;
}

/* ↑ここまで　疑似体験↑ */

/* ↓山の水族館 動画↓ */

.video-container {
    margin: 5vw 0;
	position: relative;
	padding-top: 56.25%; /* 16:9 アスペクト比 */
	height: 0;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ↑ここまで　山の水族館動画↑ */

/* ↓開演時間・料金↓ */

.table {
    width: 100%;
    margin-bottom: 5vw;
}

.table h2 {
    margin-bottom: 2vw;
    text-align: center;
    font-size: 2.5vw;
    background-color: palegreen;
}

.table-flex {
    display: flex;
}

.Business-box {
    width: 40%;
    margin-right: 5%;
}

.row-flex {
    border-collapse: collapse;
    border: 1px solid #000;
}

table.row-flex th,table.row-flex td{
    width: 100%;
    display: block;
}

.row-flex th {
    line-height: 2.1;
    font-size: 1.6vw;
    background-color: blue;
    color: aliceblue;
    border: 1px solid #000;
}

.row-flex td {
    line-height: 2.1;
    font-size: 1.6vw;
    background-color: aliceblue;
    color: #000;
    border: 1px dotted #202020;
}

.time-font {
    text-align: center;
    font-size: 1.9vw;
}

.money {
    width: 65%;
    border-collapse: collapse;
    border: 1px solid #000;
}

.money th {
    line-height: 2.1;
    font-size: 1.6vw;
    background-color: blue;
    color: aliceblue;
    border: 1px solid #000;
}

.money td {
    line-height: 2.1;
    text-align: center;
    font-size: 1.6vw;
    background-color: aliceblue;
    color: #000;
    border: 1px dotted #202020;
}

.money .blue {
    line-height: 2.1;
    text-align: center;
    font-size: 1.6vw;
    font-weight: bold;
    background-color: blue;
    color: aliceblue;
    border: 1px solid #000;
}

/* ↑ここまで　　開演時間・料金↑ */

/* ↓交通アクセス↓ */

.access {
    width: 100%;
    margin-bottom: -1vw;
}

.access h2 {
    width: 100%;
    margin-bottom: 2vw;
    text-align: center;
    font-size: 2.5vw;
    background-color: palegreen;
}

.access img {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    vertical-align: bottom;
}

/* ↑ここまで　交通アクセス↑ */

/* ↓上に戻るボタン↓ */

.page {
    width: 100%;
    margin: 3vw 0 3vw 0;
    text-align: right;
}

#pagetop a {
    display: block;
    text-decoration: none;
}

/* ↑ここまで　上に戻るボタン */

/* ↓フッター↓ */

footer address {
    margin-bottom: 1vw;
    font-size: 1.2vw;
    color: #fff;
}

.copy {
    width: 100%;
    text-align: center;
    padding: 2vw 0;
    font-size: 1.2vw;
    background-color: #1760a0;
    color: #cc8181;
}

/* ↑ここまで　フッター↑ */