@charset "utf-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    margin: 0 auto;
    scroll-behavior: smooth;
    color: #362e2b;
    font-size: 14px;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

body {
    margin: 0 auto;
    padding: 0;
    box-shadow: 0 0 1em rgba(0, 0, 0, .25);
    width: 100%;
    max-width: 500px;
}

.background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./images/back.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    width: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0, #ffffff 500px, #ffffff calc(100% - 500px), rgba(255, 255, 255, 0) 100%);
}

.fullscreenmenu {
    display: inline-block;
    vertical-align: middle;
    letter-spacing: normal;
    width: 100%;
}

#nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    height: 100vh;
    opacity: 0;
    background: #ffffff;
    visibility: hidden;
    transition: .3s ease;
}

#nav.active {
    right: 0;
    opacity: 1;
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
}

ul#navmenu {
    margin: 2em 0;
    padding: 2em 0;
    list-style-type: none;
}

ul#navmenu li {
    position: relative;
    display: inline;
    font-size: 1.25em;
    padding: 0;
}

ul#navmenu li:nth-of-type(1) {
    padding-left: 0;
}

ul#navmenu li:nth-of-type(1)::before {
    content: none;
}

ul#navmenu li:nth-of-type(4) {
    padding-right: 0;
}

ul#navmenu li a {
    text-decoration: none;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
    padding: 1em 0;
    transition: .3s ease;
    text-align: center;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: bold;
    position: relative;
}

ul#navmenu li a::before {
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    position: absolute;
    width: 100%;
    height: 2px;
    content: " ";
    bottom: 0;
    left: 0;
}

ul#navmenu li:nth-of-type(1) a:after {
    background: url(./images/wakaba.png) no-repeat 100% 100%;
    background-size: 100% auto;
    position: absolute;
    width: 40px;
    height: 50px;
    content: " ";
    bottom: 0;
    left: 0;
}

ul#navmenu li a:hover {
    background: linear-gradient(to right, rgba(41, 171, 223, .5), rgba(92, 185, 141, .5), rgba(140, 198, 62, .5));
    -webkit-background-clip: text;
    color: transparent;
}

button {
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
}

.menu,
.menu span {
    display: inline-block;
    transition: .5s;
}

.menu {
    position: fixed;
    top: 14px;
    right: 50%;
    transform: translateX(+236px);
    z-index: 10;
    background: #e9f5fb;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 1px #29abdf;
    width: calc(50px + 1px);
    height: calc(50px + 1px);
    border-radius: 50%;
}

.menu::after {
    content: "MENU";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .75em;
    font-weight: bold;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    -webkit-background-clip: text;
    color: transparent;
    font-family: "zen-kaku-gothic-new", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.menu span {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    z-index: 10;
    width: 50%;
    left: 25%;
}

.menu span:nth-of-type(1) {
    top: 10px;
}

.menu span:nth-of-type(2) {
    top: 19px;
}

.menu span:nth-of-type(3) {
    bottom: 20px;
}

.menu.active span:nth-of-type(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
}

.menu.active span:nth-of-type(2) {
    opacity: 0;
}

.menu.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}

header {
    margin: -1.5em 0 0;
    text-align: center;
}

header>h1 {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    padding: 1em 0 .5em;
}

header>h1>img {
    width: 100%;
}

header>p {
    font-size: 1.25em;
    padding-bottom: 2em;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    -webkit-background-clip: text;
    color: transparent;
    font-family: "zen-kaku-gothic-new", sans-serif;
    font-weight: 900;
    font-style: normal;
    letter-spacing: .1em;
}

header>p>span {
    font-size: 1.5em;
}

article {
    width: calc(100% - 2em);
    max-width: 500px;
    margin: 0 auto;
    padding: 1em 0 5em;
}

h2 {
    font-size: 1em;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    box-shadow: inset 0 0 0 1px #ffffff;
    border: 1px solid #29abdf;
    color: #ffffff;
    width: 100%;
    max-width: 250px;
    border-radius: 1.25em;
    padding: .35em .5em;
    margin: 0 auto 1em;
    text-align: center;
}

#area_about .article_about {
    margin: 0;
    padding: 0;
    text-align: center;
    line-height: 1.5em;
}

#area_about .article_about>p:nth-of-type(1),
#area_about .article_about>p:nth-of-type(4) {
    font-weight: bold;
}

#area_about .article_about>p:nth-of-type(1) {
    margin-bottom: 1em;
}

#area_about .article_about>p:nth-of-type(4) {
    margin-top: 1em;
}

#goalframe {
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    border-radius: 1em;
    margin: 1em auto;
    width: 100%;
    height: 190px;
    position: relative;
}

#goal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background: #ffffff;
    text-align: left;
    margin: 0 auto;
    padding: 1em 0;
    font-weight: bold;
    border-radius: 1em;
    width: calc(100% - 2px);
    height: calc(190px - 2px);
}

