@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

/* ヘッダー部分ここから//////////////////// */
header {
    position: fixed;
    display: block;
    top: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-items: baseline;
    backdrop-filter: blur(4px);
}

h1 {
    width: 30%;
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
}

h1 img {
    width: 100%;
    transition: 2s;
}

h1:hover img {
    transform: rotateY(360deg);
    transition: 2s;
}

nav {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

nav ul {
    display: block;
    list-style-type: none;
}

nav ul li {
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

nav ul li a {
    display: block;
    text-align: center;
    line-height: 3;
    text-decoration: none;
    font-weight: 400;
    color: #142979;
    font-size: 1.3vw;
    transition: 1s;
}

a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

a::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #142979;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .3s;
}

a:hover::after {
  transform: scale(1, 1);
}
/* ヘッダー部分ここまで/////////////////// */

/* main picture img {
    max-width: 100%;
    height: auto;
    margin-top: 10%;
} */

/* セクション部分ここから */
main {
    width: 80%;
    margin-top: 30%;
    margin-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    margin-bottom: 10%;
    font-size: 3vw;
    text-align: center;
    border-bottom: 2px solid #142979;
    color: #142979;
}

h3 {
    white-space: pre-wrap;
    padding-top: 2%;
    padding-bottom: 4%;
    font-size: 2.5vw;
    border-bottom: 2px dotted #142979;
    color: #142979;
}

h4 {
    margin-top: 5%;
    margin-bottom: 3%;
    white-space: pre-wrap;
    font-size: 2vw;
    color: #2e46a6;
}

main section:nth-of-type(1) {
    margin-top: 15%;
}

.parent-box {
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 5% 7%;
    transition: 1s;
    border-radius: 1vw;
    box-shadow: 3px 5px 6px rgb(209, 222, 255);
}

.parent-box:hover {
    background-color: #e3ecf9;
    box-shadow: 3px 5px 4px rgb(163, 175, 205);
    transition: 1.5s;
}

.tokui-contents {
    width: 100%;
    margin-top: 5%;
}

.tokui-picture {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

main section:nth-of-type(1) img {
    width: 100%;
}

main section:nth-of-type(1) p:first-of-type {
    font-size: 2vw;
    margin-top: 10%;
    text-align: left;
}

main section:nth-of-type(1) p:last-of-type {
    width: fit-content;
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10%;
    padding: 2% 20%;
    border-radius: 0.5vw;
    border: 1px solid #142979;
    text-decoration: none;
    font-size: 2vw;
    color: #142979;
    background-color: #ffffff;
    transition: 1s;
}

main section:nth-of-type(1) p:last-of-type:hover {
    transition: 1s;
    color: #ffffff;
    background-color: #142979;
}

/* ここからフッター部分 */
footer {
    margin-top: 5%;
    text-align: center;
    color: #ffffff;
    background-image: linear-gradient(360deg, rgba(68, 116, 211, 1) 20%, rgba(20, 41, 121, 1) 76%);
}

footer h2 {
    margin-top: 5%;
    font-size: 4vw;
    color: #ffffff;
}

footer p {
    font-size: 2vw;
    line-height: 2;
    font-style: normal;
}


.footer-container1 {
    padding-top: 5%;
}  
 

.footer-container1 {
    display: block;
    width: 80%;
    padding-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.footer-container {
    display: block;
    width: 80%;
    padding-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.footer-child-container {
    width: 40%;
}

.footer-child-container1 {
    margin-top: 10%;
    margin-bottom: 10%;
}

.footer-child-container2 {
    margin-bottom: 10%;
}

.footer-child-container3 {
    margin-bottom: 10%;
}

h5 {
    margin-left: 10%;
    font-size: 1.5vw;
    font-weight: 300;
}

figcaption {
    font-weight: 700;
    border: 1px solid #ffffff;
}

footer ul {
    width: 100%;
    list-style-type: none;
    line-height: 3;
}

footer ul li a {
    color: #1C1C1C;
    text-decoration: none;
    font-size: 1.2vw;
}

small {
    font-weight: 500;
    font-size: 2vw;
    color: #142979;
}