#goal li {
    list-style: none;
    margin: 0;
    padding: .25em 0 .25em 1em;
    position: relative;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    -webkit-background-clip: text;
    color: transparent;
}

#goal li::before {
    position: absolute;
    left: 0;
    margin: 0;
}

#goal li:nth-of-type(1):before {
    content: "";
}

.number {
    font-weight: bold;
    margin: 0;
    padding: 0;
    letter-spacing: -.35em;
}

.number>div {
    display: inline-block;
    letter-spacing: normal;
    vertical-align: top;
}

.number>div:nth-of-type(1) {
    width: 25px;
    height: 25px;
    background: #29abdf;
    color: #ffffff;
    border-radius: 50%;
    margin: 0;
    text-align: center;
    line-height: 1.75em;
    font-family: "zen-kaku-gothic-new", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.number>div:nth-of-type(2) {
    width: calc(100% - 30px);
    padding: .25em 0 0 .25em;
}

ul#appearance {
    letter-spacing: -.35em;
    margin: 3em 0;
}

ul#appearance>li {
    list-style: none;
    border: 1px solid #29abdf;
    width: calc(50% - .5em);
    background: #e9f5fb;
    letter-spacing: 0;
    font-weight: bold;
    display: inline-block;
    vertical-align: top;
}

ul#appearance>li>img {
    width: 100%;
}

ul#appearance>li:nth-of-type(1) {
    margin-right: .5em;
}

ul#appearance>li:nth-of-type(2) {
    margin-left: .5em;
}

ul#appearance>li>div {
    padding: .5em;
}

ul#appearance>li>div:nth-of-type(1) {
    color: #ffffff;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
}

ul#appearance>li>div:nth-of-type(2) {
    background: #ffffff;
}

ul#appearance>li:nth-of-type(2)>div:nth-of-type(2) {
    font-size: .9em;
}

ul#program {
    letter-spacing: -.35em;
    margin-top: 1em;
}

ul#program>li {
    letter-spacing: 0;
    display: inline-block;
    vertical-align: middle;
    width: calc(33% - .5em);
    border: 1px solid #29abdf;
    text-align: center;
    margin-bottom: .75em;
}

ul#program>li:nth-of-type(1) {
    margin-left: 0;
    margin-right: .5em;
}

ul#program>li:nth-of-type(2) {
    margin-left: .25em;
    margin-right: .25em;
}

ul#program>li:nth-of-type(3) {
    margin-left: .5em;
    margin-right: 0;
}

ul#program>li:nth-of-type(4) {
    margin-left: 0;
    margin-right: .375em;
}

ul#program>li:nth-of-type(5) {
    margin-left: .375em;
    margin-right: 0;
}

ul#program>li>a {
    transition: .3s ease;
}

ul#program>li>a:hover {
    opacity: .5;
}

ul#program>li>img,
ul#program>li>a>img {
    width: 100%;
}

ul#news {
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

ul#news li:nth-of-type(1) {
    border-top: 1px solid;
}

ul#news li {
    list-style: none;
    margin: 0;
    padding: .5em 0;
    border-bottom: 1px solid;
}

ul#news li a {
    transition: .3s;
    text-decoration: none;
    display: inline-block;
    transition: .5s ease;
    font-weight: bold;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    -webkit-background-clip: text;
    color: transparent;
}

ul#news li a:hover {
    background: linear-gradient(to right, rgba(41, 171, 223, .5), rgba(92, 185, 141, .5), rgba(140, 198, 62, .5));
    -webkit-background-clip: text;
    color: transparent;
}

ul#news li span {
    background: #fdc593;
    color: #000000;
    margin-right: .5em;
    padding: 0 .5em;
    border-radius: 1em;
    transition: .5s;
}

ul#news li a:hover span {
    background: rgba(253, 197, 147, .5);
}

ul#deployment {
    margin-top: 3em;
}

ul#deployment>li {
    list-style: none;
    border: 1px solid #29abdf;
    width: 100%;
    margin-bottom: 1em;
    background: #ffffff;
}

ul#deployment>li:nth-last-of-type(1) {
    margin-bottom: 0;
}

ul#deployment>li>div {
    padding: .5em;
}

ul#deployment>li>div:nth-of-type(1) {
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
}

ul#deployment>li>div:nth-of-type(1)>p:nth-of-type(1)>span {
    border-bottom: 1px solid;
    display: inline-block;
    padding-bottom: .5em;
}

ul#deployment>li>div:nth-of-type(1)>p:nth-of-type(2) {
    padding-top: .5em;
}

#excavation,
#panel {
    width: 100%;
    max-width: 150px;
    margin: .5em .5em 1em 1.5em;
    font-size: .5em;
    float: right;
    text-align: right;
}

#excavation>img,
#panel>img {
    width: 100%;
}

#dinosaur_appearance_title {
    position: relative;
    margin: 1em 0 .5em;
    border-bottom: 1px solid #8cc63e;
}

#dinosaur_appearance_title::before {
    position: absolute;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    top: 0;
    left: 0;
    width: .5em;
    height: 100%;
    content: " ";
}

ul#dinosaur_appearance {
    letter-spacing: -.35em;
    margin-bottom: .25em;
    text-align: center;
}

ul#dinosaur_appearance>li {
    letter-spacing: 0;
    display: inline-block;
    vertical-align: top;
    width: calc(25% - .5em);
    text-align: center;
}

ul#dinosaur_appearance>li:nth-of-type(1) {
    margin-left: 0;
    margin-right: .425em;
}

ul#dinosaur_appearance>li:nth-of-type(2) {
    margin-left: .25em;
    margin-right: .325em;
}

ul#dinosaur_appearance>li:nth-of-type(3) {
    margin-left: .325em;
    margin-right: .25em;
}

ul#dinosaur_appearance>li:nth-of-type(4) {
    margin-left: .425em;
    margin-right: 0;
}

ul#dinosaur_appearance>li>p:nth-of-type(1) {
    background: #e9f5fb;
    position: relative;
}

ul#dinosaur_appearance>li>p:nth-of-type(1)::before,
ul#dinosaur_appearance>li>p:nth-of-type(1)::after {
    position: absolute;
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    transform: rotate(-45deg);
    content: " ";
    box-shadow: 0 0 1px #ffffff;
}

ul#dinosaur_appearance>li>p:nth-of-type(1)::before {
    top: .5em;
    left: -.5em;
}

ul#dinosaur_appearance>li>p:nth-of-type(1)::after {
    bottom: .5em;
    right: -.5em;
}

ul#dinosaur_appearance>li>p:nth-of-type(1)>img {
    width: 100%;
}

ul#dinosaur_appearance>li>p:nth-of-type(2) {
    font-size: 1em;
}

ul#dinosaur_appearance>li>p:nth-of-type(3) {
    font-size: .75em;
}

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

.cp_box {
    position: relative;
}

.cp_box label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 79px;
    cursor: pointer;
    text-align: center;
}

.cp_box input:checked+label {
    background: inherit;
}

.cp_box label::after {
    position: absolute;
    z-index: 2;
    bottom: -2em;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '一覧を表示する ' '\f063';
    color: #362e2b;
    margin: 0 auto;
    padding: .5em 1em;
    text-align: center;
    background: linear-gradient(to right, #29abdf, #5cb98d, #8cc63e);
    -webkit-background-clip: text;
    color: transparent;
}

.cp_box label:hover::after {
    background: linear-gradient(to right, rgba(41, 171, 223, .5), rgba(92, 185, 141, .5), rgba(140, 198, 62, .5));
    -webkit-background-clip: text;
    color: transparent;
}

.cp_box input {
    display: none;
}

.cp_box .cp_container {
    overflow: hidden;
    height: 110px;
    transition: .5s ease;
}

.cp_box input:checked+label::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '閉じる ' '\f062';
}

.cp_box input:checked~.cp_container {
    height: auto;
    padding-top: 0;
    padding-bottom: .5em;
    transition: .5s ease;
}

#sponsor {
    letter-spacing: -.35em;
    margin: 2em auto 0;
    text-align: center;
}

#sponsor>li {
    letter-spacing: 0;
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - .5em);
    border: 1px solid #29abdf;
    text-align: center;
    margin-bottom: .5em;
}

#sponsor>li:nth-of-type(2n+1) {
    margin-right: .5em;
}

#sponsor>li:nth-of-type(2n) {
    margin-left: .5em;
}

#sponsor>li>a {
    padding: 1em 0;
    transition: .3s ease;

}

#sponsor>li>a:hover {
    opacity: .5;
}

#sponsor>li>a>img {
    width: 100%;
}

ul.attention {
    margin: 1em 0;
    padding: 0;
}

ul.attention li {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1em;
    position: relative;
}

ul.attention li::before {
    position: absolute;
    left: 0;
    margin: 0;
    content: "※";
}

#area_tree {
    padding: 0 1em;
}

#area_tree>img {
    width: 100%;
}

iframe {
    margin-bottom: 1em;
}

footer {
    margin: 0;
    padding: 1em 0;
    text-align: center;
    font-size: .75em;
}

img {
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

@media screen and (max-width : 500px) {
    html {
        width: 100%;
    }

    .menu {
        right: 14px;
        transform: translateX(0);
    }

    ul#appearance>li:nth-of-type(2)>div:nth-of-type(2) {
        font-size: .65em;
    }

    #area_about .article_about>p:nth-of-type(2),
    #area_about .article_about>p:nth-of-type(3) {
        text-align: left;
    }
}